-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ab09f6
commit 092d155
Showing
5 changed files
with
62 additions
and
49 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Last update September 2023 (rlh) | ||
|
||
management: | ||
endpoint: | ||
health: | ||
show-details: always | ||
endpoints: | ||
web: | ||
exposure: | ||
include: "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,45 @@ | ||
# Configuration for running the IAMUI inside a Docker desktop local. | ||
# Last update February 2023 (rlh) | ||
# Configuration for running the iam-ui No docker | ||
# Last update September 2023 (rlh) | ||
server: | ||
port: 8190 | ||
|
||
eureka: | ||
instance: | ||
preferIpAddress: true | ||
instanceId: ${spring.application.name}:${random.int} | ||
hostname: iam-ui | ||
client: | ||
healthcheck: | ||
enabled: false # this must be false because is a UI | ||
registerWithEureka: true | ||
fetchRegistry: true # this must be true because is UI | ||
serviceUrl: | ||
defaultZone: http://localhost:8070/eureka/ | ||
registry-fetch-interval-seconds: 5 | ||
|
||
management: | ||
tracing: | ||
sampling: | ||
probability: 1.0 # only for testing purpose, switch back to 0.1 for production code | ||
zipkin: | ||
tracing: | ||
endpoint: http://localhost:9411/api/v2/spans | ||
spring: | ||
cloud: | ||
loadbalancer: | ||
ribbon: | ||
enabled: true | ||
|
||
security: | ||
iam: | ||
# provider-uri: http://localhost:8180 # no gateway | ||
provider-uri: http://localhost:8072/iam # use the gateway | ||
provider-uri: http://localhost:8072/iam # use the gateway | ||
|
||
#Back-end microservices | ||
microservice: | ||
cache: | ||
provider-uri: http://localhost:8072/cache-service # use the gateway | ||
#provider-uri: http://localhost:8351 # do not use gateway | ||
provider-uri: http://localhost:8072/cache # use the gateway | ||
# provider-uri: http://cache:8351 # do not use gateway | ||
audit: | ||
provider-uri: http://localhost:8072/audit-service # use the gateway | ||
# provider-uri: http://localhost:8300 # do not use gateway | ||
provider-uri: http://localhost:8072/audit-service # use the gateway | ||
#provider-uri: http://audit:8300 # do not use gateway | ||
subscription: | ||
host: localhost # note: we do not use gateway | ||
host: audit # note: we do not use gateway | ||
port: 8301 | ||
iam: | ||
provider-uri: http://localhost:8072/iam # use the gateway | ||
# provider-uri: http://iam:8180 # no use gateway, because is backoffice microservice communication | ||
# we prefer to skip the gateway. Depends on system security | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters