diff --git a/K8s/IdentityService.yaml b/K8s/IdentityService.yaml index bafee25..ff30044 100644 --- a/K8s/IdentityService.yaml +++ b/K8s/IdentityService.yaml @@ -25,7 +25,7 @@ spec: value: Server=identity-mysql; User Id=IdentityService; Database=IdentityServiceDB; Password=identity_service_password; charset=utf8 - name: RabbitMQConfigurationInfo__ConnectionString value: rabbitmq-message-receiver - - name: PORT + - name: HTTP_PORT value: "8080" - name: GRPC_PORT value: "8081" @@ -46,10 +46,10 @@ spec: component: identity-api ports: - protocol: TCP - port: 7001 + port: 8001 targetPort: http name: http - protocol: TCP - port: 7101 + port: 8101 targetPort: grpc name: grpc \ No newline at end of file diff --git a/K8s/JobService.yaml b/K8s/JobService.yaml index 38b5ece..c34b0c6 100644 --- a/K8s/JobService.yaml +++ b/K8s/JobService.yaml @@ -38,5 +38,5 @@ spec: component: job-api ports: - protocol: TCP - port: 7002 + port: 8002 targetPort: http \ No newline at end of file diff --git a/K8s/MessageBroker_RabbitMQ.yaml b/K8s/MessageBroker_RabbitMQ.yaml index 3123879..bebd456 100644 --- a/K8s/MessageBroker_RabbitMQ.yaml +++ b/K8s/MessageBroker_RabbitMQ.yaml @@ -53,6 +53,6 @@ spec: component: rabbitmq ports: - protocol: TCP - port: 7004 + port: 8004 targetPort: ui name: ui \ No newline at end of file diff --git a/K8s/OcelotApigatewayService.yaml b/K8s/OcelotApigatewayService.yaml index dcb347b..6e12325 100644 --- a/K8s/OcelotApigatewayService.yaml +++ b/K8s/OcelotApigatewayService.yaml @@ -34,5 +34,5 @@ spec: component: ocelot-apigateway ports: - protocol: TCP - port: 7000 + port: 8000 targetPort: http \ No newline at end of file diff --git a/K8s/PaymentService.yaml b/K8s/PaymentService.yaml index 64517bb..cbc71f3 100644 --- a/K8s/PaymentService.yaml +++ b/K8s/PaymentService.yaml @@ -40,5 +40,5 @@ spec: component: payment-api ports: - protocol: TCP - port: 7003 + port: 8003 targetPort: http \ No newline at end of file diff --git a/src/Services/Identity/Identity.API/appsettings.json b/src/Services/Identity/Identity.API/appsettings.json index 1a5dff9..15291de 100644 --- a/src/Services/Identity/Identity.API/appsettings.json +++ b/src/Services/Identity/Identity.API/appsettings.json @@ -8,10 +8,8 @@ }, "AllowedHosts": "*", "ConnectionString": "server = localhost; user id = root; database = IdentityServiceDB; persistsecurityinfo = True; charset=utf8", - "HTTP_PORT": 5001, - "GRPC_PORT": 5101, "RabbitMQConfigurationInfo": { - "ConnectionString": "localhost2", + "ConnectionString": "localhost", "SubscriptionName": "Identity.API", "RetryPublishCount": "5" }