Skip to content

Commit d9bad51

Browse files
committed
bootstrap file deteted and replaced by applicaton file
1 parent 11f8e92 commit d9bad51

File tree

8 files changed

+8
-10
lines changed

8 files changed

+8
-10
lines changed

api-gateway/src/main/resources/application.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
server:
22
port: 8000
33

4+
spring:
5+
application:
6+
name: api-gateway
7+
48
zuul:
59
ignoredServices: '*'
610
routes:

api-gateway/src/main/resources/bootstrap.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

offer-service/src/main/resources/application.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
server.port=8082
2+
spring.application.name=offer-service
23

34
# H2
45
# to access h2 database console in browser type

offer-service/src/main/resources/bootstrap.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.

product-service/src/main/resources/application.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
server.port=8081
2+
spring.application.name=product-service
23

34
spring.devtools.livereload.port=35730
45

product-service/src/main/resources/bootstrap.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
server.port=8761
2+
spring.application.name=service-registry
23

3-
# eureka by default will register itself as a client. So, we need to set it to false.
4-
# What's a client server? See other microservices (image, gallery, auth, etc).
5-
#eureka.client.register-with-eureka=false
6-
#eureka.client.fetch-registry=false
4+
# eureka by default will register itself as a client. So, we no need to set eureka.client.register-with-eureka=true

service-registry/src/main/resources/bootstrap.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)