AT&T 1712 and 1802 release code
[so.git] / common / src / main / java / org / openecomp / mso / client / aai / AAIRestClientI.java
@@ -30,11 +30,15 @@ import org.onap.aai.domain.yang.Pservers;
 import com.fasterxml.jackson.core.JsonParseException;
 import com.fasterxml.jackson.databind.JsonMappingException;
 
-public interface AAIRestClient {
+public interface AAIRestClientI {
        
-Pservers getPhysicalServers(String hostName, String uuid);     
-List<Pserver> getPhysicalServerByVnfId(String vnfId, String transactionLoggingUuid) throws UnsupportedEncodingException, JsonParseException, JsonMappingException, IOException;        
-void updateMaintenceFlag(String vnfId,boolean inMaint, String transactionLoggingUuid) throws JsonParseException, JsonMappingException, IOException;
-void updateMaintenceFlagVnfId(String vnfId, boolean inMaint, String transactionLoggingUuid) throws JsonParseException, JsonMappingException , IOException;
-GenericVnf getVnfByName(String vnfId,  String transactionLoggingUuid) throws JsonParseException, JsonMappingException , IOException;
+       Pservers getPhysicalServers(String hostName, String uuid);
+       
+       List<Pserver> getPhysicalServerByVnfId(String vnfId, String transactionLoggingUuid) throws UnsupportedEncodingException, JsonParseException, JsonMappingException, IOException;
+       
+       void updateMaintenceFlag(String vnfId,boolean inMaint, String transactionLoggingUuid) throws Exception;
+
+       void updateMaintenceFlagVnfId(String vnfId, boolean inMaint, String transactionLoggingUuid) throws Exception;
+       
+       GenericVnf getVnfByName(String vnfId,  String transactionLoggingUuid) throws Exception;
 }