Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cloudbank-v5/customer-helidon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
<dependency>
<groupId>io.helidon.integrations.eureka</groupId>
<artifactId>helidon-integrations-eureka</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.helidon.integrations.cdi</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ hibernate.hbm2ddl.auto=create
hibernate.show_sql=true
hibernate.transaction.coordinator_class=jta

# Eureka configuration
server.features.eureka.client.base-uri=http://eureka.eureka:8761/eureka
server.features.eureka.instance.name=customer-helidon
server.features.eureka.instance.hostName=customer.helidon

# Liquibase configuration - Helidon style
liquibase.change-log=classpath:db/changelog/controller.yaml
liquibase.url=${javax.sql.DataSource.customer.URL}
Expand Down
12 changes: 12 additions & 0 deletions cloudbank-v5/customer-helidon/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
server:
features:
eureka:
enabled: true
client:
base-uri: ${eureka.client.service-url.defaultZone}
connect-timeout: PT10S
read-timeout: PT30S
instance:
name: "customer-helidon"
hostname: ${eureka.instance.hostname}
prefer-ip-address: ${eureka.instance.preferIpAddress:true}