fix: UUI backend AAI restful api and implementation for jakarta ccvpn usecase
[usecase-ui/server.git] / server / src / main / java / org / onap / usecaseui / server / service / sotn / SOTNService.java
1 /*
2  * Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package org.onap.usecaseui.server.service.sotn;
17
18 import java.util.List;
19
20 import javax.servlet.http.HttpServletRequest;
21
22 import org.onap.usecaseui.server.bean.sotn.Pinterface;
23
24 public interface SOTNService {
25         
26         public String getNetWorkResources();
27         
28         public List<Pinterface>  getPinterfaceByPnfName(String pnfName);
29         
30         public String getLogicalLinks();
31         
32         public String getSpecificLogicalLink(String linkName);
33         
34         public String getHostUrl(String aaiId);
35         
36         public String getExtAaiId(String aaiId);
37         
38         public String createHostUrl(HttpServletRequest request,String aaiId);
39         
40         public String createTopoNetwork(HttpServletRequest request,String networkId);
41         
42         public String createTerminationPoint(HttpServletRequest request,String pnfName,String tpId);
43         
44         public String createLink(HttpServletRequest request,String linkName);
45         
46         public String createPnf(HttpServletRequest request,String pnfName);
47         
48         public String deleteLink(String linkName,String resourceVersion);
49         
50         public String getServiceInstances(String customerId,String serviceType);
51         
52         public String serviceInstanceInfo(String customerId,String serviceType,String serviceInstanceId);
53         
54         public String getPnfInfo(String pnfName);
55         
56         public String getAllottedResources(String customerId,String serviceType,String serviceId);
57         
58         public String getConnectivityInfo(String connectivityId);
59
60         public String getVpnBindingInfo(String vpnId);
61
62         public String getNetworkRouteInfo(String routeId);
63
64         public String getPinterfaceByVpnId(String vpnId);
65         
66         public String deleteExtNetwork(String networkId,String resourceVersion);
67 }