@Autowired
- protected AAIRestClient client;
+ protected AAIRestClientI client;
- public AAIRestClient getClient() {
+ public AAIRestClientI getClient() {
return client;
}
- public void setClient(AAIRestClient client) {
+ public void setClient(AAIRestClientI client) {
this.client = client;
}
public boolean isVNFLocked(String vnfId, String transactionLoggingUuid) throws Exception {
boolean isLocked = false;
GenericVnf genericVnf = client.getVnfByName(vnfId, transactionLoggingUuid);
- if (genericVnf.isInMaint())
- isLocked = true;
+ if (genericVnf.isInMaint())
+ isLocked = true;
return isLocked;
}