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.openecomp.mso.adapters.network;
24 import javax.jws.Oneway;
25 import javax.jws.WebMethod;
26 import javax.jws.WebParam;
27 import javax.jws.WebService;
28 import javax.xml.bind.annotation.XmlElement;
30 import org.openecomp.mso.entity.MsoRequest;
31 import org.openecomp.mso.openstack.beans.Subnet;
32 import org.openecomp.mso.openstack.beans.NetworkRollback;
34 import java.util.List;
36 * This webservice defines the Asynchronous versions of NETWORK adapter calls.
37 * The notification messages for final responses are documented elsewhere
38 * (by the client service WSDL).
41 @WebService (name="NetworkAdapterAsync", targetNamespace="http://org.openecomp.mso/networkA")
42 public interface MsoNetworkAdapterAsync
45 * This is the "Create NETWORK" Web Service Endpoint definition.
49 public void createNetworkA (@WebParam(name="cloudSiteId") @XmlElement(required=true) String cloudSiteId,
50 @WebParam(name="tenantId") @XmlElement(required=true) String tenantId,
51 @WebParam(name="networkType") @XmlElement(required=true) String networkType,
52 @WebParam(name="modelCustomizationUuid") String modelCustomizationUuid,
53 @WebParam(name="networkName") @XmlElement(required=true) String networkName,
54 @WebParam(name="physicalNetworkName") String physicalNetworkName,
55 @WebParam(name="vlans") List<Integer> vlans,
56 @WebParam(name="failIfExists") Boolean failIfExists,
57 @WebParam(name="backout") Boolean backout,
58 @WebParam(name="subnets") List<Subnet> subnets,
59 @WebParam(name="messageId") @XmlElement(required=true) String messageId,
60 @WebParam(name="request") MsoRequest msoRequest,
61 @WebParam(name="notificationUrl") @XmlElement(required=true) String notificationUrl );
65 public void updateNetworkA (@WebParam(name="cloudSiteId") @XmlElement(required=true) String cloudSiteId,
66 @WebParam(name="tenantId") @XmlElement(required=true) String tenantId,
67 @WebParam(name="networkType") @XmlElement(required=true) String networkType,
68 @WebParam(name="modelCustomizationUuid") String modelCustomizationUuid,
69 @WebParam(name="networkId") @XmlElement(required=true) String networkId,
70 @WebParam(name="networkName") @XmlElement(required=true) String networkName,
71 @WebParam(name="physicalNetworkName") @XmlElement(required=true) String physicalNetworkName,
72 @WebParam(name="vlans") @XmlElement(required=true) List<Integer> vlans,
73 @WebParam(name="subnets") List<Subnet> subnets,
74 @WebParam(name="messageId") @XmlElement(required=true) String messageId,
75 @WebParam(name="request") MsoRequest msoRequest,
76 @WebParam(name="notificationUrl") @XmlElement(required=true) String notificationUrl );
80 public void queryNetworkA (@WebParam(name="cloudSiteId") @XmlElement(required=true) String cloudSiteId,
81 @WebParam(name="tenantId") @XmlElement(required=true) String tenantId,
82 @WebParam(name="networkNameOrId") @XmlElement(required=true) String networkNameOrId,
83 @WebParam(name="messageId") @XmlElement(required=true) String messageId,
84 @WebParam(name="request") MsoRequest msoRequest,
85 @WebParam(name="notificationUrl") @XmlElement(required=true) String notificationUrl );
89 public void deleteNetworkA (@WebParam(name="cloudSiteId") @XmlElement(required=true) String cloudSiteId,
90 @WebParam(name="tenantId") @XmlElement(required=true) String tenantId,
91 @WebParam(name="networkType") @XmlElement(required=true) String networkType,
92 @WebParam(name="modelCustomizationUuid") String modelCustomizationUuid,
93 @WebParam(name="networkId") @XmlElement(required=true) String networkId,
94 @WebParam(name="messageId") @XmlElement(required=true) String messageId,
95 @WebParam(name="request") MsoRequest msoRequest,
96 @WebParam(name="notificationUrl") @XmlElement(required=true) String notificationUrl );
100 public void rollbackNetworkA (@WebParam(name="rollback") @XmlElement(required=true) NetworkRollback rollback,
101 @WebParam(name="messageId") @XmlElement(required=true) String messageId,
102 @WebParam(name="notificationUrl") @XmlElement(required=true) String notificationUrl );
105 public void healthCheckA ();