Skip to content

Commit

Permalink
cambio url eureka en config data + v.e en ms
Browse files Browse the repository at this point in the history
  • Loading branch information
cvstleee committed Dec 8, 2024
1 parent 6386d58 commit c13706a
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 12 deletions.
2 changes: 1 addition & 1 deletion config-data/microservice-calculations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ eureka:
fetch-registry: true
register-with-eureka: true
service-url:
defaultZone: http://localhost:8761/eureka
defaultZone: http://microservice-eureka:8761/eureka
instance:
instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}}
name: microservice-calculations
Expand Down
2 changes: 1 addition & 1 deletion config-data/microservice-creditEvaluation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ eureka:
fetch-registry: true
register-with-eureka: true
service-url:
defaultZone: http://localhost:8761/eureka
defaultZone: http://microservice-eureka:8761/eureka
instance:
instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}}
name: microservice-creditEvaluation
Expand Down
2 changes: 1 addition & 1 deletion config-data/microservice-creditRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ eureka:
fetch-registry: true
register-with-eureka: true
service-url:
defaultZone: http://localhost:8761/eureka
defaultZone: http://microservice-eureka:8761/eureka
instance:
instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}}
name: microservice-creditRequest
Expand Down
2 changes: 1 addition & 1 deletion config-data/microservice-tracking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ eureka:
fetch-registry: true
register-with-eureka: true
service-url:
defaultZone: http://localhost:8761/eureka
defaultZone: http://microservice-eureka:8761/eureka
instance:
instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}}
name: microservice-tracking
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ spring:
enabled: true
uri: http://localhost:8081
datasource:
url: jdbc:postgresql://localhost:5432/calculationsprestabancodb
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://${POSTGRES_DB_HOST}:5432/${POSTGRES_DB_CALCULATIONS}?useSSL=false
username: postgres
password: 1234
jpa:
database: POSTGRESQL
show-sql: true
hibernate:
ddl-auto: update
ddl-auto: create
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ spring:
enabled: true
uri: http://localhost:8081
datasource:
url: jdbc:postgresql://localhost:5432/creditevaluationprestabancodb
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://${POSTGRES_DB_HOST}:5432/${POSTGRES_DB_CREDITEVALUATION}?useSSL=false
username: postgres
password: 1234
jpa:
database: POSTGRESQL
show-sql: true
hibernate:
ddl-auto: update
ddl-auto: create
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ spring:
enabled: true
uri: http://localhost:8081
datasource:
url: jdbc:postgresql://localhost:5432/creditrequestprestabancodb
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://${POSTGRES_DB_HOST}:5432/${POSTGRES_DB_CREDITREQUEST}?useSSL=false
username: postgres
password: 1234
jpa:
database: POSTGRESQL
show-sql: true
hibernate:
ddl-auto: update
ddl-auto: create



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ spring:
enabled: true
uri: http://localhost:8081
datasource:
url: jdbc:postgresql://localhost:5432/trackingprestabancodb
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://${POSTGRES_DB_HOST}:5432/${POSTGRES_DB_TRACKING}?useSSL=false
username: postgres
password: 1234
jpa:
database: POSTGRESQL
show-sql: true
hibernate:
ddl-auto: update
ddl-auto: create

0 comments on commit c13706a

Please sign in to comment.