1 package org.openecomp.mso.client.aai;
2 import java.io.IOException;
3 import java.io.UnsupportedEncodingException;
6 import org.openecomp.aai.domain.yang.GenericVnf;
7 import org.openecomp.aai.domain.yang.Pserver;
8 import org.openecomp.aai.domain.yang.Pservers;
10 import com.fasterxml.jackson.core.JsonParseException;
11 import com.fasterxml.jackson.databind.JsonMappingException;
13 public interface AAIRestClient {
15 Pservers getPhysicalServers(String hostName, String uuid);
17 List<Pserver> getPhysicalServerByVnfId(String vnfId, String transactionLoggingUuid) throws UnsupportedEncodingException, JsonParseException, JsonMappingException, IOException;
19 void updateMaintenceFlag(String vnfId,boolean inMaint, String transactionLoggingUuid) throws Exception;
21 void updateMaintenceFlagVnfId(String vnfId, boolean inMaint, String transactionLoggingUuid) throws Exception;
23 GenericVnf getVnfByName(String vnfId, String transactionLoggingUuid) throws Exception;