Skip to content

Commit

Permalink
Fix SQL Server connection with removing username/secret
Browse files Browse the repository at this point in the history
  • Loading branch information
kabuqNo committed Jul 10, 2024
1 parent 1274f78 commit f92718d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion center/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dependencies {

compile group: 'org.apache.commons', name: 'commons-pool2', version: '2.7.0'

compile group: 'com.microsoft.sqlserver', name: 'mssql-jdbc', version: '7.4.0.jre8'
compile group: 'com.microsoft.sqlserver', name: 'mssql-jdbc', version: '12.6.1.jre8'
// compile group: 'org.postgresql', name: 'postgresql', version: '42.2.14'

compile group: 'org.springframework.security', name: 'spring-security-oauth2-client', version: '5.2.2.RELEASE'
Expand Down
3 changes: 3 additions & 0 deletions center/src/main/resources/application-docker.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
spring:
datasource:
url: jdbc:sqlite:${app.location}/hydra_lab_center_docker_db.sqlite
driver-class-name: org.sqlite.JDBC
username: sqlite
password: 98765432

app:
location: /hydra/data
7 changes: 7 additions & 0 deletions center/src/main/resources/application-test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
app:
default-user: '[email protected]'

spring:
datasource:
url: jdbc:sqlite:${app.location}/hydra_lab_center_db.sqlite
driver-class-name: org.sqlite.JDBC
username: sqlite
password: 98765432

management:
metrics:
export:
Expand Down
4 changes: 0 additions & 4 deletions center/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ spring:
max-file-size: 1024MB
max-request-size: 2048MB
datasource:
url: jdbc:sqlite:${app.location}/hydra_lab_center_db.sqlite
username: sqlite
password: 98765432
driver-class-name: org.sqlite.JDBC
jpa:
database-platform: org.sqlite.hibernate.dialect.SQLiteDialect
show-sql: false
Expand Down
3 changes: 2 additions & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ dependencies {
compile group: 'org.jsoup', name: 'jsoup', version: '1.10.1'
// https://docs.microsoft.com/en-us/graph/sdks/sdk-installation?context=graph%2Fapi%2F1.0&view=graph-rest-1.0
compile 'com.microsoft.graph:microsoft-graph:5.4.0'
compile 'com.azure:azure-identity:1.9.2'
compile 'com.azure:azure-identity:1.11.1'
compile 'com.azure:azure-identity-broker:1.1.2'
//blob storage
compile 'com.azure:azure-storage-blob:12.23.0'
//Apk analysis
Expand Down

0 comments on commit f92718d

Please sign in to comment.