From 517ecf7a34bedba048f80820a650203c06060cf7 Mon Sep 17 00:00:00 2001 From: Prateek Kishore Karnad Date: Wed, 9 Oct 2024 10:53:04 +0530 Subject: [PATCH] Create ration-service-dev.properties --- ration-service-dev.properties | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 ration-service-dev.properties diff --git a/ration-service-dev.properties b/ration-service-dev.properties new file mode 100644 index 0000000..3fea2cb --- /dev/null +++ b/ration-service-dev.properties @@ -0,0 +1,38 @@ +service.name= ration-service + +spring.jpa.hibernate.ddl-auto=none +spring.jpa.database=POSTGRESQL +spring.datasource.platform=postgres +spring.jpa.show-sql = true +spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy +spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect +spring.database.driverClassName= org.postgresql.Driver +spring.datasource.username= indiagator +spring.datasource.password= Dedsec@7 +spring.datasource.url= jdbc:postgresql://localhost:5432/egov +spring.datasource.testWhileIdle = true +spring.datasource.validationQuery = SELECT 1 + +eureka.instance.preferIpAddress= true +eureka.client.registerWithEureka= true +eureka.client.fetchRegistry= true +eureka.client.serviceUrl.defaultZone= http://localhost:8761/eureka + +gateway-server.hostname=localhost +gateway-server.portnumber=8072 + +spring.kafka.consumer.bootstrap-servers= localhost:9092 +spring.kafka.consumer.group-id= social-consumer +spring.kafka.consumer.auto-offset-reset=earliest +spring.kafka.consumer.key-deserializer= org.apache.kafka.common.serialization.StringDeserializer +spring.kafka.consumer.value-deserializer= org.apache.kafka.common.serialization.StringDeserializer + +spring.kafka.producer.bootstrap-servers= localhost:9092 +spring.kafka.producer.key-serializer= org.apache.kafka.common.serialization.StringSerializer +spring.kafka.producer.value-serializer= org.apache.kafka.common.serialization.StringSerializer + + +zipkin.baseUrl: http://localhost:9411 + +management.endpoints.web.exposure.include= health, metrics, prometheus +management.metrics.tags.application=${spring.application.name}