Skip to content

Commit 5e67f59

Browse files
committed
cleanup
1 parent 98cb2a2 commit 5e67f59

2 files changed

Lines changed: 1 addition & 79 deletions

File tree

jdk_17_maven/em/embedded/rest/familie-ba-sak/src/main/java/em/embedded/familie/ba/sak/EmbeddedEvoMasterController.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -121,17 +121,10 @@ public String startSut() {
121121
"--funksjonsbrytere.kafka.producer.enabled=false",
122122
"--funksjonsbrytere.enabled=false",
123123
"--logging.level.root=OFF",
124-
"--logging.config=classpath:logback.xml",
125-
//"--logback.configurationFile=src/main/resources/logback.xml",
124+
"--logging.config=classpath:logback-spring.xml",
126125
"--logging.level.org.springframework=INFO",
127-
//"--API_SCOPE=api://AZURE_APP_CLIENT_ID/.default"
128-
// "--spring.main.web-application-type=none"
129126
});
130127

131-
132-
// https://www.baeldung.com/spring-boot-application-context-exception
133-
// spring.main.web-application-type=none
134-
135128
if (sqlConnection != null) {
136129
try {
137130
sqlConnection.close();
@@ -140,10 +133,8 @@ public String startSut() {
140133
}
141134
}
142135

143-
//JdbcTemplate jdbc = ctx.getBean(JdbcTemplate.class);
144136
try {
145137
sqlConnection = DriverManager.getConnection(postgresURL, "postgres", POSTGRES_PASSWORD);
146-
//jdbc.getDataSource().getConnection();
147138
} catch (SQLException e) {
148139
throw new RuntimeException(e);
149140
}
@@ -168,7 +159,6 @@ public void stopSut() {
168159

169160
@Override
170161
public void resetStateOfSUT() {
171-
// DbCleaner.clearDatabase(sqlConnection, List.of(), DatabaseType.POSTGRES);
172162
}
173163

174164
@Override

jdk_17_maven/em/embedded/rest/familie-ba-sak/src/main/resources/logback.xml

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)