-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproduct-development.properties
32 lines (25 loc) · 1.02 KB
/
product-development.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# DEVELOPMENT ENVIRONMENT SETTING
app.message=This is the primary Application Property for ${spring.application.name} specific to DEVELOPMENT Environment
# Server port
server.port = 8109
# About the Eureka server details and its refresh time
eureka.instance.leaseRenewalIntervalInSeconds=1
eureka.instance.leaseExpirationDurationInSeconds=2
eureka.client.serviceUrl.defaultZone=http://localhost:8001/eureka/
eureka.client.healthcheck.enabled=false
eureka.client.lease.duration=5
# Because by default, Actuator only enables some APIs.
# Monitor calling service using Hystrix with Hystrix Dashboard of Spring Cloud Netflix
# so to enable API to provide data for Hystrix Dashboard,
# we add the configuration to Actuator enable all the APIs
# it supports by declaring
management.endpoints.web.exposure.include=*
jdbc.driverClassName=org.h2.Driver
jdbc.url=jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1
jdbc.username=sa
jdbc.password=sa
# Enabling H2 Console
spring.h2.console.enabled=true
# API configration
api.path.root=/
api.path.ping=ping