Skip to content

Commit

Permalink
Update restaurant-service.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
sreenivasyanamala authored Jul 4, 2020
1 parent c9953c0 commit 0e2807b
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions restaurant-service.properties
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
spring.datasource.url= jdbc:mysql://localhost:3306/orderdb
spring.profiles.active=dev
spring.datasource.url=jdbc:mysql://localhost:3306/restaurantdb
spring.datasource.username=root
spring.datasource.password=Welcome@123
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL8Dialect
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true

server.port=8081
#restaurant.search.item.url= http://localhost:8080/item/id/
restaurant.search.item.url= http://restaurant-service/item/id/
spring.application.name=order-service
#Eureka client
spring.application.name=restaurant-service
eureka.client.serviceUrl.defaultZone = http://localhost:8761/eureka


#Config server
spring.cloud.config.uri=http://localhost:8090


user=user
password=password


spring.output.ansi.enabled=ALWAYS
logging.level.org.springframework=ERROR
logging.level.com.eatza=DEBUG
logging.pattern.console=%clr(%d{yy-MM-dd E HH:mm:ss.SSS}){blue} %clr(%-5p) %clr(${PID}){faint} %clr(---){faint} %clr([%8.15t]){cyan} %clr(%-40.40logger{0}){blue} %clr(:){red} %clr(%m){faint

0 comments on commit 0e2807b

Please sign in to comment.