Updated WorkingTimeType support

This commit is contained in:
Giancarlo Panichi 2021-12-15 18:43:18 +01:00
parent e91d8a3a77
commit 211a4f0a24
2 changed files with 22 additions and 2 deletions

View File

@ -73,6 +73,8 @@ public class ApplicationProperties {
private String restPassword1; private String restPassword1;
private String restUsername2; private String restUsername2;
private String restPassword2; private String restPassword2;
private String restUsername3;
private String restPassword3;
public String getRestUrl() { public String getRestUrl() {
return restUrl; return restUrl;
@ -114,12 +116,30 @@ public class ApplicationProperties {
this.restPassword2 = restPassword2; this.restPassword2 = restPassword2;
} }
public String getRestUsername3() {
return restUsername3;
}
public void setRestUsername3(String restUsername3) {
this.restUsername3 = restUsername3;
}
public String getRestPassword3() {
return restPassword3;
}
public void setRestPassword3(String restPassword3) {
this.restPassword3 = restPassword3;
}
@Override @Override
public String toString() { public String toString() {
return "DatasourceEpasRest [restUrl=" + restUrl + ", restUsername1=" + restUsername1 + ", restPassword1=" return "DatasourceEpasRest [restUrl=" + restUrl + ", restUsername1=" + restUsername1 + ", restPassword1="
+ restPassword1 + ", restUsername2=" + restUsername2 + ", restPassword2=" + restPassword2 + "]"; + restPassword1 + ", restUsername2=" + restUsername2 + ", restPassword2=" + restPassword2
+ ", restUsername3=" + restUsername3 + ", restPassword3=" + restPassword3 + "]";
} }
} }
public static class HikariProperties { public static class HikariProperties {

View File

@ -33,7 +33,7 @@ import it.cnr.isti.epasmed.security.AuthoritiesConstants;
@AutoConfigureMockMvc @AutoConfigureMockMvc
@WithMockUser(authorities = AuthoritiesConstants.ADMIN) @WithMockUser(authorities = AuthoritiesConstants.ADMIN)
@SpringBootTest(classes = EpasmedApp.class) @SpringBootTest(classes = EpasmedApp.class)
@EnabledIf("true") @EnabledIf("false")
public class EPASWorkingTimeTypesResourceIT { public class EPASWorkingTimeTypesResourceIT {
private final Logger log = LoggerFactory.getLogger(getClass()); private final Logger log = LoggerFactory.getLogger(getClass());