blob: d39dbb1c7e51c9400a792c48bf72a73e18e82777 [file] [log] [blame]
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +03001/*-
2 * ============LICENSE_START=======================================================
3 * OSAM
4 * ================================================================================
5 * Copyright (C) 2018 AT&T
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
19 */
20
21
22
23package org.onap.osam.aai;
24
25import org.onap.osam.aai.model.AaiGetOperationalEnvironments.OperationalEnvironmentList;
26import org.onap.osam.aai.model.AaiGetPnfs.Pnf;
27import org.onap.osam.aai.model.AaiGetTenatns.GetTenantsResponse;
28import org.onap.osam.aai.model.AaiNodeQueryResponse;
29import org.onap.osam.aai.model.PortDetailsTranslator;
30import org.onap.osam.aai.model.ResourceType;
31import org.onap.osam.model.SubscriberList;
32import org.onap.osam.model.probes.ExternalComponentStatus;
33
34import javax.ws.rs.core.Response;
35import java.util.List;
36
37public interface AaiClientInterface {
38
39 AaiResponse<AaiNodeQueryResponse> searchNodeTypeByName(String name, ResourceType type);
40
41 AaiResponse<SubscriberList> getAllSubscribers();
42
43 AaiResponse getSubscriberData(String subscriberId);
44
45 AaiResponse getServices();
46
47 AaiResponse getServicesByOwningEntityId(List<String> owningEntityIds);
48
49 AaiResponse<GetTenantsResponse[]> getTenants(String globalCustomerId, String serviceType);
50
51 AaiResponse<OperationalEnvironmentList> getOperationalEnvironments(String operationalEnvironmentType, String operationalEnvironmentStatus);
52
53 AaiResponse getAllAicZones();
54
55 AaiResponse getAicZoneForPnf(String globalCustomerId , String serviceType , String serviceId);
56
57 AaiResponse getVNFData();
58
59 AaiResponse getNetworkCollectionDetails(String serviceInstanceId);
60
61 AaiResponse getInstanceGroupsByCloudRegion(String cloudOwner, String cloudRegionId, String networkFunction);
62
63 Response getVNFData(String globalSubscriberId, String serviceType);
64
65 AaiResponse getVNFData(String globalSubscriberId, String serviceType, String serviceInstanceId);
66
67 AaiResponse getNodeTemplateInstances(String globalCustomerId, String serviceType, String modelVersionId, String modelInvariantId, String cloudRegion);
68
69 Response getVersionByInvariantId(List<String> modelInvariantId);
70
71 AaiResponse getServicesByProjectNames(List<String> projectNames);
72
73 AaiResponse getServiceModelsByDistributionStatus();
74
75 AaiResponse getPNFData(String globalCustomerId, String serviceType, String modelVersionId, String modelInvariantId, String cloudRegion, String equipVendor, String equipModel);
76
77 AaiResponse<Pnf> getSpecificPnf(String pnfId);
78
79 AaiResponse getServiceInstance(String globalCustomerId, String serviceType, String serviceInstanceId);
80
81 AaiResponse getLogicalLink(String link);
82
83 List<PortDetailsTranslator.PortDetails> getPortMirroringSourcePorts(String configurationID);
84
85 AaiResponse getInstanceGroupsByVnfInstanceId(String vnfInstanceId);
86
87 ExternalComponentStatus probeAaiGetAllSubscribers();
88}