code cleanup
This commit is contained in:
parent
415dcee8cb
commit
166659af11
2 changed files with 3 additions and 9 deletions
5
pom.xml
5
pom.xml
|
@ -280,7 +280,8 @@
|
|||
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
||||
<artifactId>jackson-dataformat-xml</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<!-- <dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-webflux</artifactId>
|
||||
<exclusions>
|
||||
|
@ -289,7 +290,7 @@
|
|||
<groupId>org.springframework.boot</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
</dependency>-->
|
||||
<!-- NOTE since org.springframework.security.oauth is not fully migrated
|
||||
to spring-boot-starter-security we have to declare a separate version here.
|
||||
This refers to the latest version of spring-security-oauth2 and should be
|
||||
|
|
|
@ -32,7 +32,6 @@ public class SEBServerMigrationStrategy implements FlywayMigrationStrategy {
|
|||
private final WebserviceInfo webserviceInfo;
|
||||
private final WebserviceInfoDAO webserviceInfoDAO;
|
||||
private Flyway flyway;
|
||||
private final boolean migrationApplied = false;
|
||||
|
||||
public SEBServerMigrationStrategy(
|
||||
final WebserviceInfo webserviceInfo,
|
||||
|
@ -47,7 +46,6 @@ public class SEBServerMigrationStrategy implements FlywayMigrationStrategy {
|
|||
@Override
|
||||
public void migrate(final Flyway flyway) {
|
||||
this.flyway = flyway;
|
||||
|
||||
}
|
||||
|
||||
public void applyMigration() {
|
||||
|
@ -57,11 +55,6 @@ public class SEBServerMigrationStrategy implements FlywayMigrationStrategy {
|
|||
}
|
||||
|
||||
final String webserviceUUID = this.webserviceInfo.getWebserviceUUID();
|
||||
if (this.migrationApplied) {
|
||||
SEBServerInit.INIT_LOGGER.warn("Migration already applied for this webservice: {}", webserviceUUID);
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
SEBServerInit.INIT_LOGGER.info("----> ** Migration check START **");
|
||||
|
|
Loading…
Reference in a new issue