1710 Rebase - Second Attempt
[so.git] / bpmn / MSOCommonBPMN / src / main / java / org / openecomp / mso / client / aai / AAIRestClient.java
1 package org.openecomp.mso.client.aai;
2 import java.io.IOException;
3 import java.io.UnsupportedEncodingException;
4 import java.util.List;
5
6 import org.openecomp.aai.domain.yang.GenericVnf;
7 import org.openecomp.aai.domain.yang.Pserver;
8 import org.openecomp.aai.domain.yang.Pservers;
9
10 import com.fasterxml.jackson.core.JsonParseException;
11 import com.fasterxml.jackson.databind.JsonMappingException;
12
13 public interface AAIRestClient {
14         
15         Pservers getPhysicalServers(String hostName, String uuid);
16         
17         List<Pserver> getPhysicalServerByVnfId(String vnfId, String transactionLoggingUuid) throws UnsupportedEncodingException, JsonParseException, JsonMappingException, IOException;
18         
19         void updateMaintenceFlag(String vnfId,boolean inMaint, String transactionLoggingUuid) throws Exception;
20
21         void updateMaintenceFlagVnfId(String vnfId, boolean inMaint, String transactionLoggingUuid) throws Exception;
22         
23         GenericVnf getVnfByName(String vnfId,  String transactionLoggingUuid) throws Exception;
24 }