updated flyway
This commit is contained in:
parent
cd1b3274a7
commit
f15c851b77
3 changed files with 8 additions and 3 deletions
1
pom.xml
1
pom.xml
|
@ -292,6 +292,7 @@
|
|||
<dependency>
|
||||
<groupId>org.flywaydb</groupId>
|
||||
<artifactId>flyway-core</artifactId>
|
||||
<version>7.8.2</version>
|
||||
</dependency>
|
||||
|
||||
<!-- EHCache -->
|
||||
|
|
|
@ -132,7 +132,7 @@ public class WebserviceInfoDAOImpl implements WebserviceInfoDAO {
|
|||
}
|
||||
|
||||
private boolean setMasterTo(final String uuid) {
|
||||
log.info("Set webservice {} as master", uuid);
|
||||
|
||||
final long now = Utils.getMillisecondsNow();
|
||||
|
||||
// check if this is registered
|
||||
|
@ -142,7 +142,9 @@ public class WebserviceInfoDAOImpl implements WebserviceInfoDAO {
|
|||
.execute();
|
||||
|
||||
if (entries == null || entries.isEmpty()) {
|
||||
log.warn("The webservice with uuid: {} is not registered and cannot become a master", uuid);
|
||||
if (log.isDebugEnabled()) {
|
||||
log.debug("The webservice with uuid: {} is not registered and cannot become a master", uuid);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -156,6 +158,8 @@ public class WebserviceInfoDAOImpl implements WebserviceInfoDAO {
|
|||
return false;
|
||||
}
|
||||
|
||||
log.info("Set webservice {} as master", uuid);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
<springProfile name="dev">
|
||||
|
||||
<root level="DEBUG" additivity="true">
|
||||
<root level="INFO" additivity="true">
|
||||
<appender-ref ref="STDOUT" />
|
||||
<appender-ref ref="FILE" />
|
||||
</root>
|
||||
|
|
Loading…
Reference in a new issue