2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.onap.so.adapters.network;
24 import java.util.List;
26 import javax.jws.Oneway;
27 import javax.jws.WebMethod;
28 import javax.jws.WebParam;
29 import javax.jws.WebService;
30 import javax.xml.bind.annotation.XmlElement;
31 import org.onap.so.entity.MsoRequest;
32 import org.onap.so.openstack.beans.NetworkRollback;
33 import org.onap.so.openstack.beans.Subnet;
36 * This webservice defines the Asynchronous versions of NETWORK adapter calls. The notification messages for final
37 * responses are documented elsewhere (by the client service WSDL).
40 @WebService(name = "NetworkAdapterAsync", targetNamespace = "http://org.onap.so/networkA")
41 public interface MsoNetworkAdapterAsync {
43 * This is the "Create NETWORK" Web Service Endpoint definition.
47 public void createNetworkA(@WebParam(name = "cloudSiteId") @XmlElement(required = true) String cloudSiteId,
48 @WebParam(name = "tenantId") @XmlElement(required = true) String tenantId,
49 @WebParam(name = "networkType") @XmlElement(required = true) String networkType,
50 @WebParam(name = "modelCustomizationUuid") String modelCustomizationUuid,
51 @WebParam(name = "networkName") @XmlElement(required = true) String networkName,
52 @WebParam(name = "physicalNetworkName") String physicalNetworkName,
53 @WebParam(name = "vlans") List<Integer> vlans, @WebParam(name = "failIfExists") Boolean failIfExists,
54 @WebParam(name = "backout") Boolean backout, @WebParam(name = "subnets") List<Subnet> subnets,
55 @WebParam(name = "networkParams") Map<String, String> networkParams,
56 @WebParam(name = "messageId") @XmlElement(required = true) String messageId,
57 @WebParam(name = "request") MsoRequest msoRequest,
58 @WebParam(name = "notificationUrl") @XmlElement(required = true) String notificationUrl);
62 public void updateNetworkA(@WebParam(name = "cloudSiteId") @XmlElement(required = true) String cloudSiteId,
63 @WebParam(name = "tenantId") @XmlElement(required = true) String tenantId,
64 @WebParam(name = "networkType") @XmlElement(required = true) String networkType,
65 @WebParam(name = "modelCustomizationUuid") String modelCustomizationUuid,
66 @WebParam(name = "networkId") @XmlElement(required = true) String networkId,
67 @WebParam(name = "networkName") @XmlElement(required = true) String networkName,
68 @WebParam(name = "physicalNetworkName") @XmlElement(required = true) String physicalNetworkName,
69 @WebParam(name = "vlans") @XmlElement(required = true) List<Integer> vlans,
70 @WebParam(name = "subnets") List<Subnet> subnets,
71 @WebParam(name = "networkParams") Map<String, String> networkParams,
72 @WebParam(name = "messageId") @XmlElement(required = true) String messageId,
73 @WebParam(name = "request") MsoRequest msoRequest,
74 @WebParam(name = "notificationUrl") @XmlElement(required = true) String notificationUrl);
78 public void queryNetworkA(@WebParam(name = "cloudSiteId") @XmlElement(required = true) String cloudSiteId,
79 @WebParam(name = "tenantId") @XmlElement(required = true) String tenantId,
80 @WebParam(name = "networkNameOrId") @XmlElement(required = true) String networkNameOrId,
81 @WebParam(name = "messageId") @XmlElement(required = true) String messageId,
82 @WebParam(name = "request") MsoRequest msoRequest,
83 @WebParam(name = "notificationUrl") @XmlElement(required = true) String notificationUrl);
87 public void deleteNetworkA(@WebParam(name = "cloudSiteId") @XmlElement(required = true) String cloudSiteId,
88 @WebParam(name = "tenantId") @XmlElement(required = true) String tenantId,
89 @WebParam(name = "networkType") @XmlElement(required = true) String networkType,
90 @WebParam(name = "modelCustomizationUuid") String modelCustomizationUuid,
91 @WebParam(name = "networkId") @XmlElement(required = true) String networkId,
92 @WebParam(name = "messageId") @XmlElement(required = true) String messageId,
93 @WebParam(name = "request") MsoRequest msoRequest,
94 @WebParam(name = "notificationUrl") @XmlElement(required = true) String notificationUrl);
98 public void rollbackNetworkA(@WebParam(name = "rollback") @XmlElement(required = true) NetworkRollback rollback,
99 @WebParam(name = "messageId") @XmlElement(required = true) String messageId,
100 @WebParam(name = "notificationUrl") @XmlElement(required = true) String notificationUrl);
103 public void healthCheckA();