Browse Source

Configured the port as 44358 for cmskit

pull/128/head
malik masis 4 years ago
parent
commit
ce52a67a9f
  1. 4
      apps/angular/src/environments/environment.ts
  2. 2
      apps/auth-server/src/EShopOnAbp.AuthServer/appsettings.json
  3. 7
      gateways/web-public/src/EShopOnAbp.WebPublicGateway/yarp.json
  4. 7
      gateways/web/src/EShopOnAbp.WebGateway/yarp.json
  5. 6
      services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host/Properties/launchSettings.json
  6. 6
      services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host/appsettings.json
  7. 3
      services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host/appsettings.Docker.json
  8. 3
      services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host/appsettings.json
  9. 11
      tye.yaml

4
apps/angular/src/environments/environment.ts

@ -28,6 +28,10 @@ export const environment = {
Ordering: { Ordering: {
url: "https://localhost:44356", url: "https://localhost:44356",
rootNamespace: 'EShopOnAbp.OrderingService', rootNamespace: 'EShopOnAbp.OrderingService',
},
Cmskit: {
url: "https://localhost:44358",
rootNamespace: 'EShopOnAbp.CmskitService',
} }
}, },
mediaServerUrl:'https://localhost:44335' mediaServerUrl:'https://localhost:44335'

2
apps/auth-server/src/EShopOnAbp.AuthServer/appsettings.json

@ -1,7 +1,7 @@
{ {
"App": { "App": {
"SelfUrl": "https://localhost:44330", "SelfUrl": "https://localhost:44330",
"CorsOrigins": "http://localhost:4200,https://localhost:44351,https://localhost:44353,https://localhost:44354,https://localhost:44355,https://localhost:44356,https://localhost:44357,https://localhost:44372,https://localhost:44373", "CorsOrigins": "http://localhost:4200,https://localhost:44351,https://localhost:44353,https://localhost:44354,https://localhost:44355,https://localhost:44356,https://localhost:44357,https://localhost:44358,https://localhost:44372,https://localhost:44373",
"RedirectAllowedUrls": "http://localhost:4200" "RedirectAllowedUrls": "http://localhost:4200"
}, },
"Logging": { "Logging": {

7
gateways/web-public/src/EShopOnAbp.WebPublicGateway/yarp.json

@ -88,6 +88,13 @@
} }
} }
}, },
"cmskitCluster": {
"Destinations": {
"destination1": {
"Address": "https://localhost:44358"
}
}
},
"productPictureCluster": { "productPictureCluster": {
"Destinations": { "Destinations": {
"destination1": { "destination1": {

7
gateways/web/src/EShopOnAbp.WebGateway/yarp.json

@ -106,6 +106,13 @@
"Address": "https://localhost:44356" "Address": "https://localhost:44356"
} }
} }
},
"cmskitCluster": {
"Destinations": {
"destination1": {
"Address": "https://localhost:44358"
}
}
} }
} }
} }

6
services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host/Properties/launchSettings.json

@ -3,8 +3,8 @@
"windowsAuthentication": false, "windowsAuthentication": false,
"anonymousAuthentication": true, "anonymousAuthentication": true,
"iisExpress": { "iisExpress": {
"applicationUrl": "https://localhost:44711", "applicationUrl": "https://localhost:44358",
"sslPort": 44711 "sslPort": 44358
} }
}, },
"profiles": { "profiles": {
@ -19,7 +19,7 @@
"commandName": "Project", "commandName": "Project",
"dotnetRunMessages": "true", "dotnetRunMessages": "true",
"launchBrowser": true, "launchBrowser": true,
"applicationUrl": "https://localhost:44711", "applicationUrl": "https://localhost:44358",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }

6
services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host/appsettings.json

@ -1,10 +1,10 @@
{ {
"App": { "App": {
"SelfUrl": "https://localhost:44711", "SelfUrl": "https://localhost:44358",
"CorsOrigins": "http://localhost:4200" //https://localhost:44372,https://localhost:44373, "CorsOrigins": "https://localhost:44372,https://localhost:44373,http://localhost:4200"
}, },
"AuthServer": { "AuthServer": {
"Authority": "https://localhost:44322", "Authority": "https://localhost:44330",
"RequireHttpsMetadata": "true", "RequireHttpsMetadata": "true",
"SwaggerClientId": "WebGateway_Swagger", "SwaggerClientId": "WebGateway_Swagger",
"SwaggerClientSecret": "1q2w3e*" "SwaggerClientSecret": "1q2w3e*"

3
services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host/appsettings.Docker.json

@ -60,6 +60,9 @@
}, },
"PaymentService": { "PaymentService": {
"RootUrl": "https://localhost:44357" "RootUrl": "https://localhost:44357"
},
"CmskitService": {
"RootUrl": "https://localhost:44358"
} }
} }
} }

3
services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host/appsettings.json

@ -74,6 +74,9 @@
}, },
"PaymentService": { "PaymentService": {
"RootUrl": "https://localhost:44357" "RootUrl": "https://localhost:44357"
},
"CmskitService": {
"RootUrl": "https://localhost:44358"
} }
} }
} }

11
tye.yaml

@ -64,6 +64,17 @@ services:
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 - Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49
env_file: env_file:
- ./.env - ./.env
- name: cmskit-service
project: services/payment/src/EShopOnAbp.CmskitService.HttpApi.Host/EShopOnAbp.CmskitService.HttpApi.Host.csproj
bindings:
- protocol: https
port: 44358
env:
- Kestrel__Certificates__Default__Path=../../../../etc/dev-cert/localhost.pfx
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49
env_file:
- ./.env
- name: web-gateway - name: web-gateway
project: gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbp.WebGateway.csproj project: gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbp.WebGateway.csproj

Loading…
Cancel
Save