diff --git a/pom.xml b/pom.xml index b002c17..8c45d85 100644 --- a/pom.xml +++ b/pom.xml @@ -28,6 +28,24 @@ + + + dev + + true + + + dev + + + + prod + + prod + + + + org.springframework.boot diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 2607c37..4f2eee4 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -1,16 +1,15 @@ spring: uinddatasource: - jdbcUrl: jdbc:mysql://localhost:3306 - username: root - password: Utopia01 + jdbcUrl: jdbc:mysql://utopia-industries-rr.c5qech8o9lgg.us-east-1.rds.amazonaws.com:3306/inventory + username: cut-to-pack + password: mAzFAivImnTqKJx4KNJ0 driverClassName: com.mysql.cj.jdbc.Driver - logbackUrl: jdbc:mysql://localhost:3306/uind_logs?serverTimezone=Asia/Karachi hikari: maximum-pool-size: 5 pool-name: UINDMainPool leak-detection-threshold: 2000 cosmosdatasource: - jdbcUrl: jdbc:mysql://localhost:3307 + jdbcUrl: jdbc:mysql://192.168.90.147:3307 username: root password: Utopia01 driverClassName: com.mysql.cj.jdbc.Driver diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 48d0837..400eb73 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -5,7 +5,7 @@ application: spring: profiles: - active: dev + active: @activatedProperties@ resources: chain: