tevin 3 months ago
commit
47bc1a69b9

+ 14 - 0
src/main/resources/application-dev.yml

@@ -0,0 +1,14 @@
+spring:
+  datasource:
+    username: ghjg_basics
+    password: GHJG@123
+    url: jdbc:oracle:thin:@//172.17.190.5/orcl
+    driver-class-name: oracle.jdbc.OracleDriver
+    hikari:
+      minimum-idle: 1
+      idle-timeout: 180000
+      maximum-pool-size: 10
+      auto-commit: on
+      connection-timeout: 30000
+      connection-test-query: SELECT 1
+      connection-init-sql: SELECT 1

+ 0 - 0
src/main/resources/application-prod.yml


+ 0 - 0
src/main/resources/application-test.yml


+ 5 - 0
src/main/resources/application.yml

@@ -0,0 +1,5 @@
+spring:
+  application:
+    name: pollution-warning
+  profiles:
+    active: dev