1 package org.openecomp.mso.client.aai;
3 import org.springframework.beans.factory.annotation.Autowired;
5 public class AAIUpdatorImpl implements AAIUpdator {
8 protected AAIRestClient client;
10 public AAIRestClient getClient() {
15 public void setClient(AAIRestClient client) {
20 public void updateVnfToLocked(String vnfId, String uuid) throws Exception {
21 client.updateMaintenceFlagVnfId(vnfId, true, uuid);
25 public void updateVnfToUnLocked(String vnfId, String uuid) throws Exception {
26 client.updateMaintenceFlagVnfId(vnfId, false, uuid);