Skip to content

Commit

Permalink
Fixed small mapping issue (#46)
Browse files Browse the repository at this point in the history
* Updated port to avoid of conflicts

* fixed the small mapping issue
  • Loading branch information
MirolimMajidov authored Jun 27, 2024
1 parent 2f3d292 commit fcba37a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions K8s/IdentityService.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
2 changes: 1 addition & 1 deletion K8s/JobService.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ spec:
component: job-api
ports:
- protocol: TCP
port: 7002
port: 8002
targetPort: http
2 changes: 1 addition & 1 deletion K8s/MessageBroker_RabbitMQ.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ spec:
component: rabbitmq
ports:
- protocol: TCP
port: 7004
port: 8004
targetPort: ui
name: ui
2 changes: 1 addition & 1 deletion K8s/OcelotApigatewayService.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ spec:
component: ocelot-apigateway
ports:
- protocol: TCP
port: 7000
port: 8000
targetPort: http
2 changes: 1 addition & 1 deletion K8s/PaymentService.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ spec:
component: payment-api
ports:
- protocol: TCP
port: 7003
port: 8003
targetPort: http
4 changes: 1 addition & 3 deletions src/Services/Identity/Identity.API/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit fcba37a

Please sign in to comment.