/*- | |
* ============LICENSE_START======================================================= | |
* OSAM | |
* ================================================================================ | |
* Copyright (C) 2018 AT&T | |
* ================================================================================ | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, | |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
* See the License for the specific language governing permissions and | |
* limitations under the License. | |
* ============LICENSE_END========================================================= | |
*/ | |
package org.onap.osam.aai; | |
import org.onap.osam.aai.model.AaiGetOperationalEnvironments.OperationalEnvironmentList; | |
import org.onap.osam.aai.model.AaiGetPnfs.Pnf; | |
import org.onap.osam.aai.model.AaiGetTenatns.GetTenantsResponse; | |
import org.onap.osam.aai.model.AaiNodeQueryResponse; | |
import org.onap.osam.aai.model.PortDetailsTranslator; | |
import org.onap.osam.aai.model.ResourceType; | |
import org.onap.osam.model.SubscriberList; | |
import org.onap.osam.model.probes.ExternalComponentStatus; | |
import javax.ws.rs.core.Response; | |
import java.util.List; | |
public interface AaiClientInterface { | |
AaiResponse<AaiNodeQueryResponse> searchNodeTypeByName(String name, ResourceType type); | |
AaiResponse<SubscriberList> getAllSubscribers(); | |
AaiResponse getSubscriberData(String subscriberId); | |
AaiResponse getServices(); | |
AaiResponse getServicesByOwningEntityId(List<String> owningEntityIds); | |
AaiResponse<GetTenantsResponse[]> getTenants(String globalCustomerId, String serviceType); | |
AaiResponse<OperationalEnvironmentList> getOperationalEnvironments(String operationalEnvironmentType, String operationalEnvironmentStatus); | |
AaiResponse getAllAicZones(); | |
AaiResponse getAicZoneForPnf(String globalCustomerId , String serviceType , String serviceId); | |
AaiResponse getVNFData(); | |
AaiResponse getNetworkCollectionDetails(String serviceInstanceId); | |
AaiResponse getInstanceGroupsByCloudRegion(String cloudOwner, String cloudRegionId, String networkFunction); | |
Response getVNFData(String globalSubscriberId, String serviceType); | |
AaiResponse getVNFData(String globalSubscriberId, String serviceType, String serviceInstanceId); | |
AaiResponse getNodeTemplateInstances(String globalCustomerId, String serviceType, String modelVersionId, String modelInvariantId, String cloudRegion); | |
Response getVersionByInvariantId(List<String> modelInvariantId); | |
AaiResponse getServicesByProjectNames(List<String> projectNames); | |
AaiResponse getServiceModelsByDistributionStatus(); | |
AaiResponse getPNFData(String globalCustomerId, String serviceType, String modelVersionId, String modelInvariantId, String cloudRegion, String equipVendor, String equipModel); | |
AaiResponse<Pnf> getSpecificPnf(String pnfId); | |
AaiResponse getServiceInstance(String globalCustomerId, String serviceType, String serviceInstanceId); | |
AaiResponse getLogicalLink(String link); | |
List<PortDetailsTranslator.PortDetails> getPortMirroringSourcePorts(String configurationID); | |
AaiResponse getInstanceGroupsByVnfInstanceId(String vnfInstanceId); | |
ExternalComponentStatus probeAaiGetAllSubscribers(); | |
} |