Skip to content

Commit d7b2917

Browse files
Ticket ## : Fix the build
1 parent f6cb61b commit d7b2917

File tree

16 files changed

+29
-92
lines changed

16 files changed

+29
-92
lines changed

appveyor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ install:
1414
nuget:
1515
disable_publish_on_pr: true
1616
build_script:
17-
- cmd: .\psake.cmd publish
17+
- cmd: .\psake.cmd ci
1818
test: off
1919
artifacts:
2020
- path: build\results\*.nupkg
@@ -27,10 +27,12 @@ deploy:
2727
api_key:
2828
secure: zs1JVjFHRdvB36fGq2rN8MR7QeJnCVkt7VTG4ZHT5OYDNpuh2AlGHqK+rseevn8l
2929
skip_symbols: true
30+
artifact: /.*\.nupkg/
3031
on:
3132
branch: master
3233
- provider: NuGet
3334
name: production
35+
artifact: /.*\.nupkg/
3436
api_key:
3537
secure: Uigh51VjtY/sVniNFhkSvZ60/FvI9DyJ/g2feCm/WNdzeN9x5FSiqQwF9Y8qQ6nj
3638
on:

conf/casemanagement.nginx

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ server {
1313
server_name simpleidserver.northeurope.cloudapp.azure.com;
1414

1515
location /casemanagement {
16-
proxy_pass http://localhost:51724;
16+
proxy_pass http://localhost:5002;
1717
proxy_set_header Upgrade $http_upgrade;
1818
proxy_set_header Connection keep-alive;
1919
proxy_set_header Host $host;
@@ -36,7 +36,7 @@ server {
3636
}
3737

3838
location /casemanagementperformance {
39-
proxy_pass http://localhost:51725;
39+
proxy_pass http://localhost:5003;
4040
proxy_set_header Upgrade $http_upgrade;
4141
proxy_set_header Connection keep-alive;
4242
proxy_set_header Host $host;
@@ -59,30 +59,7 @@ server {
5959
}
6060

6161
location /casemanagementapi {
62-
proxy_pass http://localhost:56696;
63-
proxy_set_header Upgrade $http_upgrade;
64-
proxy_set_header Connection keep-alive;
65-
proxy_set_header Host $host;
66-
proxy_pass_header Set-Cookie;
67-
proxy_pass_request_headers on;
68-
proxy_cache_bypass $http_upgrade;
69-
proxy_cookie_domain localhost $host;
70-
proxy_set_header X-Scheme https;
71-
proxy_set_header X-Real-IP $remote_addr;
72-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
73-
proxy_set_header X-Forwarded-Proto $scheme;
74-
proxy_set_header X-URL-SCHEME https;
75-
client_max_body_size 1M;
76-
client_body_buffer_size 4096k;
77-
proxy_connect_timeout 90;
78-
proxy_send_timeout 90;
79-
proxy_read_timeout 90;
80-
proxy_buffer_size 128k;
81-
proxy_buffers 32 256k;
82-
}
83-
84-
location /casemanagementidentity {
85-
proxy_pass http://localhost:60000;
62+
proxy_pass http://localhost:5004;
8663
proxy_set_header Upgrade $http_upgrade;
8764
proxy_set_header Connection keep-alive;
8865
proxy_set_header Host $host;

conf/casemanagement.service

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[Unit]
2-
Description=Case management
2+
Description=Case Management API
33
After=network.target
44

55
[Service]
6-
ExecStart=/usr/bin/dotnet /src/CaseManagement/src/CaseManagement.CMMN.Host/bin/Debug/netcoreapp3.1/CaseManagement.CMMN.Host.dll --server.urls="http://*:54942"
6+
ExecStart=/usr/bin/dotnet /home/ftpuser/src/build/results/services/CaseManagementApi/CaseManagement.CMMN.Host.dll --server.urls="http://*:60005"
77
KillMode=process
88
TimeoutStopSec=5s
99
Restart=always
10-
WorkingDirectory=/src/CaseManagement/src/CaseManagement.CMMN.Host/bin/Debug/netcoreapp3.1
10+
WorkingDirectory=/home/ftpuser/src/build/results/services/CaseManagementApi
1111

1212
[Install]
1313
WantedBy=multi-user.target

conf/casemanagementgateway.service

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[Unit]
2-
Description=Case management gateway
2+
Description=Case Management gateway
33
After=network.target
44

55
[Service]
6-
ExecStart=/usr/bin/dotnet /src/CaseManagement/src/CaseManagement.Gateway.Website.Host/bin/Debug/netcoreapp3.1/CaseManagement.Gateway.Website.Host.dll --pathBase=/casemanagementapi --server.urls="http://*:56696"
6+
ExecStart=/usr/bin/dotnet /home/ftpuser/src/build/results/services/CaseManagementGateway/CaseManagement.Gateway.Website.Host.dll --pathBase=/casemanagementapi --server.urls="http://*:5004"
77
KillMode=process
88
TimeoutStopSec=5s
99
Restart=always
10-
WorkingDirectory=/src/CaseManagement/src/CaseManagement.Gateway.Website.Host
10+
WorkingDirectory=/home/ftpuser/src/build/results/services/CaseManagementGateway
1111

1212
[Install]
1313
WantedBy=multi-user.target

conf/casemanagementidentity.service

Lines changed: 0 additions & 13 deletions
This file was deleted.

conf/casemanagementoauth.service

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[Unit]
2-
Description=Case management performance
2+
Description=Case Management performance
33
After=network.target
44

55
[Service]
6-
ExecStart=/usr/bin/dotnet /src/CaseManagement/src/CaseManagement.Performance/bin/Debug/netcoreapp2.2/CaseManagement.Performance.dll --pathBase=/casemanagementperformance --server.urls="http://*:51725"
6+
ExecStart=/usr/bin/dotnet /home/ftpuser/src/build/results/services/CaseManagementPerformance/CaseManagement.Performance.dll --pathBase=/casemanagementperformance --server.urls="http://*:5003"
77
KillMode=process
88
TimeoutStopSec=5s
99
Restart=always
10-
WorkingDirectory=/src/CaseManagement/src/CaseManagement.Performance
10+
WorkingDirectory=/home/ftpuser/src/build/results/services/CaseManagementPerformance
1111

1212
[Install]
1313
WantedBy=multi-user.target

conf/casemanagementwebsite.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ Description=Case management website
33
After=network.target
44

55
[Service]
6-
ExecStart=/usr/bin/dotnet /src/CaseManagement/src/CaseManagement.Website/bin/Debug/netcoreapp2.2/CaseManagement.Website.dll --pathBase=/casemanagement --server.urls="http://*:51724"
6+
ExecStart=/usr/bin/dotnet /home/ftpuser/src/build/results/services/CaseManagementWebsite/CaseManagement.Website.dll --pathBase=/casemanagement --server.urls="http://*:5002"
77
KillMode=process
88
TimeoutStopSec=5s
99
Restart=always
10-
WorkingDirectory=/src/CaseManagement/src/CaseManagement.Website
10+
WorkingDirectory=/home/ftpuser/src/build/results/services/CaseManagementWebsite
1111

1212
[Install]
1313
WantedBy=multi-user.target

default.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ task publish {
2323
exec { npm install $source_dir\CaseManagement.Website --prefix $source_dir\CaseManagement.Website }
2424
exec { npm run build-azure --prefix $source_dir\CaseManagement.Website }
2525
exec { dotnet publish $source_dir\CaseManagement.Website -c $config -o $result_dir\services\CaseManagementWebsite }
26+
exec { npm install $source_dir\CaseManagement.Performance --prefix $source_dir\CaseManagement.Performance }
27+
exec { npm run build-azure --prefix $source_dir\CaseManagement.Performance }
28+
exec { dotnet publish $source_dir\CaseManagement.Performance -c $config -o $result_dir\services\CaseManagementPerformance }
2629
}
2730

2831
task clean {

src/CaseManagement.CMMN.Host/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"environmentVariables": {
66
"ASPNETCORE_ENVIRONMENT": "Development"
77
},
8-
"applicationUrl": "http://localhost:54942/"
8+
"applicationUrl": "http://localhost:60005/"
99
}
1010
}
1111
}

0 commit comments

Comments
 (0)