Merge pull request '- dn config changes' (#5) from db-config into main

Reviewed-on: #5
fixed-serach-item
saif.haq 2025-01-22 04:16:24 +00:00
commit 84261d3791
3 changed files with 23 additions and 6 deletions

18
pom.xml
View File

@ -28,6 +28,24 @@
</repository>
</repositories>
<profiles>
<profile>
<id>dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<activatedProperties>dev</activatedProperties>
</properties>
</profile>
<profile>
<id>prod</id>
<properties>
<activatedProperties>prod</activatedProperties>
</properties>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>

View File

@ -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

View File

@ -5,7 +5,7 @@ application:
spring:
profiles:
active: dev
active: @activatedProperties@
resources:
chain: