Skip to content

Commit

Permalink
Version 1.0.62
Browse files Browse the repository at this point in the history
  • Loading branch information
rlegorreta committed Sep 20, 2023
1 parent 2ab09f6 commit 092d155
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 49 deletions.
12 changes: 8 additions & 4 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions iam-ui-kubernetes.yml
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: "*"
29 changes: 19 additions & 10 deletions iam-ui-local.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
# Configuration for running the IAMUI inside a Docker desktop local.
# Last update February 2023 (rlh)
# Configuration for running the iam-ui inside a Docker desktop local.
# 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://eureka: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://tempo:9411/api/v2/spans
spring:
cloud:
loadbalancer:
ribbon:
enabled: true

security:
iam:
Expand All @@ -26,11 +30,16 @@ security:
#Back-end microservices
microservice:
cache:
provider-uri: http://gateway:8072/cache-service # use the gateway
provider-uri: http://gateway:8072/cache # use the gateway
# provider-uri: http://cache:8351 # do not use gateway
audit:
provider-uri: http://gateway:8072/audit-service # use the gateway
#provider-uri: http://audit:8300 # do not use gateway
subscription:
host: audit # note: we do not use gateway
port: 8301
iam:
provider-uri: http://gateway: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

41 changes: 25 additions & 16 deletions iam-ui-localNoDocker.yml
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

19 changes: 0 additions & 19 deletions iam-ui.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
# Last update February 2023 (rlh)
eureka:
instance:
preferIpAddress: true
instanceId: ${spring.application.name}:${random.int}
hostname: iamui
client:
registerWithEureka: true
fetchRegistry: true # this must be true because is UI

spring:
cloud:
loadbalancer:
ribbon:
enabled: true

management:
endpoint:
health:
Expand All @@ -23,8 +9,3 @@ management:
exposure:
include: "*"

iam:
ribbon:
ServerListRefreshInterval: 1000 # this override doesn't work for some reason. The default is 30s
eureka:
enabled: true

0 comments on commit 092d155

Please sign in to comment.