aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/aai/AAIRestClient.java
blob: 8d96437e680c99e1b4709b001aa09582b89cd0fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package org.openecomp.mso.client.aai;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.List;

import org.openecomp.aai.domain.yang.GenericVnf;
import org.openecomp.aai.domain.yang.Pserver;
import org.openecomp.aai.domain.yang.Pservers;

import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonMappingException;

public interface AAIRestClient {
	
	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;
}