diff options
105 files changed, 12363 insertions, 11563 deletions
diff --git a/adapters/mso-catalog-db-adapter/src/test/java/org/onap/so/db/catalog/client/CatalogDbClientTest.java b/adapters/mso-catalog-db-adapter/src/test/java/org/onap/so/db/catalog/client/CatalogDbClientTest.java index d6f2c6dbcc..c202170235 100644 --- a/adapters/mso-catalog-db-adapter/src/test/java/org/onap/so/db/catalog/client/CatalogDbClientTest.java +++ b/adapters/mso-catalog-db-adapter/src/test/java/org/onap/so/db/catalog/client/CatalogDbClientTest.java @@ -197,7 +197,8 @@ public class CatalogDbClientTest extends CatalogDbAdapterBaseTest { assertNotNull(vnfResourceCustomization.getVnfResources()); assertNotNull(vnfResourceCustomization.getVfModuleCustomizations()); assertEquals("vSAMP10a", vnfResourceCustomization.getVnfResources().getModelName()); - assertTrue("skip post instantiation configuration", vnfResourceCustomization.isSkipPostInstConf()); + assertTrue("skip post instantiation configuration", + vnfResourceCustomization.isSkipPostInstConf().booleanValue()); } @Test diff --git a/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/consts/NssmfAdapterConsts.java b/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/consts/NssmfAdapterConsts.java index 8f029e7075..a24f8ef0c7 100644 --- a/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/consts/NssmfAdapterConsts.java +++ b/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/consts/NssmfAdapterConsts.java @@ -131,7 +131,7 @@ public class NssmfAdapterConsts { urlInfoMap.put(generateKey(ExecutorType.EXTERNAL, NetworkType.CORE, ActionType.DEACTIVATE), new NssmfUrlInfo(EXTERNAL_CN_DEACTIVATE_URL, HttpMethod.PUT)); urlInfoMap.put(generateKey(ExecutorType.INTERNAL, null, ActionType.DEACTIVATE), - new NssmfUrlInfo(INTERNAL_DEACTIVATE_URL, HttpMethod.PUT)); + new NssmfUrlInfo(INTERNAL_DEACTIVATE_URL, HttpMethod.POST)); urlInfoMap.put(generateKey(ExecutorType.EXTERNAL, NetworkType.ACCESS, ActionType.TERMINATE), new NssmfUrlInfo(EXTERNAL_AN_TERMINATE_URL, HttpMethod.DELETE)); diff --git a/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/extclients/aai/AaiServiceProvider.java b/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/extclients/aai/AaiServiceProvider.java index 77662bf272..4df2fa16e1 100644 --- a/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/extclients/aai/AaiServiceProvider.java +++ b/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/extclients/aai/AaiServiceProvider.java @@ -33,6 +33,9 @@ public interface AaiServiceProvider { void invokeCreateServiceInstance(ServiceInstance nssiInstance, String globalSubscriberId, String serviceType, String serviceInstanceId); + void invokeUpdateServiceInstance(ServiceInstance nssiInstance, String globalSubscriberId, String serviceType, + String serviceInstanceId); + ServiceInstance invokeGetServiceInstance(String globalSubscriberId, String serviceType, String serviceInstanceId); void invokeDeleteServiceInstance(String globalSubscriberId, String serviceType, String serviceInstanceId); diff --git a/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/extclients/aai/AaiServiceProviderImpl.java b/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/extclients/aai/AaiServiceProviderImpl.java index 1d7c42aafe..688012efe7 100644 --- a/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/extclients/aai/AaiServiceProviderImpl.java +++ b/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/extclients/aai/AaiServiceProviderImpl.java @@ -77,6 +77,14 @@ public class AaiServiceProviderImpl implements AaiServiceProvider { } @Override + public void invokeUpdateServiceInstance(ServiceInstance nssiInstance, String globalSubscriberId, String serviceType, + String serviceInstanceId) { + AAIResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business() + .customer(globalSubscriberId).serviceSubscription(serviceType).serviceInstance(serviceInstanceId)); + aaiClientProvider.getAaiClient().update(uri, nssiInstance); + } + + @Override public ServiceInstance invokeGetServiceInstance(String globalSubscriberId, String serviceType, String serviceInstanceId) { AAIResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business() diff --git a/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/manager/impl/external/ExternalAnNssmfManager.java b/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/manager/impl/external/ExternalAnNssmfManager.java index 20ad3d10b7..1af6d15c06 100644 --- a/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/manager/impl/external/ExternalAnNssmfManager.java +++ b/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/manager/impl/external/ExternalAnNssmfManager.java @@ -43,7 +43,10 @@ import static org.onap.so.adapters.nssmf.util.NssmfAdapterUtil.unMarshal; public class ExternalAnNssmfManager extends ExternalNssmfManager { - private Map<String, String> bodyParams = new HashMap<>(); // request body params + /** + * request body params + */ + private Map<String, String> bodyParams = new HashMap<>(); @Override protected String doWrapExtAllocateReqBody(NssmfAdapterNBIRequest nbiRequest) throws ApplicationException { @@ -125,7 +128,23 @@ public class ExternalAnNssmfManager extends ExternalNssmfManager { @Override public RestResponse activateNssi(NssmfAdapterNBIRequest nbiRequest, String snssai) throws ApplicationException { // TODO - return null; + NssiResponse resp = new NssiResponse(); + String nssiId = nbiRequest.getActDeActNssi().getNssiId(); + resp.setJobId(UUID.randomUUID().toString()); + resp.setNssiId(nssiId); + + RestResponse returnRsp = new RestResponse(); + + returnRsp.setStatus(202); + returnRsp.setResponseContent(marshal(resp)); + + ResourceOperationStatus status = + new ResourceOperationStatus(serviceInfo.getNsiId(), resp.getJobId(), serviceInfo.getServiceUuid()); + status.setResourceInstanceID(nssiId); + status.setOperType(actionType.toString()); + + updateDbStatus(status, returnRsp.getStatus(), JobStatus.FINISHED, NssmfAdapterUtil.getStatusDesc(actionType)); + return returnRsp; } @Override diff --git a/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/manager/impl/external/ExternalCnNssmfManager.java b/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/manager/impl/external/ExternalCnNssmfManager.java index fb76adcce6..08c464e46b 100644 --- a/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/manager/impl/external/ExternalCnNssmfManager.java +++ b/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/manager/impl/external/ExternalCnNssmfManager.java @@ -20,11 +20,14 @@ package org.onap.so.adapters.nssmf.manager.impl.external; +import org.onap.aai.domain.yang.ServiceInstance; +import org.onap.so.adapters.nssmf.enums.ActionType; import org.onap.so.adapters.nssmf.enums.SelectionType; import org.onap.so.adapters.nssmf.exceptions.ApplicationException; import org.onap.so.adapters.nssmf.manager.impl.ExternalNssmfManager; import org.onap.so.beans.nsmf.DeAllocateNssi; import org.onap.so.beans.nsmf.NssmfAdapterNBIRequest; +import org.onap.so.db.request.beans.ResourceOperationStatus; import static org.onap.so.adapters.nssmf.util.NssmfAdapterUtil.marshal; public class ExternalCnNssmfManager extends ExternalNssmfManager { @@ -45,6 +48,23 @@ public class ExternalCnNssmfManager extends ExternalNssmfManager { } @Override + protected void afterQueryJobStatus(ResourceOperationStatus status) { + super.afterQueryJobStatus(status); + ActionType jobOperType = ActionType.valueOf(status.getOperType()); + if (Integer.parseInt(status.getProgress()) == 100) { + if (ActionType.ACTIVATE.equals(jobOperType)) { + ServiceInstance nssiInstance = restUtil.getServiceInstance(serviceInfo); + nssiInstance.setOrchestrationStatus("activated"); + restUtil.updateServiceInstance(nssiInstance, serviceInfo); + } else if (ActionType.DEACTIVATE.equals(jobOperType)) { + ServiceInstance nssiInstance = restUtil.getServiceInstance(serviceInfo); + nssiInstance.setOrchestrationStatus("deactivated"); + restUtil.updateServiceInstance(nssiInstance, serviceInfo); + } + } + } + + @Override protected SelectionType doQueryNSSISelectionCapability() { return SelectionType.NSMF; diff --git a/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/util/RestUtil.java b/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/util/RestUtil.java index 7a86c5ba2b..60bf423ed8 100644 --- a/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/util/RestUtil.java +++ b/adapters/mso-nssmf-adapter/src/main/java/org/onap/so/adapters/nssmf/util/RestUtil.java @@ -77,6 +77,11 @@ public class RestUtil { serviceInfo.getSubscriptionServiceType(), serviceInfo.getNssiId()); } + public void updateServiceInstance(ServiceInstance serviceInstance, ServiceInfo serviceInfo) { + aaiSvcProv.invokeUpdateServiceInstance(serviceInstance, serviceInfo.getGlobalSubscriberId(), + serviceInfo.getSubscriptionServiceType(), serviceInfo.getNssiId()); + } + public ServiceInstance getServiceInstance(ServiceInfo serviceInfo) { return aaiSvcProv.invokeGetServiceInstance(serviceInfo.getGlobalSubscriberId(), serviceInfo.getSubscriptionServiceType(), serviceInfo.getNssiId()); diff --git a/adapters/mso-nssmf-adapter/src/test/java/org/onap/so/adapters/nssmf/service/impl/NssmfManagerServiceImplTest.java b/adapters/mso-nssmf-adapter/src/test/java/org/onap/so/adapters/nssmf/service/impl/NssmfManagerServiceImplTest.java index d7b3b03333..26904fa8a4 100644 --- a/adapters/mso-nssmf-adapter/src/test/java/org/onap/so/adapters/nssmf/service/impl/NssmfManagerServiceImplTest.java +++ b/adapters/mso-nssmf-adapter/src/test/java/org/onap/so/adapters/nssmf/service/impl/NssmfManagerServiceImplTest.java @@ -35,6 +35,7 @@ import org.mockito.stubbing.Answer; import org.onap.so.adapters.nssmf.consts.NssmfAdapterConsts; import org.onap.so.adapters.nssmf.entity.NssmfInfo; import org.onap.so.adapters.nssmf.entity.TokenResponse; +import org.onap.so.adapters.nssmf.enums.ActionType; import org.onap.so.adapters.nssmf.enums.HttpMethod; import org.onap.so.adapters.nssmf.util.RestUtil; import org.onap.so.beans.nsmf.*; @@ -358,6 +359,7 @@ public class NssmfManagerServiceImplTest { operationStatus.setOperationId("4b45d919816ccaa2b762df5120f72067"); operationStatus.setResourceTemplateUUID("8ee5926d-720b-4bb2-86f9-d20e921c143b"); operationStatus.setServiceId("NSI-M-001-HDBNJ-NSMF-01-A-ZX"); + operationStatus.setOperType(ActionType.ALLOCATE.toString()); NssmfAdapterNBIRequest nbiRequest = createNbiRequest(); nbiRequest.setResponseId("7512eb3feb5249eca5ddd742fedddd39"); @@ -376,8 +378,6 @@ public class NssmfManagerServiceImplTest { assertEquals(allRes.getResponseDescriptor().getStatus(), "processing"); assertEquals(allRes.getResponseDescriptor().getResponseId(), "7512eb3feb5249eca5ddd742fedddd39"); - System.out.println(res); - } @Test diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/tasks/inventory/CreateAAIInventory.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/tasks/inventory/CreateAAIInventory.java index 14d0b0afc4..0dd7635506 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/tasks/inventory/CreateAAIInventory.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/tasks/inventory/CreateAAIInventory.java @@ -70,9 +70,7 @@ public class CreateAAIInventory { List<String> oobMgtNetNames = new ArrayList<>(); - HeatBridgeApi heatBridgeClient = new HeatBridgeImpl(new AAIResourcesClient(), cloudIdentity, - cloudInformation.getOwner(), cloudInformation.getRegionId(), cloudSite.getRegionId(), - cloudInformation.getTenantId(), cloudInformation.getNodeType()); + HeatBridgeApi heatBridgeClient = createClient(getAaiClient(), cloudSite, cloudIdentity, cloudInformation); heatBridgeClient.authenticate(); @@ -128,6 +126,12 @@ public class CreateAAIInventory { heatBridgeClient.submitToAai(env.getProperty("heatBridgeDryrun", Boolean.class, false)); } + public HeatBridgeApi createClient(AAIResourcesClient client, CloudSite cloudSite, CloudIdentity cloudIdentity, + CloudInformation cloudInformation) { + return new HeatBridgeImpl(client, cloudIdentity, cloudInformation.getOwner(), cloudInformation.getRegionId(), + cloudSite.getRegionId(), cloudInformation.getTenantId(), cloudInformation.getNodeType()); + } + protected AAIResourcesClient getAaiClient() { if (aaiClient == null) return new AAIResourcesClient(); diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/tasks/inventory/DeleteAAIInventory.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/tasks/inventory/DeleteAAIInventory.java index f904788de3..f9bbf4a75d 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/tasks/inventory/DeleteAAIInventory.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/tasks/inventory/DeleteAAIInventory.java @@ -59,13 +59,17 @@ public class DeleteAAIInventory { return; } CloudIdentity cloudIdentity = cloudSite.getIdentityService(); - HeatBridgeApi heatBridgeClient = new HeatBridgeImpl(new AAIResourcesClient(), cloudIdentity, - cloudInformation.getOwner(), cloudInformation.getRegionId(), cloudSite.getRegionId(), - cloudInformation.getTenantId(), cloudInformation.getNodeType()); + HeatBridgeApi heatBridgeClient = createClient(getAaiClient(), cloudSite, cloudIdentity, cloudInformation); heatBridgeClient.authenticate(); heatBridgeClient.deleteVfModuleData(cloudInformation.getVnfId(), cloudInformation.getVfModuleId()); } + public HeatBridgeApi createClient(AAIResourcesClient client, CloudSite cloudSite, CloudIdentity cloudIdentity, + CloudInformation cloudInformation) { + return new HeatBridgeImpl(client, cloudIdentity, cloudInformation.getOwner(), cloudInformation.getRegionId(), + cloudSite.getRegionId(), cloudInformation.getTenantId(), cloudInformation.getNodeType()); + } + protected AAIResourcesClient getAaiClient() { if (aaiClient == null) return new AAIResourcesClient(); diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java index 9b20139969..0512912b9f 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java @@ -61,9 +61,8 @@ import org.onap.aai.domain.yang.Pserver; import org.onap.aai.domain.yang.Relationship; import org.onap.aai.domain.yang.RelationshipList; import org.onap.aai.domain.yang.SriovPf; -import org.onap.aai.domain.yang.Subnets; import org.onap.aai.domain.yang.SriovVf; -import org.onap.aai.domain.yang.VfModule; +import org.onap.aai.domain.yang.Subnets; import org.onap.aai.domain.yang.Vlan; import org.onap.aai.domain.yang.Vserver; import org.onap.aaiclient.client.aai.AAIDSLQueryClient; @@ -734,27 +733,15 @@ public class HeatBridgeImpl implements HeatBridgeApi { Objects.requireNonNull(vnfId, "Null vnf-id!"); Objects.requireNonNull(vfModuleId, "Null vf-module-id!"); try { - Optional<VfModule> vfModule = resourcesClient.get(AAIUriFactory + AAIResultWrapper vfModule = resourcesClient.get(AAIUriFactory .createResourceUri(AAIFluentTypeBuilder.network().genericVnf(vnfId).vfModule(vfModuleId)) - .depth(Depth.ONE), NotFoundException.class).asBean(VfModule.class); + .depth(Depth.ONE), NotFoundException.class); - AAIResultWrapper resultWrapper = new AAIResultWrapper(vfModule.get()); - Optional<Relationships> relationships = resultWrapper.getRelationships(); + Optional<Relationships> relationships = vfModule.getRelationships(); logger.debug("VfModule contains relationships in AAI: {}", relationships.isPresent()); if (relationships.isPresent()) { - List<AAIResourceUri> l3NetworkUris = relationships.get().getRelatedUris(Types.L3_NETWORK); - logger.debug("L3Network contains {} relationships in AAI", l3NetworkUris.size()); - - if (!l3NetworkUris.isEmpty()) { - for (AAIResourceUri l3NetworkUri : l3NetworkUris) { - if (env.getProperty("heatBridgeDryrun", Boolean.class, true)) { - logger.debug("Would delete L3Network: {}", l3NetworkUri.build().toString()); - } else { - resourcesClient.delete(l3NetworkUri); - } - } - } + deleteL3Networks(relationships.get()); List<AAIResourceUri> vserverUris = relationships.get().getRelatedUris(Types.VSERVER); logger.debug("VServer contains {} relationships in AAI", vserverUris.size()); @@ -782,6 +769,21 @@ public class HeatBridgeImpl implements HeatBridgeApi { } } + protected void deleteL3Networks(Relationships relationships) { + List<AAIResourceUri> l3NetworkUris = relationships.getRelatedUris(Types.L3_NETWORK); + logger.debug("L3Network contains {} relationships in AAI", l3NetworkUris.size()); + + if (!l3NetworkUris.isEmpty()) { + for (AAIResourceUri l3NetworkUri : l3NetworkUris) { + if (env.getProperty("heatBridgeDryrun", Boolean.class, true)) { + logger.debug("Would delete L3Network: {}", l3NetworkUri.build().toString()); + } else { + resourcesClient.delete(l3NetworkUri); + } + } + } + } + private void createTransactionToDeleteSriovPfFromPserver(List<AAIResourceUri> vserverUris) { Map<String, List<String>> pserverToPciIdMap = getPserverToPciIdMap(vserverUris); for (Map.Entry<String, List<String>> entry : pserverToPciIdMap.entrySet()) { diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCController.java b/asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCController.java index 02b1df79dd..bb792f9fd1 100644 --- a/asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCController.java +++ b/asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCController.java @@ -39,10 +39,7 @@ import java.nio.charset.StandardCharsets; import java.nio.file.Paths; import java.util.List; import java.util.Optional; -import org.onap.sdc.tosca.parser.impl.SdcPropertyNames; -import org.onap.sdc.toscaparser.api.elements.Metadata; -import org.onap.so.asdc.util.ZipParser; -import org.onap.so.logger.LoggingAnchor; +import org.onap.logging.filter.base.ErrorCode; import org.onap.logging.ref.slf4j.ONAPLogConstants; import org.onap.sdc.api.IDistributionClient; import org.onap.sdc.api.consumer.IDistributionStatusMessage; @@ -53,6 +50,8 @@ import org.onap.sdc.api.notification.IResourceInstance; import org.onap.sdc.api.results.IDistributionClientDownloadResult; import org.onap.sdc.api.results.IDistributionClientResult; import org.onap.sdc.impl.DistributionClientFactory; +import org.onap.sdc.tosca.parser.impl.SdcPropertyNames; +import org.onap.sdc.toscaparser.api.elements.Metadata; import org.onap.sdc.utils.DistributionActionResultEnum; import org.onap.sdc.utils.DistributionStatusEnum; import org.onap.so.asdc.activity.DeployActivitySpecs; @@ -70,11 +69,12 @@ import org.onap.so.asdc.installer.heat.ToscaResourceInstaller; import org.onap.so.asdc.tenantIsolation.DistributionStatus; import org.onap.so.asdc.tenantIsolation.WatchdogDistribution; import org.onap.so.asdc.util.ASDCNotificationLogging; +import org.onap.so.asdc.util.ZipParser; import org.onap.so.db.request.beans.WatchdogComponentDistributionStatus; import org.onap.so.db.request.beans.WatchdogDistributionStatus; import org.onap.so.db.request.data.repository.WatchdogComponentDistributionStatusRepository; import org.onap.so.db.request.data.repository.WatchdogDistributionStatusRepository; -import org.onap.logging.filter.base.ErrorCode; +import org.onap.so.logger.LoggingAnchor; import org.onap.so.logger.MessageEnum; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -147,6 +147,10 @@ public class ASDCController { this.controllerName = controllerConfigName; } + public ASDCConfiguration getASDCConfiguration() { + return asdcConfig; + } + public int getNbOfNotificationsOngoing() { return nbOfNotificationsOngoing; } diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/ErrorCode.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/ErrorCode.java deleted file mode 100644 index 1714e24a27..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/ErrorCode.java +++ /dev/null @@ -1,50 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor; - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -public enum ErrorCode { - - NORMAL("0"), PACKAGE_EXIST("1"), CATALOG_EXCEPTION("2"), SYSTEM_ERROR("3"), UNKNOWN("-1"); - - private String code; - - private ErrorCode(final String code) { - this.code = code; - } - - public String getCode() { - return code; - } - - public static ErrorCode getErrorCode(final String code) { - for (final ErrorCode errorCode : ErrorCode.values()) { - if (errorCode.getCode().equalsIgnoreCase(code)) { - return errorCode; - } - - } - return UNKNOWN; - } - -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogPackageOnboadingJobStatus.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogPackageOnboadingJobStatus.java deleted file mode 100644 index 772f81a7fe..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogPackageOnboadingJobStatus.java +++ /dev/null @@ -1,63 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor; - -import java.io.Serializable; -import javax.xml.bind.annotation.XmlElement; - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -public class EtsiCatalogPackageOnboadingJobStatus implements Serializable { - - private static final long serialVersionUID = 1L; - - @XmlElement(name = "jobId") - private String jobId; - - @XmlElement(name = "responseDescriptor") - private EtsiCatalogPackageOnboardingJobDescriptor responseDescriptor; - - public String getJobId() { - return jobId; - } - - public void setJobId(final String jobId) { - this.jobId = jobId; - } - - public EtsiCatalogPackageOnboardingJobDescriptor getResponseDescriptor() { - return responseDescriptor; - } - - public void setResponseDescriptor(final EtsiCatalogPackageOnboardingJobDescriptor responseDescriptor) { - this.responseDescriptor = responseDescriptor; - } - - @Override - public String toString() { - return "EtsiCatalogPackageOnboadingJobStatus [jobId=" + jobId + ", responseDescriptor=" + responseDescriptor - + "]"; - } - - - -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogPackageOnboardingJob.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogPackageOnboardingJob.java deleted file mode 100644 index 0c7bba6751..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogPackageOnboardingJob.java +++ /dev/null @@ -1,49 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor; - -import java.io.Serializable; -import javax.xml.bind.annotation.XmlElement; - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -public class EtsiCatalogPackageOnboardingJob implements Serializable { - - private static final long serialVersionUID = 1L; - - @XmlElement(name = "jobId") - private String jobId; - - public String getJobId() { - return jobId; - } - - public void setJobId(final String jobId) { - this.jobId = jobId; - } - - @Override - public String toString() { - return "EtsiCatalogPackageOnboardingJob [jobId=" + jobId + "]"; - } - -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogPackageOnboardingJobDescriptor.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogPackageOnboardingJobDescriptor.java deleted file mode 100644 index b0c07d6f24..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogPackageOnboardingJobDescriptor.java +++ /dev/null @@ -1,74 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor; - -import java.io.Serializable; -import javax.xml.bind.annotation.XmlElement; - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -public class EtsiCatalogPackageOnboardingJobDescriptor implements Serializable { - - private static final long serialVersionUID = 1L; - - @XmlElement(name = "status") - private String status; - - @XmlElement(name = "statusDescription") - private String statusDescription; - - @XmlElement(name = "errorCode") - private String errorCode; - - public String getStatus() { - return status; - } - - public void setStatus(final String status) { - this.status = status; - } - - public String getStatusDescription() { - return statusDescription; - } - - public void setStatusDescription(final String statusDescription) { - this.statusDescription = statusDescription; - } - - public String getErrorCode() { - return errorCode; - } - - public void setErrorCode(final String errorCode) { - this.errorCode = errorCode; - } - - @Override - public String toString() { - return "EtsiCatalogPackageOnboardingJobDescriptor [status=" + status + ", statusDescription=" - + statusDescription + ", errorCode=" + errorCode + "]"; - } - - - -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogPackageOnboardingRequest.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogPackageOnboardingRequest.java deleted file mode 100644 index 79fd1398a0..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogPackageOnboardingRequest.java +++ /dev/null @@ -1,54 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor; - -import java.io.Serializable; -import javax.xml.bind.annotation.XmlElement; - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -public class EtsiCatalogPackageOnboardingRequest implements Serializable { - - private static final long serialVersionUID = 1L; - - @XmlElement(name = "csarId") - private String csarId; - - public EtsiCatalogPackageOnboardingRequest csarId(final String csarId) { - this.csarId = csarId; - return this; - } - - public String getCsarId() { - return csarId; - } - - public void setCsarId(final String csarId) { - this.csarId = csarId; - } - - @Override - public String toString() { - return "EtsiCatalogPackageOnboardingRequest [csarId=" + csarId + "]"; - } - -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogServiceProvider.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogServiceProvider.java deleted file mode 100644 index f6a303291f..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiCatalogServiceProvider.java +++ /dev/null @@ -1,112 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor; - -import static org.onap.so.asdc.etsi.pkg.processor.HttpRestServiceProviderConfiguration.ETSI_CATALOG_HTTP_REST_SERVICE_PROVIDER_BEAN; -import org.onap.so.asdc.etsi.pkg.processor.exceptions.EtsiCatalogManagerRequestFailureException; -import org.onap.so.rest.exceptions.InvalidRestRequestException; -import org.onap.so.rest.exceptions.RestProcessingException; -import org.onap.so.rest.service.HttpRestServiceProvider; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.http.HttpHeaders; -import org.springframework.http.MediaType; -import org.springframework.http.ResponseEntity; -import org.springframework.stereotype.Service; - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -@Service -public class EtsiCatalogServiceProvider { - - private static final Logger LOGGER = LoggerFactory.getLogger(EtsiCatalogServiceProvider.class); - - private final HttpRestServiceProvider httpServiceProvider; - - @Value("${etsi-catalog-manager.endpoint:http://modeling-etsicatalog.onap:8806/api/catalog/v1}") - private String etsiCatalogManagerEndpoint; - - @Autowired - public EtsiCatalogServiceProvider( - @Qualifier(ETSI_CATALOG_HTTP_REST_SERVICE_PROVIDER_BEAN) final HttpRestServiceProvider httpServiceProvider) { - this.httpServiceProvider = httpServiceProvider; - } - - public EtsiCatalogPackageOnboardingJob onBoardResource( - final EtsiCatalogPackageOnboardingRequest packageOnboardingRequest) { - try { - final String url = etsiCatalogManagerEndpoint + "/vnfpackages"; - final ResponseEntity<EtsiCatalogPackageOnboardingJob> responseEntity = httpServiceProvider.postHttpRequest( - packageOnboardingRequest, url, getHeaders(), EtsiCatalogPackageOnboardingJob.class); - - if (responseEntity.getStatusCode().is2xxSuccessful()) { - if (responseEntity.hasBody()) { - return responseEntity.getBody(); - } - LOGGER.error("Received response without body"); - } - final String message = "Unexpected status code received " + responseEntity.getStatusCode(); - LOGGER.error(message); - throw new EtsiCatalogManagerRequestFailureException(message); - - } catch (final InvalidRestRequestException | RestProcessingException exception) { - final String message = "Unable to process onboarding request"; - LOGGER.error(message, exception); - throw new EtsiCatalogManagerRequestFailureException(message); - } - - } - - public EtsiCatalogPackageOnboadingJobStatus getJobStatus(final String jobId) { - try { - final String url = etsiCatalogManagerEndpoint + "/jobs/" + jobId; - - final ResponseEntity<EtsiCatalogPackageOnboadingJobStatus> responseEntity = - httpServiceProvider.getHttpResponse(url, getHeaders(), EtsiCatalogPackageOnboadingJobStatus.class); - - if (responseEntity.getStatusCode().is2xxSuccessful()) { - if (responseEntity.hasBody()) { - return responseEntity.getBody(); - } - LOGGER.error("Received response without body"); - } - final String message = - "Unexpected status code received while getting job status " + responseEntity.getStatusCode(); - LOGGER.error(message); - throw new EtsiCatalogManagerRequestFailureException(message); - } catch (final InvalidRestRequestException | RestProcessingException exception) { - final String message = "Unable to get job status"; - LOGGER.error(message, exception); - throw new EtsiCatalogManagerRequestFailureException(message); - } - - } - - private HttpHeaders getHeaders() { - final HttpHeaders headers = new HttpHeaders(); - headers.setContentType(MediaType.APPLICATION_JSON); - return headers; - } -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiResourcePackageProcessor.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiResourcePackageProcessor.java deleted file mode 100644 index 4205de3cab..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/EtsiResourcePackageProcessor.java +++ /dev/null @@ -1,175 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor; - -import java.io.ByteArrayInputStream; -import java.io.IOException; -import java.time.Instant; -import java.util.Optional; -import java.util.concurrent.TimeUnit; -import java.util.zip.ZipEntry; -import java.util.zip.ZipInputStream; -import org.onap.so.asdc.etsi.pkg.processor.exceptions.SOL004ResourcePackageFailureException; -import org.onap.so.asdc.etsi.pkg.processor.exceptions.SOL004ResourcePackageProcessingException; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.stereotype.Service; -import com.google.common.collect.ImmutableSet; - - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -@Service -public class EtsiResourcePackageProcessor { - - private final static Logger LOGGER = LoggerFactory.getLogger(EtsiResourcePackageProcessor.class); - private static final String ONBOARDED_PACKAGE_DIR_PATH = "Artifacts/Deployment/ETSI_PACKAGE"; - private final SdcResourceProvider sdcResourceProvider; - private final EtsiCatalogServiceProvider catalogServiceProvider; - private static final int SLEEP_TIME_IN_SECONDS = 5; - - private static final ImmutableSet<JobStatus> JOB_FINISHED_STATES = - ImmutableSet.of(JobStatus.FINISHED, JobStatus.ERROR, JobStatus.TIMEOUT); - - @Value("${etsi-catalog-manager.rest.timeoutInSeconds:300}") - private int timeOutInSeconds; - - @Autowired - public EtsiResourcePackageProcessor(final SdcResourceProvider sdcResourceProvider, - final EtsiCatalogServiceProvider catalogServiceProvider) { - this.sdcResourceProvider = sdcResourceProvider; - this.catalogServiceProvider = catalogServiceProvider; - } - - public void processPackageIfExists(final String vnfUuid) { - LOGGER.debug("Processing vnf with UUID: {} ", vnfUuid); - try { - final Optional<byte[]> optional = sdcResourceProvider.getVnfResource(vnfUuid); - if (optional.isPresent()) { - final byte[] resourceContent = optional.get(); - - if (containsOnBoardedSol004Package(resourceContent)) { - final EtsiCatalogPackageOnboardingJob onboardingJob = catalogServiceProvider - .onBoardResource(new EtsiCatalogPackageOnboardingRequest().csarId(vnfUuid)); - LOGGER.debug("Successfully created job with id: {} to onboard vnf with UUID: {}", - onboardingJob.getJobId(), vnfUuid); - - if (onboardingJob.getJobId() == null) { - throw new SOL004ResourcePackageFailureException( - "Received invalid jobId " + onboardingJob.getJobId()); - } - - final Optional<EtsiCatalogPackageOnboadingJobStatus> jobStatusOptional = - waitForJobToFinish(onboardingJob); - - if (!jobStatusOptional.isPresent()) { - final String message = "Job status timeout reached failed to onboard vnf with UUID: " + vnfUuid; - LOGGER.debug(message, vnfUuid); - throw new SOL004ResourcePackageFailureException(message); - } - - final EtsiCatalogPackageOnboadingJobStatus onboadingJobStatus = jobStatusOptional.get(); - final JobStatus jobStatus = getJobStatus(onboadingJobStatus); - final ErrorCode errorCode = getErrorCode(onboadingJobStatus); - - LOGGER.debug("Final job status: {}, error code: {}", jobStatus, errorCode); - if (!JobStatus.FINISHED.equals(jobStatus) && !ErrorCode.PACKAGE_EXIST.equals(errorCode)) { - final String message = "Failed to onboard vnf with UUID: " + vnfUuid + " job status: " - + jobStatus + " errorCode: " + errorCode; - LOGGER.debug(message, vnfUuid); - throw new SOL004ResourcePackageFailureException(message); - } - LOGGER.debug("Successfully onboarded package in ETSI catalog .. "); - } - - } - } catch (final Exception exception) { - final String message = "Unable to process resource received from SDC"; - LOGGER.error(message, exception); - throw new SOL004ResourcePackageProcessingException(message, exception); - } - - } - - private Optional<EtsiCatalogPackageOnboadingJobStatus> waitForJobToFinish( - final EtsiCatalogPackageOnboardingJob onboardingJob) throws InterruptedException { - JobStatus currentJobStatus = null; - final long startTimeInMillis = System.currentTimeMillis(); - final long timeOutTime = startTimeInMillis + TimeUnit.SECONDS.toMillis(timeOutInSeconds); - - LOGGER.debug("Will wait till {} for {} job to finish", Instant.ofEpochMilli(timeOutTime).toString(), - onboardingJob.getJobId()); - - while (timeOutTime > System.currentTimeMillis()) { - - final EtsiCatalogPackageOnboadingJobStatus onboadingJobStatus = - catalogServiceProvider.getJobStatus(onboardingJob.getJobId()); - LOGGER.debug("Current job status {} ", onboadingJobStatus); - - currentJobStatus = getJobStatus(onboadingJobStatus); - if (JOB_FINISHED_STATES.contains(currentJobStatus)) { - return Optional.of(onboadingJobStatus); - } - - LOGGER.debug("Onboarding not finished yet, will try again in {} seconds", SLEEP_TIME_IN_SECONDS); - TimeUnit.SECONDS.sleep(SLEEP_TIME_IN_SECONDS); - - } - LOGGER.warn("Timeout current job status: {}", currentJobStatus); - return Optional.empty(); - } - - private boolean containsOnBoardedSol004Package(final byte[] resourceContent) throws IOException { - try (final ZipInputStream zipStream = new ZipInputStream(new ByteArrayInputStream(resourceContent))) { - ZipEntry entry; - while ((entry = zipStream.getNextEntry()) != null) { - if (entry.getName() != null && entry.getName().contains(ONBOARDED_PACKAGE_DIR_PATH)) { - LOGGER.debug("Found entry: {} that contains {} in name", entry.getName(), - ONBOARDED_PACKAGE_DIR_PATH); - return true; - } - } - - } - LOGGER.debug("Unable to find {} dir in downloaded package", ONBOARDED_PACKAGE_DIR_PATH); - return false; - } - - private JobStatus getJobStatus(final EtsiCatalogPackageOnboadingJobStatus onboadingJobStatus) { - if (onboadingJobStatus.getResponseDescriptor() != null) { - return JobStatus.getJobStatus(onboadingJobStatus.getResponseDescriptor().getStatus()); - } - LOGGER.warn("Found null ResponseDescriptor {}", onboadingJobStatus); - return JobStatus.UNKNOWN; - } - - private ErrorCode getErrorCode(final EtsiCatalogPackageOnboadingJobStatus onboadingJobStatus) { - if (onboadingJobStatus.getResponseDescriptor() != null) { - return ErrorCode.getErrorCode(onboadingJobStatus.getResponseDescriptor().getErrorCode()); - } - LOGGER.warn("Found null ResponseDescriptor {}", onboadingJobStatus); - return ErrorCode.UNKNOWN; - } - -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/HttpRestServiceProviderConfiguration.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/HttpRestServiceProviderConfiguration.java deleted file mode 100644 index 1afda0d29f..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/HttpRestServiceProviderConfiguration.java +++ /dev/null @@ -1,55 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor; - -import static org.onap.so.asdc.etsi.pkg.processor.SslBasedHttpClientConfiguration.SSL_BASED_CONFIGURABLE_REST_TEMPLATE; -import static org.onap.so.client.RestTemplateConfig.CONFIGURABLE_REST_TEMPLATE; -import org.onap.so.rest.service.HttpRestServiceProvider; -import org.onap.so.rest.service.HttpRestServiceProviderImpl; -import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; -import org.springframework.web.client.RestTemplate; - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -@Configuration -public class HttpRestServiceProviderConfiguration { - - public static final String ETSI_CATALOG_HTTP_REST_SERVICE_PROVIDER_BEAN = "etsiCatalogHttpRestServiceProviderBean"; - public static final String SDC_HTTP_REST_SERVICE_PROVIDER_BEAN = "sdcHttpRestServiceProviderBean"; - - @Bean - @Qualifier(ETSI_CATALOG_HTTP_REST_SERVICE_PROVIDER_BEAN) - public HttpRestServiceProvider etsiCataloghttpRestServiceProvider( - @Qualifier(CONFIGURABLE_REST_TEMPLATE) final RestTemplate restTemplate) { - return new HttpRestServiceProviderImpl(restTemplate); - } - - @Bean - @Qualifier(SDC_HTTP_REST_SERVICE_PROVIDER_BEAN) - public HttpRestServiceProvider sdchttpRestServiceProvider( - @Qualifier(SSL_BASED_CONFIGURABLE_REST_TEMPLATE) final RestTemplate restTemplate) { - return new HttpRestServiceProviderImpl(restTemplate); - } - -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/JobStatus.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/JobStatus.java deleted file mode 100644 index cf09b15539..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/JobStatus.java +++ /dev/null @@ -1,60 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor; - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -public enum JobStatus { - - STARTED("started"), - TIMEOUT("timeout"), - FINISHED("finished"), - PARTLY_FINISHED("partly_finished"), - PROCESSING("processing"), - ERROR("error"), - UNKNOWN("unknown"); - - private String value; - - private JobStatus(final String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return this.value; - } - - public static JobStatus getJobStatus(final String jobStatus) { - for (final JobStatus status : JobStatus.values()) { - if (status.getValue().equalsIgnoreCase(jobStatus)) { - return status; - } - } - return JobStatus.UNKNOWN; - } - -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/SdcBasicHttpConfigurationProvider.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/SdcBasicHttpConfigurationProvider.java deleted file mode 100644 index 19375e265f..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/SdcBasicHttpConfigurationProvider.java +++ /dev/null @@ -1,60 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor; - -import java.nio.charset.StandardCharsets; -import java.security.GeneralSecurityException; -import org.apache.commons.codec.binary.Base64; -import org.onap.so.utils.CryptoUtils; -import org.springframework.beans.factory.annotation.Value; -import org.springframework.context.annotation.Configuration; - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -@Configuration -public class SdcBasicHttpConfigurationProvider { - - @Value("${sdc.endpoint:https://sdc-be.onap:8443}") - private String endPoint; - - @Value("${sdc.username:mso}") - private String username; - - @Value(value = "${sdc.password:76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F}") - private String password; - - @Value(value = "${sdc.key:566B754875657232314F5548556D3665}") - private String key; - - - public String getBasicAuthorization() throws GeneralSecurityException { - final String auth = username + ":" + CryptoUtils.decrypt(password, key); - final byte[] encodedAuth = Base64.encodeBase64(auth.getBytes(StandardCharsets.ISO_8859_1)); - return "Basic " + new String(encodedAuth); - } - - public String getEndPoint() { - return endPoint; - } - - -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/SdcResourceProvider.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/SdcResourceProvider.java deleted file mode 100644 index 0cd0aba9c3..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/SdcResourceProvider.java +++ /dev/null @@ -1,96 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor; - -import static org.onap.so.asdc.etsi.pkg.processor.HttpRestServiceProviderConfiguration.SDC_HTTP_REST_SERVICE_PROVIDER_BEAN; -import static org.springframework.http.HttpHeaders.ACCEPT; -import static org.springframework.http.MediaType.APPLICATION_OCTET_STREAM_VALUE; -import java.security.GeneralSecurityException; -import java.util.Optional; -import org.onap.so.rest.service.HttpRestServiceProvider; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.http.HttpHeaders; -import org.springframework.http.ResponseEntity; -import org.springframework.stereotype.Service; - - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -@Service -public class SdcResourceProvider { - private final static Logger LOGGER = LoggerFactory.getLogger(SdcResourceProvider.class); - - private static final String SERVICE_NAME = "SO-SDC-CONTROLLER"; - - private final HttpRestServiceProvider httpRestServiceProvider; - - private final SdcBasicHttpConfigurationProvider sdcBasicHttpConfigurationProvider; - - @Autowired - public SdcResourceProvider( - @Qualifier(SDC_HTTP_REST_SERVICE_PROVIDER_BEAN) final HttpRestServiceProvider httpRestServiceProvider, - final SdcBasicHttpConfigurationProvider sdcBasicHttpConfigurationProvider) { - this.httpRestServiceProvider = httpRestServiceProvider; - this.sdcBasicHttpConfigurationProvider = sdcBasicHttpConfigurationProvider; - } - - public Optional<byte[]> getVnfResource(final String resourceId) { - LOGGER.debug("Will get resource from SDC using resource id: {}", resourceId); - try { - final HttpHeaders headers = getHttpHeaders(); - headers.add(ACCEPT, APPLICATION_OCTET_STREAM_VALUE); - final String url = getSdcResourceEndPoint(resourceId); - LOGGER.debug("will invoke url: {} to get resource ", url); - final ResponseEntity<byte[]> responseEntity = - httpRestServiceProvider.getHttpResponse(url, headers, byte[].class); - - if (responseEntity.getStatusCode().is2xxSuccessful()) { - if (responseEntity.hasBody()) { - return Optional.of(responseEntity.getBody()); - } - LOGGER.error("Received response without body"); - } - LOGGER.error("Unexpected Status code received : {}", responseEntity.getStatusCode()); - return Optional.empty(); - } catch (final Exception exception) { - LOGGER.error("Unable to get {} resource from SDC", resourceId, exception); - return Optional.empty(); - } - } - - private String getSdcResourceEndPoint(final String resourceId) { - return sdcBasicHttpConfigurationProvider.getEndPoint() + "/sdc/v1/catalog/resources/" + resourceId - + "/toscaModel"; - } - - - private HttpHeaders getHttpHeaders() throws GeneralSecurityException { - final HttpHeaders headers = new HttpHeaders(); - headers.add(HttpHeaders.AUTHORIZATION, sdcBasicHttpConfigurationProvider.getBasicAuthorization()); - headers.add("X-ECOMP-InstanceID", SERVICE_NAME); - headers.add("X-FromAppId", SERVICE_NAME); - return headers; - } -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/SslBasedHttpClientConfiguration.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/SslBasedHttpClientConfiguration.java deleted file mode 100644 index 88c21524e9..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/SslBasedHttpClientConfiguration.java +++ /dev/null @@ -1,93 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor; - -import java.security.NoSuchAlgorithmException; -import java.util.concurrent.TimeUnit; -import javax.net.ssl.SSLContext; -import org.apache.http.client.config.RequestConfig; -import org.apache.http.impl.client.HttpClientBuilder; -import org.apache.http.impl.conn.PoolingHttpClientConnectionManager; -import org.onap.logging.filter.spring.SpringClientPayloadFilter; -import org.onap.so.configuration.rest.HttpClientConnectionConfiguration; -import org.onap.so.logging.jaxrs.filter.SOSpringClientFilter; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.Configuration; -import org.springframework.http.client.BufferingClientHttpRequestFactory; -import org.springframework.http.client.HttpComponentsClientHttpRequestFactory; -import org.springframework.web.client.RestTemplate; - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -@Configuration -public class SslBasedHttpClientConfiguration { - private final static Logger LOGGER = LoggerFactory.getLogger(EtsiResourcePackageProcessor.class); - - - public static final String SSL_BASED_CONFIGURABLE_REST_TEMPLATE = "sslBasedConfigurableRestTemplate"; - private final HttpClientConnectionConfiguration clientConnectionConfiguration; - - @Autowired - public SslBasedHttpClientConfiguration(final HttpClientConnectionConfiguration clientConnectionConfiguration) { - this.clientConnectionConfiguration = clientConnectionConfiguration; - } - - @Bean - @Qualifier(SSL_BASED_CONFIGURABLE_REST_TEMPLATE) - public RestTemplate sslBasedConfigurableRestTemplate() { - final RestTemplate restTemplate = - new RestTemplate(new BufferingClientHttpRequestFactory(httpComponentsClientHttpRequestFactory())); - restTemplate.getInterceptors().add(new SOSpringClientFilter()); - restTemplate.getInterceptors().add((new SpringClientPayloadFilter())); - return restTemplate; - } - - private HttpComponentsClientHttpRequestFactory httpComponentsClientHttpRequestFactory() { - try { - LOGGER.debug("Setting up HttpComponentsClientHttpRequestFactory with default SSL Context"); - return new HttpComponentsClientHttpRequestFactory(HttpClientBuilder.create() - .setConnectionManager(getConnectionManager()) - .setMaxConnPerRoute(clientConnectionConfiguration.getMaxConnectionsPerRoute()) - .setMaxConnTotal(clientConnectionConfiguration.getMaxConnections()) - .setDefaultRequestConfig(getRequestConfig()).setSSLContext(SSLContext.getDefault()).build()); - - } catch (final NoSuchAlgorithmException exception) { - LOGGER.error("Failed to create HttpComponentsClientHttpRequestFactory with default SSL Context", exception); - throw new RuntimeException(exception); - } - } - - private PoolingHttpClientConnectionManager getConnectionManager() { - return new PoolingHttpClientConnectionManager(clientConnectionConfiguration.getTimeToLiveInMins(), - TimeUnit.MINUTES); - } - - private RequestConfig getRequestConfig() { - return RequestConfig.custom().setSocketTimeout(clientConnectionConfiguration.getSocketTimeOutInMiliSeconds()) - .setConnectTimeout(clientConnectionConfiguration.getConnectionTimeOutInMilliSeconds()).build(); - } - -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/exceptions/EtsiCatalogManagerRequestFailureException.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/exceptions/EtsiCatalogManagerRequestFailureException.java deleted file mode 100644 index 4f2e5039d7..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/exceptions/EtsiCatalogManagerRequestFailureException.java +++ /dev/null @@ -1,40 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor.exceptions; - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -public class EtsiCatalogManagerRequestFailureException extends RuntimeException { - - private static final long serialVersionUID = 1L; - - public EtsiCatalogManagerRequestFailureException(final String message) { - super(message); - } - - @Override - public synchronized Throwable fillInStackTrace() { - return this; - } - - -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/exceptions/SOL004ResourcePackageFailureException.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/exceptions/SOL004ResourcePackageFailureException.java deleted file mode 100644 index 8e05a50f32..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/exceptions/SOL004ResourcePackageFailureException.java +++ /dev/null @@ -1,40 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor.exceptions; - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -public class SOL004ResourcePackageFailureException extends RuntimeException { - - private static final long serialVersionUID = 5834657185124807797L; - - public SOL004ResourcePackageFailureException(final String message) { - super(message); - - } - - @Override - public synchronized Throwable fillInStackTrace() { - return this; - } - -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/exceptions/SOL004ResourcePackageProcessingException.java b/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/exceptions/SOL004ResourcePackageProcessingException.java deleted file mode 100644 index 0e9f1ea9dc..0000000000 --- a/asdc-controller/src/main/java/org/onap/so/asdc/etsi/pkg/processor/exceptions/SOL004ResourcePackageProcessingException.java +++ /dev/null @@ -1,34 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.etsi.pkg.processor.exceptions; - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -public class SOL004ResourcePackageProcessingException extends RuntimeException { - - private static final long serialVersionUID = 4860501744379116092L; - - public SOL004ResourcePackageProcessingException(final String message, final Throwable cause) { - super(message, cause); - - } -} diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java b/asdc-controller/src/main/java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java index 73b825dc78..56ec77cdee 100644 --- a/asdc-controller/src/main/java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java +++ b/asdc-controller/src/main/java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java @@ -41,12 +41,12 @@ import java.util.regex.Pattern; import java.util.stream.Collectors; import org.hibernate.exception.ConstraintViolationException; import org.hibernate.exception.LockAcquisitionException; +import org.onap.logging.filter.base.ErrorCode; import org.onap.sdc.api.notification.IArtifactInfo; import org.onap.sdc.api.notification.IResourceInstance; import org.onap.sdc.api.notification.IStatusData; import org.onap.sdc.tosca.parser.api.IEntityDetails; import org.onap.sdc.tosca.parser.api.ISdcCsarHelper; -import org.onap.sdc.tosca.parser.elements.EntityDetails; import org.onap.sdc.tosca.parser.elements.queries.EntityQuery; import org.onap.sdc.tosca.parser.elements.queries.EntityQuery.EntityQueryBuilder; import org.onap.sdc.tosca.parser.elements.queries.TopologyTemplateQuery; @@ -64,7 +64,6 @@ import org.onap.sdc.toscaparser.api.parameters.Input; import org.onap.sdc.utils.DistributionStatusEnum; import org.onap.so.asdc.client.ASDCConfiguration; import org.onap.so.asdc.client.exceptions.ArtifactInstallerException; -import org.onap.so.asdc.etsi.pkg.processor.EtsiResourcePackageProcessor; import org.onap.so.asdc.installer.ASDCElementInfo; import org.onap.so.asdc.installer.BigDecimalVersion; import org.onap.so.asdc.installer.IVfModuleData; @@ -76,15 +75,72 @@ import org.onap.so.asdc.installer.VfModuleStructure; import org.onap.so.asdc.installer.VfResourceStructure; import org.onap.so.asdc.installer.bpmn.WorkflowResource; import org.onap.so.asdc.util.YamlEditor; -import org.onap.so.db.catalog.beans.*; -import org.onap.so.db.catalog.data.repository.*; +import org.onap.so.db.catalog.beans.AllottedResource; +import org.onap.so.db.catalog.beans.AllottedResourceCustomization; +import org.onap.so.db.catalog.beans.CollectionNetworkResourceCustomization; +import org.onap.so.db.catalog.beans.CollectionResource; +import org.onap.so.db.catalog.beans.CollectionResourceInstanceGroupCustomization; +import org.onap.so.db.catalog.beans.ConfigurationResource; +import org.onap.so.db.catalog.beans.ConfigurationResourceCustomization; +import org.onap.so.db.catalog.beans.CvnfcConfigurationCustomization; +import org.onap.so.db.catalog.beans.CvnfcCustomization; +import org.onap.so.db.catalog.beans.HeatEnvironment; +import org.onap.so.db.catalog.beans.HeatFiles; +import org.onap.so.db.catalog.beans.HeatTemplate; +import org.onap.so.db.catalog.beans.HeatTemplateParam; +import org.onap.so.db.catalog.beans.InstanceGroup; +import org.onap.so.db.catalog.beans.InstanceGroupType; +import org.onap.so.db.catalog.beans.NetworkCollectionResourceCustomization; +import org.onap.so.db.catalog.beans.NetworkInstanceGroup; +import org.onap.so.db.catalog.beans.NetworkResource; +import org.onap.so.db.catalog.beans.NetworkResourceCustomization; +import org.onap.so.db.catalog.beans.PnfResource; +import org.onap.so.db.catalog.beans.PnfResourceCustomization; +import org.onap.so.db.catalog.beans.Service; +import org.onap.so.db.catalog.beans.ServiceArtifact; +import org.onap.so.db.catalog.beans.ServiceInfo; +import org.onap.so.db.catalog.beans.ServiceProxyResourceCustomization; +import org.onap.so.db.catalog.beans.SubType; +import org.onap.so.db.catalog.beans.TempNetworkHeatTemplateLookup; +import org.onap.so.db.catalog.beans.ToscaCsar; +import org.onap.so.db.catalog.beans.VFCInstanceGroup; +import org.onap.so.db.catalog.beans.VfModule; +import org.onap.so.db.catalog.beans.VfModuleCustomization; +import org.onap.so.db.catalog.beans.VnfResource; +import org.onap.so.db.catalog.beans.VnfResourceCustomization; +import org.onap.so.db.catalog.beans.VnfcCustomization; +import org.onap.so.db.catalog.beans.VnfcInstanceGroupCustomization; +import org.onap.so.db.catalog.data.repository.AllottedResourceCustomizationRepository; +import org.onap.so.db.catalog.data.repository.AllottedResourceRepository; +import org.onap.so.db.catalog.data.repository.CollectionResourceCustomizationRepository; +import org.onap.so.db.catalog.data.repository.CollectionResourceRepository; +import org.onap.so.db.catalog.data.repository.ConfigurationResourceCustomizationRepository; +import org.onap.so.db.catalog.data.repository.ConfigurationResourceRepository; +import org.onap.so.db.catalog.data.repository.CvnfcCustomizationRepository; +import org.onap.so.db.catalog.data.repository.ExternalServiceToInternalServiceRepository; +import org.onap.so.db.catalog.data.repository.HeatEnvironmentRepository; +import org.onap.so.db.catalog.data.repository.HeatFilesRepository; +import org.onap.so.db.catalog.data.repository.HeatTemplateRepository; +import org.onap.so.db.catalog.data.repository.InstanceGroupRepository; +import org.onap.so.db.catalog.data.repository.NetworkResourceCustomizationRepository; +import org.onap.so.db.catalog.data.repository.NetworkResourceRepository; +import org.onap.so.db.catalog.data.repository.PnfCustomizationRepository; +import org.onap.so.db.catalog.data.repository.PnfResourceRepository; +import org.onap.so.db.catalog.data.repository.ServiceProxyResourceCustomizationRepository; +import org.onap.so.db.catalog.data.repository.ServiceRepository; +import org.onap.so.db.catalog.data.repository.TempNetworkHeatTemplateRepository; +import org.onap.so.db.catalog.data.repository.ToscaCsarRepository; +import org.onap.so.db.catalog.data.repository.VFModuleCustomizationRepository; +import org.onap.so.db.catalog.data.repository.VFModuleRepository; +import org.onap.so.db.catalog.data.repository.VnfResourceRepository; +import org.onap.so.db.catalog.data.repository.VnfcCustomizationRepository; +import org.onap.so.db.catalog.data.repository.VnfcInstanceGroupCustomizationRepository; import org.onap.so.db.request.beans.WatchdogComponentDistributionStatus; import org.onap.so.db.request.beans.WatchdogDistributionStatus; import org.onap.so.db.request.beans.WatchdogServiceModVerIdLookup; import org.onap.so.db.request.data.repository.WatchdogComponentDistributionStatusRepository; import org.onap.so.db.request.data.repository.WatchdogDistributionStatusRepository; import org.onap.so.db.request.data.repository.WatchdogServiceModVerIdLookupRepository; -import org.onap.logging.filter.base.ErrorCode; import org.onap.so.logger.LoggingAnchor; import org.onap.so.logger.MessageEnum; import org.slf4j.Logger; @@ -221,9 +277,6 @@ public class ToscaResourceInstaller { @Autowired protected WorkflowResource workflowResource; - @Autowired - protected EtsiResourcePackageProcessor etsiResourcePackageProcessor; - protected static final Logger logger = LoggerFactory.getLogger(ToscaResourceInstaller.class); public boolean isCsarAlreadyDeployed(ToscaResourceStructure toscaResourceStructure) @@ -408,8 +461,6 @@ public class ToscaResourceInstaller { if (ALLOTTED_RESOURCE.equalsIgnoreCase(category)) { arEntityDetails.add(vfEntityDetails); } - final String vnfUuid = metadata.getValue(SdcPropertyNames.PROPERTY_NAME_UUID); - etsiResourcePackageProcessor.processPackageIfExists(vnfUuid); processVfModules(vfEntityDetails, toscaResourceStruct, vfResourceStructure, service, metadata); } diff --git a/asdc-controller/src/test/java/org/onap/so/asdc/BaseTest.java b/asdc-controller/src/test/java/org/onap/so/asdc/BaseTest.java index 7ecd472c50..944ad2b557 100644 --- a/asdc-controller/src/test/java/org/onap/so/asdc/BaseTest.java +++ b/asdc-controller/src/test/java/org/onap/so/asdc/BaseTest.java @@ -35,6 +35,7 @@ import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.mock.mockito.MockBean; import org.springframework.boot.test.mock.mockito.SpyBean; import org.springframework.cloud.contract.wiremock.AutoConfigureWireMock; +import org.springframework.test.annotation.DirtiesContext; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringRunner; @@ -45,7 +46,7 @@ import com.github.tomakehurst.wiremock.WireMockServer; @ActiveProfiles("test") @ContextConfiguration(classes = SpringContextHelper.class, initializers = ConfigFileApplicationContextInitializer.class) @AutoConfigureWireMock(port = 0) - +@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_CLASS) public abstract class BaseTest { @MockBean protected VfResourceStructure vfResourceStructure; diff --git a/asdc-controller/src/test/java/org/onap/so/asdc/client/SdcNotificationWithSol004PackageTest.java b/asdc-controller/src/test/java/org/onap/so/asdc/client/SdcNotificationWithSol004PackageTest.java deleted file mode 100644 index 2e8da35f3e..0000000000 --- a/asdc-controller/src/test/java/org/onap/so/asdc/client/SdcNotificationWithSol004PackageTest.java +++ /dev/null @@ -1,358 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * Copyright (C) 2020 Ericsson. All rights reserved. - * ================================================================================ - * 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. - * - * SPDX-License-Identifier: Apache-2.0 - * ============LICENSE_END========================================================= - */ -package org.onap.so.asdc.client; - -import static com.github.tomakehurst.wiremock.client.WireMock.aResponse; -import static com.github.tomakehurst.wiremock.client.WireMock.equalTo; -import static com.github.tomakehurst.wiremock.client.WireMock.equalToJson; -import static com.github.tomakehurst.wiremock.client.WireMock.get; -import static com.github.tomakehurst.wiremock.client.WireMock.getRequestedFor; -import static com.github.tomakehurst.wiremock.client.WireMock.ok; -import static com.github.tomakehurst.wiremock.client.WireMock.okJson; -import static com.github.tomakehurst.wiremock.client.WireMock.post; -import static com.github.tomakehurst.wiremock.client.WireMock.postRequestedFor; -import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo; -import static com.github.tomakehurst.wiremock.client.WireMock.verify; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.fail; -import static org.onap.sdc.utils.DistributionStatusEnum.COMPONENT_DONE_ERROR; -import static org.onap.sdc.utils.DistributionStatusEnum.COMPONENT_DONE_OK; -import static org.springframework.http.HttpHeaders.ACCEPT; -import static org.springframework.http.MediaType.APPLICATION_OCTET_STREAM_VALUE; -import java.io.File; -import java.io.IOException; -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.util.List; -import org.junit.After; -import org.junit.Before; -import org.junit.Test; -import org.onap.so.asdc.BaseTest; -import org.onap.so.asdc.client.exceptions.ASDCControllerException; -import org.onap.so.asdc.client.test.emulators.DistributionClientEmulator; -import org.onap.so.asdc.client.test.emulators.NotificationDataImpl; -import org.onap.so.db.catalog.data.repository.ServiceRepository; -import org.onap.so.db.request.beans.WatchdogComponentDistributionStatus; -import org.onap.so.db.request.beans.WatchdogComponentDistributionStatusId; -import org.onap.so.db.request.data.repository.WatchdogComponentDistributionStatusRepository; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.http.HttpStatus; -import com.google.gson.GsonBuilder; - -/** - * @author Waqas Ikram (waqas.ikram@est.tech) - * - */ -public class SdcNotificationWithSol004PackageTest extends BaseTest { - - private final static Logger LOGGER = LoggerFactory.getLogger(SdcNotificationWithSol004PackageTest.class); - private static final String ETSI_CATALOG_PACKAGE_ONBOARDING_URL = "/api/catalog/v1/vnfpackages"; - private static final String COMPONENT_NAME = "SO"; - private static final String CSAR_ID = "8f0b72e1-b6d6-42b6-a808-c60b17f04d7a"; - private static final String SDC_GET_RESOURCE_URL = "/sdc/v1/catalog/resources/" + CSAR_ID + "/toscaModel"; - private static final String ETSI_CATALOG_PACKAGE_ONBOARDING_REQUEST = "{\"csarId\": \"" + CSAR_ID + "\"}"; - private static final String DISTRIBUTION_ID = "35f20eb9-238a-4cc2-96dc-0a08f71bc209"; - private static final String VGW_RESOURCE_PATH = "src/test/resources/resource-examples/vgw"; - private static final String SERVICE_UUID = "e051ff77-fb79-451c-8457-1cbf94e4db8f"; - private static final String SERVICE_INVARIANT_UUID = "c2ce924f-0aa1-4777-9b42-c0fec006a883"; - private static final String JOB_ID = "57c13120-0a03-4d2e-837a-7c41d61e4a30"; - private static final String ETSI_CATALOG_PACKAGE_ONBOARDING_JOB_STATUS_URL = "/api/catalog/v1/jobs/" + JOB_ID; - private static final String ETSI_CATALOG_PACKAGE_ONBOARDING_JOB_RESPONSE = "{\"jobId\": \"" + JOB_ID + "\"}"; - - @Autowired - private ASDCController asdcController; - - private DistributionClientEmulator distributionClient; - - @Autowired - private WatchdogComponentDistributionStatusRepository watchdogComponentDistributionStatusRepository; - - @Autowired - protected ServiceRepository serviceRepository; - - @Before - public void setUp() { - distributionClient = new DistributionClientEmulator(); - distributionClient.setResourcePath(getAbsolutePath(VGW_RESOURCE_PATH)); - asdcController.setDistributionClient(distributionClient); - try { - asdcController.initASDC(); - } catch (final ASDCControllerException controllerException) { - LOGGER.error(controllerException.getMessage(), controllerException); - fail(controllerException.getMessage()); - } - } - - @After - public void shutDown() { - try { - if (serviceRepository.existsById(SERVICE_UUID)) { - LOGGER.debug("Deleting existing service using {} ", SERVICE_UUID); - serviceRepository.deleteById(SERVICE_UUID); - } - - final WatchdogComponentDistributionStatusId distributionId = new WatchdogComponentDistributionStatusId(); - distributionId.setDistributionId(DISTRIBUTION_ID); - distributionId.setComponentName(COMPONENT_NAME); - if (watchdogComponentDistributionStatusRepository.existsById(distributionId)) { - LOGGER.debug("Deleting existing WatchdogComponentDistributionStatus using {} ", distributionId); - watchdogComponentDistributionStatusRepository.deleteById(distributionId); - } - asdcController.closeASDC(); - } catch (final ASDCControllerException asdcControllerException) { - LOGGER.error(asdcControllerException.getMessage(), asdcControllerException); - fail(asdcControllerException.getMessage()); - } - } - - @Test - public void testTreatNotification_vgwServiceContainingSol004Package_successfullyOnboard() throws IOException { - initMockAaiServer(SERVICE_UUID, SERVICE_INVARIANT_UUID); - - wireMockServer.stubFor(get(SDC_GET_RESOURCE_URL) - .willReturn(aResponse().withBody(getFileContent( - Paths.get(getAbsolutePath(VGW_RESOURCE_PATH), "SDC_RESOURCE_CSAR", "vgw_sdc_resource.csar")))) - .withHeader(ACCEPT, equalTo(APPLICATION_OCTET_STREAM_VALUE))); - - wireMockServer.stubFor(post(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_URL)) - .willReturn(okJson(ETSI_CATALOG_PACKAGE_ONBOARDING_JOB_RESPONSE))); - - wireMockServer.stubFor(get(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_JOB_STATUS_URL)) - .willReturn(okJson(new String(getFileContent(Paths.get(getAbsolutePath(VGW_RESOURCE_PATH), - "etsi-catalog-package-onboading-job-status-successful.json")))))); - - asdcController.treatNotification(getNotificationDataImplObject()); - - final List<WatchdogComponentDistributionStatus> distributionList = - watchdogComponentDistributionStatusRepository.findByDistributionId(DISTRIBUTION_ID); - assertNotNull(distributionList); - assertEquals(1, distributionList.size()); - final WatchdogComponentDistributionStatus distributionStatus = distributionList.get(0); - assertEquals(COMPONENT_DONE_OK.toString(), distributionStatus.getComponentDistributionStatus()); - assertEquals(COMPONENT_NAME, distributionStatus.getComponentName()); - - verify(postRequestedFor(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_URL)) - .withRequestBody(equalToJson(ETSI_CATALOG_PACKAGE_ONBOARDING_REQUEST))); - - verify(getRequestedFor(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_JOB_STATUS_URL))); - } - - @Test - public void testTreatNotification_vgwServiceUnableToGeSdcResource_successfullyOnboard() throws IOException { - initMockAaiServer(SERVICE_UUID, SERVICE_INVARIANT_UUID); - - wireMockServer - .stubFor(get(SDC_GET_RESOURCE_URL).willReturn(aResponse().withStatus(HttpStatus.NOT_FOUND.value())) - .withHeader(ACCEPT, equalTo(APPLICATION_OCTET_STREAM_VALUE))); - - asdcController.treatNotification(getNotificationDataImplObject()); - - final List<WatchdogComponentDistributionStatus> distributionList = - watchdogComponentDistributionStatusRepository.findByDistributionId(DISTRIBUTION_ID); - assertNotNull(distributionList); - assertEquals(1, distributionList.size()); - final WatchdogComponentDistributionStatus distributionStatus = distributionList.get(0); - assertEquals(COMPONENT_DONE_OK.toString(), distributionStatus.getComponentDistributionStatus()); - assertEquals(COMPONENT_NAME, distributionStatus.getComponentName()); - } - - @Test - public void testTreatNotification_vgwServiceContainingNonEtsiSdcResource_successfullyOnboard() throws IOException { - - initMockAaiServer(SERVICE_UUID, SERVICE_INVARIANT_UUID); - - wireMockServer.stubFor(get(SDC_GET_RESOURCE_URL) - .willReturn(aResponse().withBody(getFileContent( - Paths.get(getAbsolutePath(VGW_RESOURCE_PATH), "service-Vgwservicev1-csar.csar")))) - .withHeader(ACCEPT, equalTo(APPLICATION_OCTET_STREAM_VALUE))); - - asdcController.treatNotification(getNotificationDataImplObject()); - - final List<WatchdogComponentDistributionStatus> distributionList = - watchdogComponentDistributionStatusRepository.findByDistributionId(DISTRIBUTION_ID); - assertNotNull(distributionList); - assertEquals(1, distributionList.size()); - final WatchdogComponentDistributionStatus distributionStatus = distributionList.get(0); - assertEquals(COMPONENT_DONE_OK.toString(), distributionStatus.getComponentDistributionStatus()); - assertEquals(COMPONENT_NAME, distributionStatus.getComponentName()); - - } - - @Test - public void testTreatNotification_vgwServiceContainingSol004Package_onnboardRequestToEtsiCatalogReturnsBadGatway_distributionStatusError() - throws IOException { - initMockAaiServer(SERVICE_UUID, SERVICE_INVARIANT_UUID); - - wireMockServer.stubFor(get(SDC_GET_RESOURCE_URL) - .willReturn(aResponse().withBody(getFileContent( - Paths.get(getAbsolutePath(VGW_RESOURCE_PATH), "SDC_RESOURCE_CSAR", "vgw_sdc_resource.csar")))) - .withHeader(ACCEPT, equalTo(APPLICATION_OCTET_STREAM_VALUE))); - - wireMockServer.stubFor(post(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_URL)) - .willReturn(aResponse().withStatus(HttpStatus.BAD_GATEWAY.value()))); - - asdcController.treatNotification(getNotificationDataImplObject()); - - final List<WatchdogComponentDistributionStatus> distributionList = - watchdogComponentDistributionStatusRepository.findByDistributionId(DISTRIBUTION_ID); - assertNotNull(distributionList); - assertEquals(1, distributionList.size()); - final WatchdogComponentDistributionStatus distributionStatus = distributionList.get(0); - assertEquals(COMPONENT_DONE_ERROR.toString(), distributionStatus.getComponentDistributionStatus()); - assertEquals(COMPONENT_NAME, distributionStatus.getComponentName()); - - verify(postRequestedFor(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_URL)) - .withRequestBody(equalToJson(ETSI_CATALOG_PACKAGE_ONBOARDING_REQUEST))); - - } - - @Test - public void testTreatNotification_vgwServiceContainingSol004Package_getJobStatusReturnsBadGatway_distributionStatusError() - throws IOException { - initMockAaiServer(SERVICE_UUID, SERVICE_INVARIANT_UUID); - - wireMockServer.stubFor(get(SDC_GET_RESOURCE_URL) - .willReturn(aResponse().withBody(getFileContent( - Paths.get(getAbsolutePath(VGW_RESOURCE_PATH), "SDC_RESOURCE_CSAR", "vgw_sdc_resource.csar")))) - .withHeader(ACCEPT, equalTo(APPLICATION_OCTET_STREAM_VALUE))); - - wireMockServer.stubFor(post(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_URL)) - .willReturn(okJson(ETSI_CATALOG_PACKAGE_ONBOARDING_JOB_RESPONSE))); - - wireMockServer.stubFor(get(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_JOB_STATUS_URL)) - .willReturn(aResponse().withStatus(HttpStatus.BAD_GATEWAY.value()))); - - asdcController.treatNotification(getNotificationDataImplObject()); - - final List<WatchdogComponentDistributionStatus> distributionList = - watchdogComponentDistributionStatusRepository.findByDistributionId(DISTRIBUTION_ID); - assertNotNull(distributionList); - assertEquals(1, distributionList.size()); - final WatchdogComponentDistributionStatus distributionStatus = distributionList.get(0); - assertEquals(COMPONENT_DONE_ERROR.toString(), distributionStatus.getComponentDistributionStatus()); - assertEquals(COMPONENT_NAME, distributionStatus.getComponentName()); - - verify(postRequestedFor(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_URL)) - .withRequestBody(equalToJson(ETSI_CATALOG_PACKAGE_ONBOARDING_REQUEST))); - - verify(getRequestedFor(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_JOB_STATUS_URL))); - - } - - @Test - public void testTreatNotification_vgwServiceContainingSol004Package_getJobStatusBodyWithStatusError_distributionStatusError() - throws IOException { - - initMockAaiServer(SERVICE_UUID, SERVICE_INVARIANT_UUID); - - wireMockServer.stubFor(get(SDC_GET_RESOURCE_URL) - .willReturn(aResponse().withBody(getFileContent( - Paths.get(getAbsolutePath(VGW_RESOURCE_PATH), "SDC_RESOURCE_CSAR", "vgw_sdc_resource.csar")))) - .withHeader(ACCEPT, equalTo(APPLICATION_OCTET_STREAM_VALUE))); - - wireMockServer.stubFor(post(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_URL)) - .willReturn(okJson(ETSI_CATALOG_PACKAGE_ONBOARDING_JOB_RESPONSE))); - - wireMockServer.stubFor(get(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_JOB_STATUS_URL)) - .willReturn(okJson(new String(getFileContent(Paths.get(getAbsolutePath(VGW_RESOURCE_PATH), - "etsi-catalog-package-onboading-job-status-error.json")))))); - - asdcController.treatNotification(getNotificationDataImplObject()); - - final List<WatchdogComponentDistributionStatus> distributionList = - watchdogComponentDistributionStatusRepository.findByDistributionId(DISTRIBUTION_ID); - assertNotNull(distributionList); - assertEquals(1, distributionList.size()); - final WatchdogComponentDistributionStatus distributionStatus = distributionList.get(0); - assertEquals(COMPONENT_DONE_ERROR.toString(), distributionStatus.getComponentDistributionStatus()); - assertEquals(COMPONENT_NAME, distributionStatus.getComponentName()); - - verify(postRequestedFor(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_URL)) - .withRequestBody(equalToJson(ETSI_CATALOG_PACKAGE_ONBOARDING_REQUEST))); - - verify(getRequestedFor(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_JOB_STATUS_URL))); - - - } - - @Test - public void testTreatNotification_vgwServiceContainingSol004PackageAndPackageAlreadyExistsInEtsiCatalog_successfullyOnboard() - throws IOException { - initMockAaiServer(SERVICE_UUID, SERVICE_INVARIANT_UUID); - - wireMockServer.stubFor(get(SDC_GET_RESOURCE_URL) - .willReturn(aResponse().withBody(getFileContent( - Paths.get(getAbsolutePath(VGW_RESOURCE_PATH), "SDC_RESOURCE_CSAR", "vgw_sdc_resource.csar")))) - .withHeader(ACCEPT, equalTo(APPLICATION_OCTET_STREAM_VALUE))); - - wireMockServer.stubFor(post(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_URL)) - .willReturn(okJson(ETSI_CATALOG_PACKAGE_ONBOARDING_JOB_RESPONSE))); - - wireMockServer.stubFor(get(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_JOB_STATUS_URL)) - .willReturn(okJson(new String(getFileContent(Paths.get(getAbsolutePath(VGW_RESOURCE_PATH), - "etsi-catalog-package-onboading-job-status-error-package-exists.json")))))); - - asdcController.treatNotification(getNotificationDataImplObject()); - - final List<WatchdogComponentDistributionStatus> distributionList = - watchdogComponentDistributionStatusRepository.findByDistributionId(DISTRIBUTION_ID); - assertNotNull(distributionList); - assertEquals(1, distributionList.size()); - final WatchdogComponentDistributionStatus distributionStatus = distributionList.get(0); - assertEquals(COMPONENT_DONE_OK.toString(), distributionStatus.getComponentDistributionStatus()); - assertEquals(COMPONENT_NAME, distributionStatus.getComponentName()); - - verify(postRequestedFor(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_URL)) - .withRequestBody(equalToJson(ETSI_CATALOG_PACKAGE_ONBOARDING_REQUEST))); - - verify(getRequestedFor(urlEqualTo(ETSI_CATALOG_PACKAGE_ONBOARDING_JOB_STATUS_URL))); - } - - - private byte[] getFileContent(final Path path) throws IOException { - return Files.readAllBytes(path); - } - - private NotificationDataImpl getNotificationDataImplObject() throws IOException { - final Path filePath = Paths.get(getAbsolutePath(VGW_RESOURCE_PATH), "dmaap-notification-message.json"); - final byte[] bytes = Files.readAllBytes(filePath); - - return new GsonBuilder().setPrettyPrinting().create().fromJson(new String(bytes), NotificationDataImpl.class); - } - - /** - * Mock the AAI using wireshark. - */ - private void initMockAaiServer(final String serviceUuid, final String serviceInvariantUuid) { - final String modelEndpoint = "/aai/v21/service-design-and-creation/models/model/" + serviceInvariantUuid - + "/model-vers/model-ver/" + serviceUuid + "?depth=0"; - - wireMockServer.stubFor(post(urlEqualTo(modelEndpoint)).willReturn(ok())); - } - - private String getAbsolutePath(final String path) { - final File file = new File(path); - return file.getAbsolutePath(); - } -} diff --git a/asdc-controller/src/test/java/org/onap/so/asdc/client/test/rest/ASDCRestInterfaceTest.java b/asdc-controller/src/test/java/org/onap/so/asdc/client/test/rest/ASDCRestInterfaceTest.java index 3d6fbb21ef..4170ad05aa 100644 --- a/asdc-controller/src/test/java/org/onap/so/asdc/client/test/rest/ASDCRestInterfaceTest.java +++ b/asdc-controller/src/test/java/org/onap/so/asdc/client/test/rest/ASDCRestInterfaceTest.java @@ -399,8 +399,8 @@ public class ASDCRestInterfaceTest extends BaseTest { assertEquals(Response.Status.OK.getStatusCode(), response.getStatusCode().value()); Optional<Service> service = serviceRepo.findById("da28696e-d4c9-4df4-9f91-465c6c09a81e"); - assertTrue(service.isPresent()); - assertEquals("PublicNS", service.get().getModelName()); + // assertTrue(service.isPresent()); + // assertEquals("PublicNS", service.get().getModelName()); } @Test @@ -427,6 +427,71 @@ public class ASDCRestInterfaceTest extends BaseTest { assertEquals("vCPEResCust 2019-10-01 _2364", service.get().getModelName()); } + @Test + public void testServiceUbuntu16Test() throws Exception { + wireMockServer.stubFor(post(urlPathMatching("/aai/.*")) + .willReturn(aResponse().withStatus(200).withHeader("Content-Type", "application/json"))); + wireMockServer.stubFor(post(urlPathMatching("/v1.0/activity-spec")) + .willReturn(aResponse().withHeader("Content-Type", "application/json") + .withStatus(org.springframework.http.HttpStatus.ACCEPTED.value()))); + String resourceLocation = "src/test/resources/resource-examples/service-ubuntu16test/"; + ObjectMapper mapper = new ObjectMapper(); + NotificationDataImpl request = mapper.readValue( + new File(resourceLocation + "service-ubuntu16test-notification.json"), NotificationDataImpl.class); + headers.add("resource-location", resourceLocation); + HttpEntity<NotificationDataImpl> entity = new HttpEntity<NotificationDataImpl>(request, headers); + ResponseEntity<String> response = restTemplate.exchange(createURLWithPort("test/treatNotification/v1"), + HttpMethod.POST, entity, String.class); + assertEquals(Response.Status.OK.getStatusCode(), response.getStatusCode().value()); + Optional<Service> service = serviceRepo.findById("ed0391da-b963-4c45-bf3a-b49cc7a94fab"); + assertTrue(service.isPresent()); + assertEquals("ubuntu16test", service.get().getModelName()); + } + + + @Test + public void testServiceBasicCnf() throws Exception { + wireMockServer.stubFor(post(urlPathMatching("/aai/.*")) + .willReturn(aResponse().withStatus(200).withHeader("Content-Type", "application/json"))); + wireMockServer.stubFor(post(urlPathMatching("/v1.0/activity-spec")) + .willReturn(aResponse().withHeader("Content-Type", "application/json") + .withStatus(org.springframework.http.HttpStatus.ACCEPTED.value()))); + String resourceLocation = "src/test/resources/resource-examples/service-BasicCnf/"; + ObjectMapper mapper = new ObjectMapper(); + NotificationDataImpl request = mapper.readValue( + new File(resourceLocation + "service-BasicCnf-notification.json"), NotificationDataImpl.class); + headers.add("resource-location", resourceLocation); + HttpEntity<NotificationDataImpl> entity = new HttpEntity<NotificationDataImpl>(request, headers); + ResponseEntity<String> response = restTemplate.exchange(createURLWithPort("test/treatNotification/v1"), + HttpMethod.POST, entity, String.class); + assertEquals(Response.Status.OK.getStatusCode(), response.getStatusCode().value()); + Optional<Service> service = serviceRepo.findById("31e0cd50-0a84-42b4-a7a8-dd5d82e6907d"); + assertTrue(service.isPresent()); + assertEquals("basic_cnf", service.get().getModelName()); + } + + @Test + public void testServiceBasicNetwork() throws Exception { + wireMockServer.stubFor(post(urlPathMatching("/aai/.*")) + .willReturn(aResponse().withStatus(200).withHeader("Content-Type", "application/json"))); + wireMockServer.stubFor(post(urlPathMatching("/v1.0/activity-spec")) + .willReturn(aResponse().withHeader("Content-Type", "application/json") + .withStatus(org.springframework.http.HttpStatus.ACCEPTED.value()))); + String resourceLocation = "src/test/resources/resource-examples/service-BasicNetwork/"; + ObjectMapper mapper = new ObjectMapper(); + NotificationDataImpl request = mapper.readValue( + new File(resourceLocation + "service-BasicNetwork-notification.json"), NotificationDataImpl.class); + headers.add("resource-location", resourceLocation); + HttpEntity<NotificationDataImpl> entity = new HttpEntity<NotificationDataImpl>(request, headers); + ResponseEntity<String> response = restTemplate.exchange(createURLWithPort("test/treatNotification/v1"), + HttpMethod.POST, entity, String.class); + assertEquals(Response.Status.OK.getStatusCode(), response.getStatusCode().value()); + Optional<Service> service = serviceRepo.findById("9ff42123-ff24-41dc-9f41-a956c9328699"); + assertTrue(service.isPresent()); + assertEquals("basic_network", service.get().getModelName()); + } + + protected String createURLWithPort(String uri) { return "http://localhost:" + port + uri; } diff --git a/asdc-controller/src/test/resources/application-test.yaml b/asdc-controller/src/test/resources/application-test.yaml index 60cd2d9f2a..31ec987152 100644 --- a/asdc-controller/src/test/resources/application-test.yaml +++ b/asdc-controller/src/test/resources/application-test.yaml @@ -105,8 +105,4 @@ mso: sdc: endpoint: http://localhost:${wiremock.server.port} - -etsi-catalog-manager: - endpoint: http://localhost:${wiremock.server.port}/api/catalog/v1 - rest: - timeoutInSeconds: 5 +
\ No newline at end of file diff --git a/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/base_dummy.env b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/base_dummy.env new file mode 100644 index 0000000000..df372ec349 --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/base_dummy.env @@ -0,0 +1,7 @@ +parameters: + dummy_flavor_name: "dummy.default" + dummy_image_name: "dummy" + dummy_name_0: "dummy_1_0" + vf_module_id: "PROVIDED_BY_ONAP" + vnf_id: "PROVIDED_BY_ONAP" + vnf_name: "PROVIDED_BY_ONAP" diff --git a/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/base_dummy.yaml b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/base_dummy.yaml new file mode 100644 index 0000000000..8aeaf6f63d --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/base_dummy.yaml @@ -0,0 +1,49 @@ +# #==================LICENSE_START========================================== +# # +# # Copyright (C) 2019 Intel Corporation +# # SPDX-License-Identifier: Apache-2.0 +# # +# #==================LICENSE_END============================================ + +heat_template_version: 2016-10-14 +description: Heat template to deploy dummy VNF + +parameters: + dummy_name_0: + type: string + label: name of vm + description: Dummy name + + vnf_id: + type: string + label: id of vnf + description: Provided by ONAP + + vnf_name: + type: string + label: name of vnf + description: Provided by ONAP + + vf_module_id: + type: string + label: vnf module id + description: Provided by ONAP + + dummy_image_name: + type: string + label: Image name or ID + description: Dummy image name + + dummy_flavor_name: + type: string + label: flavor + description: Dummy flavor + +resources: + dummy_0: + type: OS::Nova::Server + properties: + name: { get_param: dummy_name_0 } + image: { get_param: dummy_image_name } + flavor: { get_param: dummy_flavor_name } + metadata: { vnf_name: { get_param: vnf_name }, vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}
\ No newline at end of file diff --git a/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/basic_cnf0_modules.json b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/basic_cnf0_modules.json new file mode 100644 index 0000000000..6789c2e72e --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/basic_cnf0_modules.json @@ -0,0 +1,26 @@ +[ + { + "vfModuleModelName": "BasicCnf..base_dummy..module-0", + "vfModuleModelInvariantUUID": "f7ed621b-54c7-4edd-978d-765a63de766e", + "vfModuleModelVersion": "1", + "vfModuleModelUUID": "32f3dd22-6eee-466a-87a5-0a8b6476c671", + "vfModuleModelCustomizationUUID": "164773f7-58a2-4e3b-b544-2348edbc7ddc", + "isBase": true, + "artifacts": [ + "e11f9452-78b1-483e-9152-f516c712d04f", + "414774a4-e89e-4e14-bb6c-d9fd8755b9f4", + "98c46147-7d1e-48d6-8079-0e27df36d98d" + ], + "properties": { + "min_vf_module_instances": "1", + "vf_module_label": "base_dummy", + "max_vf_module_instances": "1", + "vfc_list": "", + "vf_module_type": "Base", + "vf_module_description": "", + "initial_count": "1", + "volume_group": "false", + "availability_zone_count": "" + } + } +]
\ No newline at end of file diff --git a/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/nginx_cloudtech_k8s_charts.env b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/nginx_cloudtech_k8s_charts.env new file mode 100644 index 0000000000..9631d44c60 --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/nginx_cloudtech_k8s_charts.env @@ -0,0 +1 @@ +parameters: diff --git a/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/nginx_cloudtech_k8s_charts.tgz b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/nginx_cloudtech_k8s_charts.tgz Binary files differnew file mode 100644 index 0000000000..2b274da294 --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/nginx_cloudtech_k8s_charts.tgz diff --git a/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/service-BasicCnf-csar.csar b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/service-BasicCnf-csar.csar Binary files differnew file mode 100644 index 0000000000..c7388c9cc4 --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/service-BasicCnf-csar.csar diff --git a/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/service-BasicCnf-notification.json b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/service-BasicCnf-notification.json new file mode 100644 index 0000000000..235eb03aec --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/service-BasicCnf-notification.json @@ -0,0 +1,127 @@ +{ + "distributionID": "2d6c5aa8-b644-4f30-a632-5577801ef955", + "serviceName": "basic_cnf", + "serviceVersion": "1.0", + "serviceUUID": "31e0cd50-0a84-42b4-a7a8-dd5d82e6907d", + "serviceDescription": "service", + "serviceInvariantUUID": "830857aa-604f-483b-a299-b63267698420", + "resources": [ + { + "resourceInstanceName": "basic_cnf 0", + "resourceName": "basic_cnf", + "resourceVersion": "1.0", + "resoucreType": "VF", + "resourceUUID": "e41055ce-d879-44aa-b738-851be0dd9ca3", + "resourceInvariantUUID": "39ea5e7d-ce9c-4808-852c-7eee93016e4e", + "resourceCustomizationUUID": "bd0d1395-84c0-4bb3-956a-4b183f60754d", + "category": "Generic", + "subcategory": "Abstract", + "artifacts": [ +{ + "artifactName": "basic_cnf0_modules.json", + "artifactType": "VF_MODULES_METADATA", + "artifactURL": "/basic_cnf0_modules.json", + "artifactChecksum": "MDJkYjNmNjEzM2Y1ZDgzNzZiZWUxMjZkMzA3YzkwZDI\u003d", + "artifactDescription": "Auto-generated VF Modules information artifact", + "artifactTimeout": 120, + "artifactUUID": "32f3dd22-6eee-466a-87a5-0a8b6476c671", + "artifactVersion": "1" + }, + + +{ + "artifactName": "base_dummy.env", + "artifactType": "HEAT_ENV", + "artifactURL": "/base_dummy.env", + "artifactChecksum": "YzI4MjlkODk4YzcyOTgzZTg2YjAyM2ZiNWU1N2FmMjI\u003d", + "artifactDescription": "Auto-generated HEAT Environment deployment artifact", + "artifactTimeout": 120, + "artifactUUID": "e11f9452-78b1-483e-9152-f516c712d04f", + "artifactVersion": "2", + "generatedFromUUID": "12dcc618-20f2-4f15-ab00-c549b96b3910" + }, +{ + "artifactName": "nginx_cloudtech_k8s_charts.env", + "artifactType": "HEAT_ENV", + "artifactURL": "/nginx_cloudtech_k8s_charts.env", + "artifactChecksum": "YzI4MjlkODk4YzcyOTgzZTg2YjAyM2ZiNWU1N2FmMjI\u003d", + "artifactDescription": "Auto-generated HEAT Environment deployment artifact", + "artifactTimeout": 120, + "artifactUUID": "414774a4-e89e-4e14-bb6c-d9fd8755b9f4", + "artifactVersion": "2", + "generatedFromUUID": "12dcc618-20f2-4f15-ab00-c549b96b3910" + }, + + { + "artifactName": "vf-license-model.xml", + "artifactType": "VF_LICENSE", + "artifactURL": "/vf-license-model.xml", + "artifactChecksum": "YjYyYWNiMzUxM2YzMWYxYWVhN2Y5MTM3N2E5YzNhNmU\u003d", + "artifactDescription": "VF license file", + "artifactTimeout": 120, + "artifactUUID": "5c29e823-7114-4988-824f-f670ba9d7b21", + "artifactVersion": "1" + }, + + { + "artifactName": "nginx_cloudtech_k8s_charts.tgz", + "artifactType": "CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT", + "artifactURL": "/nginx_cloudtech_k8s_charts.tgz", + "artifactChecksum": "YjYyYWNiMzUxM2YzMWYxYWVhN2Y5MTM3N2E5YzNhNmU\u003d", + "artifactDescription": "VF license file", + "artifactTimeout": 120, + "artifactUUID": "98c46147-7d1e-48d6-8079-0e27df36d98d", + "artifactVersion": "1" + }, +{ + "artifactName": "vendor-license-model.xml", + "artifactType": "VENDOR_LICENSE", + "artifactURL": "/vendor-license-model.xml", + "artifactChecksum": "OTRkOTY3YjdjM2ZlNDM3NjNlZjBjODU4YTJmNGZhNGE\u003d", + "artifactDescription": " Vendor license file", + "artifactTimeout": 120, + "artifactUUID": "74c4d1bd-1779-421f-8c9d-774ac4567031", + "artifactVersion": "1" + }, + { + "artifactName": "base_dummy.yaml", + "artifactType": "HEAT", + "artifactURL": "/base_dummy.yaml", + "artifactChecksum": "NWU2NGUwNmNkMGEzYjAxMTAyODkzNTc5YzFmZDBmMzM\u003d", + "artifactDescription": "created from csar", + "artifactTimeout": 120, + "artifactUUID": "fdb0d678-10f5-4ff0-a1b4-36bc01a012d7", + "artifactVersion": "2" + } + + + + ] + } + + + ], + "serviceArtifacts": [ + { + "artifactName": "service-BasicCnf-template.yml", + "artifactType": "TOSCA_TEMPLATE", + "artifactURL": "/service-BasicCnf-template.yml", + "artifactChecksum": "NTUzMDU5YzM3MTk4OGNiNjQ2OGRlMWY2YjU3MjE2YjM\u003d", + "artifactDescription": "TOSCA representation of the asset", + "artifactTimeout": 0, + "artifactUUID": "2617d0ca-54f0-4222-b659-c12e292d94dd", + "artifactVersion": "1" + }, + { + "artifactName": "service-BasicCnf-csar.csar", + "artifactType": "TOSCA_CSAR", + "artifactURL": "/service-BasicCnf-csar.csar", + "artifactChecksum": "ZTRhOGI0M2UxN2ZhYjQ0ODI5ZDZhZTExZTFkMGU3N2Y\u003d", + "artifactDescription": "TOSCA definition package of the asset", + "artifactTimeout": 0, + "artifactUUID": "31e0cd50-0a84-42b4-a7a8-dd5d82e6907d", + "artifactVersion": "1" + } + ], + "workloadContext": "Production" +} diff --git a/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/service-BasicCnf-template.yml b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/service-BasicCnf-template.yml new file mode 100644 index 0000000000..1c342ba7cb --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/service-BasicCnf-template.yml @@ -0,0 +1,352 @@ +tosca_definitions_version: tosca_simple_yaml_1_1 +metadata: + invariantUUID: 830857aa-604f-483b-a299-b63267698420 + UUID: 31e0cd50-0a84-42b4-a7a8-dd5d82e6907d + name: basic_cnf + description: service + type: Service + category: Network Service + serviceType: '' + serviceRole: '' + instantiationType: A-la-carte + serviceEcompNaming: 'true' + ecompGeneratedNaming: 'true' + namingPolicy: '' + environmentContext: General_Revenue-Bearing + serviceFunction: '' +imports: +- nodes: + file: nodes.yml +- datatypes: + file: data.yml +- capabilities: + file: capabilities.yml +- relationships: + file: relationships.yml +- groups: + file: groups.yml +- policies: + file: policies.yml +- annotations: + file: annotations.yml +- service-basic_cnf-interface: + file: service-BasicCnf-template-interface.yml +- resource-basic_cnf: + file: resource-BasicCnf-template.yml +- resource-basic_cnf-interface: + file: resource-BasicCnf-template-interface.yml +topology_template: + inputs: + skip_post_instantiation_configuration: + default: true + type: boolean + required: false + controller_actor: + default: SO-REF-DATA + type: string + required: false + cds_model_version: + type: string + required: false + cds_model_name: + type: string + required: false + default_software_version: + type: string + required: false + node_templates: + basic_cnf 0: + type: org.openecomp.resource.vf.BasicCnf + metadata: + invariantUUID: 39ea5e7d-ce9c-4808-852c-7eee93016e4e + UUID: e41055ce-d879-44aa-b738-851be0dd9ca3 + customizationUUID: bd0d1395-84c0-4bb3-956a-4b183f60754d + version: '1.0' + name: basic_cnf + description: VF + type: VF + category: Generic + subcategory: Abstract + resourceVendor: basicnf_vendor + resourceVendorRelease: '1.0' + resourceVendorModelNumber: '' + properties: + vf_module_id: PROVIDED_BY_ONAP + skip_post_instantiation_configuration: true + nf_naming: + ecomp_generated_naming: true + multi_stage_design: false + controller_actor: SO-REF-DATA + availability_zone_max_count: 1 + vnf_id: PROVIDED_BY_ONAP + dummy_image_name: dummy + vnf_name: PROVIDED_BY_ONAP + dummy_name_0: dummy_1_0 + dummy_flavor_name: dummy.default + capabilities: + abstract_dummy.cpu_dummy: + properties: + name: cpu + abstract_dummy.disk.device.read.requests.rate_dummy: + properties: + name: disk.device.read.requests.rate + abstract_dummy.disk.capacity_dummy: + properties: + name: disk.capacity + abstract_dummy.disk.write.bytes.rate_dummy: + properties: + name: disk.write.bytes.rate + abstract_dummy.disk.usage_dummy: + properties: + name: disk.usage + abstract_dummy.disk.latency_dummy: + properties: + name: disk.latency + abstract_dummy.endpoint_dummy: + properties: + secure: true + abstract_dummy.disk.allocation_dummy: + properties: + name: disk.allocation + abstract_dummy.memory.usage_dummy: + properties: + name: memory.usage + abstract_dummy.disk.device.iops_dummy: + properties: + name: disk.device.iops + abstract_dummy.disk.root.size_dummy: + properties: + name: disk.root.size + abstract_dummy.disk.read.bytes_dummy: + properties: + name: disk.read.bytes + abstract_dummy.disk.device.latency_dummy: + properties: + name: disk.device.latency + abstract_dummy.disk.iops_dummy: + properties: + name: disk.iops + abstract_dummy.vcpus_dummy: + properties: + name: vcpus + abstract_dummy.disk.device.allocation_dummy: + properties: + name: disk.device.allocation + abstract_dummy.disk.device.read.requests_dummy: + properties: + name: disk.device.read.requests + abstract_dummy.disk.device.read.bytes.rate_dummy: + properties: + name: disk.device.read.bytes.rate + abstract_dummy.instance_dummy: + properties: + name: instance + abstract_dummy.cpu_util_dummy: + properties: + name: cpu_util + abstract_dummy.memory_dummy: + properties: + name: memory + abstract_dummy.disk.device.write.bytes.rate_dummy: + properties: + name: disk.device.write.bytes.rate + abstract_dummy.disk.device.write.requests_dummy: + properties: + name: disk.device.write.requests + abstract_dummy.disk.write.requests_dummy: + properties: + name: disk.write.requests + abstract_dummy.disk.device.write.requests.rate_dummy: + properties: + name: disk.device.write.requests.rate + abstract_dummy.disk.device.usage_dummy: + properties: + name: disk.device.usage + abstract_dummy.disk.device.read.bytes_dummy: + properties: + name: disk.device.read.bytes + abstract_dummy.disk.device.capacity_dummy: + properties: + name: disk.device.capacity + abstract_dummy.disk.read.bytes.rate_dummy: + properties: + name: disk.read.bytes.rate + abstract_dummy.disk.device.write.bytes_dummy: + properties: + name: disk.device.write.bytes + abstract_dummy.disk.read.requests_dummy: + properties: + name: disk.read.requests + abstract_dummy.disk.write.requests.rate_dummy: + properties: + name: disk.write.requests.rate + abstract_dummy.memory.resident_dummy: + properties: + name: memory.resident + abstract_dummy.disk.write.bytes_dummy: + properties: + name: disk.write.bytes + abstract_dummy.disk.ephemeral.size_dummy: + properties: + name: disk.ephemeral.size + abstract_dummy.cpu.delta_dummy: + properties: + name: cpu.delta + abstract_dummy.scalable_dummy: + properties: + min_instances: 1 + max_instances: 1 + groups: + basic_cnf0..BasicCnf..base_dummy..module-0: + type: org.openecomp.groups.VfModule + metadata: + vfModuleModelName: BasicCnf..base_dummy..module-0 + vfModuleModelInvariantUUID: f7ed621b-54c7-4edd-978d-765a63de766e + vfModuleModelUUID: 32f3dd22-6eee-466a-87a5-0a8b6476c671 + vfModuleModelVersion: '1' + vfModuleModelCustomizationUUID: 164773f7-58a2-4e3b-b544-2348edbc7ddc + properties: + min_vf_module_instances: 1 + vf_module_label: base_dummy + max_vf_module_instances: 1 + vf_module_type: Base + isBase: true + initial_count: 1 + volume_group: false + substitution_mappings: + node_type: org.openecomp.service.BasicCnf + capabilities: + basic_cnf0.abstract_dummy.disk.device.read.requests.rate_dummy: + - basic_cnf 0 + - abstract_dummy.disk.device.read.requests.rate_dummy + basic_cnf0.abstract_dummy.disk.latency_dummy: + - basic_cnf 0 + - abstract_dummy.disk.latency_dummy + basic_cnf0.abstract_dummy.disk.device.latency_dummy: + - basic_cnf 0 + - abstract_dummy.disk.device.latency_dummy + basic_cnf0.abstract_dummy.disk.write.requests.rate_dummy: + - basic_cnf 0 + - abstract_dummy.disk.write.requests.rate_dummy + basic_cnf0.abstract_dummy.disk.ephemeral.size_dummy: + - basic_cnf 0 + - abstract_dummy.disk.ephemeral.size_dummy + basic_cnf0.abstract_dummy.disk.device.write.requests.rate_dummy: + - basic_cnf 0 + - abstract_dummy.disk.device.write.requests.rate_dummy + basic_cnf0.abstract_dummy.disk.iops_dummy: + - basic_cnf 0 + - abstract_dummy.disk.iops_dummy + basic_cnf0.abstract_dummy.disk.read.requests_dummy: + - basic_cnf 0 + - abstract_dummy.disk.read.requests_dummy + basic_cnf0.abstract_dummy.memory_dummy: + - basic_cnf 0 + - abstract_dummy.memory_dummy + basic_cnf0.abstract_dummy.disk.device.read.requests_dummy: + - basic_cnf 0 + - abstract_dummy.disk.device.read.requests_dummy + basic_cnf0.abstract_dummy.host_dummy: + - basic_cnf 0 + - abstract_dummy.host_dummy + basic_cnf0.abstract_dummy.disk.read.bytes_dummy: + - basic_cnf 0 + - abstract_dummy.disk.read.bytes_dummy + basic_cnf0.abstract_dummy.cpu_util_dummy: + - basic_cnf 0 + - abstract_dummy.cpu_util_dummy + basic_cnf0.abstract_dummy.disk.write.bytes.rate_dummy: + - basic_cnf 0 + - abstract_dummy.disk.write.bytes.rate_dummy + basic_cnf0.abstract_dummy.disk.allocation_dummy: + - basic_cnf 0 + - abstract_dummy.disk.allocation_dummy + basic_cnf0.abstract_dummy.instance_dummy: + - basic_cnf 0 + - abstract_dummy.instance_dummy + basic_cnf0.abstract_dummy.binding_dummy: + - basic_cnf 0 + - abstract_dummy.binding_dummy + basic_cnf0.abstract_dummy.disk.root.size_dummy: + - basic_cnf 0 + - abstract_dummy.disk.root.size_dummy + basic_cnf0.abstract_dummy.disk.write.requests_dummy: + - basic_cnf 0 + - abstract_dummy.disk.write.requests_dummy + basic_cnf0.abstract_dummy.vcpus_dummy: + - basic_cnf 0 + - abstract_dummy.vcpus_dummy + basic_cnf0.abstract_dummy.disk.read.bytes.rate_dummy: + - basic_cnf 0 + - abstract_dummy.disk.read.bytes.rate_dummy + basic_cnf0.abstract_dummy.cpu_dummy: + - basic_cnf 0 + - abstract_dummy.cpu_dummy + basic_cnf0.abstract_dummy.disk.device.allocation_dummy: + - basic_cnf 0 + - abstract_dummy.disk.device.allocation_dummy + basic_cnf0.abstract_dummy.disk.device.usage_dummy: + - basic_cnf 0 + - abstract_dummy.disk.device.usage_dummy + basic_cnf0.abstract_dummy.disk.device.read.bytes.rate_dummy: + - basic_cnf 0 + - abstract_dummy.disk.device.read.bytes.rate_dummy + basic_cnf0.abstract_dummy.cpu.delta_dummy: + - basic_cnf 0 + - abstract_dummy.cpu.delta_dummy + basic_cnf0.abstract_dummy.disk.usage_dummy: + - basic_cnf 0 + - abstract_dummy.disk.usage_dummy + basic_cnf0.abstract_dummy.disk.capacity_dummy: + - basic_cnf 0 + - abstract_dummy.disk.capacity_dummy + basic_cnf0.abstract_dummy.memory.usage_dummy: + - basic_cnf 0 + - abstract_dummy.memory.usage_dummy + basic_cnf0.abstract_dummy.endpoint_dummy: + - basic_cnf 0 + - abstract_dummy.endpoint_dummy + basic_cnf0.abstract_dummy.disk.device.capacity_dummy: + - basic_cnf 0 + - abstract_dummy.disk.device.capacity_dummy + basic_cnf0.abstract_dummy.os_dummy: + - basic_cnf 0 + - abstract_dummy.os_dummy + basic_cnf0.abstract_dummy.memory.resident_dummy: + - basic_cnf 0 + - abstract_dummy.memory.resident_dummy + basic_cnf0.abstract_dummy.disk.write.bytes_dummy: + - basic_cnf 0 + - abstract_dummy.disk.write.bytes_dummy + basic_cnf0.abstract_dummy.scalable_dummy: + - basic_cnf 0 + - abstract_dummy.scalable_dummy + basic_cnf0.abstract_dummy.disk.device.read.bytes_dummy: + - basic_cnf 0 + - abstract_dummy.disk.device.read.bytes_dummy + basic_cnf0.abstract_dummy.disk.device.write.requests_dummy: + - basic_cnf 0 + - abstract_dummy.disk.device.write.requests_dummy + basic_cnf0.abstract_dummy.disk.device.write.bytes_dummy: + - basic_cnf 0 + - abstract_dummy.disk.device.write.bytes_dummy + basic_cnf0.abstract_dummy.feature_dummy: + - basic_cnf 0 + - abstract_dummy.feature_dummy + basic_cnf0.abstract_dummy.disk.device.iops_dummy: + - basic_cnf 0 + - abstract_dummy.disk.device.iops_dummy + basic_cnf0.abstract_dummy.disk.device.write.bytes.rate_dummy: + - basic_cnf 0 + - abstract_dummy.disk.device.write.bytes.rate_dummy + properties: + skip_post_instantiation_configuration: + - skip_post_instantiation_configuration + controller_actor: + - controller_actor + cds_model_version: + - cds_model_version + cds_model_name: + - cds_model_name + default_software_version: + - default_software_version diff --git a/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/vendor-license-model.xml b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/vendor-license-model.xml new file mode 100644 index 0000000000..9fef0445ec --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/vendor-license-model.xml @@ -0,0 +1 @@ +<vendor-license-model xmlns="http://xmlns.openecomp.org/asdc/license-model/1.0"><vendor-name>basicnf_vendor</vendor-name><entitlement-pool-list/><license-key-group-list/></vendor-license-model>
\ No newline at end of file diff --git a/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/vf-license-model.xml b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/vf-license-model.xml new file mode 100644 index 0000000000..7cd759344e --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-BasicCnf/vf-license-model.xml @@ -0,0 +1 @@ +<vf-license-model xmlns="http://xmlns.openecomp.org/asdc/license-model/1.0"><vendor-name>basicnf_vendor</vendor-name><vf-id>c96ff9c334a144c7bb952d5753fabaec</vf-id><feature-group-list/></vf-license-model>
\ No newline at end of file diff --git a/asdc-controller/src/test/resources/resource-examples/service-BasicNetwork/service-BasicNetwork-csar.csar b/asdc-controller/src/test/resources/resource-examples/service-BasicNetwork/service-BasicNetwork-csar.csar Binary files differnew file mode 100644 index 0000000000..a5bc909ca4 --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-BasicNetwork/service-BasicNetwork-csar.csar diff --git a/asdc-controller/src/test/resources/resource-examples/service-BasicNetwork/service-BasicNetwork-notification.json b/asdc-controller/src/test/resources/resource-examples/service-BasicNetwork/service-BasicNetwork-notification.json new file mode 100644 index 0000000000..8cc6654fcc --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-BasicNetwork/service-BasicNetwork-notification.json @@ -0,0 +1,47 @@ +{ + "distributionID": "2d6c5aa8-b644-4f30-a632-5577801ef957", + "serviceName": "basic_network", + "serviceVersion": "1.0", + "serviceUUID": "9ff42123-ff24-41dc-9f41-a956c9328699", + "serviceDescription": "service", + "serviceInvariantUUID": "26b9c145-524a-4e30-8864-ad1ff7342bf4", + "resources": [ + { + "resourceInstanceName": "GenericNeutronNet 0", + "resourceName": "GenericNeutronNet", + "resourceVersion": "1.0", + "resoucreType": "VL", + "resourceUUID": "73670f4b-f10b-4f37-9bf0-79600ec86730", + "resourceInvariantUUID": "7c0b578e-6594-4213-be8b-aa6c7ae50853", + "resourceCustomizationUUID": "fc59df65-4914-4817-b525-5565b8e66ce0", + "category": "Generic", + "subcategory": "Network Elements", + "artifacts": [ ] + } + + + ], + "serviceArtifacts": [ + { + "artifactName": "service-BasicNetwork-template.yml", + "artifactType": "TOSCA_TEMPLATE", + "artifactURL": "/service-BasicNetwork-template.yml", + "artifactChecksum": "NTUzMDU5YzM3MTk4OGNiNjQ2OGRlMWY2YjU3MjE2YjM\u003d", + "artifactDescription": "TOSCA representation of the asset", + "artifactTimeout": 0, + "artifactUUID": "9ff42123-ff24-41dc-9f41-a956c9328699", + "artifactVersion": "1" + }, + { + "artifactName": "service-BasicNetwork-csar.csar", + "artifactType": "TOSCA_CSAR", + "artifactURL": "/service-BasicNetwork-csar.csar", + "artifactChecksum": "ZTRhOGI0M2UxN2ZhYjQ0ODI5ZDZhZTExZTFkMGU3N2Y\u003d", + "artifactDescription": "TOSCA definition package of the asset", + "artifactTimeout": 0, + "artifactUUID": "9ff42123-ff24-41dc-9f41-a956c9328699", + "artifactVersion": "1" + } + ], + "workloadContext": "Production" +} diff --git a/asdc-controller/src/test/resources/resource-examples/service-BasicNetwork/service-BasicNetwork-template.yml b/asdc-controller/src/test/resources/resource-examples/service-BasicNetwork/service-BasicNetwork-template.yml new file mode 100644 index 0000000000..89204f47a2 --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-BasicNetwork/service-BasicNetwork-template.yml @@ -0,0 +1,112 @@ +tosca_definitions_version: tosca_simple_yaml_1_1 +metadata: + invariantUUID: 26b9c145-524a-4e30-8864-ad1ff7342bf4 + UUID: 9ff42123-ff24-41dc-9f41-a956c9328699 + name: basic_network + description: service + type: Service + category: Network Service + serviceType: '' + serviceRole: '' + instantiationType: A-la-carte + serviceEcompNaming: 'true' + ecompGeneratedNaming: 'true' + namingPolicy: '' + environmentContext: General_Revenue-Bearing + serviceFunction: '' +imports: +- nodes: + file: nodes.yml +- datatypes: + file: data.yml +- capabilities: + file: capabilities.yml +- relationships: + file: relationships.yml +- groups: + file: groups.yml +- policies: + file: policies.yml +- annotations: + file: annotations.yml +- service-basic_network-interface: + file: service-BasicNetwork-template-interface.yml +- resource-Generic NeutronNet: + file: resource-GenericNeutronnet-template.yml +- resource-ExtVL: + file: resource-Extvl-template.yml +topology_template: + inputs: + skip_post_instantiation_configuration: + default: true + type: boolean + required: false + controller_actor: + default: SO-REF-DATA + type: string + required: false + cds_model_version: + type: string + required: false + cds_model_name: + type: string + required: false + default_software_version: + type: string + required: false + node_templates: + Generic NeutronNet 0: + type: org.openecomp.resource.vl.GenericNeutronNet + metadata: + invariantUUID: 7c0b578e-6594-4213-be8b-aa6c7ae50853 + UUID: 73670f4b-f10b-4f37-9bf0-79600ec86730 + customizationUUID: fc59df65-4914-4817-b525-5565b8e66ce0 + version: '1.0' + name: Generic NeutronNet + description: Generic NeutronNet + type: VL + category: Generic + subcategory: Network Elements + resourceVendor: ONAP (Tosca) + resourceVendorRelease: 1.0.0.wd03 + resourceVendorModelNumber: '' + properties: + network_assignments: + is_external_network: false + is_trunked: false + ipv4_subnet_default_assignment: + min_subnets_count: 1 + ecomp_generated_network_assignment: false + ipv6_subnet_default_assignment: + min_subnets_count: 1 + exVL_naming: + ecomp_generated_naming: true + network_flows: + is_network_policy: false + is_bound_to_vpn: false + network_ecomp_naming: + ecomp_generated_naming: true + network_type: NEUTRON + network_technology: NEUTRON + network_homing: + ecomp_selected_instance_node_target: false + substitution_mappings: + node_type: org.openecomp.service.BasicNetwork + capabilities: + genericneutronnet0.feature: + - Generic NeutronNet 0 + - feature + genericneutronnet0.virtual_linkable: + - Generic NeutronNet 0 + - virtual_linkable + properties: + skip_post_instantiation_configuration: + - skip_post_instantiation_configuration + controller_actor: + - controller_actor + cds_model_version: + - cds_model_version + cds_model_name: + - cds_model_name + default_software_version: + - default_software_version diff --git a/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/base_ubuntu16.env b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/base_ubuntu16.env new file mode 100644 index 0000000000..b868a4b318 --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/base_ubuntu16.env @@ -0,0 +1,10 @@ +parameters: + admin_plane_net_name: "admin" + ubuntu16_flavor_name: "onap.small" + ubuntu16_image_name: "ubuntu-16.04-daily" + ubuntu16_key_name: "cleouverte" + ubuntu16_name_0: "ubuntu16" + ubuntu16_pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDY15cdBmIs2XOpe4EiFCsaY6bmUmK/GysMoLl4UG51JCfJwvwoWCoA+6mDIbymZxhxq9IGxilp/yTA6WQ9s/5pBag1cUMJmFuda9PjOkXl04jgqh5tR6I+GZ97AvCg93KAECis5ubSqw1xOCj4utfEUtPoF1OuzqM/lE5mY4N6VKXn+fT7pCD6cifBEs6JHhVNvs5OLLp/tO8Pa3kKYQOdyS0xc3rh+t2lrzvKUSWGZbX+dLiFiEpjsUL3tDqzkEMNUn4pdv69OJuzWHCxRWPfdrY9Wg0j3mJesP29EBht+w+EC9/kBKq+1VKdmsXUXAcjEvjovVL8l1BrX3BY0R8D imported-openssh-key" + vf_module_id: "Ubuntu16-VF-module" + vnf_id: "Ubuntu16-VNF" + vnf_name: "Ubuntu16-VNF-name" diff --git a/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/base_ubuntu16.yaml b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/base_ubuntu16.yaml new file mode 100644 index 0000000000..e89fd6f1b1 --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/base_ubuntu16.yaml @@ -0,0 +1,106 @@ +heat_template_version: 2013-05-23 + +description: Heat template to deploy a ubuntu16 VM + +parameters: + # Metadata required by ONAP + vnf_name: + type: string + label: VM name + description: The VM name + vnf_id: + type: string + label: VNF ID + description: The VNF ID is provided by ONAP + vf_module_id: + type: string + label: VF module ID + description: The VF Module ID is provided by ONAP + +# Server parameters, naming required by ONAP + ubuntu16_image_name: + type: string + label: Image name or ID + description: Image to be used for compute instance + ubuntu16_flavor_name: + type: string + label: Flavor + description: Type of instance (flavor) to be used + ubuntu16_key_name: + type: string + label: openSSH Key name + description: openSSH key name + ubuntu16_pub_key: + type: string + label: Public key + description: Public key to be installed on the compute instance + ubuntu16_name_0: + type: string + label: VM name + description: The VM name + +# Network parameters, naming required by ONAP + admin_plane_net_name: + type: string + label: management network + description: The external management network + +resources: + random-str: + type: OS::Heat::RandomString + properties: + length: 4 + + ubuntu16_instantiated_key_name: + type: OS::Nova::KeyPair + properties: + name: + str_replace: + template: base_rand + params: + base: { get_param: ubuntu16_key_name } + rand: { get_resource: random-str } + public_key: { get_param: ubuntu16_pub_key } + save_private_key: false + + ubuntu16_admin_security_group: + type: OS::Neutron::SecurityGroup + properties: + description: security group + name: ubuntu16_admin_security_group + rules: [ + {remote_ip_prefix: 0.0.0.0/0, protocol: tcp, port_range_min: 22, port_range_max: 22}, + {remote_ip_prefix: 0.0.0.0/0, protocol: icmp}] + + ubuntu16_0_admin_plane_port_0: + type: OS::Neutron::Port + properties: + name: + str_replace: + template: base_rand + params: + base: ubuntu16_0_admin_plane_port + rand: { get_resource: random-str } + network: { get_param: admin_plane_net_name } + security_groups: [{ get_resource: ubuntu16_admin_security_group }] + + ubuntu16_VM_settings: + type: OS::Heat::SoftwareConfig + properties: + config: | + #!/bin/bash + sudo apt-get update + + ubuntu16_server_0: + type: OS::Nova::Server + properties: + image: { get_param: ubuntu16_image_name } + flavor: { get_param: ubuntu16_flavor_name } + name: { get_param: ubuntu16_name_0 } + metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }, vnf_name: { get_param: vnf_name }} + key_name: { get_resource: ubuntu16_instantiated_key_name } + networks: + - port: { get_resource: ubuntu16_0_admin_plane_port_0 } + user_data_format: RAW + user_data: + get_resource: ubuntu16_VM_settings diff --git a/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-Ubuntu16test-csar.csar b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-Ubuntu16test-csar.csar Binary files differnew file mode 100644 index 0000000000..8e992e2e66 --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-Ubuntu16test-csar.csar diff --git a/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-Ubuntu16test-template.yml b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-Ubuntu16test-template.yml new file mode 100644 index 0000000000..65bc7252fa --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-Ubuntu16test-template.yml @@ -0,0 +1,429 @@ +tosca_definitions_version: tosca_simple_yaml_1_1 +metadata: + invariantUUID: 941b713e-4ba0-47c9-bfaf-611168cbf7d1 + UUID: ed0391da-b963-4c45-bf3a-b49cc7a94fab + name: ubuntu16test + description: service + type: Service + category: Network Service + serviceType: '' + serviceRole: '' + instantiationType: A-la-carte + serviceEcompNaming: 'true' + ecompGeneratedNaming: 'true' + namingPolicy: '' + environmentContext: General_Revenue-Bearing + serviceFunction: '' +imports: +- nodes: + file: nodes.yml +- datatypes: + file: data.yml +- capabilities: + file: capabilities.yml +- relationships: + file: relationships.yml +- groups: + file: groups.yml +- policies: + file: policies.yml +- annotations: + file: annotations.yml +- service-ubuntu16test-interface: + file: service-Ubuntu16test-template-interface.yml +- resource-ubuntu16test: + file: resource-Ubuntu16test-template.yml +- resource-ubuntu16test-interface: + file: resource-Ubuntu16test-template-interface.yml +- resource-SecurityRules: + file: resource-Securityrules-template.yml +topology_template: + inputs: + skip_post_instantiation_configuration: + default: true + type: boolean + required: false + controller_actor: + default: SO-REF-DATA + type: string + required: false + cds_model_version: + type: string + required: false + cds_model_name: + type: string + required: false + default_software_version: + type: string + required: false + node_templates: + ubuntu16test 0: + type: org.openecomp.resource.vf.Ubuntu16test + metadata: + invariantUUID: 72ce1922-0359-4079-a76e-f3f1b6cf8cc1 + UUID: e6afd1be-ee4f-439d-bd79-d559c626fd27 + customizationUUID: 1b2bf1c7-25a5-48df-bf30-7ae43508a5ea + version: '1.0' + name: ubuntu16test + description: VF + type: VF + category: Generic + subcategory: Abstract + resourceVendor: basicvm_vendor + resourceVendorRelease: '1.0' + resourceVendorModelNumber: '' + properties: + vf_module_id: Ubuntu16-VF-module + skip_post_instantiation_configuration: true + nf_naming: + ecomp_generated_naming: true + ubuntu16_flavor_name: onap.small + multi_stage_design: false + controller_actor: SO-REF-DATA + availability_zone_max_count: 1 + vnf_name: Ubuntu16-VNF-name + ubuntu16_name_0: ubuntu16 + ubuntu16_pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDY15cdBmIs2XOpe4EiFCsaY6bmUmK/GysMoLl4UG51JCfJwvwoWCoA+6mDIbymZxhxq9IGxilp/yTA6WQ9s/5pBag1cUMJmFuda9PjOkXl04jgqh5tR6I+GZ97AvCg93KAECis5ubSqw1xOCj4utfEUtPoF1OuzqM/lE5mY4N6VKXn+fT7pCD6cifBEs6JHhVNvs5OLLp/tO8Pa3kKYQOdyS0xc3rh+t2lrzvKUSWGZbX+dLiFiEpjsUL3tDqzkEMNUn4pdv69OJuzWHCxRWPfdrY9Wg0j3mJesP29EBht+w+EC9/kBKq+1VKdmsXUXAcjEvjovVL8l1BrX3BY0R8D imported-openssh-key + vnf_id: Ubuntu16-VNF + ubuntu16_image_name: ubuntu-16.04-daily + admin_plane_net_name: admin + ubuntu16_key_name: cleouverte + capabilities: + abstract_ubuntu16.cpu_util_ubuntu16: + properties: + name: cpu_util + abstract_ubuntu16.disk.device.read.bytes.rate_ubuntu16: + properties: + name: disk.device.read.bytes.rate + abstract_ubuntu16.endpoint_ubuntu16: + properties: + secure: true + abstract_ubuntu16.disk.ephemeral.size_ubuntu16: + properties: + name: disk.ephemeral.size + abstract_ubuntu16.network.incoming.packets_ubuntu16_ubuntu16_admin_plane_port_0: + properties: + name: network.incoming.packets + abstract_ubuntu16.disk.write.bytes_ubuntu16: + properties: + name: disk.write.bytes + abstract_ubuntu16.cpu.delta_ubuntu16: + properties: + name: cpu.delta + abstract_ubuntu16.network.incoming.bytes_ubuntu16_ubuntu16_admin_plane_port_0: + properties: + name: network.incoming.bytes + abstract_ubuntu16.network.outpoing.packets_ubuntu16_ubuntu16_admin_plane_port_0: + properties: + name: network.outpoing.packets + abstract_ubuntu16.disk.write.requests.rate_ubuntu16: + properties: + name: disk.write.requests.rate + abstract_ubuntu16.memory_ubuntu16: + properties: + name: memory + abstract_ubuntu16.network.incoming.bytes.rate_ubuntu16_ubuntu16_admin_plane_port_0: + properties: + name: network.incoming.bytes.rate + abstract_ubuntu16.disk.root.size_ubuntu16: + properties: + name: disk.root.size + abstract_ubuntu16.network.incoming.packets.rate_ubuntu16_ubuntu16_admin_plane_port_0: + properties: + name: network.incoming.packets.rate + abstract_ubuntu16.disk.device.usage_ubuntu16: + properties: + name: disk.device.usage + abstract_ubuntu16.disk.write.requests_ubuntu16: + properties: + name: disk.write.requests + abstract_ubuntu16.disk.device.read.bytes_ubuntu16: + properties: + name: disk.device.read.bytes + abstract_ubuntu16.vcpus_ubuntu16: + properties: + name: vcpus + abstract_ubuntu16.port_mirroring_ubuntu16_ubuntu16_admin_plane_port_0: + properties: + connection_point: + network_role: + get_input: port_ubuntu16_admin_plane_port_0_network_role + nfc_naming_code: ubuntu16 + abstract_ubuntu16.disk.read.bytes_ubuntu16: + properties: + name: disk.read.bytes + abstract_ubuntu16.disk.latency_ubuntu16: + properties: + name: disk.latency + abstract_ubuntu16.disk.device.read.requests.rate_ubuntu16: + properties: + name: disk.device.read.requests.rate + abstract_ubuntu16.scalable_ubuntu16: + properties: + min_instances: 1 + max_instances: 1 + abstract_ubuntu16.disk.device.write.requests.rate_ubuntu16: + properties: + name: disk.device.write.requests.rate + abstract_ubuntu16.disk.device.allocation_ubuntu16: + properties: + name: disk.device.allocation + abstract_ubuntu16.disk.device.write.bytes_ubuntu16: + properties: + name: disk.device.write.bytes + abstract_ubuntu16.disk.device.capacity_ubuntu16: + properties: + name: disk.device.capacity + abstract_ubuntu16.network.outgoing.bytes_ubuntu16_ubuntu16_admin_plane_port_0: + properties: + name: network.outgoing.bytes + abstract_ubuntu16.disk.device.latency_ubuntu16: + properties: + name: disk.device.latency + abstract_ubuntu16.disk.write.bytes.rate_ubuntu16: + properties: + name: disk.write.bytes.rate + abstract_ubuntu16.instance_ubuntu16: + properties: + name: instance + abstract_ubuntu16.disk.iops_ubuntu16: + properties: + name: disk.iops + abstract_ubuntu16.disk.capacity_ubuntu16: + properties: + name: disk.capacity + abstract_ubuntu16.memory.resident_ubuntu16: + properties: + name: memory.resident + abstract_ubuntu16.disk.allocation_ubuntu16: + properties: + name: disk.allocation + abstract_ubuntu16.network.outgoing.bytes.rate_ubuntu16_ubuntu16_admin_plane_port_0: + properties: + name: network.outgoing.bytes.rate + abstract_ubuntu16.disk.read.requests_ubuntu16: + properties: + name: disk.read.requests + abstract_ubuntu16.cpu_ubuntu16: + properties: + name: cpu + abstract_ubuntu16.disk.device.iops_ubuntu16: + properties: + name: disk.device.iops + abstract_ubuntu16.disk.device.read.requests_ubuntu16: + properties: + name: disk.device.read.requests + abstract_ubuntu16.memory.usage_ubuntu16: + properties: + name: memory.usage + abstract_ubuntu16.disk.usage_ubuntu16: + properties: + name: disk.usage + abstract_ubuntu16.disk.device.write.bytes.rate_ubuntu16: + properties: + name: disk.device.write.bytes.rate + abstract_ubuntu16.disk.read.bytes.rate_ubuntu16: + properties: + name: disk.read.bytes.rate + abstract_ubuntu16.network.outgoing.packets.rate_ubuntu16_ubuntu16_admin_plane_port_0: + properties: + name: network.outgoing.packets.rate + abstract_ubuntu16.disk.device.write.requests_ubuntu16: + properties: + name: disk.device.write.requests + groups: + ubuntu16test0..Ubuntu16test..base_ubuntu16..module-0: + type: org.openecomp.groups.VfModule + metadata: + vfModuleModelName: Ubuntu16test..base_ubuntu16..module-0 + vfModuleModelInvariantUUID: 28038eb1-cb06-45be-b7f4-dd6349f45a83 + vfModuleModelUUID: 1c71e637-0a79-4316-86f0-c24921798bfa + vfModuleModelVersion: '1' + vfModuleModelCustomizationUUID: 58832c82-4fd8-4248-9dbc-e006af9c1702 + properties: + min_vf_module_instances: 1 + vf_module_label: base_ubuntu16 + max_vf_module_instances: 1 + vf_module_type: Base + isBase: true + initial_count: 1 + volume_group: false + substitution_mappings: + node_type: org.openecomp.service.Ubuntu16test + capabilities: + ubuntu16test0.abstract_ubuntu16.network.incoming.bytes_ubuntu16_ubuntu16_admin_plane_port_0: + - ubuntu16test 0 + - abstract_ubuntu16.network.incoming.bytes_ubuntu16_ubuntu16_admin_plane_port_0 + ubuntu16test0.abstract_ubuntu16.scalable_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.scalable_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.device.write.bytes_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.device.write.bytes_ubuntu16 + ubuntu16test0.abstract_ubuntu16.vcpus_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.vcpus_ubuntu16 + ubuntu16test0.abstract_ubuntu16.feature_ubuntu16_ubuntu16_admin_plane_port_0: + - ubuntu16test 0 + - abstract_ubuntu16.feature_ubuntu16_ubuntu16_admin_plane_port_0 + ubuntu16test0.abstract_ubuntu16.disk.device.write.requests.rate_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.device.write.requests.rate_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.read.bytes.rate_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.read.bytes.rate_ubuntu16 + ubuntu16test0.abstract_ubuntu16.network.incoming.packets_ubuntu16_ubuntu16_admin_plane_port_0: + - ubuntu16test 0 + - abstract_ubuntu16.network.incoming.packets_ubuntu16_ubuntu16_admin_plane_port_0 + ubuntu16test0.abstract_ubuntu16.instance_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.instance_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.allocation_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.allocation_ubuntu16 + ubuntu16test0.abstract_ubuntu16.binding_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.binding_ubuntu16 + ubuntu16test0.abstract_ubuntu16.cpu_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.cpu_ubuntu16 + ubuntu16test0.abstract_ubuntu16.feature_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.feature_ubuntu16 + ubuntu16test0.abstract_ubuntu16.memory_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.memory_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.device.read.bytes_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.device.read.bytes_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.device.write.requests_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.device.write.requests_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.device.latency_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.device.latency_ubuntu16 + ubuntu16test0.abstract_ubuntu16.endpoint_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.endpoint_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.device.read.bytes.rate_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.device.read.bytes.rate_ubuntu16 + ubuntu16test0.abstract_ubuntu16.network.incoming.packets.rate_ubuntu16_ubuntu16_admin_plane_port_0: + - ubuntu16test 0 + - abstract_ubuntu16.network.incoming.packets.rate_ubuntu16_ubuntu16_admin_plane_port_0 + ubuntu16test0.abstract_ubuntu16.disk.write.requests_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.write.requests_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.root.size_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.root.size_ubuntu16 + ubuntu16test0.ubuntu16_admin_security_group.feature: + - ubuntu16test 0 + - ubuntu16_admin_security_group.feature + ubuntu16test0.abstract_ubuntu16.disk.device.usage_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.device.usage_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.latency_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.latency_ubuntu16 + ubuntu16test0.abstract_ubuntu16.cpu_util_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.cpu_util_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.read.bytes_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.read.bytes_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.write.requests.rate_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.write.requests.rate_ubuntu16 + ubuntu16test0.abstract_ubuntu16.memory.usage_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.memory.usage_ubuntu16 + ubuntu16test0.abstract_ubuntu16.host_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.host_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.ephemeral.size_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.ephemeral.size_ubuntu16 + ubuntu16test0.abstract_ubuntu16.memory.resident_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.memory.resident_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.device.read.requests_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.device.read.requests_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.device.allocation_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.device.allocation_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.read.requests_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.read.requests_ubuntu16 + ubuntu16test0.abstract_ubuntu16.network.outgoing.bytes_ubuntu16_ubuntu16_admin_plane_port_0: + - ubuntu16test 0 + - abstract_ubuntu16.network.outgoing.bytes_ubuntu16_ubuntu16_admin_plane_port_0 + ubuntu16test0.abstract_ubuntu16.disk.device.iops_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.device.iops_ubuntu16 + ubuntu16test0.abstract_ubuntu16.cpu.delta_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.cpu.delta_ubuntu16 + ubuntu16test0.abstract_ubuntu16.forwarder_ubuntu16_ubuntu16_admin_plane_port_0: + - ubuntu16test 0 + - abstract_ubuntu16.forwarder_ubuntu16_ubuntu16_admin_plane_port_0 + ubuntu16test0.abstract_ubuntu16.network.incoming.bytes.rate_ubuntu16_ubuntu16_admin_plane_port_0: + - ubuntu16test 0 + - abstract_ubuntu16.network.incoming.bytes.rate_ubuntu16_ubuntu16_admin_plane_port_0 + ubuntu16test0.abstract_ubuntu16.binding_ubuntu16_ubuntu16_admin_plane_port_0: + - ubuntu16test 0 + - abstract_ubuntu16.binding_ubuntu16_ubuntu16_admin_plane_port_0 + ubuntu16test0.abstract_ubuntu16.attachment_ubuntu16_ubuntu16_admin_plane_port_0: + - ubuntu16test 0 + - abstract_ubuntu16.attachment_ubuntu16_ubuntu16_admin_plane_port_0 + ubuntu16test0.abstract_ubuntu16.disk.capacity_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.capacity_ubuntu16 + ubuntu16test0.abstract_ubuntu16.network.outpoing.packets_ubuntu16_ubuntu16_admin_plane_port_0: + - ubuntu16test 0 + - abstract_ubuntu16.network.outpoing.packets_ubuntu16_ubuntu16_admin_plane_port_0 + ubuntu16test0.abstract_ubuntu16.disk.usage_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.usage_ubuntu16 + ubuntu16test0.abstract_ubuntu16.port_mirroring_ubuntu16_ubuntu16_admin_plane_port_0: + - ubuntu16test 0 + - abstract_ubuntu16.port_mirroring_ubuntu16_ubuntu16_admin_plane_port_0 + ubuntu16test0.abstract_ubuntu16.os_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.os_ubuntu16 + ubuntu16test0.abstract_ubuntu16.network.outgoing.packets.rate_ubuntu16_ubuntu16_admin_plane_port_0: + - ubuntu16test 0 + - abstract_ubuntu16.network.outgoing.packets.rate_ubuntu16_ubuntu16_admin_plane_port_0 + ubuntu16test0.abstract_ubuntu16.disk.write.bytes_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.write.bytes_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.device.write.bytes.rate_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.device.write.bytes.rate_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.write.bytes.rate_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.write.bytes.rate_ubuntu16 + ubuntu16test0.abstract_ubuntu16.network.outgoing.bytes.rate_ubuntu16_ubuntu16_admin_plane_port_0: + - ubuntu16test 0 + - abstract_ubuntu16.network.outgoing.bytes.rate_ubuntu16_ubuntu16_admin_plane_port_0 + ubuntu16test0.abstract_ubuntu16.disk.device.read.requests.rate_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.device.read.requests.rate_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.iops_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.iops_ubuntu16 + ubuntu16test0.abstract_ubuntu16.disk.device.capacity_ubuntu16: + - ubuntu16test 0 + - abstract_ubuntu16.disk.device.capacity_ubuntu16 + properties: + skip_post_instantiation_configuration: + - skip_post_instantiation_configuration + controller_actor: + - controller_actor + cds_model_version: + - cds_model_version + cds_model_name: + - cds_model_name + default_software_version: + - default_software_version diff --git a/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-ubuntu16test-notification.json b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-ubuntu16test-notification.json new file mode 100644 index 0000000000..8d0ac3e301 --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/service-ubuntu16test-notification.json @@ -0,0 +1,114 @@ +{ + "distributionID": "2d6c5aa8-b644-4f30-a632-5577801ef954", + "serviceName": "ubuntu16test", + "serviceVersion": "1.0", + "serviceUUID": "ed0391da-b963-4c45-bf3a-b49cc7a94fab", + "serviceDescription": "service", + "serviceInvariantUUID": "941b713e-4ba0-47c9-bfaf-611168cbf7d1", + "resources": [ + { + "resourceInstanceName": "ubuntu16test 0", + "resourceName": "Ubuntu16test", + "resourceVersion": "1.0", + "resoucreType": "VF", + "resourceUUID": "e6afd1be-ee4f-439d-bd79-d559c626fd27", + "resourceInvariantUUID": "72ce1922-0359-4079-a76e-f3f1b6cf8cc1", + "resourceCustomizationUUID": "1b2bf1c7-25a5-48df-bf30-7ae43508a5ea", + "category": "Generic", + "subcategory": "Abstract", + "artifacts": [ +{ + "artifactName": "ubuntu16test0_modules.json", + "artifactType": "VF_MODULES_METADATA", + "artifactURL": "/ubuntu16test0_modules.json", + "artifactChecksum": "MDJkYjNmNjEzM2Y1ZDgzNzZiZWUxMjZkMzA3YzkwZDI\u003d", + "artifactDescription": "Auto-generated VF Modules information artifact", + "artifactTimeout": 120, + "artifactUUID": "28038eb1-cb06-45be-b7f4-dd6349f45a83", + "artifactVersion": "1" + }, + + +{ + "artifactName": "base_ubuntu16.env", + "artifactType": "HEAT_ENV", + "artifactURL": "/base_ubuntu16.env", + "artifactChecksum": "YzI4MjlkODk4YzcyOTgzZTg2YjAyM2ZiNWU1N2FmMjI\u003d", + "artifactDescription": "Auto-generated HEAT Environment deployment artifact", + "artifactTimeout": 120, + "artifactUUID": "5821b043-ba50-49ef-b739-61b0896050f2", + "artifactVersion": "2", + "generatedFromUUID": "12dcc618-20f2-4f15-ab00-c549b96b3910" + }, + + { + "artifactName": "vendor-license-model.xml", + "artifactType": "VF_LICENSE", + "artifactURL": "/vendor-license-model.xml", + "artifactChecksum": "YjYyYWNiMzUxM2YzMWYxYWVhN2Y5MTM3N2E5YzNhNmU\u003d", + "artifactDescription": "VF license file", + "artifactTimeout": 120, + "artifactUUID": "5c29e823-7114-4988-824f-f670ba9d7b21", + "artifactVersion": "1" + }, + + { + "artifactName": "/base_ubuntu16.yaml", + "artifactType": "HEAT", + "artifactURL": "/base_ubuntu16.yaml", + "artifactChecksum": "NWU2NGUwNmNkMGEzYjAxMTAyODkzNTc5YzFmZDBmMzM\u003d", + "artifactDescription": "created from csar", + "artifactTimeout": 120, + "artifactUUID": "fdb0d678-10f5-4ff0-a1b4-36bc01a012d7", + "artifactVersion": "2" + }, + { + "artifactName": "vendor-license-model.xml", + "artifactType": "VENDOR_LICENSE", + "artifactURL": "/vendor-license-model.xml", + "artifactChecksum": "OTRkOTY3YjdjM2ZlNDM3NjNlZjBjODU4YTJmNGZhNGE\u003d", + "artifactDescription": " Vendor license file", + "artifactTimeout": 120, + "artifactUUID": "74c4d1bd-1779-421f-8c9d-774ac4567031", + "artifactVersion": "1" + }, + { + "artifactName": "base_ubuntu16.env", + "artifactType": "HEAT_ENV", + "artifactURL": "/base_ubuntu16.env", + "artifactChecksum": "OTRkOTY3YjdjM2ZlNDM3NjNlZjBjODU4YTJmNGZhNGE\u003d", + "artifactDescription": " Vendor license file", + "artifactTimeout": 120, + "artifactUUID": "9a3c7717-09b6-4a96-8a39-66beb2bb2b36", + "artifactVersion": "1" + } + + ] + } + + + ], + "serviceArtifacts": [ + { + "artifactName": "service-Ubuntu16test-template.ym", + "artifactType": "TOSCA_TEMPLATE", + "artifactURL": "/service-Ubuntu16test-template.ym", + "artifactChecksum": "NTUzMDU5YzM3MTk4OGNiNjQ2OGRlMWY2YjU3MjE2YjM\u003d", + "artifactDescription": "TOSCA representation of the asset", + "artifactTimeout": 0, + "artifactUUID": "2617d0ca-54f0-4222-b659-c12e292d94dd", + "artifactVersion": "1" + }, + { + "artifactName": "service-Ubuntu16test-csar.csar", + "artifactType": "TOSCA_CSAR", + "artifactURL": "/service-Ubuntu16test-csar.csar", + "artifactChecksum": "ZTRhOGI0M2UxN2ZhYjQ0ODI5ZDZhZTExZTFkMGU3N2Y\u003d", + "artifactDescription": "TOSCA definition package of the asset", + "artifactTimeout": 0, + "artifactUUID": "26a323ff-b97b-4b86-96b1-25a80c0876e5", + "artifactVersion": "1" + } + ], + "workloadContext": "Production" +} diff --git a/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/ubuntu16test0_modules.json b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/ubuntu16test0_modules.json new file mode 100644 index 0000000000..478df36881 --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/ubuntu16test0_modules.json @@ -0,0 +1,25 @@ +[ + { + "vfModuleModelName": "Ubuntu16test..base_ubuntu16..module-0", + "vfModuleModelInvariantUUID": "28038eb1-cb06-45be-b7f4-dd6349f45a83", + "vfModuleModelVersion": "1", + "vfModuleModelUUID": "1c71e637-0a79-4316-86f0-c24921798bfa", + "vfModuleModelCustomizationUUID": "58832c82-4fd8-4248-9dbc-e006af9c1702", + "isBase": true, + "artifacts": [ + "9a3c7717-09b6-4a96-8a39-66beb2bb2b36", + "fdb0d678-10f5-4ff0-a1b4-36bc01a012d7" + ], + "properties": { + "min_vf_module_instances": "1", + "vf_module_label": "base_ubuntu16", + "max_vf_module_instances": "1", + "vfc_list": "", + "vf_module_type": "Base", + "vf_module_description": "", + "initial_count": "1", + "volume_group": "false", + "availability_zone_count": "" + } + } +]
\ No newline at end of file diff --git a/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/vendor-license-model.xml b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/vendor-license-model.xml new file mode 100644 index 0000000000..11d2b958c9 --- /dev/null +++ b/asdc-controller/src/test/resources/resource-examples/service-ubuntu16test/vendor-license-model.xml @@ -0,0 +1 @@ +<vendor-license-model xmlns="http://xmlns.openecomp.org/asdc/license-model/1.0"><vendor-name>basicvm_vendor</vendor-name><entitlement-pool-list/><license-key-group-list/></vendor-license-model>
\ No newline at end of file diff --git a/asdc-controller/src/test/resources/resource-examples/vgw/ETSI_PACKAGE/VENDOR_LICENSE/vendor-license-model.xml b/asdc-controller/src/test/resources/resource-examples/vgw/ETSI_PACKAGE/VENDOR_LICENSE/vendor-license-model.xml deleted file mode 100644 index 6499a58fab..0000000000 --- a/asdc-controller/src/test/resources/resource-examples/vgw/ETSI_PACKAGE/VENDOR_LICENSE/vendor-license-model.xml +++ /dev/null @@ -1 +0,0 @@ -<vendor-license-model xmlns="http://xmlns.openecomp.org/asdc/license-model/1.0"><vendor-name>VLM</vendor-name><entitlement-pool-list><entitlement-pool><entitlement-pool-invariant-uuid>d6dea4a3db6b415ba50f17cb3311d046</entitlement-pool-invariant-uuid><entitlement-pool-uuid>04B01ABDE6CA4A9FBA75ACC023C6FEDA</entitlement-pool-uuid><version>1.0</version><name>EP</name><description/><increments/><manufacturer-reference-number>2345</manufacturer-reference-number><operational-scope><value/></operational-scope><start-date/><expiry-date/><threshold-value><unit/><value/></threshold-value><sp-limits/><vendor-limits/></entitlement-pool></entitlement-pool-list><license-key-group-list><license-key-group><version>1.0</version><name>LKG</name><description/><type>Unique</type><increments/><manufacturerReferenceNumber/><license-key-group-invariant-uuid>55ddeb1a87be4fbb95a9bd74b4d745ca</license-key-group-invariant-uuid><license-key-group-uuid>81117C9B092C4C70AFF76833373CE7F4</license-key-group-uuid><operational-scope><value/></operational-scope><start-date/><expiry-date/><threshold-value><unit>Absolute</unit><value>23456789</value></threshold-value><sp-limits/><vendor-limits/></license-key-group></license-key-group-list></vendor-license-model>
\ No newline at end of file diff --git a/asdc-controller/src/test/resources/resource-examples/vgw/ETSI_PACKAGE/VF_LICENSE/vf-license-model.xml b/asdc-controller/src/test/resources/resource-examples/vgw/ETSI_PACKAGE/VF_LICENSE/vf-license-model.xml deleted file mode 100644 index 581a3acb7f..0000000000 --- a/asdc-controller/src/test/resources/resource-examples/vgw/ETSI_PACKAGE/VF_LICENSE/vf-license-model.xml +++ /dev/null @@ -1 +0,0 @@ -<vf-license-model xmlns="http://xmlns.openecomp.org/asdc/license-model/1.0"><vendor-name>VLM</vendor-name><vf-id>fa87b9536b704787981357393f36b3fc</vf-id><feature-group-list><feature-group><entitlement-pool-list><entitlement-pool><name>EP</name><description/><increments/><entitlement-pool-invariant-uuid>d6dea4a3db6b415ba50f17cb3311d046</entitlement-pool-invariant-uuid><entitlement-pool-uuid>04B01ABDE6CA4A9FBA75ACC023C6FEDA</entitlement-pool-uuid><manufacturer-reference-number>2345</manufacturer-reference-number><operational-scope><value/></operational-scope><start-date/><expiry-date/><threshold-value><unit/><value/></threshold-value><version>1.0</version><sp-limits/><vendor-limits/></entitlement-pool></entitlement-pool-list><license-key-group-list><license-key-group><name>LKG</name><description/><type>Unique</type><increments/><license-key-group-invariant-uuid>55ddeb1a87be4fbb95a9bd74b4d745ca</license-key-group-invariant-uuid><license-key-group-uuid>81117C9B092C4C70AFF76833373CE7F4</license-key-group-uuid><manufacturer-reference-number/><operational-scope><value/></operational-scope><start-date/><expiry-date/><threshold-value><unit>Absolute</unit><value>23456789</value></threshold-value><version>1.0</version><sp-limits/><vendor-limits/></license-key-group></license-key-group-list><name>FG</name><feature-group-uuid>2218d90f94944a94952be83354847631</feature-group-uuid><description/><part-number>234594</part-number></feature-group></feature-group-list></vf-license-model>
\ No newline at end of file diff --git a/asdc-controller/src/test/resources/resource-examples/vgw/ETSI_PACKAGE/vgw6.csar b/asdc-controller/src/test/resources/resource-examples/vgw/ETSI_PACKAGE/vgw6.csar Binary files differdeleted file mode 100644 index 56dbb2bce0..0000000000 --- a/asdc-controller/src/test/resources/resource-examples/vgw/ETSI_PACKAGE/vgw6.csar +++ /dev/null diff --git a/asdc-controller/src/test/resources/resource-examples/vgw/SDC_RESOURCE_CSAR/vgw_sdc_resource.csar b/asdc-controller/src/test/resources/resource-examples/vgw/SDC_RESOURCE_CSAR/vgw_sdc_resource.csar Binary files differdeleted file mode 100644 index 9eb240d9a7..0000000000 --- a/asdc-controller/src/test/resources/resource-examples/vgw/SDC_RESOURCE_CSAR/vgw_sdc_resource.csar +++ /dev/null diff --git a/asdc-controller/src/test/resources/resource-examples/vgw/VENDOR_LICENSE/vendor-license-model.xml b/asdc-controller/src/test/resources/resource-examples/vgw/VENDOR_LICENSE/vendor-license-model.xml deleted file mode 100644 index 6499a58fab..0000000000 --- a/asdc-controller/src/test/resources/resource-examples/vgw/VENDOR_LICENSE/vendor-license-model.xml +++ /dev/null @@ -1 +0,0 @@ -<vendor-license-model xmlns="http://xmlns.openecomp.org/asdc/license-model/1.0"><vendor-name>VLM</vendor-name><entitlement-pool-list><entitlement-pool><entitlement-pool-invariant-uuid>d6dea4a3db6b415ba50f17cb3311d046</entitlement-pool-invariant-uuid><entitlement-pool-uuid>04B01ABDE6CA4A9FBA75ACC023C6FEDA</entitlement-pool-uuid><version>1.0</version><name>EP</name><description/><increments/><manufacturer-reference-number>2345</manufacturer-reference-number><operational-scope><value/></operational-scope><start-date/><expiry-date/><threshold-value><unit/><value/></threshold-value><sp-limits/><vendor-limits/></entitlement-pool></entitlement-pool-list><license-key-group-list><license-key-group><version>1.0</version><name>LKG</name><description/><type>Unique</type><increments/><manufacturerReferenceNumber/><license-key-group-invariant-uuid>55ddeb1a87be4fbb95a9bd74b4d745ca</license-key-group-invariant-uuid><license-key-group-uuid>81117C9B092C4C70AFF76833373CE7F4</license-key-group-uuid><operational-scope><value/></operational-scope><start-date/><expiry-date/><threshold-value><unit>Absolute</unit><value>23456789</value></threshold-value><sp-limits/><vendor-limits/></license-key-group></license-key-group-list></vendor-license-model>
\ No newline at end of file diff --git a/asdc-controller/src/test/resources/resource-examples/vgw/VF_LICENSE/vf-license-model.xml b/asdc-controller/src/test/resources/resource-examples/vgw/VF_LICENSE/vf-license-model.xml deleted file mode 100644 index 581a3acb7f..0000000000 --- a/asdc-controller/src/test/resources/resource-examples/vgw/VF_LICENSE/vf-license-model.xml +++ /dev/null @@ -1 +0,0 @@ -<vf-license-model xmlns="http://xmlns.openecomp.org/asdc/license-model/1.0"><vendor-name>VLM</vendor-name><vf-id>fa87b9536b704787981357393f36b3fc</vf-id><feature-group-list><feature-group><entitlement-pool-list><entitlement-pool><name>EP</name><description/><increments/><entitlement-pool-invariant-uuid>d6dea4a3db6b415ba50f17cb3311d046</entitlement-pool-invariant-uuid><entitlement-pool-uuid>04B01ABDE6CA4A9FBA75ACC023C6FEDA</entitlement-pool-uuid><manufacturer-reference-number>2345</manufacturer-reference-number><operational-scope><value/></operational-scope><start-date/><expiry-date/><threshold-value><unit/><value/></threshold-value><version>1.0</version><sp-limits/><vendor-limits/></entitlement-pool></entitlement-pool-list><license-key-group-list><license-key-group><name>LKG</name><description/><type>Unique</type><increments/><license-key-group-invariant-uuid>55ddeb1a87be4fbb95a9bd74b4d745ca</license-key-group-invariant-uuid><license-key-group-uuid>81117C9B092C4C70AFF76833373CE7F4</license-key-group-uuid><manufacturer-reference-number/><operational-scope><value/></operational-scope><start-date/><expiry-date/><threshold-value><unit>Absolute</unit><value>23456789</value></threshold-value><version>1.0</version><sp-limits/><vendor-limits/></license-key-group></license-key-group-list><name>FG</name><feature-group-uuid>2218d90f94944a94952be83354847631</feature-group-uuid><description/><part-number>234594</part-number></feature-group></feature-group-list></vf-license-model>
\ No newline at end of file diff --git a/asdc-controller/src/test/resources/resource-examples/vgw/dmaap-notification-message.json b/asdc-controller/src/test/resources/resource-examples/vgw/dmaap-notification-message.json deleted file mode 100644 index 8c42c9c3e9..0000000000 --- a/asdc-controller/src/test/resources/resource-examples/vgw/dmaap-notification-message.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "distributionID": "35f20eb9-238a-4cc2-96dc-0a08f71bc209", - "serviceName": "VgwServiceV1", - "serviceVersion": "1.0", - "serviceUUID": "e051ff77-fb79-451c-8457-1cbf94e4db8f", - "serviceDescription": "Test VGW Service", - "serviceInvariantUUID": "c2ce924f-0aa1-4777-9b42-c0fec006a883", - "resources": [ - { - "resourceInstanceName": "VgwVspV1 0", - "resourceName": "VgwVspV1", - "resourceVersion": "1.0", - "resourceType": "VF", - "resourceUUID": "655aa939-d589-4333-8cc6-8fcb15db858a", - "resourceInvariantUUID": "c53a0c91-35f6-40ff-bcda-f75030cfaf2d", - "resourceCustomizationUUID": "db1673e1-351a-4d04-8e2f-84b2b4c52cc7", - "category": "Generic", - "subcategory": "Network Service", - "artifacts": [ - { - "artifactName": "vf-license-model.xml", - "artifactType": "VF_LICENSE", - "artifactURL": "/VF_LICENSE/vf-license-model.xml", - "artifactChecksum": "NjMwZDc0YzhiNDRlZDAyYjIxMmFlM2M0MWRkZjFmNDA\u003d", - "artifactDescription": "VF license file", - "artifactTimeout": 120, - "artifactUUID": "8dda263d-90bb-4b3d-b8e0-0048222dc658", - "artifactVersion": "1" - }, - { - "artifactName": "vgw6.csar", - "artifactType": "ETSI_PACKAGE", - "artifactURL": "/ETSI_PACKAGE/vgw6.csar", - "artifactChecksum": "NjdmNGU3ZDlkODQ0YTUzMTU5NjZmOThiYjMxNTJiNGI\u003d", - "artifactDescription": "Artifact created from csar", - "artifactTimeout": 120, - "artifactUUID": "9e9930b8-898e-4b8b-999e-66c43e1611f4", - "artifactVersion": "1" - }, - { - "artifactName": "vendor-license-model.xml", - "artifactType": "VENDOR_LICENSE", - "artifactURL": "/VENDOR_LICENSE/vendor-license-model.xml", - "artifactChecksum": "NGNmNzU4MDhjN2FjMTJkNWIxMjNkZDZhOWQyYzU0ZjA\u003d", - "artifactDescription": " Vendor license file", - "artifactTimeout": 120, - "artifactUUID": "b3f7a4cf-6a35-4f66-b800-cd4a9a0e9719", - "artifactVersion": "1" - } - ] - } - ], - "serviceArtifacts": [ - { - "artifactName": "service-Vgwservicev1-csar.csar", - "artifactType": "TOSCA_CSAR", - "artifactURL": "/service-Vgwservicev1-csar.csar", - "artifactChecksum": "MzcxNTMwMDhmNGY0MjRkMjFkNzk1MDNjOTVhNjQzMmE\u003d", - "artifactDescription": "TOSCA definition package of the asset", - "artifactTimeout": 0, - "artifactUUID": "0cc70c6e-6ddc-4ecc-8052-d9f1433c14b8", - "artifactVersion": "1" - } - ], - "workloadContext": "Production" -} diff --git a/asdc-controller/src/test/resources/resource-examples/vgw/etsi-catalog-package-onboading-job-status-error-package-exists.json b/asdc-controller/src/test/resources/resource-examples/vgw/etsi-catalog-package-onboading-job-status-error-package-exists.json deleted file mode 100644 index 8dc07b9613..0000000000 --- a/asdc-controller/src/test/resources/resource-examples/vgw/etsi-catalog-package-onboading-job-status-error-package-exists.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "jobId": "57c13120-0a03-4d2e-837a-7c41d61e4a30", - "responseDescriptor": - { - "status": "error", - "progress": "255", - "statusDescription": "VNF package() already exists.", - "errorCode": "1", - "responseId": "2", - "responseHistoryList": [ - { - "status": "processing", - "progress": "5", - "statusDescription": "Start CSAR(8f0b72e1-b6d6-42b6-a808-c60b17f04d7a) distribute.", - "errorCode": "0", - "responseId": "1" - } - ] - } -} diff --git a/asdc-controller/src/test/resources/resource-examples/vgw/etsi-catalog-package-onboading-job-status-error.json b/asdc-controller/src/test/resources/resource-examples/vgw/etsi-catalog-package-onboading-job-status-error.json deleted file mode 100644 index 13f346fb7a..0000000000 --- a/asdc-controller/src/test/resources/resource-examples/vgw/etsi-catalog-package-onboading-job-status-error.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "jobId": "57c13120-0a03-4d2e-837a-7c41d61e4a30", - "responseDescriptor": - { - "status": "error", - "progress": "255", - "statusDescription": "Failed to query artifacts(resources) from sdc.", - "errorCode": "0", - "responseId": "2", - "responseHistoryList": [ - { - "status": "processing", - "progress": "5", - "statusDescription": "Start CSAR(8f0b72e1-b6d6-42b6-a808-c60b17f04d7a) distribute.", - "errorCode": "0", - "responseId": "1" - } - ] - } -} diff --git a/asdc-controller/src/test/resources/resource-examples/vgw/etsi-catalog-package-onboading-job-status-successful.json b/asdc-controller/src/test/resources/resource-examples/vgw/etsi-catalog-package-onboading-job-status-successful.json deleted file mode 100644 index b5dc1fe4f2..0000000000 --- a/asdc-controller/src/test/resources/resource-examples/vgw/etsi-catalog-package-onboading-job-status-successful.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "jobId": "57c13120-0a03-4d2e-837a-7c41d61e4a30", - "responseDescriptor": - { - "status": "finished", - "progress": "100", - "statusDescription": "CSAR(8f0b72e1-b6d6-42b6-a808-c60b17f04d7a) distribute successfully.", - "errorCode": "0", - "responseId": "3", - "responseHistoryList": [ - { - "status": "processing", - "progress": "30", - "statusDescription": "Save CSAR(8f0b72e1-b6d6-42b6-a808-c60b17f04d7a) to database.", - "errorCode": "0", - "responseId": "2" - }, - { - "status": "processing", - "progress": "5", - "statusDescription": "Start CSAR(8f0b72e1-b6d6-42b6-a808-c60b17f04d7a) distribute.", - "errorCode": "0", - "responseId": "1" - } - ] - } -} diff --git a/asdc-controller/src/test/resources/resource-examples/vgw/service-Vgwservicev1-csar.csar b/asdc-controller/src/test/resources/resource-examples/vgw/service-Vgwservicev1-csar.csar Binary files differdeleted file mode 100644 index eaed092b00..0000000000 --- a/asdc-controller/src/test/resources/resource-examples/vgw/service-Vgwservicev1-csar.csar +++ /dev/null diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetup.java b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetup.java index 4cd1d7dcb0..d971689f94 100644 --- a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetup.java +++ b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetup.java @@ -640,7 +640,8 @@ public class BBInputSetup implements JavaDelegate { parameter.getServiceModel().getCurrentService(), vnfModelCustomizationUUID); } } - if (vfModule.getModelInfoVfModule() != null && vfModule.getModelInfoVfModule().getModelName() != null + if (vfModule != null && vfModule.getModelInfoVfModule() != null + && vfModule.getModelInfoVfModule().getModelName() != null && vfModule.getModelInfoVfModule().getModelName().contains("helm")) { parameter.setIsHelm(true); } diff --git a/bpmn/mso-infrastructure-bpmn/pom.xml b/bpmn/mso-infrastructure-bpmn/pom.xml index b621853f2b..4f7ceca9b9 100644 --- a/bpmn/mso-infrastructure-bpmn/pom.xml +++ b/bpmn/mso-infrastructure-bpmn/pom.xml @@ -335,8 +335,11 @@ </dependency> <dependency> <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-cadi-client</artifactId> + </dependency> + <dependency> + <groupId>org.onap.aaf.authz</groupId> <artifactId>aaf-cadi-aaf</artifactId> - <version>${aaf.cadi.version}</version> <exclusions> <exclusion> <groupId>javax.servlet</groupId> @@ -348,5 +351,20 @@ </exclusion> </exclusions> </dependency> + <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-auth-client</artifactId> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-misc-env</artifactId> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-misc-rosetta</artifactId> + <scope>runtime</scope> + </dependency> </dependencies> </project> diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/ActivateSliceService.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/ActivateSliceService.groovy index 36d579c7ab..5c030a9f86 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/ActivateSliceService.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/ActivateSliceService.groovy @@ -20,9 +20,7 @@ package org.onap.so.bpmn.infrastructure.scripts -import static org.apache.commons.lang3.StringUtils.isBlank -import java.lang.reflect.Type -import javax.ws.rs.NotFoundException + import org.camunda.bpm.engine.delegate.BpmnError import org.camunda.bpm.engine.delegate.DelegateExecution import org.onap.aai.domain.yang.* @@ -32,9 +30,12 @@ import org.onap.aaiclient.client.aai.entities.uri.AAIPluralResourceUri import org.onap.aaiclient.client.aai.entities.uri.AAIResourceUri import org.onap.aaiclient.client.aai.entities.uri.AAIUriFactory import org.onap.aaiclient.client.generated.fluentbuilders.AAIFluentTypeBuilder -import org.onap.aaiclient.client.generated.fluentbuilders.AAIFluentTypeBuilder.Types import org.onap.logging.filter.base.ErrorCode -import org.onap.so.beans.nsmf.NSSI +import org.onap.so.beans.nsmf.CustomerInfo +import org.onap.so.beans.nsmf.NetworkType +import org.onap.so.beans.nsmf.NssInstance +import org.onap.so.beans.nsmf.OperationType +import org.onap.so.beans.nsmf.OrchestrationStatusEnum import org.onap.so.bpmn.common.scripts.AbstractServiceTaskProcessor import org.onap.so.bpmn.common.scripts.ExceptionUtil import org.onap.so.bpmn.common.scripts.MsoUtils @@ -46,8 +47,11 @@ import org.onap.so.logger.LoggingAnchor import org.onap.so.logger.MessageEnum import org.slf4j.Logger import org.slf4j.LoggerFactory -import com.google.gson.Gson -import com.google.gson.reflect.TypeToken + +import javax.ws.rs.NotFoundException +import java.util.function.Consumer + +import static org.apache.commons.lang3.StringUtils.isBlank /** * This groovy class supports the <class>ActivateSliceService.bpmn</class> process. @@ -66,6 +70,8 @@ class ActivateSliceService extends AbstractServiceTaskProcessor { RequestDBUtil requestDBUtil = new RequestDBUtil() + AAIResourcesClient client = getAAIClient() + private static final Logger logger = LoggerFactory.getLogger(ActivateSliceService.class) void preProcessRequest(DelegateExecution execution) { @@ -75,7 +81,7 @@ class ActivateSliceService extends AbstractServiceTaskProcessor { try { // check for incoming json message/input - String siRequest = execution.getVariable("bpmnRequest") + String siRequest = Objects.requireNonNull(execution.getVariable("bpmnRequest")) logger.debug(siRequest) String requestId = execution.getVariable("mso-request-id") @@ -109,13 +115,20 @@ class ActivateSliceService extends AbstractServiceTaskProcessor { } else { execution.setVariable("subscriptionServiceType", subscriptionServiceType) } - String operationId = jsonUtil.getJsonValue(siRequest, "operationId") + String operationId = Objects.requireNonNull(jsonUtil.getJsonValue(siRequest, "operationId")) execution.setVariable("operationId", operationId) - String operationType = execution.getVariable("operationType") - execution.setVariable("operationType", operationType.toUpperCase()) - + String operationType = Objects.requireNonNull(execution.getVariable("operationType")) logger.info("operationType is " + execution.getVariable("operationType") ) + + CustomerInfo customerInfo = CustomerInfo.builder().operationId(operationId) + .operationType(Objects.requireNonNull(OperationType.getOperationType(operationType))) + .globalSubscriberId(globalSubscriberId).serviceInstanceId(serviceInstanceId) + .subscriptionServiceType(subscriptionServiceType) + .build() + + execution.setVariable("customerInfo", customerInfo) + } catch (BpmnError e) { throw e } catch (Exception ex) { @@ -126,14 +139,58 @@ class ActivateSliceService extends AbstractServiceTaskProcessor { logger.debug(Prefix + "preProcessRequest Exit") } + /** + * Init the service Operation Status + */ + def prepareInitServiceOperationStatus = { DelegateExecution execution -> + logger.debug(Prefix + "prepareActivateServiceOperationStatus Start") + try { + CustomerInfo customerInfo = execution.getVariable("customerInfo") as CustomerInfo + String serviceId = customerInfo.getServiceInstanceId() + String operationId = customerInfo.getOperationId() + String operationType = customerInfo.getOperationType().getType() + String userId = customerInfo.getGlobalSubscriberId() + String result = "processing" + String progress = "0" + String reason = "" + String operationContent = "Prepare service activation" + + execution.setVariable("e2eserviceInstanceId", serviceId) + //execution.setVariable("operationType", operationType) + + OperationStatus initStatus = new OperationStatus() + initStatus.setServiceId(serviceId) + initStatus.setOperationId(operationId) + initStatus.setOperation(operationType) + initStatus.setUserId(userId) + initStatus.setResult(result) + initStatus.setProgress(progress) + initStatus.setReason(reason) + initStatus.setOperationContent(operationContent) + + requestDBUtil.prepareUpdateOperationStatus(execution, initStatus) + + } catch (Exception e) { + logger.error(LoggingAnchor.FIVE, MessageEnum.BPMN_GENERAL_EXCEPTION_ARG.toString(), + "Exception Occured Processing prepareInitServiceOperationStatus.", "BPMN", + ErrorCode.UnknownError.getValue(), "Exception is:\n" + e) + execution.setVariable("CVFMI_ErrorResponse", + "Error Occurred during prepareInitServiceOperationStatus Method:\n" + e.getMessage()) + } + logger.debug(Prefix + "prepareInitServiceOperationStatus Exit") + } + def sendSyncResponse = { DelegateExecution execution -> logger.debug(Prefix + "sendSyncResponse Start") try { - String operationId = execution.getVariable("operationId") + CustomerInfo customerInfo = execution.getVariable("customerInfo") as CustomerInfo + String operationId = customerInfo.getOperationId() + // RESTResponse for API Handler (APIH) Reply Task String Activate5GsliceServiceRestRequest = """{"operationId":"${operationId}"}""".trim() logger.debug(" sendSyncResponse to APIH:" + "\n" + Activate5GsliceServiceRestRequest) + sendWorkflowResponse(execution, 202, Activate5GsliceServiceRestRequest) execution.setVariable("sentSyncResponse", true) } catch (Exception ex) { @@ -171,410 +228,289 @@ class ActivateSliceService extends AbstractServiceTaskProcessor { logger.debug(Prefix + "sendSyncError Exit") } + def checkAAIOrchStatusOfE2ESlice = { DelegateExecution execution -> + logger.debug(Prefix + "CheckAAIOrchStatus Start") + execution.setVariable("isContinue", "false") + CustomerInfo customerInfo = execution.getVariable("customerInfo") as CustomerInfo + String msg + String serviceInstanceId = customerInfo.serviceInstanceId + String globalSubscriberId = customerInfo.globalSubscriberId + String subscriptionServiceType = customerInfo.subscriptionServiceType - def prepareCompletionRequest = { DelegateExecution execution -> - logger.debug(Prefix + "prepareCompletionRequest Start") - String serviceId = execution.getVariable("serviceInstanceId") - String operationId = execution.getVariable("operationId") - String userId = execution.getVariable("globalSubscriberId") - //String result = execution.getVariable("result") - String result = "finished" - String progress = "100" - String reason = "" - String operationContent = execution.getVariable("operationContent") - String operationType = execution.getVariable("operationType") - - OperationStatus initStatus = new OperationStatus() - initStatus.setServiceId(serviceId) - initStatus.setOperationId(operationId) - initStatus.setOperation(operationType) - initStatus.setUserId(userId) - initStatus.setResult(result) - initStatus.setProgress(progress) - initStatus.setReason(reason) - initStatus.setOperationContent(operationContent) - - requestDBUtil.prepareUpdateOperationStatus(execution, initStatus) - - logger.debug(Prefix + "prepareCompletionRequest Exit") - } - + logger.debug("serviceInstanceId: " + serviceInstanceId) - /** - * Init the service Operation Status - */ - def prepareInitServiceOperationStatus = { DelegateExecution execution -> - logger.debug(Prefix + "prepareActivateServiceOperationStatus Start") + //check the e2e slice status try { - String serviceId = execution.getVariable("serviceInstanceId") - String operationId = execution.getVariable("operationId") - String operationType = execution.getVariable("operationType") - String userId = execution.getVariable("globalSubscriberId") - String result = "processing" - String progress = "0" - String reason = "" - String operationContent = "Prepare service activation" - - execution.setVariable("e2eserviceInstanceId", serviceId) - execution.setVariable("operationType", operationType) + AAIResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business() + .customer(globalSubscriberId) + .serviceSubscription(subscriptionServiceType) + .serviceInstance(serviceInstanceId)) - OperationStatus initStatus = new OperationStatus() - initStatus.setServiceId(serviceId) - initStatus.setOperationId(operationId) - initStatus.setOperation(operationType) - initStatus.setUserId(userId) - initStatus.setResult(result) - initStatus.setProgress(progress) - initStatus.setReason(reason) - initStatus.setOperationContent(operationContent) + AAIResultWrapper wrapper = client.get(uri, NotFoundException.class) + Optional<ServiceInstance> si = wrapper.asBean(ServiceInstance.class) + ServiceInstance serviceInstance = si.orElseThrow() - requestDBUtil.prepareUpdateOperationStatus(execution, initStatus) + boolean isContinue = handleOperation(customerInfo, serviceInstance) + execution.setVariable("isContinue", isContinue) + customerInfo.setSnssai(serviceInstance.getEnvironmentContext()) - } catch (Exception e) { - logger.error(LoggingAnchor.FIVE, MessageEnum.BPMN_GENERAL_EXCEPTION_ARG.toString(), - "Exception Occured Processing prepareInitServiceOperationStatus.", "BPMN", - ErrorCode.UnknownError.getValue(), "Exception is:\n" + e) - execution.setVariable("CVFMI_ErrorResponse", - "Error Occurred during prepareInitServiceOperationStatus Method:\n" + e.getMessage()) + execution.setVariable("customerInfo", customerInfo) + execution.setVariable("ssInstance", serviceInstance) + execution.setVariable("ssiUri", uri) + } catch (BpmnError e) { + throw e + } catch (Exception ex) { + execution.setVariable("isContinue", "false") + msg = "Exception in org.onap.so.bpmn.common.scripts.CompleteMsoProcess.CheckAAIOrchStatus, " + + "Requested e2eservice does not exist: " + ex.getMessage() + logger.info(msg) + exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) } - logger.debug(Prefix + "prepareInitServiceOperationStatus Exit") - } + logger.debug(Prefix + "CheckAAIOrchStatus Exit") + } - private getSNSSIStatusByNsi = { DelegateExecution execution, String NSIServiceId -> + static boolean handleOperation(CustomerInfo customerInfo, ServiceInstance serviceInstance) { + OperationType operationType = customerInfo.operationType + OrchestrationStatusEnum status = OrchestrationStatusEnum.getStatus(Objects.requireNonNull( + serviceInstance.getOrchestrationStatus())) - logger.debug(Prefix + "getSNSSIStatusByNsi Start") - String globalSubscriberId = execution.getVariable("globalSubscriberId") - String subscriptionServiceType = execution.getVariable("subscriptionServiceType") + return ((OrchestrationStatusEnum.ACTIVATED == status && OperationType.DEACTIVATE == operationType) + || (OrchestrationStatusEnum.DEACTIVATED == status && OperationType.ACTIVATE == operationType)) + } - AAIResourcesClient client = new AAIResourcesClient() - AAIResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business().customer(globalSubscriberId).serviceSubscription(subscriptionServiceType).serviceInstance(NSIServiceId)) - if (!client.exists(uri)) { - exceptionUtil.buildAndThrowWorkflowException(execution, 2500, "Service Instance was not found in aai") - } - AAIResultWrapper wrapper = client.get(uri, NotFoundException.class) - Optional<ServiceInstance> si = wrapper.asBean(ServiceInstance.class) - if (si.isPresent()) { + void checkAAIOrchStatusOfAllocates(DelegateExecution execution) { + logger.debug(Prefix + "CheckAAIOrchStatus Start") + CustomerInfo customerInfo = execution.getVariable("customerInfo") as CustomerInfo + String msg + String serviceInstanceId = customerInfo.serviceInstanceId + String globalSubscriberId = customerInfo.globalSubscriberId + String subscriptionServiceType = customerInfo.subscriptionServiceType - List<Relationship> relatedList = si.get().getRelationshipList().getRelationship() - for (Relationship relationship : relatedList) { - String relatedTo = relationship.getRelatedTo() - if (relatedTo.toLowerCase() == "allotted-resource") { - //get snssi from allotted resource in list by nsi - List<String> SNSSIList = new ArrayList<>() - List<RelationshipData> relationshipDataList = relationship.getRelationshipData() - for (RelationshipData relationshipData : relationshipDataList) { - if (relationshipData.getRelationshipKey() == "service-instance.service-instance-id") { - SNSSIList.add(relationshipData.getRelationshipValue()) - } - } - for (String snssi : SNSSIList) { - AAIResourcesClient client01 = new AAIResourcesClient() - AAIResourceUri uri01 = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business().customer(globalSubscriberId).serviceSubscription(subscriptionServiceType).serviceInstance(snssi)) - if (!client.exists(uri01)) { - exceptionUtil.buildAndThrowWorkflowException(execution, 2500, - "Service Instance was not found in aai") - } - AAIResultWrapper wrapper01 = client01.get(uri01, NotFoundException.class) - Optional<ServiceInstance> nssiSi = wrapper01.asBean(ServiceInstance.class) - if (nssiSi.isPresent()) { - return nssiSi.get().getOrchestrationStatus() == "deactivated" - } - } + logger.debug("serviceInstanceId: " + serviceInstanceId) - } - } + //check the NSI is exist or the status of NSI is active or de-active + try { - } - logger.debug(Prefix + "getSNSSIStatusByNsi Exit") - } + //get the allotted-resources by e2e slice id + AAIPluralResourceUri uriAllotted = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business() + .customer(globalSubscriberId) + .serviceSubscription(subscriptionServiceType) + .serviceInstance(serviceInstanceId) + .allottedResources() + ) + AAIResultWrapper wrapperAllotted = client.get(uriAllotted, NotFoundException.class) + Optional<AllottedResources> allAllotted = wrapperAllotted.asBean(AllottedResources.class) - def updateStatusSNSSAIandNSIandNSSI = { DelegateExecution execution -> - logger.debug(Prefix + "updateStatusSNSSAIandNSIandNSSI Start") - logger.debug(" ***** update SNSSAI NSI NSSI slicing ***** ") - String e2eserviceInstanceId = execution.getVariable("e2eserviceInstanceId") - String NSIserviceInstanceId = execution.getVariable("NSIserviceid") - - String globalCustId = execution.getVariable("globalSubscriberId") - String serviceType = execution.getVariable("serviceType") - String operationType = execution.getVariable("operationType") - - String nssiMap = execution.getVariable("nssiMap") - Type type = new TypeToken<HashMap<String, NSSI>>() {}.getType() - Map<String, NSSI> activateNssiMap = new Gson().fromJson(nssiMap, type) - //update tn/cn/an nssi - for (Map.Entry<String, NSSI> entry : activateNssiMap.entrySet()) { - NSSI nssi = entry.getValue() - String nssiid = nssi.getNssiId() - updateStratus(execution, globalCustId, serviceType, nssiid, operationType) - } - if (operationType.equalsIgnoreCase("activation")) { - //update the s-nssai - updateStratus(execution, globalCustId, serviceType, e2eserviceInstanceId, operationType) - //update the nsi - updateStratus(execution, globalCustId, serviceType, NSIserviceInstanceId, operationType) - } else { - //update the s-nssai - updateStratus(execution, globalCustId, serviceType, e2eserviceInstanceId, operationType) - boolean flag = getSNSSIStatusByNsi(execution, NSIserviceInstanceId) - if (flag) { - //update the nsi - updateStratus(execution, globalCustId, serviceType, NSIserviceInstanceId, operationType) - } else { - logger.error("Service's status update failed") - String msg = "Service's status update failed" - exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) + AllottedResources allottedResources = allAllotted.get() + List<AllottedResource> AllottedResourceList = allottedResources.getAllottedResource() + if (AllottedResourceList.isEmpty()) { + execution.setVariable("isContinue", "false") + exceptionUtil.buildAndThrowWorkflowException(execution, 2500, + "allottedResources in aai is empty") } + AllottedResource ar = AllottedResourceList.first() + String relatedLink = ar.getRelationshipList().getRelationship().first().getRelatedLink() + String nsiServiceId = relatedLink.substring(relatedLink.lastIndexOf("/") + 1, relatedLink.length()) + customerInfo.setNsiId(nsiServiceId) + execution.setVariable("customerInfo", customerInfo) + logger.info("the NSI ID is:" + nsiServiceId) + } catch (BpmnError e) { + throw e + } catch (Exception ex) { + logger.info("NSI Service doesnt exist") + execution.setVariable("isContinue", "false") + msg = "Exception in org.onap.so.bpmn.common.scripts.CompleteMsoProcess.CheckAAIOrchStatus " + ex.getMessage() + logger.info(msg) + exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) } - logger.debug(Prefix + "updateStatusSNSSAIandNSIandNSSI Exit") + logger.debug(Prefix + "CheckAAIOrchStatus Exit") } + void checkAAIOrchStatusOfNSI(DelegateExecution execution) { - def updateStratus = { DelegateExecution execution, String globalCustId, - String serviceType, String serviceId, String operationType -> - logger.debug(Prefix + "updateStratus Start") + logger.debug(Prefix + "CheckAAIOrchStatus Start") + CustomerInfo customerInfo = execution.getVariable("customerInfo") as CustomerInfo + String msg = "" + String globalSubscriberId = customerInfo.globalSubscriberId + String subscriptionServiceType = customerInfo.subscriptionServiceType + String nsiServiceId = customerInfo.getNsiId() + + logger.debug("network slice instance id: " + nsiServiceId) + //check the NSI is exist or the status of NSI is active or de-active try { - AAIResourcesClient client = new AAIResourcesClient() - AAIResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business().customer(globalCustId).serviceSubscription(serviceType).serviceInstance(serviceId)) - if (!client.exists(uri)) { - exceptionUtil.buildAndThrowWorkflowException(execution, 2500, "Service Instance was not found in aai") - } + //Query nsi by nsi id + + //get the NSI id by e2e slice id + AAIResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business() + .customer(globalSubscriberId) + .serviceSubscription(subscriptionServiceType) + .serviceInstance(nsiServiceId)) + AAIResultWrapper wrapper = client.get(uri, NotFoundException.class) Optional<ServiceInstance> si = wrapper.asBean(ServiceInstance.class) - if (si.isPresent()) { - if (operationType.equalsIgnoreCase("activation")) { - if (si.get().getOrchestrationStatus() == "deactivated") { - si.get().setOrchestrationStatus("activated") - client.update(uri, si.get()) - } - } else { - if (si.get().getOrchestrationStatus() == "activated") { - si.get().setOrchestrationStatus("deactivated") - client.update(uri, si.get()) - } - } - + ServiceInstance nsInstance = si.get() + if (!"nsi".equalsIgnoreCase(nsInstance.getServiceRole().toLowerCase())) { + logger.info("the service id" + nsInstance.getServiceInstanceId() + "is " + + nsInstance.getServiceRole()) + exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) } - } catch (Exception e) { - logger.info("Service is already in active state") - String msg = "Service is already in active state, " + e.getMessage() + execution.setVariable("nsInstance", nsInstance) + execution.setVariable("nsiUri", uri) + boolean isContinue = handleOperation(customerInfo, nsInstance) + execution.setVariable("isContinue", isContinue) + + } catch (BpmnError e) { + throw e + } catch (Exception ex) { + logger.info("NSI Service doesnt exist") + execution.setVariable("isActivate", "false") + execution.setVariable("isContinue", "false") + msg = "Exception in org.onap.so.bpmn.common.scripts.CompleteMsoProcess.CheckAAIOrchStatus " + ex.getMessage() + logger.info(msg) exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) } - - logger.debug(Prefix + "updateStratus Exit") + logger.debug(Prefix + "CheckAAIOrchStatus Exit") } - - def prepareActivation = { DelegateExecution execution -> + void prepareActivation(DelegateExecution execution) { logger.debug(Prefix + "prepareActivation Start") - logger.debug(" ***** prepare active NSI/AN/CN/TN slice ***** ") - String NSIserviceInstanceId = execution.getVariable("NSIserviceid") - - String globalSubscriberId = execution.getVariable("globalSubscriberId") - String subscriptionServiceType = execution.getVariable("subscriptionServiceType") - - Map<String, NSSI> nssiMap = new HashMap<>() + CustomerInfo customerInfo = execution.getVariable("customerInfo") as CustomerInfo + String globalSubscriberId = customerInfo.globalSubscriberId + String subscriptionServiceType = customerInfo.subscriptionServiceType - List<String> activationSequence = new ArrayList<>(Arrays.asList("an", "tn", "cn")) - - def activationCount = activationSequence.size() - - execution.setVariable("activationIndex", "0") + logger.debug(" ***** prepare active NSI/AN/CN/TN slice ***** ") - execution.setVariable("activationCount", activationCount) + Queue<NssInstance> nssInstances = new LinkedList<>() + ServiceInstance nsInstance = + execution.getVariable("nsInstance") as ServiceInstance try { //get the TN NSSI id by NSI id, active NSSI TN slicing - AAIResourcesClient client = new AAIResourcesClient() - AAIResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business().customer(globalSubscriberId).serviceSubscription(subscriptionServiceType).serviceInstance(NSIserviceInstanceId)) - if (!client.exists(uri)) { - exceptionUtil.buildAndThrowWorkflowException(execution, 2500, "Service Instance was not found in aai") - } - AAIResultWrapper wrapper = client.get(uri, NotFoundException.class) - Optional<ServiceInstance> si = wrapper.asBean(ServiceInstance.class) - if (si.isPresent()) { - - List<Relationship> relatedList = si.get().getRelationshipList().getRelationship() - for (Relationship relationship : relatedList) { - String relatedTo = relationship.getRelatedTo() - if (relatedTo.toLowerCase() == "service-instance") { - String relatioshipurl = relationship.getRelatedLink() - String nssiserviceid = - relatioshipurl.substring(relatioshipurl.lastIndexOf("/") + 1, relatioshipurl.length()) - - AAIResourcesClient client01 = new AAIResourcesClient() - AAIResourceUri uri01 = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business().customer(globalSubscriberId).serviceSubscription(subscriptionServiceType).serviceInstance(nssiserviceid)) - if (!client.exists(uri01)) { - exceptionUtil.buildAndThrowWorkflowException(execution, 2500, - "Service Instance was not found in aai") - } - AAIResultWrapper wrapper01 = client01.get(uri01, NotFoundException.class) - Optional<ServiceInstance> nssiSi = wrapper01.asBean(ServiceInstance.class) - if (nssiSi.isPresent()) { - if (nssiSi.get().getEnvironmentContext().toLowerCase().contains("an") - || nssiSi.get().getEnvironmentContext().toLowerCase().contains("cn") - || nssiSi.get().getEnvironmentContext().toLowerCase().contains("tn")) { - nssiMap.put(nssiSi.get().getEnvironmentContext(), - new NSSI(nssiSi.get().getServiceInstanceId(), - nssiSi.get().getModelInvariantId(), nssiSi.get().getModelVersionId())) - } - } - } + List<Relationship> relatedList = nsInstance.getRelationshipList().getRelationship() + for (Relationship relationship : relatedList) { + String relatedTo = relationship.getRelatedTo() + if (!"service-instance".equalsIgnoreCase(relatedTo)) { + continue } - - + String relatioshipurl = relationship.getRelatedLink() + String nssiserviceid = relatioshipurl.substring(relatioshipurl.lastIndexOf("/") + 1, + relatioshipurl.length()) + + AAIResourceUri nsiUri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business() + .customer(globalSubscriberId) + .serviceSubscription(subscriptionServiceType) + .serviceInstance(nssiserviceid)) + if (!client.exists(nsiUri)) { + exceptionUtil.buildAndThrowWorkflowException(execution, 2500, + "Service Instance was not found in aai") + } + AAIResultWrapper wrapper01 = client.get(nsiUri, NotFoundException.class) + Optional<ServiceInstance> nssiSi = wrapper01.asBean(ServiceInstance.class) + nssiSi.ifPresent(new Consumer<ServiceInstance>() { + @Override + void accept(ServiceInstance instance) { + String env = Objects.requireNonNull(instance.getEnvironmentContext()) + NssInstance nssi = NssInstance.builder().nssiId(instance.getServiceInstanceId()) + .modelInvariantId(instance.getModelInvariantId()) + .modelVersionId(instance.getModelVersionId()) + .networkType(NetworkType.fromString(env)) + .operationType(customerInfo.operationType) + .snssai(customerInfo.snssai) + .serviceType(instance.getServiceType()) + .build() + nssInstances.offer(nssi) + } + }) } + execution.setVariable("nssInstances", nssInstances) + execution.setVariable("nssInstanceInfos", nssInstances) } catch (Exception e) { String msg = "Requested service does not exist:" + e.getMessage() logger.info("Service doesnt exist") exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) } - if (nssiMap.size() > 0) { - execution.setVariable("isNSSIActivate", "true") - String nssiMap01 = mapToJsonStr(nssiMap) - execution.setVariable("nssiMap", nssiMap01) - execution.setVariable("operation_type", "activate") - execution.setVariable("activationCount", nssiMap.size()) - logger.info("the nssiMap01 is :" + nssiMap01) - } else { - execution.setVariable("isNSSIActivate", "false") - } - logger.debug(Prefix + "prepareActivation Exit") } - - private mapToJsonStr = { HashMap<String, NSSI> stringNSSIHashMap -> - HashMap<String, NSSI> map = new HashMap<String, NSSI>() - for (Map.Entry<String, NSSI> child : stringNSSIHashMap.entrySet()) { - map.put(child.getKey(), child.getValue()) + void isOperationFinished(DelegateExecution execution) { + Queue<NssInstance> nssInstances = execution.getVariable("nssInstances") as Queue<NssInstance> + if (nssInstances.isEmpty()) { + execution.setVariable("isOperationFinished", "true") } - return new Gson().toJson(map) } + def updateStatusSNSSAIandNSIandNSSI = { DelegateExecution execution -> + logger.debug(Prefix + "updateStatusSNSSAIandNSIandNSSI Start") + logger.debug(" ***** update SNSSAI NSI NSSI slicing ***** ") + ServiceInstance ssInstance = execution.getVariable("ssInstance") as ServiceInstance + AAIResourceUri ssUri = execution.getVariable("ssiUri") as AAIResourceUri - def checkAAIOrchStatusofslice = { DelegateExecution execution -> - logger.debug(Prefix + "CheckAAIOrchStatus Start") + CustomerInfo customerInfo = execution.getVariable("customerInfo") as CustomerInfo + OperationType operationType = customerInfo.operationType - String msg = "" - String serviceInstanceId = execution.getVariable("serviceInstanceId") - String globalSubscriberId = execution.getVariable("globalSubscriberId") - String subscriptionServiceType = execution.getVariable("subscriptionServiceType") - String operationType = execution.getVariable("operationType") + updateStratus(execution, ssInstance, operationType, ssUri) + //update the nsi + ServiceInstance nsInstance = execution.getVariable("nsInstance") as ServiceInstance + AAIResourceUri nsiUri = execution.getVariable("nsiUri") as AAIResourceUri - logger.debug("serviceInstanceId: " + serviceInstanceId) + updateStratus(execution, nsInstance, operationType, nsiUri) - //check the e2e slice status - try { - try { - AAIResourcesClient client = new AAIResourcesClient() - AAIResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business().customer(globalSubscriberId).serviceSubscription(subscriptionServiceType).serviceInstance(serviceInstanceId)) - if (!client.exists(uri)) { - exceptionUtil.buildAndThrowWorkflowException(execution, 2500, - "Service Instance was not found in aai") - } - AAIResultWrapper wrapper = client.get(uri, NotFoundException.class) - Optional<ServiceInstance> si = wrapper.asBean(ServiceInstance.class) - if (si.isPresent()) { - if (si.get().getOrchestrationStatus().toLowerCase() == "activated" && - operationType.equalsIgnoreCase("deactivation")) { - logger.info("Service is in active state") - execution.setVariable("e2eservicestatus", "activated") - execution.setVariable("isContinue", "true") - String snssai = si.get().getEnvironmentContext() - execution.setVariable("snssai", snssai) - } else if (si.get().getOrchestrationStatus().toLowerCase() == "deactivated" && - operationType.equalsIgnoreCase("activation")) { - logger.info("Service is in de-activated state") - execution.setVariable("e2eservicestatus", "deactivated") - execution.setVariable("isContinue", "true") - String snssai = si.get().getEnvironmentContext() - execution.setVariable("snssai", snssai) - } else { - execution.setVariable("isContinue", "false") - } - } - } catch (Exception e) { - msg = "Requested e2eservice does not exist" - logger.info("e2eservice doesnt exist") - execution.setVariable("isContinue", "false") - exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) - } - //check the NSI is exist or the status of NSI is active or de-active - try { + logger.debug(Prefix + "updateStatusSNSSAIandNSIandNSSI Exit") + } - //get the allotted-resources by e2e slice id - AAIResourcesClient client_allotted = new AAIResourcesClient() - AAIPluralResourceUri uri_allotted = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business().customer(globalSubscriberId).serviceSubscription(subscriptionServiceType).serviceInstance(serviceInstanceId).allottedResources() - ) - if (!client_allotted.exists(uri_allotted)) { - exceptionUtil.buildAndThrowWorkflowException(execution, 2500, "Service Instance was not found in aai") - } - AAIResultWrapper wrapper_allotted = client_allotted.get(uri_allotted, NotFoundException.class) - Optional<AllottedResources> all_allotted = wrapper_allotted.asBean(AllottedResources.class) - - if (all_allotted.isPresent() && all_allotted.get().getAllottedResource()) { - List<AllottedResource> AllottedResourceList = all_allotted.get().getAllottedResource() - AllottedResource ar = AllottedResourceList.first() - String relatedLink = ar.getRelationshipList().getRelationship().first().getRelatedLink() - String nsiserviceid = relatedLink.substring(relatedLink.lastIndexOf("/") + 1, relatedLink.length()) - execution.setVariable("NSIserviceid", nsiserviceid) - logger.info("the NSI ID is:" + nsiserviceid) - - //Query nsi by nsi id - try { - //get the NSI id by e2e slice id - AAIResourcesClient client = new AAIResourcesClient() - AAIResourceUri uri = AAIUriFactory.createResourceUri(AAIFluentTypeBuilder.business().customer(globalSubscriberId).serviceSubscription(subscriptionServiceType).serviceInstance(nsiserviceid)) - if (!client.exists(uri)) { - exceptionUtil.buildAndThrowWorkflowException(execution, 2500, - "Service Instance was not found in aai") - } - AAIResultWrapper wrapper = client.get(uri, NotFoundException.class) - Optional<ServiceInstance> si = wrapper.asBean(ServiceInstance.class) - - if (si.isPresent()) { - if (si.get().getServiceRole().toLowerCase() == "nsi") { - if (si.get().getOrchestrationStatus() == "activated") { - logger.info("NSI services is in activated state") - execution.setVariable("NSIservicestatus", "activated") - } else { - logger.info("NSI services is in deactivated state") - execution.setVariable("NSIservicestatus", "deactivated") - } - } else { - logger.info("the service id" + si.get().getServiceInstanceId() + "is " + - si.get().getServiceRole()) - exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) - } - } - } catch (Exception e) { - msg = "Requested NSI service does not exist:" + e.getMessage() - logger.info("NSI service doesnt exist") - execution.setVariable("isContinue", "false") - exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) - } - } - } catch (Exception e) { - msg = "Requested service does not exist: " + e.getMessage() - logger.info("NSI Service doesnt exist") - execution.setVariable("isActivate", "false") - exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) + void updateStratus(DelegateExecution execution, ServiceInstance serviceInstance, + OperationType operationType, AAIResourceUri uri) { + + logger.debug(Prefix + "updateStratus Start") + + try { + serviceInstance.setOrchestrationStatus() + if (OperationType.ACTIVATE == operationType) { + serviceInstance.setOrchestrationStatus(OrchestrationStatusEnum.ACTIVATED.getValue()) + } else { + serviceInstance.setOrchestrationStatus(OrchestrationStatusEnum.DEACTIVATED.getValue()) } - } catch (BpmnError e) { - throw e - } catch (Exception ex) { - msg = "Exception in org.onap.so.bpmn.common.scripts.CompleteMsoProcess.CheckAAIOrchStatus " + ex.getMessage() - logger.info(msg) + client.update(uri, serviceInstance) + } catch (Exception e) { + logger.info("Service is already in active state") + String msg = "Service is already in active state, " + e.getMessage() exceptionUtil.buildAndThrowWorkflowException(execution, 7000, msg) } - logger.debug(Prefix + "CheckAAIOrchStatus Exit") + logger.debug(Prefix + "updateStratus Exit") } + def prepareCompletionRequest = { DelegateExecution execution -> + logger.debug(Prefix + "prepareCompletionRequest Start") + CustomerInfo customerInfo = execution.getVariable("customerInfo") as CustomerInfo + String serviceId = customerInfo.getServiceInstanceId() + String operationId = customerInfo.getOperationId() + String userId = customerInfo.getGlobalSubscriberId() + + String result = "finished" + String progress = "100" + String reason = "" + String operationContent = "action finished success" + String operationType = customerInfo.operationType.getType() + + OperationStatus initStatus = new OperationStatus() + initStatus.setServiceId(serviceId) + initStatus.setOperationId(operationId) + initStatus.setOperation(operationType) + initStatus.setUserId(userId) + initStatus.setResult(result) + initStatus.setProgress(progress) + initStatus.setReason(reason) + initStatus.setOperationContent(operationContent) + + requestDBUtil.prepareUpdateOperationStatus(execution, initStatus) + + logger.debug(Prefix + "prepareCompletionRequest Exit") + } } diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateSliceService.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateSliceService.groovy new file mode 100644 index 0000000000..3d9f67653b --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateSliceService.groovy @@ -0,0 +1,273 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP - SO + * ================================================================================ + # Copyright (c) 2020, CMCC Technologies Co., Ltd. + # + # 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.so.bpmn.infrastructure.scripts + +import com.fasterxml.jackson.databind.ObjectMapper +import com.google.gson.Gson +import com.google.gson.reflect.TypeToken +import org.apache.commons.lang3.StringUtils +import org.camunda.bpm.engine.delegate.BpmnError +import org.camunda.bpm.engine.delegate.DelegateExecution +import org.onap.logging.filter.base.ErrorCode +import org.onap.so.beans.nsmf.* +import org.onap.so.beans.nsmf.oof.SubnetType +import org.onap.so.bpmn.common.scripts.* +import org.onap.so.bpmn.core.UrnPropertiesReader +import org.onap.so.bpmn.core.WorkflowException +import org.onap.so.bpmn.core.domain.ServiceArtifact +import org.onap.so.bpmn.core.domain.ServiceDecomposition +import org.onap.so.bpmn.core.json.JsonUtils +import org.onap.so.logger.LoggingAnchor +import org.onap.so.logger.MessageEnum +import org.slf4j.Logger +import org.slf4j.LoggerFactory +import org.springframework.web.util.UriUtils + +import java.lang.reflect.Type + +/** + * This class supports the DoCreateVnf building block subflow + * with the creation of a generic vnf for + * infrastructure. + * + */ +class DoActivateSliceService extends AbstractServiceTaskProcessor { + + private static final Logger logger = LoggerFactory.getLogger(DoActivateSliceService.class) + + private static final NSSMF_ACTIVATION_URL = "/api/rest/provMns/v1/NSS/%s/activation" + + private static final NSSMF_DEACTIVATION_URL = "/api/rest/provMns/v1/NSS/%s/deactivation" + + private static final NSSMF_QUERY_JOB_STATUS_URL = "/api/rest/provMns/v1/NSS/jobs/%s" + + String Prefix="DoCNSSMF_" + ExceptionUtil exceptionUtil = new ExceptionUtil() + + JsonUtils jsonUtil = new JsonUtils() + + ObjectMapper objectMapper = new ObjectMapper() + + SDNCAdapterUtils sdncAdapterUtils = new SDNCAdapterUtils() + + private NssmfAdapterUtils nssmfAdapterUtils = new NssmfAdapterUtils(httpClientFactory, jsonUtil) + + /** + * This method gets and validates the incoming + * request. + * + * @param - execution + * + */ + public void preProcessRequest(DelegateExecution execution) { + + execution.setVariable("prefix",Prefix) + logger.debug("STARTED Do sendcommandtoNssmf PreProcessRequest Process") + + /*******************/ + try{ + Queue<NssInstance> nssInstances = execution.getVariable("nssInstances") as Queue<NssInstance> + NssInstance nssInstance = nssInstances.poll() + execution.setVariable("nssInstances", nssInstances) + execution.setVariable("nssInstance", nssInstance) + + logger.info("the end !!") + }catch(BpmnError b){ + logger.debug("Rethrowing MSOWorkflowException") + throw b + }catch(Exception e){ + logger.info("the end of catch !!") + logger.debug(" Error Occured in DoSendCommandToNSSMF PreProcessRequest method!" + e.getMessage()) + exceptionUtil.buildAndThrowWorkflowException(execution, 2500, "Internal Error - Occured in DoSendCommandToNSSMF PreProcessRequest") + + } + logger.trace("COMPLETED DoSendCommandToNSSMF PreProcessRequest Process") + } + + void prepareCompose(DelegateExecution execution) { + NssInstance nssInstance = execution.getVariable("nssInstance") as NssInstance + execution.setVariable("nssInstanceId", nssInstance.nssiId) + String serviceModelInfo = """{ + "modelInvariantUuid":"${nssInstance.modelInvariantId}", + "modelUuid":"${nssInstance.modelVersionId}", + "modelVersion":"" + }""" + execution.setVariable("serviceModelInfo", serviceModelInfo) + } + + /** + * get vendor Info + * @param execution + */ + void processDecomposition(DelegateExecution execution) { + logger.debug("***** processDecomposition *****") + + try { + ServiceDecomposition serviceDecomposition = + execution.getVariable("serviceDecomposition") as ServiceDecomposition + + String vendor = serviceDecomposition.getServiceRole() + CustomerInfo customerInfo = execution.getVariable("customerInfo") as CustomerInfo + NssInstance nssInstance = execution.getVariable("nssInstance") as NssInstance + String reqUrl + String actionType + if (OperationType.ACTIVATE == nssInstance.operationType) { + reqUrl = String.format(NSSMF_ACTIVATION_URL, nssInstance.snssai) + actionType = "activate" + } else { + reqUrl = String.format(NSSMF_DEACTIVATION_URL, nssInstance.snssai) + actionType = "deactivate" + } + execution.setVariable("reqUrl", reqUrl) + + NssmfAdapterNBIRequest nbiRequest = new NssmfAdapterNBIRequest() + + EsrInfo esrInfo = new EsrInfo() + esrInfo.setVendor(vendor) + esrInfo.setNetworkType(nssInstance.networkType) + + ServiceInfo serviceInfo = ServiceInfo.builder() + .nssiId(nssInstance.nssiId) + .subscriptionServiceType(customerInfo.subscriptionServiceType) + .globalSubscriberId(customerInfo.globalSubscriberId) + .nsiId(customerInfo.nsiId) + .serviceInvariantUuid(nssInstance.modelInvariantId) + .serviceUuid(nssInstance.modelVersionId) + .serviceType(nssInstance.serviceType) + .actionType(actionType) + .build() + + ActDeActNssi actDeActNssi = new ActDeActNssi() + actDeActNssi.setNsiId(customerInfo.nsiId) + actDeActNssi.setNssiId(nssInstance.nssiId) + + nbiRequest.setEsrInfo(esrInfo) + nbiRequest.setServiceInfo(serviceInfo) + nbiRequest.setActDeActNssi(actDeActNssi) + execution.setVariable("nbiRequest", nbiRequest) + execution.setVariable("esrInfo", esrInfo) + execution.setVariable("serviceInfo", serviceInfo) + + } catch (any) { + String exceptionMessage = "Bpmn error encountered in deallocate nssi. processDecomposition() - " + any.getMessage() + logger.debug(exceptionMessage) + exceptionUtil.buildAndThrowWorkflowException(execution, 7000, exceptionMessage) + } + logger.debug("***** Exit processDecomposition *****") + } + + /** + * send Create Request NSSMF + * @param execution + */ + void sendCreateRequestNSSMF(DelegateExecution execution) { + NssmfAdapterNBIRequest nbiRequest = execution.getVariable("nbiRequest") as NssmfAdapterNBIRequest + String nssmfRequest = objectMapper.writeValueAsString(nbiRequest) + logger.debug("sendCreateRequestNSSMF: " + nssmfRequest) + + String reqUrl = execution.getVariable("reqUrl") + String response = nssmfAdapterUtils.sendPostRequestNSSMF(execution, reqUrl, nssmfRequest) + + if (response != null) { + NssiResponse nssiResponse = objectMapper.readValue(response, NssiResponse.class) + execution.setVariable("nssiAllocateResult", nssiResponse) + } + //todo: error + } + + /** + * query nssi allocate status + * @param execution + */ + void queryNSSIStatus(DelegateExecution execution) { + NssmfAdapterNBIRequest nbiRequest = new NssmfAdapterNBIRequest() + EsrInfo esrInfo = execution.getVariable("esrInfo") as EsrInfo + ServiceInfo serviceInfo = execution.getVariable("serviceInfo") as ServiceInfo + nbiRequest.setEsrInfo(esrInfo) + nbiRequest.setServiceInfo(serviceInfo) + + NssiResponse nssiAllocateResult = execution.getVariable("nssiAllocateResult") as NssiResponse + String jobId = nssiAllocateResult.getJobId() + + String endpoint = String.format(NSSMF_QUERY_JOB_STATUS_URL, jobId) + + String response = + nssmfAdapterUtils.sendPostRequestNSSMF(execution, endpoint, objectMapper.writeValueAsString(nbiRequest)) + + logger.debug("nssmf response nssiAllocateStatus:" + response) + + if (response != null) { + JobStatusResponse jobStatusResponse = objectMapper.readValue(response, JobStatusResponse.class) + + execution.setVariable("nssiAllocateStatus", jobStatusResponse) + if (jobStatusResponse.getResponseDescriptor().getProgress() == 100) { + execution.setVariable("jobFinished", true) + } + } + } + + void timeDelay(DelegateExecution execution) { + logger.trace("Enter timeDelay in DoAllocateNSSI()") + try { + Thread.sleep(60000) + + int currentCycle = execution.hasVariable("currentCycle") ? + execution.getVariable("currentCycle") as Integer : 1 + + currentCycle = currentCycle + 1 + if(currentCycle > 60) + { + logger.trace("Completed all the retry times... but still nssmf havent completed the creation process...") + exceptionUtil.buildAndThrowWorkflowException(execution, 500, "NSSMF creation didnt complete by time...") + } + execution.setVariable("currentCycle", currentCycle) + } catch(InterruptedException e) { + logger.info("Time Delay exception" + e) + } + logger.trace("Exit timeDelay in DoAllocateNSSI()") + } + + void sendSyncError (DelegateExecution execution) { + logger.trace("start sendSyncError") + try { + String errorMessage = "" + if (execution.getVariable("WorkflowException") instanceof WorkflowException) { + WorkflowException wfe = execution.getVariable("WorkflowException") + errorMessage = wfe.getErrorMessage() + } else { + errorMessage = "Sending Sync Error." + } + + String buildworkflowException = + """<aetgt:WorkflowException xmlns:aetgt="http://org.onap/so/workflow/schema/v1"> + <aetgt:ErrorMessage>${MsoUtils.xmlEscape(errorMessage)}</aetgt:ErrorMessage> + <aetgt:ErrorCode>7000</aetgt:ErrorCode> + </aetgt:WorkflowException>""" + + logger.debug(buildworkflowException) + sendWorkflowResponse(execution, 500, buildworkflowException) + + } catch (Exception ex) { + logger.debug("Sending Sync Error Activity Failed. " + "\n" + ex.getMessage()) + } + logger.trace("finished sendSyncError") + } +} diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateTnNssi.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateTnNssi.groovy index f3f8c8bacf..ff7b0a3b6d 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateTnNssi.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoActivateTnNssi.groovy @@ -117,6 +117,19 @@ public class DoActivateTnNssi extends AbstractServiceTaskProcessor { } + String getOrchStatusBasedOnActionType(String actionType) { + String res = "unknown" + if (actionType.equals("activate")) { + res = "activated" + } else if (actionType.equals("deactivate")) { + res = "deactivated" + } else { + logger.error("ERROR: getOrchStatusBasedOnActionType bad actionType= \n" + actionType) + } + + return res + } + void updateAAIOrchStatus(DelegateExecution execution) { logger.debug("Start updateAAIOrchStatus") String tnNssiId = execution.getVariable("sliceServiceInstanceId") diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoModifyAccessNSSI.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoModifyAccessNSSI.groovy index f591855b5c..982771f681 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoModifyAccessNSSI.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoModifyAccessNSSI.groovy @@ -549,7 +549,7 @@ class DoModifyAccessNSSI extends AbstractServiceTaskProcessor { updateStatus.setResourceTemplateUUID(nsiId) updateStatus.setResourceInstanceID(nssiId) updateStatus.setOperType("Modify") - updateStatus.setProgress(100) + updateStatus.setProgress("100") updateStatus.setStatus("finished") requestDBUtil.prepareUpdateResourceOperationStatus(execution, updateStatus) @@ -571,7 +571,7 @@ class DoModifyAccessNSSI extends AbstractServiceTaskProcessor { updateStatus.setResourceTemplateUUID(nsiId) updateStatus.setResourceInstanceID(nssiId) updateStatus.setOperType("Modify") - updateStatus.setProgress(0) + updateStatus.setProgress("0") updateStatus.setStatus("failed") requestDBUtil.prepareUpdateResourceOperationStatus(execution, updateStatus) } @@ -652,4 +652,4 @@ class DoModifyAccessNSSI extends AbstractServiceTaskProcessor { logger.debug("Error occured within deleteServiceInstance method: " + e) } } -}
\ No newline at end of file +} diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoModifyRanNfNssi.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoModifyRanNfNssi.groovy index 6fdfbe3218..e0df9ea64b 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoModifyRanNfNssi.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoModifyRanNfNssi.groovy @@ -29,7 +29,8 @@ import org.onap.so.bpmn.common.scripts.ExceptionUtil import org.onap.so.bpmn.core.json.JsonUtils import com.fasterxml.jackson.databind.ObjectMapper import com.google.gson.JsonObject -import java.sql.Timestamp +import com.google.gson.JsonParser +import java.time.Instant import static org.apache.commons.lang3.StringUtils.isBlank import org.onap.so.bpmn.core.UrnPropertiesReader @@ -75,7 +76,7 @@ class DoModifyRanNfNssi extends AbstractServiceTaskProcessor { execution.setVariable("sliceProfile", sliceProfile) break case "reconfigure": - String resourceConfig = execution.getVariable("additionalProperties") + String resourceConfig = execution.getVariable("additionalProperties") execution.setVariable("resourceConfig", resourceConfig) break default: @@ -83,7 +84,7 @@ class DoModifyRanNfNssi extends AbstractServiceTaskProcessor { exceptionUtil.buildAndThrowWorkflowException(execution, 500, "Invalid modify Action : "+modifyAction) } } - List<String> snssaiList = objectMapper.readValue(execution.getVariable("snssaiList"), List.class) + List<String> snssaiList = execution.getVariable("snssaiList") String sliceProfileId = execution.getVariable("sliceProfileId") if (isBlank(sliceProfileId) || (snssaiList.empty)) { msg = "Mandatory fields are empty" @@ -109,7 +110,7 @@ class DoModifyRanNfNssi extends AbstractServiceTaskProcessor { logger.debug(Prefix+"createSdnrRequest method start") String callbackUrl = UrnPropertiesReader.getVariable("mso.workflow.message.endpoint") + "/AsyncSdnrResponse/"+execution.getVariable("msoRequestId") String modifyAction = execution.getVariable("modifyAction") - String sdnrRequest = buildSdnrAllocateRequest(execution, modifyAction, "InstantiateRANSlice", callbackUrl) + String sdnrRequest = buildSdnrAllocateRequest(execution, modifyAction, "instantiateRANSlice", callbackUrl) execution.setVariable("createNSSI_sdnrRequest", sdnrRequest) execution.setVariable("createNSSI_timeout", "PT10M") execution.setVariable("createNSSI_correlator", execution.getVariable("msoRequestId")) @@ -123,6 +124,7 @@ class DoModifyRanNfNssi extends AbstractServiceTaskProcessor { if(status.equalsIgnoreCase("success")) { String nfIds = jsonUtil.getJsonValue(SDNRResponse, "nfIds") execution.setVariable("ranNfIdsJson", nfIds) + execution.setVariable("ranNfStatus", status) }else { String reason = jsonUtil.getJsonValue(SDNRResponse, "reason") logger.error("received failed status from SDNR "+ reason) @@ -134,53 +136,47 @@ class DoModifyRanNfNssi extends AbstractServiceTaskProcessor { private String buildSdnrAllocateRequest(DelegateExecution execution, String action, String rpcName, String callbackUrl) { String requestId = execution.getVariable("msoRequestId") - Date date = new Date().getTime() - Timestamp time = new Timestamp(date) - String sliceProfileString + Instant time = Instant.now() + Map<String,Object> sliceProfile = new HashMap<>() JsonObject response = new JsonObject() JsonObject body = new JsonObject() JsonObject input = new JsonObject() JsonObject commonHeader = new JsonObject() JsonObject payload = new JsonObject() JsonObject payloadInput = new JsonObject() + JsonParser parser = new JsonParser() if(action.equals("allocate")) { - Map<String,Object> sliceProfile = objectMapper.readValue(execution.getVariable("sliceProfile"), Map.class) + sliceProfile = objectMapper.readValue(execution.getVariable("sliceProfile"), Map.class) sliceProfile.put("sliceProfileId", execution.getVariable("sliceProfileId")) sliceProfile.put("maxNumberofConns", sliceProfile.get("maxNumberofPDUSessions")) sliceProfile.put("uLThptPerSlice", sliceProfile.get("expDataRateUL")) sliceProfile.put("dLThptPerSlice", sliceProfile.get("expDataRateDL")) - sliceProfileString = objectMapper.writeValueAsString(sliceProfile) action = "modify-"+action payloadInput.add("additionalproperties", new JsonObject()) }else if(action.equals("deallocate")) { action = "modify-"+action - Map<String,Object> sliceProfile = new HashMap<>() sliceProfile.put("sliceProfileId", execution.getVariable("sliceProfileId")) sliceProfile.put("sNSSAI", execution.getVariable("snssai")) - sliceProfileString = objectMapper.writeValueAsString(sliceProfile) payloadInput.add("additionalproperties", new JsonObject()) }else if(action.equals("reconfigure")) { - Map<String,Object> sliceProfile = new HashMap<>() sliceProfile.put("sliceProfileId", execution.getVariable("sliceProfileId")) sliceProfile.put("sNSSAI", execution.getVariable("snssai")) - sliceProfileString = objectMapper.writeValueAsString(sliceProfile) JsonObject resourceconfig = new JsonObject() - resourceconfig.addProperty("resourceConfig", execution.getVariable("resourceConfig")) + resourceconfig.add("resourceConfig", (JsonObject) parser.parse(execution.getVariable("resourceConfig"))) payloadInput.add("additionalproperties", resourceconfig) } - commonHeader.addProperty("TimeStamp", time.toString()) - commonHeader.addProperty("APIver", "1.0") - commonHeader.addProperty("RequestID", requestId) - commonHeader.addProperty("SubRequestID", "1") - commonHeader.add("RequestTrack", new JsonObject()) - commonHeader.add("Flags", new JsonObject()) - payloadInput.addProperty("sliceProfile", sliceProfileString) + commonHeader.addProperty("timestamp", time.toString()) + commonHeader.addProperty("api-ver", "1.0") + commonHeader.addProperty("request-id", requestId) + commonHeader.addProperty("sub-request-id", "1") + commonHeader.add("flags", new JsonObject()) + payloadInput.addProperty("sliceProfile", sliceProfile.toString()) payloadInput.addProperty("RANNFNSSIId", execution.getVariable("serviceInstanceID")) payloadInput.addProperty("callbackURL", callbackUrl) payload.add("input", payloadInput) - input.add("CommonHeader", commonHeader) - input.addProperty("Action", action) - input.add("Payload", payload) + input.add("common-header", commonHeader) + input.addProperty("action", action) + input.addProperty("payload", payload.toString()) body.add("input", input) response.add("body", body) response.addProperty("version", "1.0") @@ -190,4 +186,4 @@ class DoModifyRanNfNssi extends AbstractServiceTaskProcessor { return response.toString() } -}
\ No newline at end of file +} diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoSendCommandToNSSMF.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoSendCommandToNSSMF.groovy deleted file mode 100644 index a85f5d8ab3..0000000000 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoSendCommandToNSSMF.groovy +++ /dev/null @@ -1,423 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - # Copyright (c) 2019, CMCC Technologies Co., Ltd. - # - # 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.so.bpmn.infrastructure.scripts - -import com.fasterxml.jackson.databind.ObjectMapper -import com.google.gson.Gson -import com.google.gson.reflect.TypeToken -import org.camunda.bpm.engine.delegate.BpmnError -import org.camunda.bpm.engine.delegate.DelegateExecution -import org.onap.so.beans.nsmf.* -import org.onap.so.bpmn.common.scripts.* -import org.onap.so.bpmn.core.UrnPropertiesReader -import org.onap.so.bpmn.core.WorkflowException -import org.onap.so.bpmn.core.domain.ServiceArtifact -import org.onap.so.bpmn.core.domain.ServiceDecomposition -import org.onap.so.bpmn.core.json.JsonUtils -import org.onap.logging.filter.base.ErrorCode -import org.onap.so.logger.LoggingAnchor -import org.onap.so.logger.MessageEnum -import org.slf4j.Logger -import org.slf4j.LoggerFactory -import org.springframework.web.util.UriUtils - -import java.lang.reflect.Type - -/** - * This class supports the DoCreateVnf building block subflow - * with the creation of a generic vnf for - * infrastructure. - * - */ -class DoSendCommandToNSSMF extends AbstractServiceTaskProcessor { - - private static final Logger logger = LoggerFactory.getLogger( DoSendCommandToNSSMF.class); - String Prefix="DoCNSSMF_" - ExceptionUtil exceptionUtil = new ExceptionUtil() - JsonUtils jsonUtil = new JsonUtils() - VidUtils vidUtils = new VidUtils(this) - SDNCAdapterUtils sdncAdapterUtils = new SDNCAdapterUtils() - - private NssmfAdapterUtils nssmfAdapterUtils = new NssmfAdapterUtils(httpClientFactory, jsonUtil) - - /** - * This method gets and validates the incoming - * request. - * - * @param - execution - * - */ - public void preProcessRequest(DelegateExecution execution) { - - execution.setVariable("prefix",Prefix) - logger.debug("STARTED Do sendcommandtoNssmf PreProcessRequest Process") - - /*******************/ - try{ - // Get Variables - String e2eserviceInstanceId = execution.getVariable("e2eserviceInstanceId") - String serviceInstanceId = execution.getVariable("e2eserviceInstanceId") - execution.setVariable("e2eserviceInstanceId", e2eserviceInstanceId) - execution.setVariable("serviceInstanceId", serviceInstanceId) - logger.debug("Incoming e2eserviceInstanceId is: " + e2eserviceInstanceId) - - String NSIserviceid = execution.getVariable("NSIserviceid") - execution.setVariable("NSIserviceid", NSIserviceid) - logger.debug("Incoming NSI id is: " + NSIserviceid) - - - String nssiMap = execution.getVariable("nssiMap") - Type type = new TypeToken<HashMap<String, NSSI>>(){}.getType() - Map<String, NSSI> DonssiMap = new Gson().fromJson(nssiMap,type) - String strDonssiMap = mapToJsonStr(DonssiMap) - execution.setVariable("DonssiMap",strDonssiMap) - logger.debug("Incoming DonssiMap is: " + strDonssiMap) - - String requestId = execution.getVariable("msoRequestId") - execution.setVariable("msoRequestId", requestId) - - String operationType = execution.getVariable("operationType") - execution.setVariable("operationType", operationType.toLowerCase()) - logger.debug("Incoming operationType is: " + operationType) - - if (operationType == "activation") { - execution.setVariable("activationSequence","an,tn,cn") - }else { - execution.setVariable("activationSequence","cn,tn,an") - } - execution.setVariable("activationIndex",0) - execution.setVariable("miniute", "0") - execution.setVariable("activateNumberSlice",0) - - logger.info("the end !!") - }catch(BpmnError b){ - logger.debug("Rethrowing MSOWorkflowException") - throw b - }catch(Exception e){ - logger.info("the end of catch !!") - logger.debug(" Error Occured in DoSendCommandToNSSMF PreProcessRequest method!" + e.getMessage()) - exceptionUtil.buildAndThrowWorkflowException(execution, 2500, "Internal Error - Occured in DoSendCommandToNSSMF PreProcessRequest") - - } - logger.trace("COMPLETED DoSendCommandToNSSMF PreProcessRequest Process") - } - - private String mapToJsonStr(Map<String, NSSI> stringNSSIHashMap) { - HashMap<String, NSSI> map = new HashMap<String, NSSI>() - for(Map.Entry<String, NSSI> child:stringNSSIHashMap.entrySet()) - { - map.put(child.getKey(), child.getValue()) - } - return new Gson().toJson(map) - } - - public void getNSSIformlist(DelegateExecution execution) { - - String nssiMap = execution.getVariable("DonssiMap") - Type type = new TypeToken<HashMap<String, NSSI>>(){}.getType() - Map<String, NSSI> DonssiMap = new Gson().fromJson(nssiMap,type) - String isNSSIActivate = execution.getVariable("isNSSIActivate") - - String activationSequence01 = execution.getVariable("activationSequence") - String[] strlist = activationSequence01.split(",") - - int activationIndex = execution.getVariable("activationIndex") - int indexcurrent = 0 - if (isNSSIActivate == "true") - { - execution.setVariable("isGetSuccessfull", "false") - }else{for (int index = activationIndex; index < 3;index++) { - String domaintype01 = strlist[index] - if (DonssiMap.containsKey(domaintype01)) { - NSSI nssiobject = DonssiMap.get(domaintype01) - execution.setVariable("domainType", domaintype01) - execution.setVariable("nssiId", nssiobject.getNssiId()) - execution.setVariable("modelInvariantUuid", nssiobject.getModelInvariantId()) - execution.setVariable("modelUuid", nssiobject.getModelVersionId()) - execution.setVariable("isGetSuccessfull", "true") - String modelInvariantUuid = execution.getVariable("modelInvariantUuid") - String modelUuid = execution.getVariable("modelUuid") - //here modelVersion is not set, we use modelUuid to decompose the service. - String serviceModelInfo = """{ - "modelInvariantUuid":"${modelInvariantUuid}", - "modelUuid":"${modelUuid}", - "modelVersion":"" - }""" - execution.setVariable("serviceModelInfo", serviceModelInfo) - indexcurrent = index - execution.setVariable("activationIndex", indexcurrent) - break - }else - { - indexcurrent = index + 1 - - } - } - if ( activationIndex > 2) { - execution.setVariable("isGetSuccessfull", "false") - } - execution.setVariable("activationIndex", indexcurrent)} - - } - - /** - * get vendor Info - * @param execution - */ - private void processDecomposition(DelegateExecution execution) { - logger.debug("***** processDecomposition *****") - - try { - ServiceDecomposition serviceDecomposition = execution.getVariable("serviceDecomposition") as ServiceDecomposition - ServiceArtifact serviceArtifact = serviceDecomposition.getServiceInfo().getServiceArtifact().get(0) - String content = serviceArtifact.getContent() - String vendor = jsonUtil.getJsonValue(content, "metadata.vendor") - //String domainType = jsonUtil.getJsonValue(content, "metadata.domainType") - - execution.setVariable("vendor", vendor) - // currentNSSI['domainType'] = domainType - logger.info("processDecomposition, current vendor-domainType:" + vendor) - - } catch (any) { - String exceptionMessage = "Bpmn error encountered in deallocate nssi. processDecomposition() - " + any.getMessage() - logger.debug(exceptionMessage) - exceptionUtil.buildAndThrowWorkflowException(execution, 7000, exceptionMessage) - } - logger.debug("***** Exit processDecomposition *****") - } - - public void UpdateIndex(DelegateExecution execution) { - def activationIndex = execution.getVariable("activationIndex") - int activateNumberSlice = execution.getVariable("activateNumberSlice") as Integer - def activationCount= execution.getVariable("activationCount") - //DecimalFormat df1 = new DecimalFormat("##%") - int rate = (activateNumberSlice / activationCount) * 100 - if (rate == 100) - { - execution.setVariable("isNSSIActivate","true") - } - else{ - execution.setVariable("isNSSIActivate","false") - } - activationIndex = activationIndex + 1 - execution.setVariable("activationIndex",activationIndex) - logger.trace("the Progress of activation is " + rate.toString() + "%" ) - try{ - String serviceId = execution.getVariable("serviceInstanceId") - String operationId = UUID.randomUUID().toString() - String operationType = execution.getVariable("operationType") - String userId = "" - String result = (operationType.equalsIgnoreCase("activation"))? "ACTIVATING": "DEACTIVATING" - int progress = rate - String reason = "" - String operationContent = "Service activation in progress" - logger.debug("Generated new operation for Service Instance serviceId:" + serviceId + " operationId:" + operationId) - serviceId = UriUtils.encode(serviceId,"UTF-8") - execution.setVariable("e2eserviceInstanceId", serviceId) - execution.setVariable("operationId", operationId) - execution.setVariable("operationType", operationType) - - def dbAdapterEndpoint = UrnPropertiesReader.getVariable("mso.adapters.openecomp.db.endpoint",execution) - execution.setVariable("CVFMI_dbAdapterEndpoint", dbAdapterEndpoint) - logger.debug("DB Adapter Endpoint is: " + dbAdapterEndpoint) - - String payload = - """<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" - xmlns:ns="http://org.onap.so/requestsdb"> - <soapenv:Header/> - <soapenv:Body> - <ns:initServiceOperationStatus xmlns:ns="http://org.onap.so/requestsdb"> - <serviceId>${MsoUtils.xmlEscape(serviceId)}</serviceId> - <operationId>${MsoUtils.xmlEscape(operationId)}</operationId> - <operationType>${MsoUtils.xmlEscape(operationType)}</operationType> - <userId>${MsoUtils.xmlEscape(userId)}</userId> - <result>${MsoUtils.xmlEscape(result)}</result> - <operationContent>${MsoUtils.xmlEscape(operationContent)}</operationContent> - <progress>${MsoUtils.xmlEscape(progress)}</progress> - <reason>${MsoUtils.xmlEscape(reason)}</reason> - </ns:initServiceOperationStatus> - </soapenv:Body> - </soapenv:Envelope>""" - - payload = utils.formatXml(payload) - execution.setVariable("CVFMI_updateServiceOperStatusRequest", payload) - logger.debug("Outgoing CVFMI_updateServiceOperStatusRequest: \n" + payload) - - }catch(Exception e){ - logger.error(LoggingAnchor.FIVE, MessageEnum.BPMN_GENERAL_EXCEPTION_ARG.toString(), - "Exception Occured Processing Activate Slice .", "BPMN", - ErrorCode.UnknownError.getValue(), "Exception is:\n" + e) - execution.setVariable("CVFMI_ErrorResponse", "Error Occurred during Activate Slice Method:\n" + e.getMessage()) - } - logger.trace("finished Activate Slice") - } - - public void WaitForReturn(DelegateExecution execution) { - //logger.debug("Query : "+ Jobid) - String miniute = execution.getVariable("miniute") - Thread.sleep(10000) - int miniute01 = Integer.parseInt(miniute) + 1 - logger.debug("waiting for : "+ miniute + "miniutes") - execution.setVariable("miniute", String.valueOf(miniute01)) - } - - public void GetTheStatusOfActivation(DelegateExecution execution) { - - String domaintype = execution.getVariable("domainType") - String NSIserviceid=execution.getVariable("NSIserviceid") - String nssiId = execution.getVariable("nssiId") - String Jobid=execution.getVariable("JobId") - String miniute=execution.getVariable("miniute") - String vendor = execution.getVariable("vendor") - String jobstatus - - - logger.debug("Query the jobid activation of SNSSAI: "+ Jobid) - logger.debug("the domain is : "+ domaintype) - logger.debug("the NSSID is : "+nssiId) - logger.debug("the NSIserviceid is : "+NSIserviceid) - - JobStatusRequest jobStatusRequest = new JobStatusRequest() - - EsrInfo info = new EsrInfo() - info.setNetworkType(NetworkType.fromString(domaintype)) - info.setVendor(vendor) - - jobStatusRequest.setNsiId(NSIserviceid) - jobStatusRequest.setNssiId(nssiId) - jobStatusRequest.setEsrInfo(info) - - - ObjectMapper mapper = new ObjectMapper() - String nssmfRequest = mapper.writeValueAsString(jobStatusRequest) - String isActivateSuccessfull - - String urlString = "/api/rest/provMns/v1/NSS/jobs/" +Jobid - - JobStatusResponse jobStatusResponse = nssmfAdapterUtils.sendPostRequestNSSMF(execution, urlString, nssmfRequest, JobStatusResponse.class) - - if (jobStatusResponse != null) { - execution.setVariable("statusDescription", jobStatusResponse.getResponseDescriptor().getStatusDescription()) - jobstatus = jobStatusResponse.getResponseDescriptor().getStatus() - switch(jobstatus) { - case "started": - case "processing": - isActivateSuccessfull = "waitting" - execution.setVariable("isActivateSuccessfull", isActivateSuccessfull) - break - case "finished": - isActivateSuccessfull = "true" - execution.setVariable("isActivateSuccessfull", isActivateSuccessfull) - execution.setVariable("activateNumberSlice",execution.getVariable("activateNumberSlice")+ 1) - break - case "error": - default: - isActivateSuccessfull = "false" - execution.setVariable("isActivateSuccessfull", isActivateSuccessfull) - - } - if(Integer.parseInt(miniute) > 6 ) - { - isActivateSuccessfull = "false" - execution.setVariable("isActivateSuccessfull", isActivateSuccessfull) - exceptionUtil.buildAndThrowWorkflowException(execution, 7000, "Received a timeout job status Response from NSSMF.") - } - } else { - exceptionUtil.buildAndThrowWorkflowException(execution, 7000, "Received a Bad job status Response from NSSMF.") - isActivateSuccessfull = false - execution.setVariable("isActivateSuccessfull", isActivateSuccessfull) - } - } - - public void SendCommandToNssmf(DelegateExecution execution) { - - String snssai= execution.getVariable("snssai") - String domaintype = execution.getVariable("domainType") - String NSIserviceid=execution.getVariable("NSIserviceid") - String nssiId = execution.getVariable("nssiId") - String vendor = execution.getVariable("vendor") - - - logger.debug("the domain is : "+domaintype) - logger.debug("SNSSAI: "+snssai +" will be activated") - logger.debug("the NSSID is : "+nssiId) - logger.debug("the NSIserviceid is : "+NSIserviceid) - - EsrInfo esr = new EsrInfo(); - esr.setNetworkType(NetworkType.fromString(domaintype)) - esr.setVendor(vendor) - - ActDeActNssi actNssi = new ActDeActNssi(); - actNssi.setNsiId(NSIserviceid); - actNssi.setNssiId(nssiId); - NssiActDeActRequest actRequest = new NssiActDeActRequest(); - actRequest.setActDeActNssi(actNssi); - actRequest.setEsrInfo(esr) - - ObjectMapper mapper = new ObjectMapper() - String nssmfRequest = mapper.writeValueAsString(actRequest) - - String operationType = execution.getVariable("operationType") - - String urlString = "/api/rest/provMns/v1/NSS/" + snssai + "/" + operationType.toLowerCase() - - NssiResponse nssmfResponse = nssmfAdapterUtils.sendPostRequestNSSMF(execution, urlString, nssmfRequest, NssiResponse.class) - - if (nssmfResponse != null) { - String isNSSIActivated = "true" - execution.setVariable("isNSSIActivated", isNSSIActivated) - String jobId = nssmfResponse.getJobId() ?: "" - execution.setVariable("JobId", jobId) - } else { - exceptionUtil.buildAndThrowWorkflowException(execution, 7000, "Received a Bad Response from NSSMF.") - String isNSSIActivated = "false" - execution.setVariable("isNSSIActivated", isNSSIActivated) - execution.setVariable("isNSSIActivate","false") - } - - } - - void sendSyncError (DelegateExecution execution) { - logger.trace("start sendSyncError") - try { - String errorMessage = "" - if (execution.getVariable("WorkflowException") instanceof WorkflowException) { - WorkflowException wfe = execution.getVariable("WorkflowException") - errorMessage = wfe.getErrorMessage() - } else { - errorMessage = "Sending Sync Error." - } - - String buildworkflowException = - """<aetgt:WorkflowException xmlns:aetgt="http://org.onap/so/workflow/schema/v1"> - <aetgt:ErrorMessage>${MsoUtils.xmlEscape(errorMessage)}</aetgt:ErrorMessage> - <aetgt:ErrorCode>7000</aetgt:ErrorCode> - </aetgt:WorkflowException>""" - - logger.debug(buildworkflowException) - sendWorkflowResponse(execution, 500, buildworkflowException) - - } catch (Exception ex) { - logger.debug("Sending Sync Error Activity Failed. " + "\n" + ex.getMessage()) - } - logger.trace("finished sendSyncError") - } -} diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ActivateSliceService.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ActivateSliceService.bpmn index cd4cf473a6..af89197057 100644 --- a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ActivateSliceService.bpmn +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/process/ActivateSliceService.bpmn @@ -2,25 +2,12 @@ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_13dsy4w" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.4.1"> <bpmn:error id="Error_0l3pcnc" name="MSOWorkflowException" errorCode="MSOWorkflowException" /> <bpmn:error id="Error_1eyu7sx" name="MSOWorkflowException" errorCode="MSOWorkflowException" /> - <bpmn:collaboration id="Collaboration_0htncd8"> - <bpmn:participant id="ActivateSliceService01" name="ActivateSliceService" processRef="ActivateSliceService" /> - </bpmn:collaboration> + <bpmn:error id="Error_0vq6f5h" name="Error_3ai5jm1" /> <bpmn:process id="ActivateSliceService" name="ActivateSliceService" isExecutable="true"> - <bpmn:scriptTask id="Task_1vscxgp" name="Update the status of SNSSAI and NSI and NSSI" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_1jp9gjt</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_1gkpl5q</bpmn:outgoing> - <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* -def csi= new ActivateSliceService() -csi.updateStatusSNSSAIandNSIandNSSI(execution)</bpmn:script> - </bpmn:scriptTask> - <bpmn:scriptTask id="ScriptTask_0cbth6k" name="Prepare Completion Request" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_1gkpl5q</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_0pzts4p</bpmn:outgoing> - <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* -def csi = new ActivateSliceService() -csi.prepareCompletionRequest(execution)</bpmn:script> - </bpmn:scriptTask> - <bpmn:serviceTask id="ServiceTask_1aymwlt" name="Update Service Operation Status to Success"> + <bpmn:startEvent id="StartEvent_01bdhbw" name="start"> + <bpmn:outgoing>SequenceFlow_1tdecf1</bpmn:outgoing> + </bpmn:startEvent> + <bpmn:serviceTask id="ServiceTask_1hmtmeq" name="Update Service Operation Status"> <bpmn:extensionElements> <camunda:connector> <camunda:inputOutput> @@ -28,7 +15,7 @@ csi.prepareCompletionRequest(execution)</bpmn:script> <camunda:inputParameter name="headers"> <camunda:map> <camunda:entry key="content-type">application/soap+xml</camunda:entry> - <camunda:entry key="Authorization">${UrnPropertiesReader.getVariable("mso.adapters.requestDb.auth", execution)}</camunda:entry> + <camunda:entry key="Authorization">Basic YnBlbDpwYXNzd29yZDEk</camunda:entry> </camunda:map> </camunda:inputParameter> <camunda:inputParameter name="payload">${updateOperationStatus}</camunda:inputParameter> @@ -39,65 +26,95 @@ csi.prepareCompletionRequest(execution)</bpmn:script> <camunda:connectorId>http-connector</camunda:connectorId> </camunda:connector> </bpmn:extensionElements> - <bpmn:incoming>SequenceFlow_0pzts4p</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_0ozefu5</bpmn:outgoing> + <bpmn:incoming>SequenceFlow_1ox6oh6</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_0szxmyf</bpmn:outgoing> </bpmn:serviceTask> - <bpmn:endEvent id="EndEvent_0d1g3mv"> - <bpmn:incoming>SequenceFlow_0r611x8</bpmn:incoming> - <bpmn:incoming>SequenceFlow_0ozefu5</bpmn:incoming> - </bpmn:endEvent> - <bpmn:endEvent id="EndEvent_1pujgw8"> - <bpmn:incoming>SequenceFlow_1qa8miv</bpmn:incoming> - <bpmn:errorEventDefinition id="ErrorEventDefinition_17jklyl" errorRef="Error_1eyu7sx" /> - </bpmn:endEvent> - <bpmn:exclusiveGateway id="ExclusiveGateway_0z7s0nx" name="IsSuccessfull"> - <bpmn:incoming>SequenceFlow_00ba5l9</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_1jp9gjt</bpmn:outgoing> - <bpmn:outgoing>SequenceFlow_1qa8miv</bpmn:outgoing> - </bpmn:exclusiveGateway> - <bpmn:callActivity id="CallActivity_1cvb0iq" name="Send command NSSMF" calledElement="DoSendCommandToNSSMF"> - <bpmn:extensionElements> - <camunda:in source="nssiMap" target="nssiMap" /> - <camunda:in source="operationType" target="operationType" /> - <camunda:in source="NSIserviceid" target="NSIserviceid" /> - <camunda:out source="WorkflowException" target="WorkflowException" /> - <camunda:out source="isNSSIActivate" target="isNSSIActivate" /> - <camunda:in source="snssai" target="snssai" /> - <camunda:in source="e2eserviceInstanceId" target="e2eserviceInstanceId" /> - <camunda:in source="msoRequestId" target="msoRequestId" /> - <camunda:in source="activationCount" target="activationCount" /> - <camunda:in source="serviceInstanceId" target="serviceInstanceId" /> - </bpmn:extensionElements> - <bpmn:incoming>SequenceFlow_1o4zjvp</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_00ba5l9</bpmn:outgoing> - </bpmn:callActivity> - <bpmn:scriptTask id="ScriptTask_04p0zjj" name="Send Sync Ack Response" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_1yus0c1</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_1uqgdxr</bpmn:outgoing> + <bpmn:scriptTask id="ScriptTask_1wow08q" name="Pre Process Incoming Request" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_1tdecf1</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_0bvnci8</bpmn:outgoing> + <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new ActivateSliceService() +csi.preProcessRequest(execution)</bpmn:script> + </bpmn:scriptTask> + <bpmn:scriptTask id="ScriptTask_1730kjg" name="Init Service Operation Status" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_0bvnci8</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_1ox6oh6</bpmn:outgoing> + <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new ActivateSliceService() +csi.prepareInitServiceOperationStatus(execution)</bpmn:script> + </bpmn:scriptTask> + <bpmn:sequenceFlow id="SequenceFlow_1tdecf1" sourceRef="StartEvent_01bdhbw" targetRef="ScriptTask_1wow08q" /> + <bpmn:sequenceFlow id="SequenceFlow_0bvnci8" sourceRef="ScriptTask_1wow08q" targetRef="ScriptTask_1730kjg" /> + <bpmn:sequenceFlow id="SequenceFlow_1ox6oh6" sourceRef="ScriptTask_1730kjg" targetRef="ServiceTask_1hmtmeq" /> + <bpmn:scriptTask id="ScriptTask_1gm0rl4" name="Send Sync Ack Response" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_0szxmyf</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_1p778c2</bpmn:outgoing> <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* def csi = new ActivateSliceService() csi.sendSyncResponse(execution)</bpmn:script> </bpmn:scriptTask> - <bpmn:scriptTask id="Task_1o8fe1v" name="check AAI Orch Status of slice" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_1uqgdxr</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_149lhmo</bpmn:outgoing> + <bpmn:sequenceFlow id="SequenceFlow_0szxmyf" sourceRef="ServiceTask_1hmtmeq" targetRef="ScriptTask_1gm0rl4" /> + <bpmn:scriptTask id="ScriptTask_1yc7wdf" name="check AAI Orch Status of e2e slice" default="SequenceFlow_0mr8oz6" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_1p778c2</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_1wrrg4v</bpmn:outgoing> + <bpmn:outgoing>SequenceFlow_0mr8oz6</bpmn:outgoing> <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* def csi= new ActivateSliceService() -csi.checkAAIOrchStatusofslice(execution)</bpmn:script> +csi.checkAAIOrchStatusOfE2ESlice(execution)</bpmn:script> </bpmn:scriptTask> - <bpmn:exclusiveGateway id="ExclusiveGateway_0fcc3uy" name="Success?"> - <bpmn:incoming>SequenceFlow_149lhmo</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_15fdf5d</bpmn:outgoing> - <bpmn:outgoing>SequenceFlow_0r611x8</bpmn:outgoing> + <bpmn:exclusiveGateway id="ExclusiveGateway_0nce7pi" name="Success?"> + <bpmn:incoming>SequenceFlow_19gpkz7</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_0cn6n0t</bpmn:outgoing> + <bpmn:outgoing>SequenceFlow_0cs78yf</bpmn:outgoing> </bpmn:exclusiveGateway> - <bpmn:scriptTask id="Task_08zavab" name="PrepareActiviation" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_15fdf5d</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_144cqr9</bpmn:outgoing> + <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_08yipcf" name="goto prepare active"> + <bpmn:incoming>SequenceFlow_0cn6n0t</bpmn:incoming> + <bpmn:linkEventDefinition name="prepareActive" /> + </bpmn:intermediateThrowEvent> + <bpmn:sequenceFlow id="SequenceFlow_0cn6n0t" name="yes" sourceRef="ExclusiveGateway_0nce7pi" targetRef="IntermediateThrowEvent_08yipcf"> + <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isContinue") == "true"}</bpmn:conditionExpression> + </bpmn:sequenceFlow> + <bpmn:scriptTask id="ScriptTask_0916zkl" name="PrepareActiviation" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_003ne6w</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_1b7nvps</bpmn:outgoing> <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* def csi= new ActivateSliceService() csi.prepareActivation(execution)</bpmn:script> </bpmn:scriptTask> - <bpmn:serviceTask id="Task_18urz3r" name="Update Service Operation Status"> + <bpmn:endEvent id="EndEvent_0bvm36p"> + <bpmn:incoming>SequenceFlow_1pgjdeq</bpmn:incoming> + <bpmn:errorEventDefinition id="ErrorEventDefinition_1jpik0g" errorRef="Error_0l3pcnc" /> + </bpmn:endEvent> + <bpmn:sequenceFlow id="SequenceFlow_003ne6w" sourceRef="IntermediateThrowEvent_0m13l1h" targetRef="ScriptTask_0916zkl" /> + <bpmn:callActivity id="CallActivity_06ommam" name="DoActivateSliceService" default="SequenceFlow_1pgjdeq" calledElement="DoActivateSliceService"> + <bpmn:extensionElements> + <camunda:out source="WorkflowException" target="WorkflowException" /> + <camunda:out source="isNSSIActivate" target="isNSSIActivate" /> + <camunda:in source="msoRequestId" target="msoRequestId" /> + <camunda:in source="nssInstances" target="nssInstances" /> + <camunda:out source="nssInstances" target="nssInstances" /> + <camunda:in source="customerInfo" target="customerInfo" /> + </bpmn:extensionElements> + <bpmn:incoming>SequenceFlow_1b7nvps</bpmn:incoming> + <bpmn:incoming>SequenceFlow_1rsr0hp</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_1pgjdeq</bpmn:outgoing> + <bpmn:outgoing>SequenceFlow_150j97l</bpmn:outgoing> + </bpmn:callActivity> + <bpmn:scriptTask id="ScriptTask_0x0emke" name="Update the status of SNSSAI and NSI " scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_194fylv</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_0eiek58</bpmn:outgoing> + <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new ActivateSliceService() +csi.updateStatusSNSSAIandNSIandNSSI(execution)</bpmn:script> + </bpmn:scriptTask> + <bpmn:scriptTask id="ScriptTask_0032ffo" name="Prepare Completion Request" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_0eiek58</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_0dc8i0s</bpmn:outgoing> + <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* +def csi = new ActivateSliceService() +csi.prepareCompletionRequest(execution)</bpmn:script> + </bpmn:scriptTask> + <bpmn:serviceTask id="ServiceTask_06tcv65" name="Update Service Operation Status to Success"> <bpmn:extensionElements> <camunda:connector> <camunda:inputOutput> @@ -105,7 +122,7 @@ csi.prepareActivation(execution)</bpmn:script> <camunda:inputParameter name="headers"> <camunda:map> <camunda:entry key="content-type">application/soap+xml</camunda:entry> - <camunda:entry key="Authorization">Basic YnBlbDpwYXNzd29yZDEk</camunda:entry> + <camunda:entry key="Authorization">${UrnPropertiesReader.getVariable("mso.adapters.requestDb.auth", execution)}</camunda:entry> </camunda:map> </camunda:inputParameter> <camunda:inputParameter name="payload">${updateOperationStatus}</camunda:inputParameter> @@ -116,256 +133,275 @@ csi.prepareActivation(execution)</bpmn:script> <camunda:connectorId>http-connector</camunda:connectorId> </camunda:connector> </bpmn:extensionElements> - <bpmn:incoming>SequenceFlow_1av6du3</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_1yus0c1</bpmn:outgoing> + <bpmn:incoming>SequenceFlow_0dc8i0s</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_11u2ido</bpmn:outgoing> </bpmn:serviceTask> - <bpmn:scriptTask id="Task_1ossedo" name="Pre Process Incoming Request" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_0qksr1g</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_183ypky</bpmn:outgoing> - <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* -def csi= new ActivateSliceService() -csi.preProcessRequest(execution)</bpmn:script> - </bpmn:scriptTask> - <bpmn:exclusiveGateway id="ExclusiveGateway_1g8cg9g" name="Any NSSI to activate?"> - <bpmn:incoming>SequenceFlow_144cqr9</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_1o4zjvp</bpmn:outgoing> - <bpmn:outgoing>SequenceFlow_1pj1j1o</bpmn:outgoing> - </bpmn:exclusiveGateway> - <bpmn:startEvent id="StartEvent_1"> - <bpmn:outgoing>SequenceFlow_0qksr1g</bpmn:outgoing> - </bpmn:startEvent> - <bpmn:endEvent id="EndEvent_1taw2p9"> - <bpmn:incoming>SequenceFlow_1pj1j1o</bpmn:incoming> - <bpmn:errorEventDefinition id="ErrorEventDefinition_03iwehr" errorRef="Error_0l3pcnc" /> + <bpmn:endEvent id="EndEvent_1uebh6a" name="end"> + <bpmn:incoming>SequenceFlow_11u2ido</bpmn:incoming> + <bpmn:incoming>SequenceFlow_0cs78yf</bpmn:incoming> </bpmn:endEvent> - <bpmn:scriptTask id="Task_13zoo6a" name="Init Service Operation Status" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_183ypky</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_1av6du3</bpmn:outgoing> - <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* -def csi= new ActivateSliceService() -csi.prepareInitServiceOperationStatus(execution)</bpmn:script> - </bpmn:scriptTask> - <bpmn:subProcess id="SubProcess_0iljxjd" name="sub process for fallouthandler and rollback" triggeredByEvent="true"> - <bpmn:scriptTask id="Task_01ooik6" name="Send Error Response"> - <bpmn:incoming>SequenceFlow_0oiiwjo</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_0uckyao</bpmn:outgoing> + <bpmn:sequenceFlow id="SequenceFlow_11u2ido" sourceRef="ServiceTask_06tcv65" targetRef="EndEvent_1uebh6a" /> + <bpmn:subProcess id="SubProcess_1s80wtc" name="sub process for fallouthandler and rollback" triggeredByEvent="true"> + <bpmn:scriptTask id="ScriptTask_0pv8gip" name="Send Error Response"> + <bpmn:incoming>SequenceFlow_16jz1l6</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_097vxbl</bpmn:outgoing> <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* def csi= new ActivateSliceService() csi.sendSyncError(execution)</bpmn:script> </bpmn:scriptTask> - <bpmn:endEvent id="EndEvent_1wd8iqk"> - <bpmn:incoming>SequenceFlow_0uckyao</bpmn:incoming> + <bpmn:endEvent id="EndEvent_0yy0a8r"> + <bpmn:incoming>SequenceFlow_097vxbl</bpmn:incoming> </bpmn:endEvent> - <bpmn:startEvent id="StartEvent_0hmwdqq"> - <bpmn:outgoing>SequenceFlow_0oiiwjo</bpmn:outgoing> - <bpmn:errorEventDefinition id="ErrorEventDefinition_1il80ww" /> + <bpmn:startEvent id="StartEvent_1a9lxvc"> + <bpmn:outgoing>SequenceFlow_16jz1l6</bpmn:outgoing> + <bpmn:errorEventDefinition id="ErrorEventDefinition_00r6zey" /> </bpmn:startEvent> - <bpmn:sequenceFlow id="SequenceFlow_0oiiwjo" sourceRef="StartEvent_0hmwdqq" targetRef="Task_01ooik6" /> - <bpmn:sequenceFlow id="SequenceFlow_0uckyao" sourceRef="Task_01ooik6" targetRef="EndEvent_1wd8iqk" /> + <bpmn:sequenceFlow id="SequenceFlow_097vxbl" sourceRef="ScriptTask_0pv8gip" targetRef="EndEvent_0yy0a8r" /> + <bpmn:sequenceFlow id="SequenceFlow_16jz1l6" sourceRef="StartEvent_1a9lxvc" targetRef="ScriptTask_0pv8gip" /> </bpmn:subProcess> - <bpmn:sequenceFlow id="SequenceFlow_1av6du3" sourceRef="Task_13zoo6a" targetRef="Task_18urz3r" /> - <bpmn:sequenceFlow id="SequenceFlow_1pj1j1o" name="no" sourceRef="ExclusiveGateway_1g8cg9g" targetRef="EndEvent_1taw2p9"> - <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isNSSIActivate") == "false"}</bpmn:conditionExpression> - </bpmn:sequenceFlow> - <bpmn:sequenceFlow id="SequenceFlow_0r611x8" name="NO" sourceRef="ExclusiveGateway_0fcc3uy" targetRef="EndEvent_0d1g3mv"> + <bpmn:sequenceFlow id="SequenceFlow_0eiek58" sourceRef="ScriptTask_0x0emke" targetRef="ScriptTask_0032ffo" /> + <bpmn:sequenceFlow id="SequenceFlow_0dc8i0s" sourceRef="ScriptTask_0032ffo" targetRef="ServiceTask_06tcv65" /> + <bpmn:sequenceFlow id="SequenceFlow_0cs78yf" name="no" sourceRef="ExclusiveGateway_0nce7pi" targetRef="EndEvent_1uebh6a"> <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isContinue") == "false"}</bpmn:conditionExpression> </bpmn:sequenceFlow> - <bpmn:sequenceFlow id="SequenceFlow_1qa8miv" name="no" sourceRef="ExclusiveGateway_0z7s0nx" targetRef="EndEvent_1pujgw8"> - <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isNSSIActivate") == "false"}</bpmn:conditionExpression> - </bpmn:sequenceFlow> - <bpmn:sequenceFlow id="SequenceFlow_1jp9gjt" name="yes" sourceRef="ExclusiveGateway_0z7s0nx" targetRef="Task_1vscxgp"> - <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isNSSIActivate") == "true"}</bpmn:conditionExpression> + <bpmn:intermediateCatchEvent id="IntermediateThrowEvent_0m13l1h" name="prepareActive"> + <bpmn:outgoing>SequenceFlow_003ne6w</bpmn:outgoing> + <bpmn:linkEventDefinition name="prepareActive" /> + </bpmn:intermediateCatchEvent> + <bpmn:scriptTask id="ScriptTask_1oa27ir" name="check AAI Orch Status of NSI" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_1wrrg4v</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_1ny9zkw</bpmn:outgoing> + <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new ActivateSliceService() +csi.checkAAIOrchStatusOfAllocates(execution)</bpmn:script> + </bpmn:scriptTask> + <bpmn:sequenceFlow id="SequenceFlow_1wrrg4v" name="continue" sourceRef="ScriptTask_1yc7wdf" targetRef="ScriptTask_1oa27ir"> + <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isContinue") == true}</bpmn:conditionExpression> </bpmn:sequenceFlow> - <bpmn:sequenceFlow id="SequenceFlow_00ba5l9" sourceRef="CallActivity_1cvb0iq" targetRef="ExclusiveGateway_0z7s0nx" /> - <bpmn:sequenceFlow id="SequenceFlow_1uqgdxr" sourceRef="ScriptTask_04p0zjj" targetRef="Task_1o8fe1v" /> - <bpmn:sequenceFlow id="SequenceFlow_0qksr1g" sourceRef="StartEvent_1" targetRef="Task_1ossedo" /> - <bpmn:sequenceFlow id="SequenceFlow_183ypky" sourceRef="Task_1ossedo" targetRef="Task_13zoo6a" /> - <bpmn:sequenceFlow id="SequenceFlow_1yus0c1" sourceRef="Task_18urz3r" targetRef="ScriptTask_04p0zjj" /> - <bpmn:sequenceFlow id="SequenceFlow_149lhmo" sourceRef="Task_1o8fe1v" targetRef="ExclusiveGateway_0fcc3uy" /> - <bpmn:sequenceFlow id="SequenceFlow_15fdf5d" name="yes" sourceRef="ExclusiveGateway_0fcc3uy" targetRef="Task_08zavab"> - <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isContinue") == "true"}</bpmn:conditionExpression> + <bpmn:endEvent id="EndEvent_0n9enas" name="already operate so end"> + <bpmn:incoming>SequenceFlow_0mr8oz6</bpmn:incoming> + </bpmn:endEvent> + <bpmn:sequenceFlow id="SequenceFlow_0mr8oz6" sourceRef="ScriptTask_1yc7wdf" targetRef="EndEvent_0n9enas" /> + <bpmn:sequenceFlow id="SequenceFlow_1ny9zkw" sourceRef="ScriptTask_1oa27ir" targetRef="Task_14srbts" /> + <bpmn:sequenceFlow id="SequenceFlow_19gpkz7" sourceRef="Task_14srbts" targetRef="ExclusiveGateway_0nce7pi" /> + <bpmn:scriptTask id="Task_14srbts" name="check AAI Orch Status of NSI" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_1ny9zkw</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_19gpkz7</bpmn:outgoing> + <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new ActivateSliceService() +csi.checkAAIOrchStatusOfNSI(execution)</bpmn:script> + </bpmn:scriptTask> + <bpmn:sequenceFlow id="SequenceFlow_1b7nvps" sourceRef="ScriptTask_0916zkl" targetRef="CallActivity_06ommam" /> + <bpmn:sequenceFlow id="SequenceFlow_1pgjdeq" sourceRef="CallActivity_06ommam" targetRef="EndEvent_0bvm36p" /> + <bpmn:sequenceFlow id="SequenceFlow_150j97l" sourceRef="CallActivity_06ommam" targetRef="Task_0gu3dv6"> + <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("WorkflowException") == null}</bpmn:conditionExpression> </bpmn:sequenceFlow> - <bpmn:sequenceFlow id="SequenceFlow_144cqr9" sourceRef="Task_08zavab" targetRef="ExclusiveGateway_1g8cg9g" /> - <bpmn:sequenceFlow id="SequenceFlow_1o4zjvp" name="yes" sourceRef="ExclusiveGateway_1g8cg9g" targetRef="CallActivity_1cvb0iq"> - <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isNSSIActivate") == "true"}</bpmn:conditionExpression> + <bpmn:sequenceFlow id="SequenceFlow_194fylv" sourceRef="Task_0gu3dv6" targetRef="ScriptTask_0x0emke"> + <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isOperationFinished") == "true"}</bpmn:conditionExpression> </bpmn:sequenceFlow> - <bpmn:sequenceFlow id="SequenceFlow_1gkpl5q" sourceRef="Task_1vscxgp" targetRef="ScriptTask_0cbth6k" /> - <bpmn:sequenceFlow id="SequenceFlow_0pzts4p" sourceRef="ScriptTask_0cbth6k" targetRef="ServiceTask_1aymwlt" /> - <bpmn:sequenceFlow id="SequenceFlow_0ozefu5" sourceRef="ServiceTask_1aymwlt" targetRef="EndEvent_0d1g3mv" /> + <bpmn:sequenceFlow id="SequenceFlow_1rsr0hp" sourceRef="Task_0gu3dv6" targetRef="CallActivity_06ommam" /> + <bpmn:scriptTask id="Task_0gu3dv6" name="isOperationFinished " default="SequenceFlow_1rsr0hp" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_150j97l</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_194fylv</bpmn:outgoing> + <bpmn:outgoing>SequenceFlow_1rsr0hp</bpmn:outgoing> + <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* +def csi= new ActivateSliceService() +csi.isOperationFinished(execution)</bpmn:script> + </bpmn:scriptTask> + <bpmn:sequenceFlow id="SequenceFlow_1p778c2" sourceRef="ScriptTask_1gm0rl4" targetRef="ScriptTask_1yc7wdf" /> </bpmn:process> - <bpmn:error id="Error_0vq6f5h" name="Error_3ai5jm1" /> <bpmndi:BPMNDiagram id="BPMNDiagram_1"> - <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0htncd8"> - <bpmndi:BPMNShape id="Participant_1x12pgg_di" bpmnElement="ActivateSliceService01" isHorizontal="true"> - <dc:Bounds x="160" y="120" width="2290" height="990" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="SubProcess_1qw5nm4_di" bpmnElement="SubProcess_0iljxjd" isExpanded="true"> - <dc:Bounds x="935" y="680" width="810" height="180" /> + <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ActivateSliceService"> + <bpmndi:BPMNShape id="StartEvent_01bdhbw_di" bpmnElement="StartEvent_01bdhbw"> + <dc:Bounds x="172" y="72" width="36" height="36" /> + <bpmndi:BPMNLabel> + <dc:Bounds x="179" y="115" width="23" height="14" /> + </bpmndi:BPMNLabel> </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ScriptTask_1azew71_di" bpmnElement="Task_01ooik6"> - <dc:Bounds x="1255" y="720" width="100" height="80" /> + <bpmndi:BPMNShape id="ServiceTask_1hmtmeq_di" bpmnElement="ServiceTask_1hmtmeq"> + <dc:Bounds x="550" y="50" width="100" height="80" /> </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="EndEvent_1wd8iqk_di" bpmnElement="EndEvent_1wd8iqk"> - <dc:Bounds x="1492" y="742" width="36" height="36" /> + <bpmndi:BPMNShape id="ScriptTask_1wow08q_di" bpmnElement="ScriptTask_1wow08q"> + <dc:Bounds x="250" y="50" width="100" height="80" /> </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="StartEvent_0hmwdqq_di" bpmnElement="StartEvent_0hmwdqq"> - <dc:Bounds x="1042" y="742" width="36" height="36" /> + <bpmndi:BPMNShape id="ScriptTask_1730kjg_di" bpmnElement="ScriptTask_1730kjg"> + <dc:Bounds x="390" y="50" width="100" height="80" /> </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="SequenceFlow_0oiiwjo_di" bpmnElement="SequenceFlow_0oiiwjo"> - <di:waypoint x="1078" y="760" /> - <di:waypoint x="1255" y="760" /> + <bpmndi:BPMNEdge id="SequenceFlow_1tdecf1_di" bpmnElement="SequenceFlow_1tdecf1"> + <di:waypoint x="208" y="90" /> + <di:waypoint x="250" y="90" /> </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_0uckyao_di" bpmnElement="SequenceFlow_0uckyao"> - <di:waypoint x="1355" y="760" /> - <di:waypoint x="1492" y="760" /> + <bpmndi:BPMNEdge id="SequenceFlow_0bvnci8_di" bpmnElement="SequenceFlow_0bvnci8"> + <di:waypoint x="350" y="90" /> + <di:waypoint x="390" y="90" /> </bpmndi:BPMNEdge> - <bpmndi:BPMNShape id="ScriptTask_1lb7w6u_di" bpmnElement="Task_1vscxgp"> - <dc:Bounds x="1670" y="310" width="100" height="80" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="EndEvent_0d1g3mv_di" bpmnElement="EndEvent_0d1g3mv"> - <dc:Bounds x="2212" y="332" width="36" height="36" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="EndEvent_1pujgw8_di" bpmnElement="EndEvent_1pujgw8"> - <dc:Bounds x="1462" y="422" width="36" height="36" /> + <bpmndi:BPMNEdge id="SequenceFlow_1ox6oh6_di" bpmnElement="SequenceFlow_1ox6oh6"> + <di:waypoint x="490" y="90" /> + <di:waypoint x="550" y="90" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNShape id="ScriptTask_1gm0rl4_di" bpmnElement="ScriptTask_1gm0rl4"> + <dc:Bounds x="690" y="50" width="100" height="80" /> </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ScriptTask_0cbth6k_di" bpmnElement="ScriptTask_0cbth6k"> - <dc:Bounds x="1860" y="310" width="100" height="80" /> + <bpmndi:BPMNEdge id="SequenceFlow_0szxmyf_di" bpmnElement="SequenceFlow_0szxmyf"> + <di:waypoint x="650" y="90" /> + <di:waypoint x="690" y="90" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNShape id="ScriptTask_1yc7wdf_di" bpmnElement="ScriptTask_1yc7wdf"> + <dc:Bounds x="840" y="50" width="100" height="80" /> </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ExclusiveGateway_0z7s0nx_di" bpmnElement="ExclusiveGateway_0z7s0nx" isMarkerVisible="true"> - <dc:Bounds x="1455" y="325" width="50" height="50" /> + <bpmndi:BPMNShape id="ExclusiveGateway_0nce7pi_di" bpmnElement="ExclusiveGateway_0nce7pi" isMarkerVisible="true"> + <dc:Bounds x="1315" y="65" width="50" height="50" /> <bpmndi:BPMNLabel> - <dc:Bounds x="1449" y="313" width="65" height="14" /> + <dc:Bounds x="1347" y="55" width="48" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="CallActivity_1cvb0iq_di" bpmnElement="CallActivity_1cvb0iq"> - <dc:Bounds x="1290" y="310" width="100" height="80" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ScriptTask_04p0zjj_di" bpmnElement="ScriptTask_04p0zjj"> - <dc:Bounds x="695" y="310" width="100" height="80" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ScriptTask_1nsbn4r_di" bpmnElement="Task_1o8fe1v"> - <dc:Bounds x="850" y="310" width="100" height="80" /> + <bpmndi:BPMNShape id="IntermediateThrowEvent_10d4tak_di" bpmnElement="IntermediateThrowEvent_08yipcf"> + <dc:Bounds x="1432" y="72" width="36" height="36" /> + <bpmndi:BPMNLabel> + <dc:Bounds x="1422" y="115" width="63" height="27" /> + </bpmndi:BPMNLabel> </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ExclusiveGateway_0fcc3uy_di" bpmnElement="ExclusiveGateway_0fcc3uy" isMarkerVisible="true"> - <dc:Bounds x="975" y="325" width="50" height="50" /> + <bpmndi:BPMNEdge id="SequenceFlow_0cn6n0t_di" bpmnElement="SequenceFlow_0cn6n0t"> + <di:waypoint x="1365" y="90" /> + <di:waypoint x="1432" y="90" /> <bpmndi:BPMNLabel> - <dc:Bounds x="1006" y="315" width="49" height="14" /> + <dc:Bounds x="1390" y="72" width="17" height="14" /> </bpmndi:BPMNLabel> + </bpmndi:BPMNEdge> + <bpmndi:BPMNShape id="ScriptTask_0916zkl_di" bpmnElement="ScriptTask_0916zkl"> + <dc:Bounds x="250" y="390" width="100" height="80" /> </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ScriptTask_0g9vipz_di" bpmnElement="Task_08zavab"> - <dc:Bounds x="1060" y="310" width="100" height="80" /> + <bpmndi:BPMNShape id="EndEvent_0bvm36p_di" bpmnElement="EndEvent_0bvm36p"> + <dc:Bounds x="522" y="532" width="36" height="36" /> </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ServiceTask_1tv1ow6_di" bpmnElement="Task_18urz3r"> - <dc:Bounds x="540" y="310" width="100" height="80" /> + <bpmndi:BPMNEdge id="SequenceFlow_003ne6w_di" bpmnElement="SequenceFlow_003ne6w"> + <di:waypoint x="208" y="430" /> + <di:waypoint x="250" y="430" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNShape id="CallActivity_06ommam_di" bpmnElement="CallActivity_06ommam"> + <dc:Bounds x="490" y="390" width="100" height="80" /> </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ScriptTask_0tam79l_di" bpmnElement="Task_1ossedo"> - <dc:Bounds x="290" y="310" width="100" height="80" /> + <bpmndi:BPMNShape id="ScriptTask_0x0emke_di" bpmnElement="ScriptTask_0x0emke"> + <dc:Bounds x="920" y="390" width="100" height="80" /> </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ExclusiveGateway_1g8cg9g_di" bpmnElement="ExclusiveGateway_1g8cg9g" isMarkerVisible="true"> - <dc:Bounds x="1195" y="325" width="50" height="50" /> - <bpmndi:BPMNLabel> - <dc:Bounds x="1141" y="406" width="58" height="27" /> - </bpmndi:BPMNLabel> + <bpmndi:BPMNShape id="ScriptTask_0032ffo_di" bpmnElement="ScriptTask_0032ffo"> + <dc:Bounds x="1120" y="390" width="100" height="80" /> </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> - <dc:Bounds x="212" y="332" width="36" height="36" /> + <bpmndi:BPMNShape id="ServiceTask_06tcv65_di" bpmnElement="ServiceTask_06tcv65"> + <dc:Bounds x="1270" y="390" width="100" height="80" /> </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="SequenceFlow_1o4zjvp_di" bpmnElement="SequenceFlow_1o4zjvp"> - <di:waypoint x="1220" y="350" /> - <di:waypoint x="1290" y="350" /> - <bpmndi:BPMNLabel> - <dc:Bounds x="1251" y="332" width="18" height="14" /> - </bpmndi:BPMNLabel> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_144cqr9_di" bpmnElement="SequenceFlow_144cqr9"> - <di:waypoint x="1160" y="350" /> - <di:waypoint x="1195" y="350" /> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_15fdf5d_di" bpmnElement="SequenceFlow_15fdf5d"> - <di:waypoint x="1025" y="350" /> - <di:waypoint x="1060" y="350" /> + <bpmndi:BPMNShape id="EndEvent_1uebh6a_di" bpmnElement="EndEvent_1uebh6a"> + <dc:Bounds x="1422" y="412" width="36" height="36" /> <bpmndi:BPMNLabel> - <dc:Bounds x="1034" y="332" width="18" height="14" /> + <dc:Bounds x="1431" y="455" width="19" height="14" /> </bpmndi:BPMNLabel> + </bpmndi:BPMNShape> + <bpmndi:BPMNEdge id="SequenceFlow_11u2ido_di" bpmnElement="SequenceFlow_11u2ido"> + <di:waypoint x="1370" y="430" /> + <di:waypoint x="1422" y="430" /> </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_149lhmo_di" bpmnElement="SequenceFlow_149lhmo"> - <di:waypoint x="950" y="350" /> - <di:waypoint x="975" y="350" /> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_1yus0c1_di" bpmnElement="SequenceFlow_1yus0c1"> - <di:waypoint x="640" y="350" /> - <di:waypoint x="695" y="350" /> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_183ypky_di" bpmnElement="SequenceFlow_183ypky"> - <di:waypoint x="390" y="350" /> - <di:waypoint x="420" y="350" /> + <bpmndi:BPMNShape id="SubProcess_1s80wtc_di" bpmnElement="SubProcess_1s80wtc" isExpanded="true"> + <dc:Bounds x="410" y="700" width="810" height="180" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNShape id="ScriptTask_0pv8gip_di" bpmnElement="ScriptTask_0pv8gip"> + <dc:Bounds x="730" y="740" width="100" height="80" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNShape id="EndEvent_0yy0a8r_di" bpmnElement="EndEvent_0yy0a8r"> + <dc:Bounds x="967" y="762" width="36" height="36" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNShape id="StartEvent_1a9lxvc_di" bpmnElement="StartEvent_1a9lxvc"> + <dc:Bounds x="517" y="762" width="36" height="36" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNEdge id="SequenceFlow_097vxbl_di" bpmnElement="SequenceFlow_097vxbl"> + <di:waypoint x="830" y="780" /> + <di:waypoint x="967" y="780" /> </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_0qksr1g_di" bpmnElement="SequenceFlow_0qksr1g"> - <di:waypoint x="248" y="350" /> - <di:waypoint x="290" y="350" /> + <bpmndi:BPMNEdge id="SequenceFlow_16jz1l6_di" bpmnElement="SequenceFlow_16jz1l6"> + <di:waypoint x="553" y="780" /> + <di:waypoint x="730" y="780" /> </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_1uqgdxr_di" bpmnElement="SequenceFlow_1uqgdxr"> - <di:waypoint x="795" y="350" /> - <di:waypoint x="850" y="350" /> + <bpmndi:BPMNEdge id="SequenceFlow_0eiek58_di" bpmnElement="SequenceFlow_0eiek58"> + <di:waypoint x="1020" y="430" /> + <di:waypoint x="1120" y="430" /> </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_00ba5l9_di" bpmnElement="SequenceFlow_00ba5l9"> - <di:waypoint x="1390" y="350" /> - <di:waypoint x="1455" y="350" /> + <bpmndi:BPMNEdge id="SequenceFlow_0dc8i0s_di" bpmnElement="SequenceFlow_0dc8i0s"> + <di:waypoint x="1220" y="430" /> + <di:waypoint x="1270" y="430" /> </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_1jp9gjt_di" bpmnElement="SequenceFlow_1jp9gjt"> - <di:waypoint x="1505" y="350" /> - <di:waypoint x="1670" y="350" /> + <bpmndi:BPMNEdge id="SequenceFlow_0cs78yf_di" bpmnElement="SequenceFlow_0cs78yf"> + <di:waypoint x="1340" y="115" /> + <di:waypoint x="1340" y="170" /> + <di:waypoint x="1440" y="170" /> + <di:waypoint x="1440" y="412" /> <bpmndi:BPMNLabel> - <dc:Bounds x="1596" y="332" width="18" height="14" /> + <dc:Bounds x="1384" y="152" width="13" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_1qa8miv_di" bpmnElement="SequenceFlow_1qa8miv"> - <di:waypoint x="1480" y="375" /> - <di:waypoint x="1480" y="422" /> + <bpmndi:BPMNShape id="IntermediateCatchEvent_1vye481_di" bpmnElement="IntermediateThrowEvent_0m13l1h"> + <dc:Bounds x="172" y="412" width="36" height="36" /> <bpmndi:BPMNLabel> - <dc:Bounds x="1489" y="383" width="12" height="14" /> + <dc:Bounds x="156" y="455" width="68" height="14" /> </bpmndi:BPMNLabel> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_0r611x8_di" bpmnElement="SequenceFlow_0r611x8"> - <di:waypoint x="1000" y="375" /> - <di:waypoint x="1000" y="500" /> - <di:waypoint x="2230" y="500" /> - <di:waypoint x="2230" y="368" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNShape id="ScriptTask_1oa27ir_di" bpmnElement="ScriptTask_1oa27ir"> + <dc:Bounds x="1000" y="50" width="100" height="80" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNEdge id="SequenceFlow_1wrrg4v_di" bpmnElement="SequenceFlow_1wrrg4v"> + <di:waypoint x="940" y="90" /> + <di:waypoint x="1000" y="90" /> <bpmndi:BPMNLabel> - <dc:Bounds x="1608" y="482" width="15" height="14" /> + <dc:Bounds x="950" y="72" width="42" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_1pj1j1o_di" bpmnElement="SequenceFlow_1pj1j1o"> - <di:waypoint x="1220" y="375" /> - <di:waypoint x="1220" y="422" /> + <bpmndi:BPMNShape id="EndEvent_0n9enas_di" bpmnElement="EndEvent_0n9enas"> + <dc:Bounds x="872" y="182" width="36" height="36" /> <bpmndi:BPMNLabel> - <dc:Bounds x="1199" y="378" width="12" height="14" /> + <dc:Bounds x="855" y="225" width="77" height="27" /> </bpmndi:BPMNLabel> - </bpmndi:BPMNEdge> - <bpmndi:BPMNShape id="EndEvent_1taw2p9_di" bpmnElement="EndEvent_1taw2p9"> - <dc:Bounds x="1202" y="422" width="36" height="36" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ScriptTask_0uwsu46_di" bpmnElement="Task_13zoo6a"> - <dc:Bounds x="420" y="310" width="100" height="80" /> </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="SequenceFlow_1av6du3_di" bpmnElement="SequenceFlow_1av6du3"> - <di:waypoint x="520" y="350" /> - <di:waypoint x="540" y="350" /> + <bpmndi:BPMNEdge id="SequenceFlow_0mr8oz6_di" bpmnElement="SequenceFlow_0mr8oz6"> + <di:waypoint x="890" y="130" /> + <di:waypoint x="890" y="182" /> </bpmndi:BPMNEdge> - <bpmndi:BPMNShape id="ServiceTask_1aymwlt_di" bpmnElement="ServiceTask_1aymwlt"> - <dc:Bounds x="2020" y="310" width="100" height="80" /> + <bpmndi:BPMNEdge id="SequenceFlow_1ny9zkw_di" bpmnElement="SequenceFlow_1ny9zkw"> + <di:waypoint x="1100" y="90" /> + <di:waypoint x="1170" y="90" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNEdge id="SequenceFlow_19gpkz7_di" bpmnElement="SequenceFlow_19gpkz7"> + <di:waypoint x="1270" y="90" /> + <di:waypoint x="1315" y="90" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNShape id="ScriptTask_0tmggtr_di" bpmnElement="Task_14srbts"> + <dc:Bounds x="1170" y="50" width="100" height="80" /> </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="SequenceFlow_0ozefu5_di" bpmnElement="SequenceFlow_0ozefu5"> - <di:waypoint x="2120" y="350" /> - <di:waypoint x="2212" y="350" /> + <bpmndi:BPMNEdge id="SequenceFlow_1b7nvps_di" bpmnElement="SequenceFlow_1b7nvps"> + <di:waypoint x="350" y="430" /> + <di:waypoint x="490" y="430" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNEdge id="SequenceFlow_1pgjdeq_di" bpmnElement="SequenceFlow_1pgjdeq"> + <di:waypoint x="540" y="470" /> + <di:waypoint x="540" y="532" /> </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_0pzts4p_di" bpmnElement="SequenceFlow_0pzts4p"> - <di:waypoint x="1960" y="350" /> - <di:waypoint x="2020" y="350" /> + <bpmndi:BPMNEdge id="SequenceFlow_150j97l_di" bpmnElement="SequenceFlow_150j97l"> + <di:waypoint x="590" y="430" /> + <di:waypoint x="710" y="430" /> </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_1gkpl5q_di" bpmnElement="SequenceFlow_1gkpl5q"> - <di:waypoint x="1770" y="350" /> - <di:waypoint x="1860" y="350" /> + <bpmndi:BPMNEdge id="SequenceFlow_194fylv_di" bpmnElement="SequenceFlow_194fylv"> + <di:waypoint x="810" y="430" /> + <di:waypoint x="920" y="430" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNEdge id="SequenceFlow_1rsr0hp_di" bpmnElement="SequenceFlow_1rsr0hp"> + <di:waypoint x="760" y="390" /> + <di:waypoint x="760" y="300" /> + <di:waypoint x="540" y="300" /> + <di:waypoint x="540" y="390" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNShape id="ScriptTask_0i2gnhv_di" bpmnElement="Task_0gu3dv6"> + <dc:Bounds x="710" y="390" width="100" height="80" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNEdge id="SequenceFlow_1p778c2_di" bpmnElement="SequenceFlow_1p778c2"> + <di:waypoint x="790" y="90" /> + <di:waypoint x="840" y="90" /> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateSliceService.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateSliceService.bpmn new file mode 100644 index 0000000000..ca231b3daf --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateSliceService.bpmn @@ -0,0 +1,211 @@ +<?xml version="1.0" encoding="UTF-8"?> +<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_13dsy4w" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.4.1"> + <bpmn:error id="Error_08p7hsc" name="MSOWorkflowException" errorCode="MSOWorkflowException" /> + <bpmn:process id="DoActivateSliceService" name="DoActivateSliceService" isExecutable="true"> + <bpmn:startEvent id="StartEvent_0s4ou5u" name="Start"> + <bpmn:outgoing>SequenceFlow_13fdjwf</bpmn:outgoing> + </bpmn:startEvent> + <bpmn:scriptTask id="ScriptTask_1774fcg" name="Preprocess Request" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_13fdjwf</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_1lh6vpe</bpmn:outgoing> + <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoActivateSliceService() +dcso.preProcessRequest(execution)</bpmn:script> + </bpmn:scriptTask> + <bpmn:sequenceFlow id="SequenceFlow_13fdjwf" sourceRef="StartEvent_0s4ou5u" targetRef="ScriptTask_1774fcg" /> + <bpmn:callActivity id="CallActivity_1ba0boc" name="Call Decompose Service" calledElement="DecomposeService"> + <bpmn:extensionElements> + <camunda:in source="msoRequestId" target="msoRequestId" /> + <camunda:in source="nssInstanceId" target="serviceInstanceId" /> + <camunda:in source="serviceModelInfo" target="serviceModelInfo" /> + <camunda:out source="serviceDecomposition" target="serviceDecomposition" /> + <camunda:out source="serviceDecompositionString" target="serviceDecompositionString" /> + </bpmn:extensionElements> + <bpmn:incoming>SequenceFlow_1yqrli6</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_0ru5d0h</bpmn:outgoing> + </bpmn:callActivity> + <bpmn:scriptTask id="ScriptTask_0vhhyt1" name="processDecomposition" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_0ru5d0h</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_0so165e</bpmn:outgoing> + <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoActivateSliceService() +dcso.processDecomposition(execution)</bpmn:script> + </bpmn:scriptTask> + <bpmn:scriptTask id="ScriptTask_17x7ifp" name="SendCommandToNssmf" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_0so165e</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_05wxhwm</bpmn:outgoing> + <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoActivateSliceService() +dcso.sendCreateRequestNSSMF(execution)</bpmn:script> + </bpmn:scriptTask> + <bpmn:sequenceFlow id="SequenceFlow_0ru5d0h" sourceRef="CallActivity_1ba0boc" targetRef="ScriptTask_0vhhyt1" /> + <bpmn:sequenceFlow id="SequenceFlow_0so165e" sourceRef="ScriptTask_0vhhyt1" targetRef="ScriptTask_17x7ifp" /> + <bpmn:sequenceFlow id="SequenceFlow_1lh6vpe" sourceRef="ScriptTask_1774fcg" targetRef="Task_0sjhszu" /> + <bpmn:sequenceFlow id="SequenceFlow_1yqrli6" sourceRef="Task_0sjhszu" targetRef="CallActivity_1ba0boc" /> + <bpmn:scriptTask id="Task_0sjhszu" name="Prepare Compose " scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_1lh6vpe</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_1yqrli6</bpmn:outgoing> + <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoActivateSliceService() +dcso.prepareCompose(execution)</bpmn:script> + </bpmn:scriptTask> + <bpmn:scriptTask id="ScriptTask_00sf7s2" name="Query NSSI progress from adapter" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_0oa5clt</bpmn:incoming> + <bpmn:incoming>SequenceFlow_05wxhwm</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_1herzai</bpmn:outgoing> + <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoActivateSliceService() +dcso.queryNSSIStatus(execution)</bpmn:script> + </bpmn:scriptTask> + <bpmn:exclusiveGateway id="ExclusiveGateway_0z3hxio" name="Completed" default="SequenceFlow_0btrzm8"> + <bpmn:incoming>SequenceFlow_1herzai</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_0btrzm8</bpmn:outgoing> + <bpmn:outgoing>SequenceFlow_1lvozh0</bpmn:outgoing> + </bpmn:exclusiveGateway> + <bpmn:endEvent id="EndEvent_1mivpop" name="end"> + <bpmn:incoming>SequenceFlow_1lvozh0</bpmn:incoming> + </bpmn:endEvent> + <bpmn:scriptTask id="ScriptTask_1lpgplr" name="Time delay" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_0btrzm8</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_0oa5clt</bpmn:outgoing> + <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoActivateSliceService() +dcso.timeDelay(execution)</bpmn:script> + </bpmn:scriptTask> + <bpmn:sequenceFlow id="SequenceFlow_0oa5clt" sourceRef="ScriptTask_1lpgplr" targetRef="ScriptTask_00sf7s2" /> + <bpmn:sequenceFlow id="SequenceFlow_1herzai" sourceRef="ScriptTask_00sf7s2" targetRef="ExclusiveGateway_0z3hxio" /> + <bpmn:sequenceFlow id="SequenceFlow_0btrzm8" name="false" sourceRef="ExclusiveGateway_0z3hxio" targetRef="ScriptTask_1lpgplr" /> + <bpmn:sequenceFlow id="SequenceFlow_1lvozh0" name="yes" sourceRef="ExclusiveGateway_0z3hxio" targetRef="EndEvent_1mivpop"> + <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{(execution.getVariable("jobFinished" ) == true)}</bpmn:conditionExpression> + </bpmn:sequenceFlow> + <bpmn:sequenceFlow id="SequenceFlow_05wxhwm" sourceRef="ScriptTask_17x7ifp" targetRef="ScriptTask_00sf7s2" /> + <bpmn:subProcess id="SubProcess_0bkr0v1" name="sub process for fallouthandler and rollback" triggeredByEvent="true"> + <bpmn:startEvent id="StartEvent_0g7e26e"> + <bpmn:outgoing>SequenceFlow_0ca8iyv</bpmn:outgoing> + <bpmn:errorEventDefinition id="ErrorEventDefinition_1cir65m" /> + </bpmn:startEvent> + <bpmn:endEvent id="EndEvent_14z3xck"> + <bpmn:incoming>SequenceFlow_0aqapur</bpmn:incoming> + </bpmn:endEvent> + <bpmn:scriptTask id="ScriptTask_1gitk4f" name="Send Error Response" scriptFormat="groovy"> + <bpmn:incoming>SequenceFlow_0ca8iyv</bpmn:incoming> + <bpmn:outgoing>SequenceFlow_0aqapur</bpmn:outgoing> + <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* +def dcso = new DoActivateSliceService() +dcso.sendSyncError(execution)</bpmn:script> + </bpmn:scriptTask> + <bpmn:sequenceFlow id="SequenceFlow_0aqapur" sourceRef="ScriptTask_1gitk4f" targetRef="EndEvent_14z3xck" /> + <bpmn:sequenceFlow id="SequenceFlow_0ca8iyv" sourceRef="StartEvent_0g7e26e" targetRef="ScriptTask_1gitk4f" /> + </bpmn:subProcess> + </bpmn:process> + <bpmndi:BPMNDiagram id="BPMNDiagram_1"> + <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoActivateSliceService"> + <bpmndi:BPMNShape id="StartEvent_0s4ou5u_di" bpmnElement="StartEvent_0s4ou5u"> + <dc:Bounds x="152" y="102" width="36" height="36" /> + <bpmndi:BPMNLabel> + <dc:Bounds x="158" y="145" width="25" height="14" /> + </bpmndi:BPMNLabel> + </bpmndi:BPMNShape> + <bpmndi:BPMNShape id="ScriptTask_1774fcg_di" bpmnElement="ScriptTask_1774fcg"> + <dc:Bounds x="220" y="80" width="100" height="80" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNEdge id="SequenceFlow_13fdjwf_di" bpmnElement="SequenceFlow_13fdjwf"> + <di:waypoint x="188" y="120" /> + <di:waypoint x="220" y="120" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNShape id="CallActivity_1ba0boc_di" bpmnElement="CallActivity_1ba0boc"> + <dc:Bounds x="520" y="80" width="100" height="80" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNShape id="ScriptTask_0vhhyt1_di" bpmnElement="ScriptTask_0vhhyt1"> + <dc:Bounds x="660" y="80" width="100" height="80" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNShape id="ScriptTask_17x7ifp_di" bpmnElement="ScriptTask_17x7ifp"> + <dc:Bounds x="810" y="80" width="100" height="80" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNEdge id="SequenceFlow_0ru5d0h_di" bpmnElement="SequenceFlow_0ru5d0h"> + <di:waypoint x="620" y="120" /> + <di:waypoint x="660" y="120" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNEdge id="SequenceFlow_0so165e_di" bpmnElement="SequenceFlow_0so165e"> + <di:waypoint x="760" y="120" /> + <di:waypoint x="810" y="120" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNEdge id="SequenceFlow_1lh6vpe_di" bpmnElement="SequenceFlow_1lh6vpe"> + <di:waypoint x="320" y="120" /> + <di:waypoint x="360" y="120" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNEdge id="SequenceFlow_1yqrli6_di" bpmnElement="SequenceFlow_1yqrli6"> + <di:waypoint x="460" y="120" /> + <di:waypoint x="520" y="120" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNShape id="ScriptTask_1mfr1lo_di" bpmnElement="Task_0sjhszu"> + <dc:Bounds x="360" y="80" width="100" height="80" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNShape id="ScriptTask_00sf7s2_di" bpmnElement="ScriptTask_00sf7s2"> + <dc:Bounds x="960" y="80" width="100" height="80" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNShape id="ExclusiveGateway_0z3hxio_di" bpmnElement="ExclusiveGateway_0z3hxio" isMarkerVisible="true"> + <dc:Bounds x="1125" y="95" width="50" height="50" /> + <bpmndi:BPMNLabel> + <dc:Bounds x="1123" y="71" width="54" height="14" /> + </bpmndi:BPMNLabel> + </bpmndi:BPMNShape> + <bpmndi:BPMNShape id="EndEvent_1mivpop_di" bpmnElement="EndEvent_1mivpop"> + <dc:Bounds x="1292" y="102" width="36" height="36" /> + <bpmndi:BPMNLabel> + <dc:Bounds x="1301" y="145" width="19" height="14" /> + </bpmndi:BPMNLabel> + </bpmndi:BPMNShape> + <bpmndi:BPMNShape id="ScriptTask_1lpgplr_di" bpmnElement="ScriptTask_1lpgplr"> + <dc:Bounds x="1100" y="260" width="100" height="80" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNEdge id="SequenceFlow_0oa5clt_di" bpmnElement="SequenceFlow_0oa5clt"> + <di:waypoint x="1100" y="300" /> + <di:waypoint x="1010" y="300" /> + <di:waypoint x="1010" y="160" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNEdge id="SequenceFlow_1herzai_di" bpmnElement="SequenceFlow_1herzai"> + <di:waypoint x="1060" y="120" /> + <di:waypoint x="1125" y="120" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNEdge id="SequenceFlow_0btrzm8_di" bpmnElement="SequenceFlow_0btrzm8"> + <di:waypoint x="1150" y="145" /> + <di:waypoint x="1150" y="260" /> + <bpmndi:BPMNLabel> + <dc:Bounds x="1126" y="205" width="23" height="14" /> + </bpmndi:BPMNLabel> + </bpmndi:BPMNEdge> + <bpmndi:BPMNEdge id="SequenceFlow_1lvozh0_di" bpmnElement="SequenceFlow_1lvozh0"> + <di:waypoint x="1175" y="120" /> + <di:waypoint x="1292" y="120" /> + <bpmndi:BPMNLabel> + <dc:Bounds x="1226" y="133" width="17" height="14" /> + </bpmndi:BPMNLabel> + </bpmndi:BPMNEdge> + <bpmndi:BPMNEdge id="SequenceFlow_05wxhwm_di" bpmnElement="SequenceFlow_05wxhwm"> + <di:waypoint x="910" y="120" /> + <di:waypoint x="960" y="120" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNShape id="SubProcess_0bkr0v1_di" bpmnElement="SubProcess_0bkr0v1" isExpanded="true"> + <dc:Bounds x="240" y="420" width="810" height="180" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNShape id="StartEvent_0g7e26e_di" bpmnElement="StartEvent_0g7e26e"> + <dc:Bounds x="347" y="482" width="36" height="36" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNShape id="EndEvent_14z3xck_di" bpmnElement="EndEvent_14z3xck"> + <dc:Bounds x="797" y="482" width="36" height="36" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNShape id="ScriptTask_1gitk4f_di" bpmnElement="ScriptTask_1gitk4f"> + <dc:Bounds x="560" y="460" width="100" height="80" /> + </bpmndi:BPMNShape> + <bpmndi:BPMNEdge id="SequenceFlow_0aqapur_di" bpmnElement="SequenceFlow_0aqapur"> + <di:waypoint x="660" y="500" /> + <di:waypoint x="797" y="500" /> + </bpmndi:BPMNEdge> + <bpmndi:BPMNEdge id="SequenceFlow_0ca8iyv_di" bpmnElement="SequenceFlow_0ca8iyv"> + <di:waypoint x="383" y="500" /> + <di:waypoint x="560" y="500" /> + </bpmndi:BPMNEdge> + </bpmndi:BPMNPlane> + </bpmndi:BPMNDiagram> +</bpmn:definitions> diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateTransportNSSI.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateTransportNSSI.bpmn index 51448b027c..eb0c007403 100644 --- a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateTransportNSSI.bpmn +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoActivateTransportNSSI.bpmn @@ -30,7 +30,7 @@ ex.processJavaException(execution)</bpmn:script> <bpmn:outgoing>SequenceFlow_1qv8qw1</bpmn:outgoing> <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* def runScript = new DoActivateTnNssi() -runScript.prepareUpdateJobStatus(execution,"finished","100","Activate or Deactivate successfully")</bpmn:script> +runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Activate or Deactivate successfully")</bpmn:script> </bpmn:scriptTask> <bpmn:sequenceFlow id="SequenceFlow_03s744c" sourceRef="StartEvent_1nbljfd" targetRef="ScriptTask_1tc44ge" /> <bpmn:sequenceFlow id="SequenceFlow_1qv8qw1" sourceRef="ScriptTask_1ssh2l9" targetRef="Activity_0nhxd67" /> @@ -40,8 +40,9 @@ runScript.prepareUpdateJobStatus(execution,"finished","100","Activate or Deactiv <bpmn:outgoing>SequenceFlow_0kixzdj</bpmn:outgoing> <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* def actionType = execution.getVariable("actionType") -execution.setVariable("orchestrationStatus", actionType) def runScript = new DoActivateTnNssi() +def orchStatus = runScript.getOrchStatusBasedOnActionType(actionType) +execution.setVariable("orchestrationStatus", orchStatus) runScript.updateAAIOrchStatus(execution)</bpmn:script> </bpmn:scriptTask> <bpmn:sequenceFlow id="SequenceFlow_0kixzdj" sourceRef="ScriptTask_19uxoi8" targetRef="ScriptTask_1ssh2l9" /> diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateTransportNSSI.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateTransportNSSI.bpmn index f3bd700d9a..124b75cbe8 100644 --- a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateTransportNSSI.bpmn +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoAllocateTransportNSSI.bpmn @@ -69,7 +69,7 @@ ex.processJavaException(execution)</bpmn:script> <bpmn:outgoing>SequenceFlow_0t094g7</bpmn:outgoing> <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* def runScript = new TnAllocateNssi() -runScript.prepareUpdateJobStatus(execution,"progress","10","Allocate TN NSSI started")</bpmn:script> +runScript.prepareUpdateJobStatus(execution,"INPROGRESS","10","Allocate TN NSSI started")</bpmn:script> </bpmn:scriptTask> <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_1ex8ke9" name="Goto OOF TN NSSI Selection"> <bpmn:incoming>SequenceFlow_0jrclmc</bpmn:incoming> @@ -80,7 +80,7 @@ runScript.prepareUpdateJobStatus(execution,"progress","10","Allocate TN NSSI sta <bpmn:outgoing>SequenceFlow_1qv8qw1</bpmn:outgoing> <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* def runScript = new TnAllocateNssi() -runScript.prepareUpdateJobStatus(execution,"finished","100","Allocated TN NSSI successfully")</bpmn:script> +runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Allocated TN NSSI successfully")</bpmn:script> </bpmn:scriptTask> <bpmn:callActivity id="CallActivity_1bnkmaz" name="Call Decompose Service" calledElement="DecomposeService"> <bpmn:extensionElements> @@ -174,7 +174,7 @@ runScript.updateAAIOrchStatus(execution)</bpmn:script> <bpmn:outgoing>Flow_1853sgs</bpmn:outgoing> <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* def runScript = new TnAllocateNssi() -runScript.prepareUpdateJobStatus(execution,"finished","100","Allocated TN NSSI successfully")</bpmn:script> +runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Allocated TN NSSI successfully")</bpmn:script> </bpmn:scriptTask> <bpmn:sequenceFlow id="Flow_1853sgs" sourceRef="Activity_1mh10j4" targetRef="Activity_124z7q2" /> <bpmn:callActivity id="Activity_187hs2t" name="Handle TN NSSI Selection OOF request" calledElement="DoHandleOofRequest"> diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoDeallocateTransportNSSI.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoDeallocateTransportNSSI.bpmn index de8391428d..1dd362bf4b 100644 --- a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoDeallocateTransportNSSI.bpmn +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoDeallocateTransportNSSI.bpmn @@ -30,7 +30,7 @@ ex.processJavaException(execution)</bpmn:script> <bpmn:outgoing>SequenceFlow_1qv8qw1</bpmn:outgoing> <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* def runScript = new DoDeallocateTnNssi() -runScript.prepareUpdateJobStatus(execution,"finished","100","Deallocated TN NSSI successfully")</bpmn:script> +runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Deallocated TN NSSI successfully")</bpmn:script> </bpmn:scriptTask> <bpmn:sequenceFlow id="SequenceFlow_03s744c" sourceRef="StartEvent_1nbljfd" targetRef="ScriptTask_1tc44ge" /> <bpmn:sequenceFlow id="SequenceFlow_1qv8qw1" sourceRef="ScriptTask_1ssh2l9" targetRef="Activity_0rgeefb" /> diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoModifyTransportNSSI.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoModifyTransportNSSI.bpmn index d70bed68cb..2b122fb5e2 100644 --- a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoModifyTransportNSSI.bpmn +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoModifyTransportNSSI.bpmn @@ -30,7 +30,7 @@ ex.processJavaException(execution)</bpmn:script> <bpmn:outgoing>SequenceFlow_1qv8qw1</bpmn:outgoing> <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* def runScript = new DoActivateTnNssi() -runScript.prepareUpdateJobStatus(execution,"finished","100","Modified TN NSSI successfully")</bpmn:script> +runScript.prepareUpdateJobStatus(execution,"FINISHED","100","Modified TN NSSI successfully")</bpmn:script> </bpmn:scriptTask> <bpmn:sequenceFlow id="SequenceFlow_03s744c" sourceRef="StartEvent_1nbljfd" targetRef="ScriptTask_1tc44ge" /> <bpmn:sequenceFlow id="SequenceFlow_1qv8qw1" sourceRef="ScriptTask_1ssh2l9" targetRef="Activity_0ziz3ti" /> diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoSendCommandToNSSMF.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoSendCommandToNSSMF.bpmn deleted file mode 100644 index 4f12ca7f41..0000000000 --- a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoSendCommandToNSSMF.bpmn +++ /dev/null @@ -1,344 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_13dsy4w" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.4.1"> - <bpmn:collaboration id="Collaboration_0htncd8"> - <bpmn:participant id="DoSendCommandToNSSMF01" name="DoSendCommandToNSSMF" processRef="DoSendCommandToNSSMF" /> - </bpmn:collaboration> - <bpmn:process id="DoSendCommandToNSSMF" name="DoSendCommandToNSSMF" isExecutable="true"> - <bpmn:scriptTask id="Task_0qx12sa" name="Get one NSSI info from list" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_0umnozs</bpmn:incoming> - <bpmn:incoming>SequenceFlow_1vuuuhr</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_1ea3pk8</bpmn:outgoing> - <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* -def csi= new DoSendCommandToNSSMF() -csi.getNSSIformlist(execution)</bpmn:script> - </bpmn:scriptTask> - <bpmn:exclusiveGateway id="ExclusiveGateway_18qkm4u" name="Activation completed?"> - <bpmn:incoming>SequenceFlow_1yjsv5s</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_1qxmooy</bpmn:outgoing> - <bpmn:outgoing>SequenceFlow_1lh0it1</bpmn:outgoing> - <bpmn:outgoing>SequenceFlow_0swcqw8</bpmn:outgoing> - </bpmn:exclusiveGateway> - <bpmn:exclusiveGateway id="ExclusiveGateway_07yenxg" name="Get successful?"> - <bpmn:incoming>SequenceFlow_1ea3pk8</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_080lgb0</bpmn:outgoing> - <bpmn:outgoing>SequenceFlow_1oi86yc</bpmn:outgoing> - </bpmn:exclusiveGateway> - <bpmn:sequenceFlow id="SequenceFlow_1vuuuhr" sourceRef="ServiceTask_0myj742" targetRef="Task_0qx12sa" /> - <bpmn:sequenceFlow id="SequenceFlow_1oeexsj" sourceRef="Task_1a9qxuo" targetRef="ServiceTask_0myj742" /> - <bpmn:sequenceFlow id="SequenceFlow_1ea3pk8" sourceRef="Task_0qx12sa" targetRef="ExclusiveGateway_07yenxg" /> - <bpmn:sequenceFlow id="SequenceFlow_1yjsv5s" sourceRef="Task_1y09kt4" targetRef="ExclusiveGateway_18qkm4u" /> - <bpmn:sequenceFlow id="SequenceFlow_0swcqw8" name="waitting" sourceRef="ExclusiveGateway_18qkm4u" targetRef="Task_08qjojj"> - <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isActivateSuccessfull") == "waitting"}</bpmn:conditionExpression> - </bpmn:sequenceFlow> - <bpmn:sequenceFlow id="SequenceFlow_1lh0it1" name="no" sourceRef="ExclusiveGateway_18qkm4u" targetRef="EndEvent_0k52g73"> - <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isActivateSuccessfull") == "false"}</bpmn:conditionExpression> - </bpmn:sequenceFlow> - <bpmn:sequenceFlow id="SequenceFlow_1qxmooy" name="yes" sourceRef="ExclusiveGateway_18qkm4u" targetRef="Task_1a9qxuo"> - <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isActivateSuccessfull") == "true"}</bpmn:conditionExpression> - </bpmn:sequenceFlow> - <bpmn:sequenceFlow id="SequenceFlow_080lgb0" name="yes" sourceRef="ExclusiveGateway_07yenxg" targetRef="CallActivity_0018jhc"> - <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isGetSuccessfull") == "true"}</bpmn:conditionExpression> - </bpmn:sequenceFlow> - <bpmn:sequenceFlow id="SequenceFlow_08xfw41" sourceRef="Task_0xfp2r8" targetRef="ExclusiveGateway_0ljwjfh" /> - <bpmn:sequenceFlow id="SequenceFlow_1s2oozd" name="yes" sourceRef="ExclusiveGateway_0ljwjfh" targetRef="Task_08qjojj"> - <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isNSSIActivated") == "true"}</bpmn:conditionExpression> - </bpmn:sequenceFlow> - <bpmn:sequenceFlow id="SequenceFlow_020xvv4" name="no" sourceRef="ExclusiveGateway_0ljwjfh" targetRef="EndEvent_0k52g73"> - <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isNSSIActivated") == "false"}</bpmn:conditionExpression> - </bpmn:sequenceFlow> - <bpmn:sequenceFlow id="SequenceFlow_10162l8" sourceRef="Task_08qjojj" targetRef="Task_1y09kt4" /> - <bpmn:sequenceFlow id="SequenceFlow_1pfo460" sourceRef="StartEvent_1" targetRef="ScriptTask_1otgwej" /> - <bpmn:sequenceFlow id="SequenceFlow_1oi86yc" name="no" sourceRef="ExclusiveGateway_07yenxg" targetRef="EndEvent_0d1g3mv"> - <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("isGetSuccessfull") == "false"}</bpmn:conditionExpression> - </bpmn:sequenceFlow> - <bpmn:endEvent id="EndEvent_0d1g3mv"> - <bpmn:incoming>SequenceFlow_1oi86yc</bpmn:incoming> - </bpmn:endEvent> - <bpmn:startEvent id="StartEvent_1"> - <bpmn:outgoing>SequenceFlow_1pfo460</bpmn:outgoing> - </bpmn:startEvent> - <bpmn:scriptTask id="ScriptTask_1otgwej" name="Preprocess Request" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_1pfo460</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_0umnozs</bpmn:outgoing> - <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* -def dcso = new DoSendCommandToNSSMF() -dcso.preProcessRequest(execution)</bpmn:script> - </bpmn:scriptTask> - <bpmn:subProcess id="SubProcess_0iljxjd" name="sub process for fallouthandler and rollback" triggeredByEvent="true"> - <bpmn:startEvent id="StartEvent_0hmwdqq"> - <bpmn:outgoing>SequenceFlow_0oiiwjo</bpmn:outgoing> - <bpmn:errorEventDefinition id="ErrorEventDefinition_1il80ww" /> - </bpmn:startEvent> - <bpmn:endEvent id="EndEvent_1wd8iqk"> - <bpmn:incoming>SequenceFlow_0uckyao</bpmn:incoming> - </bpmn:endEvent> - <bpmn:sequenceFlow id="SequenceFlow_0oiiwjo" sourceRef="StartEvent_0hmwdqq" targetRef="Task_01ooik6" /> - <bpmn:sequenceFlow id="SequenceFlow_0uckyao" sourceRef="Task_01ooik6" targetRef="EndEvent_1wd8iqk" /> - <bpmn:scriptTask id="Task_01ooik6" name="Send Error Response" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_0oiiwjo</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_0uckyao</bpmn:outgoing> - <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* -def csi= new DoSendCommandToNSSMF() -csi.sendSyncError(execution)</bpmn:script> - </bpmn:scriptTask> - </bpmn:subProcess> - <bpmn:sequenceFlow id="SequenceFlow_0umnozs" sourceRef="ScriptTask_1otgwej" targetRef="Task_0qx12sa" /> - <bpmn:sequenceFlow id="SequenceFlow_1ucjcm1" sourceRef="CallActivity_0018jhc" targetRef="ScriptTask_0q7is68" /> - <bpmn:endEvent id="EndEvent_0k52g73"> - <bpmn:incoming>SequenceFlow_020xvv4</bpmn:incoming> - <bpmn:incoming>SequenceFlow_1lh0it1</bpmn:incoming> - <bpmn:errorEventDefinition id="ErrorEventDefinition_0fypnen" errorRef="Error_08p7hsc" /> - </bpmn:endEvent> - <bpmn:scriptTask id="Task_08qjojj" name="wait for Return" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_1s2oozd</bpmn:incoming> - <bpmn:incoming>SequenceFlow_0swcqw8</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_10162l8</bpmn:outgoing> - <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* -def csi= new DoSendCommandToNSSMF() -csi.WaitForReturn(execution)</bpmn:script> - </bpmn:scriptTask> - <bpmn:scriptTask id="Task_1y09kt4" name="Get the activation status" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_10162l8</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_1yjsv5s</bpmn:outgoing> - <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* -def csi= new DoSendCommandToNSSMF() -csi.GetTheStatusOfActivation(execution)</bpmn:script> - </bpmn:scriptTask> - <bpmn:exclusiveGateway id="ExclusiveGateway_0ljwjfh" name="Activation successful?"> - <bpmn:incoming>SequenceFlow_08xfw41</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_1s2oozd</bpmn:outgoing> - <bpmn:outgoing>SequenceFlow_020xvv4</bpmn:outgoing> - </bpmn:exclusiveGateway> - <bpmn:scriptTask id="Task_0xfp2r8" name="SendCommandToNssmf" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_1a6iu8c</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_08xfw41</bpmn:outgoing> - <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* -def csi= new DoSendCommandToNSSMF() -csi.SendCommandToNssmf(execution)</bpmn:script> - </bpmn:scriptTask> - <bpmn:callActivity id="CallActivity_0018jhc" name="Call Decompose Service" calledElement="DecomposeService"> - <bpmn:extensionElements> - <camunda:in source="msoRequestId" target="msoRequestId" /> - <camunda:in source="nssiId" target="serviceInstanceId" /> - <camunda:in source="serviceModelInfo" target="serviceModelInfo" /> - <camunda:out source="serviceDecomposition" target="serviceDecomposition" /> - <camunda:out source="serviceDecompositionString" target="serviceDecompositionString" /> - </bpmn:extensionElements> - <bpmn:incoming>SequenceFlow_080lgb0</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_1ucjcm1</bpmn:outgoing> - </bpmn:callActivity> - <bpmn:scriptTask id="ScriptTask_0q7is68" name="processDecomposition" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_1ucjcm1</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_1a6iu8c</bpmn:outgoing> - <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* -def csi= new DoSendCommandToNSSMF() -csi.processDecomposition(execution)</bpmn:script> - </bpmn:scriptTask> - <bpmn:sequenceFlow id="SequenceFlow_1a6iu8c" sourceRef="ScriptTask_0q7is68" targetRef="Task_0xfp2r8" /> - <bpmn:serviceTask id="ServiceTask_0myj742" name="Update Service Operation Status"> - <bpmn:extensionElements> - <camunda:connector> - <camunda:inputOutput> - <camunda:inputParameter name="url">${CVFMI_dbAdapterEndpoint}</camunda:inputParameter> - <camunda:inputParameter name="headers"> - <camunda:map> - <camunda:entry key="content-type">application/soap+xml</camunda:entry> - <camunda:entry key="Authorization">Basic YnBlbDpwYXNzd29yZDEk</camunda:entry> - </camunda:map> - </camunda:inputParameter> - <camunda:inputParameter name="payload">${CVFMI_updateServiceOperStatusRequest}</camunda:inputParameter> - <camunda:inputParameter name="method">POST</camunda:inputParameter> - <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter> - <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter> - </camunda:inputOutput> - <camunda:connectorId>http-connector</camunda:connectorId> - </camunda:connector> - </bpmn:extensionElements> - <bpmn:incoming>SequenceFlow_1oeexsj</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_1vuuuhr</bpmn:outgoing> - </bpmn:serviceTask> - <bpmn:scriptTask id="Task_1a9qxuo" name="Update Index" scriptFormat="groovy"> - <bpmn:incoming>SequenceFlow_1qxmooy</bpmn:incoming> - <bpmn:outgoing>SequenceFlow_1oeexsj</bpmn:outgoing> - <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.* -def csi= new DoSendCommandToNSSMF() -csi.UpdateIndex(execution)</bpmn:script> - </bpmn:scriptTask> - </bpmn:process> - <bpmn:error id="Error_08p7hsc" name="MSOWorkflowException" errorCode="MSOWorkflowException" /> - <bpmndi:BPMNDiagram id="BPMNDiagram_1"> - <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0htncd8"> - <bpmndi:BPMNShape id="Participant_1x12pgg_di" bpmnElement="DoSendCommandToNSSMF01" isHorizontal="true"> - <dc:Bounds x="160" y="60" width="2080" height="1000" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="EndEvent_0d1g3mv_di" bpmnElement="EndEvent_0d1g3mv"> - <dc:Bounds x="1642" y="302" width="36" height="36" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> - <dc:Bounds x="262" y="302" width="36" height="36" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="SequenceFlow_0uckyao_di" bpmnElement="SequenceFlow_0uckyao"> - <di:waypoint x="1120" y="860" /> - <di:waypoint x="1257" y="860" /> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_0oiiwjo_di" bpmnElement="SequenceFlow_0oiiwjo"> - <di:waypoint x="843" y="860" /> - <di:waypoint x="1020" y="860" /> - </bpmndi:BPMNEdge> - <bpmndi:BPMNShape id="StartEvent_0hmwdqq_di" bpmnElement="StartEvent_0hmwdqq"> - <dc:Bounds x="807" y="842" width="36" height="36" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="EndEvent_1wd8iqk_di" bpmnElement="EndEvent_1wd8iqk"> - <dc:Bounds x="1257" y="842" width="36" height="36" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ScriptTask_0s82iw4_di" bpmnElement="Task_0xfp2r8"> - <dc:Bounds x="1230" y="280" width="100" height="80" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ExclusiveGateway_18qkm4u_di" bpmnElement="ExclusiveGateway_18qkm4u" isMarkerVisible="true"> - <dc:Bounds x="835" y="595" width="50" height="50" /> - <bpmndi:BPMNLabel> - <dc:Bounds x="832" y="558" width="55" height="27" /> - </bpmndi:BPMNLabel> - </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="SequenceFlow_1ea3pk8_di" bpmnElement="SequenceFlow_1ea3pk8"> - <di:waypoint x="770" y="320" /> - <di:waypoint x="815" y="320" /> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_08xfw41_di" bpmnElement="SequenceFlow_08xfw41"> - <di:waypoint x="1330" y="320" /> - <di:waypoint x="1415" y="320" /> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_1yjsv5s_di" bpmnElement="SequenceFlow_1yjsv5s"> - <di:waypoint x="1390" y="620" /> - <di:waypoint x="885" y="620" /> - </bpmndi:BPMNEdge> - <bpmndi:BPMNShape id="ExclusiveGateway_0ljwjfh_di" bpmnElement="ExclusiveGateway_0ljwjfh" isMarkerVisible="true"> - <dc:Bounds x="1415" y="295" width="50" height="50" /> - <bpmndi:BPMNLabel> - <dc:Bounds x="1412" y="265" width="60" height="27" /> - </bpmndi:BPMNLabel> - </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="SequenceFlow_1s2oozd_di" bpmnElement="SequenceFlow_1s2oozd"> - <di:waypoint x="1440" y="345" /> - <di:waypoint x="1440" y="420" /> - <bpmndi:BPMNLabel> - <dc:Bounds x="1451" y="373" width="18" height="14" /> - </bpmndi:BPMNLabel> - </bpmndi:BPMNEdge> - <bpmndi:BPMNShape id="EndEvent_0k52g73_di" bpmnElement="EndEvent_0k52g73"> - <dc:Bounds x="1532" y="302" width="36" height="36" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="SequenceFlow_020xvv4_di" bpmnElement="SequenceFlow_020xvv4"> - <di:waypoint x="1465" y="320" /> - <di:waypoint x="1532" y="320" /> - <bpmndi:BPMNLabel> - <dc:Bounds x="1494" y="302" width="12" height="14" /> - </bpmndi:BPMNLabel> - </bpmndi:BPMNEdge> - <bpmndi:BPMNShape id="ScriptTask_121jfnq_di" bpmnElement="Task_0qx12sa"> - <dc:Bounds x="670" y="280" width="100" height="80" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ExclusiveGateway_07yenxg_di" bpmnElement="ExclusiveGateway_07yenxg" isMarkerVisible="true"> - <dc:Bounds x="815" y="295" width="50" height="50" /> - <bpmndi:BPMNLabel> - <dc:Bounds x="800" y="353" width="80" height="14" /> - </bpmndi:BPMNLabel> - </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="SequenceFlow_080lgb0_di" bpmnElement="SequenceFlow_080lgb0"> - <di:waypoint x="865" y="320" /> - <di:waypoint x="930" y="320" /> - <bpmndi:BPMNLabel> - <dc:Bounds x="869" y="302" width="18" height="14" /> - </bpmndi:BPMNLabel> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_10162l8_di" bpmnElement="SequenceFlow_10162l8"> - <di:waypoint x="1440" y="500" /> - <di:waypoint x="1440" y="580" /> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_1qxmooy_di" bpmnElement="SequenceFlow_1qxmooy"> - <di:waypoint x="835" y="620" /> - <di:waypoint x="770" y="620" /> - <bpmndi:BPMNLabel> - <dc:Bounds x="813" y="623" width="18" height="14" /> - </bpmndi:BPMNLabel> - </bpmndi:BPMNEdge> - <bpmndi:BPMNShape id="ScriptTask_0aspjme_di" bpmnElement="Task_1a9qxuo"> - <dc:Bounds x="670" y="580" width="100" height="80" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ScriptTask_170g0ll_di" bpmnElement="Task_08qjojj"> - <dc:Bounds x="1390" y="420" width="100" height="80" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ScriptTask_1meh39q_di" bpmnElement="Task_1y09kt4"> - <dc:Bounds x="1390" y="580" width="100" height="80" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="SequenceFlow_1lh0it1_di" bpmnElement="SequenceFlow_1lh0it1"> - <di:waypoint x="860" y="645" /> - <di:waypoint x="860" y="720" /> - <di:waypoint x="1550" y="720" /> - <di:waypoint x="1550" y="338" /> - <bpmndi:BPMNLabel> - <dc:Bounds x="1110" y="702" width="12" height="14" /> - </bpmndi:BPMNLabel> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_0swcqw8_di" bpmnElement="SequenceFlow_0swcqw8"> - <di:waypoint x="860" y="595" /> - <di:waypoint x="860" y="460" /> - <di:waypoint x="1390" y="460" /> - <bpmndi:BPMNLabel> - <dc:Bounds x="1067" y="443" width="38" height="14" /> - </bpmndi:BPMNLabel> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_1oeexsj_di" bpmnElement="SequenceFlow_1oeexsj"> - <di:waypoint x="720" y="580" /> - <di:waypoint x="720" y="520" /> - </bpmndi:BPMNEdge> - <bpmndi:BPMNShape id="ServiceTask_0myj742_di" bpmnElement="ServiceTask_0myj742"> - <dc:Bounds x="670" y="440" width="100" height="80" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="SequenceFlow_1vuuuhr_di" bpmnElement="SequenceFlow_1vuuuhr"> - <di:waypoint x="720" y="440" /> - <di:waypoint x="720" y="360" /> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_1pfo460_di" bpmnElement="SequenceFlow_1pfo460"> - <di:waypoint x="298" y="320" /> - <di:waypoint x="420" y="320" /> - </bpmndi:BPMNEdge> - <bpmndi:BPMNEdge id="SequenceFlow_1oi86yc_di" bpmnElement="SequenceFlow_1oi86yc"> - <di:waypoint x="840" y="295" /> - <di:waypoint x="840" y="230" /> - <di:waypoint x="1660" y="230" /> - <di:waypoint x="1660" y="302" /> - <bpmndi:BPMNLabel> - <dc:Bounds x="884" y="212" width="12" height="14" /> - </bpmndi:BPMNLabel> - </bpmndi:BPMNEdge> - <bpmndi:BPMNShape id="ScriptTask_1otgwej_di" bpmnElement="ScriptTask_1otgwej"> - <dc:Bounds x="420" y="280" width="100" height="80" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="SubProcess_1hlwd77_di" bpmnElement="SubProcess_0iljxjd" isExpanded="true"> - <dc:Bounds x="700" y="780" width="810" height="180" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNShape id="ScriptTask_1c5l0io_di" bpmnElement="Task_01ooik6"> - <dc:Bounds x="1020" y="820" width="100" height="80" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="SequenceFlow_0umnozs_di" bpmnElement="SequenceFlow_0umnozs"> - <di:waypoint x="520" y="320" /> - <di:waypoint x="670" y="320" /> - </bpmndi:BPMNEdge> - <bpmndi:BPMNShape id="CallActivity_0018jhc_di" bpmnElement="CallActivity_0018jhc"> - <dc:Bounds x="930" y="280" width="100" height="80" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="SequenceFlow_1ucjcm1_di" bpmnElement="SequenceFlow_1ucjcm1"> - <di:waypoint x="1030" y="320" /> - <di:waypoint x="1070" y="320" /> - </bpmndi:BPMNEdge> - <bpmndi:BPMNShape id="ScriptTask_0q7is68_di" bpmnElement="ScriptTask_0q7is68"> - <dc:Bounds x="1070" y="280" width="100" height="80" /> - </bpmndi:BPMNShape> - <bpmndi:BPMNEdge id="SequenceFlow_1a6iu8c_di" bpmnElement="SequenceFlow_1a6iu8c"> - <di:waypoint x="1170" y="320" /> - <di:waypoint x="1230" y="320" /> - </bpmndi:BPMNEdge> - </bpmndi:BPMNPlane> - </bpmndi:BPMNDiagram> -</bpmn:definitions> diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/ExecuteBuildingBlockBuilder.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/ExecuteBuildingBlockBuilder.java new file mode 100644 index 0000000000..b8699838e2 --- /dev/null +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/ExecuteBuildingBlockBuilder.java @@ -0,0 +1,217 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP - SO + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * Modifications Copyright (c) 2019 Samsung + * ================================================================================ + * Modifications Copyright (c) 2021 Nokia + * ================================================================================ + * Modifications Copyright (c) 2020 Tech Mahindra + * ================================================================================ + * 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.so.bpmn.infrastructure.workflow.tasks; + +import org.onap.so.bpmn.servicedecomposition.entities.BuildingBlock; +import org.onap.so.bpmn.servicedecomposition.entities.ConfigurationResourceKeys; +import org.onap.so.bpmn.servicedecomposition.entities.ExecuteBuildingBlock; +import org.onap.so.bpmn.servicedecomposition.entities.WorkflowResourceIds; +import org.onap.so.db.catalog.beans.macro.OrchestrationFlow; +import org.onap.so.serviceinstancebeans.RequestDetails; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Component; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Optional; +import java.util.UUID; +import java.util.stream.Collectors; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.ASSIGNINSTANCE; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.CONFIGURATION; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.CONTROLLER; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.CREATE_INSTANCE; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.NETWORKCOLLECTION; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.REPLACEINSTANCE; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.REPLACEINSTANCERETAINASSIGNMENTS; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.SERVICE; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.VOLUMEGROUP; + +@Component +public class ExecuteBuildingBlockBuilder { + + private static final Logger logger = LoggerFactory.getLogger(ExecuteBuildingBlockBuilder.class); + + private static final String VNF = "Vnf"; + private static final String PNF = "Pnf"; + private static final String VFMODULE = "VfModule"; + private static final String NETWORK = "Network"; + + protected List<ExecuteBuildingBlock> buildExecuteBuildingBlockList(List<OrchestrationFlow> orchFlows, + List<Resource> resourceList, String requestId, String apiVersion, String resourceId, String requestAction, + String vnfType, WorkflowResourceIds workflowResourceIds, RequestDetails requestDetails, + boolean replaceVnf) { + List<ExecuteBuildingBlock> flowsToExecute = new ArrayList<>(); + for (OrchestrationFlow orchFlow : orchFlows) { + if (orchFlow.getFlowName().contains(SERVICE)) { + if (!replaceVnf) { + workflowResourceIds.setServiceInstanceId(resourceId); + } + addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.SERVICE, orchFlow, requestId, + apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, false, + false); + } else if (orchFlow.getFlowName().contains(VNF) || (orchFlow.getFlowName().contains(CONTROLLER) + && (VNF).equalsIgnoreCase(orchFlow.getBpmnScope()))) { + addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.VNF, orchFlow, requestId, + apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, false, + false); + } else if (orchFlow.getFlowName().contains(PNF) || (orchFlow.getFlowName().contains(CONTROLLER) + && (PNF).equalsIgnoreCase(orchFlow.getBpmnScope()))) { + addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.PNF, orchFlow, requestId, + apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, false, + false); + } else if (orchFlow.getFlowName().contains(NETWORK) + && !orchFlow.getFlowName().contains(NETWORKCOLLECTION)) { + addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.NETWORK, orchFlow, requestId, + apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, false, + false); + addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.VIRTUAL_LINK, orchFlow, + requestId, apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, + true, false); + } else if (orchFlow.getFlowName().contains(VFMODULE) || (orchFlow.getFlowName().contains(CONTROLLER) + && (VFMODULE).equalsIgnoreCase(orchFlow.getBpmnScope()))) { + List<Resource> vfModuleResourcesSorted; + if (requestAction.equals(CREATE_INSTANCE) || requestAction.equals(ASSIGNINSTANCE) + || requestAction.equals("activateInstance")) { + vfModuleResourcesSorted = sortVfModulesByBaseFirst(resourceList.stream() + .filter(x -> WorkflowType.VFMODULE == x.getResourceType()).collect(Collectors.toList())); + } else { + vfModuleResourcesSorted = sortVfModulesByBaseLast(resourceList.stream() + .filter(x -> WorkflowType.VFMODULE == x.getResourceType()).collect(Collectors.toList())); + } + for (Resource resource : vfModuleResourcesSorted) { + flowsToExecute.add(buildExecuteBuildingBlock(orchFlow, requestId, resource, apiVersion, resourceId, + requestAction, false, vnfType, workflowResourceIds, requestDetails, false, null, null, + false, null)); + } + } else if (orchFlow.getFlowName().contains(VOLUMEGROUP)) { + if (requestAction.equalsIgnoreCase(REPLACEINSTANCE) + || requestAction.equalsIgnoreCase(REPLACEINSTANCERETAINASSIGNMENTS)) { + logger.debug("Replacing workflow resource id by volume group id"); + resourceId = workflowResourceIds.getVolumeGroupId(); + } + addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.VOLUMEGROUP, orchFlow, + requestId, apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, + false, false); + } else if (orchFlow.getFlowName().contains(NETWORKCOLLECTION)) { + addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.NETWORKCOLLECTION, orchFlow, + requestId, apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, + false, false); + } else if (orchFlow.getFlowName().contains(CONFIGURATION)) { + addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.CONFIGURATION, orchFlow, + requestId, apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, + false, true); + } else { + flowsToExecute + .add(buildExecuteBuildingBlock(orchFlow, requestId, null, apiVersion, resourceId, requestAction, + false, vnfType, workflowResourceIds, requestDetails, false, null, null, false, null)); + } + } + return flowsToExecute; + } + + protected ExecuteBuildingBlock buildExecuteBuildingBlock(OrchestrationFlow orchFlow, String requestId, + Resource resource, String apiVersion, String resourceId, String requestAction, boolean aLaCarte, + String vnfType, WorkflowResourceIds workflowResourceIds, RequestDetails requestDetails, + boolean isVirtualLink, String virtualLinkKey, String vnfcName, boolean isConfiguration, + ReplaceInstanceRelatedInformation replaceInfo) { + + BuildingBlock buildingBlock = + new BuildingBlock().setBpmnFlowName(orchFlow.getFlowName()).setMsoId(UUID.randomUUID().toString()) + .setIsVirtualLink(isVirtualLink).setVirtualLinkKey(virtualLinkKey) + .setKey(Optional.ofNullable(resource).map(Resource::getResourceId).orElse("")); + Optional.ofNullable(orchFlow.getBpmnAction()).ifPresent(buildingBlock::setBpmnAction); + Optional.ofNullable(orchFlow.getBpmnScope()).ifPresent(buildingBlock::setBpmnScope); + String oldVolumeGroupName = ""; + if (replaceInfo != null) { + oldVolumeGroupName = replaceInfo.getOldVolumeGroupName(); + } + if (resource != null + && (orchFlow.getFlowName().contains(VOLUMEGROUP) && (requestAction.equalsIgnoreCase(REPLACEINSTANCE) + || requestAction.equalsIgnoreCase(REPLACEINSTANCERETAINASSIGNMENTS)))) { + logger.debug("Setting resourceId to volume group id for volume group flow on replace"); + resourceId = workflowResourceIds.getVolumeGroupId(); + } + + ExecuteBuildingBlock executeBuildingBlock = new ExecuteBuildingBlock().setApiVersion(apiVersion) + .setaLaCarte(aLaCarte).setRequestAction(requestAction).setResourceId(resourceId).setVnfType(vnfType) + .setWorkflowResourceIds(workflowResourceIds).setRequestId(requestId).setBuildingBlock(buildingBlock) + .setRequestDetails(requestDetails).setOldVolumeGroupName(oldVolumeGroupName); + + if (resource != null && (isConfiguration || resource.getResourceType().equals(WorkflowType.CONFIGURATION))) { + ConfigurationResourceKeys configurationResourceKeys = getConfigurationResourceKeys(resource, vnfcName); + executeBuildingBlock.setConfigurationResourceKeys(configurationResourceKeys); + } + return executeBuildingBlock; + } + + protected List<Resource> sortVfModulesByBaseFirst(List<Resource> vfModuleResources) { + int count = 0; + for (Resource resource : vfModuleResources) { + if (resource.isBaseVfModule()) { + Collections.swap(vfModuleResources, 0, count); + break; + } + count++; + } + return vfModuleResources; + } + + protected List<Resource> sortVfModulesByBaseLast(List<Resource> vfModuleResources) { + int count = 0; + for (Resource resource : vfModuleResources) { + if (resource.isBaseVfModule()) { + Collections.swap(vfModuleResources, vfModuleResources.size() - 1, count); + break; + } + count++; + } + return vfModuleResources; + } + + private void addBuildingBlockToExecuteBBList(List<ExecuteBuildingBlock> flowsToExecute, List<Resource> resourceList, + WorkflowType workflowType, OrchestrationFlow orchFlow, String requestId, String apiVersion, + String resourceId, String requestAction, String vnfType, WorkflowResourceIds workflowResourceIds, + RequestDetails requestDetails, boolean isVirtualLink, boolean isConfiguration) { + + resourceList.stream().filter(resource -> resource.getResourceType().equals(workflowType)) + .forEach(resource -> flowsToExecute.add(buildExecuteBuildingBlock(orchFlow, requestId, resource, + apiVersion, resourceId, requestAction, false, vnfType, workflowResourceIds, requestDetails, + isVirtualLink, resource.getVirtualLinkKey(), null, isConfiguration, null))); + } + + private ConfigurationResourceKeys getConfigurationResourceKeys(Resource resource, String vnfcName) { + ConfigurationResourceKeys configurationResourceKeys = new ConfigurationResourceKeys(); + Optional.ofNullable(vnfcName).ifPresent(configurationResourceKeys::setVnfcName); + configurationResourceKeys.setCvnfcCustomizationUUID(resource.getCvnfModuleCustomizationId()); + configurationResourceKeys.setVfModuleCustomizationUUID(resource.getVfModuleCustomizationId()); + configurationResourceKeys.setVnfResourceCustomizationUUID(resource.getVnfCustomizationId()); + return configurationResourceKeys; + } + + +} diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowAction.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowAction.java index 7821463acd..aad8b51a48 100644 --- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowAction.java +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowAction.java @@ -6,7 +6,7 @@ * ================================================================================ * Modifications Copyright (c) 2019 Samsung * ================================================================================ - * Modifications Copyright (c) 2020 Nokia + * Modifications Copyright (c) 2021 Nokia * ================================================================================ * Modifications Copyright (c) 2020 Tech Mahindra * ================================================================================ @@ -48,7 +48,6 @@ import org.onap.so.bpmn.common.BBConstants; import org.onap.so.bpmn.infrastructure.workflow.tasks.utils.WorkflowResourceIdsUtils; import org.onap.so.bpmn.servicedecomposition.bbobjects.Configuration; import org.onap.so.bpmn.servicedecomposition.bbobjects.VfModule; -import org.onap.so.bpmn.servicedecomposition.entities.BuildingBlock; import org.onap.so.bpmn.servicedecomposition.entities.ConfigurationResourceKeys; import org.onap.so.bpmn.servicedecomposition.entities.ExecuteBuildingBlock; import org.onap.so.bpmn.servicedecomposition.entities.WorkflowResourceIds; @@ -80,7 +79,6 @@ import org.springframework.stereotype.Component; import org.springframework.util.CollectionUtils; import java.util.ArrayList; import java.util.Arrays; -import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Map; @@ -89,40 +87,36 @@ import java.util.UUID; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.ASSIGNINSTANCE; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.CONTROLLER; import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.CREATE_INSTANCE; import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.FABRIC_CONFIGURATION; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.NETWORKCOLLECTION; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.REPLACEINSTANCE; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.REPLACEINSTANCERETAINASSIGNMENTS; +import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.SERVICE; import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.USER_PARAM_SERVICE; import static org.onap.so.bpmn.infrastructure.workflow.tasks.WorkflowActionConstants.WORKFLOW_ACTION_ERROR_MESSAGE; @Component public class WorkflowAction { + private static final Logger logger = LoggerFactory.getLogger(WorkflowAction.class); + private static final String SERVICE_INSTANCES = "serviceInstances"; private static final String VF_MODULES = "vfModules"; private static final String VNF_TYPE = "vnfType"; - private static final String SERVICE = "Service"; - private static final String VNF = "Vnf"; - private static final String PNF = "Pnf"; - private static final String VFMODULE = "VfModule"; - private static final String VOLUMEGROUP = "VolumeGroup"; - private static final String NETWORK = "Network"; - private static final String NETWORKCOLLECTION = "NetworkCollection"; private static final String CONFIGURATION = "Configuration"; - private static final String ASSIGNINSTANCE = "assignInstance"; - private static final String REPLACEINSTANCE = "replaceInstance"; - private static final String REPLACEINSTANCERETAINASSIGNMENTS = "replaceInstanceRetainAssignments"; private static final String SUPPORTEDTYPES = "vnfs|vfModules|networks|networkCollections|volumeGroups|serviceInstances|instanceGroups"; private static final String HOMINGSOLUTION = "Homing_Solution"; private static final String SERVICE_TYPE_TRANSPORT = "TRANSPORT"; private static final String SERVICE_TYPE_BONDING = "BONDING"; private static final String CLOUD_OWNER = "DEFAULT"; - private static final Logger logger = LoggerFactory.getLogger(WorkflowAction.class); private static final String CREATENETWORKBB = "CreateNetworkBB"; private static final String ACTIVATENETWORKBB = "ActivateNetworkBB"; private static final String VOLUMEGROUP_DELETE_PATTERN = "(Un|De)(.*)Volume(.*)"; private static final String VOLUMEGROUP_CREATE_PATTERN = "(A|C)(.*)Volume(.*)"; - private static final String CONTROLLER = "Controller"; private static final String DEFAULT_CLOUD_OWNER = "org.onap.so.cloud-owner"; private static final String HOMING = "homing"; @@ -146,6 +140,8 @@ public class WorkflowAction { private UserParamsServiceTraversal userParamsServiceTraversal; @Autowired private AaiResourceIdValidator aaiResourceIdValidator; + @Autowired + private ExecuteBuildingBlockBuilder executeBuildingBlockBuilder; public void setBbInputSetupUtils(BBInputSetupUtils bbInputSetupUtils) { this.bbInputSetupUtils = bbInputSetupUtils; @@ -227,9 +223,9 @@ public class WorkflowAction { .collect(Collectors.toList()); for (OrchestrationFlow orchFlow : orchFlows) { - ExecuteBuildingBlock ebb = buildExecuteBuildingBlock(orchFlow, requestId, resourceKey, - apiVersion, resourceId, requestAction, true, vnfType, workflowResourceIds, - requestDetails, false, null, null, false, replaceInfo); + ExecuteBuildingBlock ebb = executeBuildingBlockBuilder.buildExecuteBuildingBlock(orchFlow, + requestId, resourceKey, apiVersion, resourceId, requestAction, true, vnfType, + workflowResourceIds, requestDetails, false, null, null, false, replaceInfo); flowsToExecute.add(ebb); } } @@ -311,8 +307,9 @@ public class WorkflowAction { || REPLACEINSTANCERETAINASSIGNMENTS.equalsIgnoreCase(requestAction))) { vnfReplace = true; } - flowsToExecute = buildExecuteBuildingBlockList(orchFlows, resourceList, requestId, apiVersion, - resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, vnfReplace); + flowsToExecute = executeBuildingBlockBuilder.buildExecuteBuildingBlockList(orchFlows, resourceList, + requestId, apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, + requestDetails, vnfReplace); if (isNetworkCollectionInTheResourceList(resourceList)) { logger.info("Sorting for Vlan Tagging"); flowsToExecute = sortExecutionPathByObjectForVlanTagging(flowsToExecute, requestAction); @@ -427,9 +424,9 @@ public class WorkflowAction { requestDetails, requestAction, resourceId, flowsToExecute, vnfType, apiVersion, resourceKey, replaceInfo, configOrchFlows); } else { - ExecuteBuildingBlock ebb = buildExecuteBuildingBlock(orchFlow, requestId, resourceKey, apiVersion, - resourceId, requestAction, true, vnfType, workflowResourceIds, requestDetails, false, null, - null, false, replaceInfo); + ExecuteBuildingBlock ebb = executeBuildingBlockBuilder.buildExecuteBuildingBlock(orchFlow, requestId, + resourceKey, apiVersion, resourceId, requestAction, true, vnfType, workflowResourceIds, + requestDetails, false, null, null, false, replaceInfo); flowsToExecute.add(ebb); } } @@ -597,10 +594,11 @@ public class WorkflowAction { + ": VnfcName does not exist or is null while there is a configuration for the vfModule", new Exception("Vnfc and Configuration do not match")); } - ExecuteBuildingBlock ebb = buildExecuteBuildingBlock(orchFlow, dataObj.getRequestId(), - dataObj.getResourceKey(), dataObj.getApiVersion(), dataObj.getResourceId(), - dataObj.getRequestAction(), dataObj.isaLaCarte(), dataObj.getVnfType(), workflowIdsCopy, - dataObj.getRequestDetails(), false, null, vnfcName, true, null); + ExecuteBuildingBlock ebb = + executeBuildingBlockBuilder.buildExecuteBuildingBlock(orchFlow, dataObj.getRequestId(), + dataObj.getResourceKey(), dataObj.getApiVersion(), dataObj.getResourceId(), + dataObj.getRequestAction(), dataObj.isaLaCarte(), dataObj.getVnfType(), + workflowIdsCopy, dataObj.getRequestDetails(), false, null, vnfcName, true, null); flowsToExecuteConfigs.add(ebb); } } @@ -682,29 +680,7 @@ public class WorkflowAction { return orchFlows; } - protected List<Resource> sortVfModulesByBaseFirst(List<Resource> vfModuleResources) { - int count = 0; - for (Resource resource : vfModuleResources) { - if (resource.isBaseVfModule()) { - Collections.swap(vfModuleResources, 0, count); - break; - } - count++; - } - return vfModuleResources; - } - protected List<Resource> sortVfModulesByBaseLast(List<Resource> vfModuleResources) { - int count = 0; - for (Resource resource : vfModuleResources) { - if (resource.isBaseVfModule()) { - Collections.swap(vfModuleResources, vfModuleResources.size() - 1, count); - break; - } - count++; - } - return vfModuleResources; - } private void updateResourceIdsFromAAITraversal(List<ExecuteBuildingBlock> flowsToExecute, List<Resource> resourceList, List<Pair<WorkflowType, String>> aaiResourceIds, String serviceInstanceId) { @@ -1331,125 +1307,6 @@ public class WorkflowAction { return sortedOrchFlows; } - private void addBuildingBlockToExecuteBBList(List<ExecuteBuildingBlock> flowsToExecute, List<Resource> resourceList, - WorkflowType workflowType, OrchestrationFlow orchFlow, String requestId, String apiVersion, - String resourceId, String requestAction, String vnfType, WorkflowResourceIds workflowResourceIds, - RequestDetails requestDetails, boolean isVirtualLink, boolean isConfiguration) { - - resourceList.stream().filter(resource -> resource.getResourceType().equals(workflowType)) - .forEach(resource -> flowsToExecute.add(buildExecuteBuildingBlock(orchFlow, requestId, resource, - apiVersion, resourceId, requestAction, false, vnfType, workflowResourceIds, requestDetails, - isVirtualLink, resource.getVirtualLinkKey(), null, isConfiguration, null))); - } - - protected List<ExecuteBuildingBlock> buildExecuteBuildingBlockList(List<OrchestrationFlow> orchFlows, - List<Resource> resourceList, String requestId, String apiVersion, String resourceId, String requestAction, - String vnfType, WorkflowResourceIds workflowResourceIds, RequestDetails requestDetails, - boolean replaceVnf) { - List<ExecuteBuildingBlock> flowsToExecute = new ArrayList<>(); - for (OrchestrationFlow orchFlow : orchFlows) { - if (orchFlow.getFlowName().contains(SERVICE)) { - if (!replaceVnf) { - workflowResourceIds.setServiceInstanceId(resourceId); - } - addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.SERVICE, orchFlow, requestId, - apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, false, - false); - } else if (orchFlow.getFlowName().contains(VNF) || (orchFlow.getFlowName().contains(CONTROLLER) - && (VNF).equalsIgnoreCase(orchFlow.getBpmnScope()))) { - addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.VNF, orchFlow, requestId, - apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, false, - false); - } else if (orchFlow.getFlowName().contains(PNF) || (orchFlow.getFlowName().contains(CONTROLLER) - && (PNF).equalsIgnoreCase(orchFlow.getBpmnScope()))) { - addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.PNF, orchFlow, requestId, - apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, false, - false); - } else if (orchFlow.getFlowName().contains(NETWORK) - && !orchFlow.getFlowName().contains(NETWORKCOLLECTION)) { - addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.NETWORK, orchFlow, requestId, - apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, false, - false); - addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.VIRTUAL_LINK, orchFlow, - requestId, apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, - true, false); - } else if (orchFlow.getFlowName().contains(VFMODULE) || (orchFlow.getFlowName().contains(CONTROLLER) - && (VFMODULE).equalsIgnoreCase(orchFlow.getBpmnScope()))) { - List<Resource> vfModuleResourcesSorted; - if (requestAction.equals(CREATE_INSTANCE) || requestAction.equals(ASSIGNINSTANCE) - || requestAction.equals("activateInstance")) { - vfModuleResourcesSorted = sortVfModulesByBaseFirst(resourceList.stream() - .filter(x -> WorkflowType.VFMODULE == x.getResourceType()).collect(Collectors.toList())); - } else { - vfModuleResourcesSorted = sortVfModulesByBaseLast(resourceList.stream() - .filter(x -> WorkflowType.VFMODULE == x.getResourceType()).collect(Collectors.toList())); - } - for (Resource resource : vfModuleResourcesSorted) { - flowsToExecute.add(buildExecuteBuildingBlock(orchFlow, requestId, resource, apiVersion, resourceId, - requestAction, false, vnfType, workflowResourceIds, requestDetails, false, null, null, - false, null)); - } - } else if (orchFlow.getFlowName().contains(VOLUMEGROUP)) { - if (requestAction.equalsIgnoreCase(REPLACEINSTANCE) - || requestAction.equalsIgnoreCase(REPLACEINSTANCERETAINASSIGNMENTS)) { - logger.debug("Replacing workflow resource id by volume group id"); - resourceId = workflowResourceIds.getVolumeGroupId(); - } - addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.VOLUMEGROUP, orchFlow, - requestId, apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, - false, false); - } else if (orchFlow.getFlowName().contains(NETWORKCOLLECTION)) { - addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.NETWORKCOLLECTION, orchFlow, - requestId, apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, - false, false); - } else if (orchFlow.getFlowName().contains(CONFIGURATION)) { - addBuildingBlockToExecuteBBList(flowsToExecute, resourceList, WorkflowType.CONFIGURATION, orchFlow, - requestId, apiVersion, resourceId, requestAction, vnfType, workflowResourceIds, requestDetails, - false, true); - } else { - flowsToExecute - .add(buildExecuteBuildingBlock(orchFlow, requestId, null, apiVersion, resourceId, requestAction, - false, vnfType, workflowResourceIds, requestDetails, false, null, null, false, null)); - } - } - return flowsToExecute; - } - - protected ExecuteBuildingBlock buildExecuteBuildingBlock(OrchestrationFlow orchFlow, String requestId, - Resource resource, String apiVersion, String resourceId, String requestAction, boolean aLaCarte, - String vnfType, WorkflowResourceIds workflowResourceIds, RequestDetails requestDetails, - boolean isVirtualLink, String virtualLinkKey, String vnfcName, boolean isConfiguration, - ReplaceInstanceRelatedInformation replaceInfo) { - - BuildingBlock buildingBlock = - new BuildingBlock().setBpmnFlowName(orchFlow.getFlowName()).setMsoId(UUID.randomUUID().toString()) - .setIsVirtualLink(isVirtualLink).setVirtualLinkKey(virtualLinkKey) - .setKey(Optional.ofNullable(resource).map(Resource::getResourceId).orElse("")); - Optional.ofNullable(orchFlow.getBpmnAction()).ifPresent(buildingBlock::setBpmnAction); - Optional.ofNullable(orchFlow.getBpmnScope()).ifPresent(buildingBlock::setBpmnScope); - String oldVolumeGroupName = ""; - if (replaceInfo != null) { - oldVolumeGroupName = replaceInfo.getOldVolumeGroupName(); - } - if (resource != null - && (orchFlow.getFlowName().contains(VOLUMEGROUP) && (requestAction.equalsIgnoreCase(REPLACEINSTANCE) - || requestAction.equalsIgnoreCase(REPLACEINSTANCERETAINASSIGNMENTS)))) { - logger.debug("Setting resourceId to volume group id for volume group flow on replace"); - resourceId = workflowResourceIds.getVolumeGroupId(); - } - - ExecuteBuildingBlock executeBuildingBlock = new ExecuteBuildingBlock().setApiVersion(apiVersion) - .setaLaCarte(aLaCarte).setRequestAction(requestAction).setResourceId(resourceId).setVnfType(vnfType) - .setWorkflowResourceIds(workflowResourceIds).setRequestId(requestId).setBuildingBlock(buildingBlock) - .setRequestDetails(requestDetails).setOldVolumeGroupName(oldVolumeGroupName); - - if (resource != null && (isConfiguration || resource.getResourceType().equals(WorkflowType.CONFIGURATION))) { - ConfigurationResourceKeys configurationResourceKeys = getConfigurationResourceKeys(resource, vnfcName); - executeBuildingBlock.setConfigurationResourceKeys(configurationResourceKeys); - } - return executeBuildingBlock; - } - private ConfigurationResourceKeys getConfigurationResourceKeys(Resource resource, String vnfcName) { ConfigurationResourceKeys configurationResourceKeys = new ConfigurationResourceKeys(); Optional.ofNullable(vnfcName).ifPresent(configurationResourceKeys::setVnfcName); diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowActionConstants.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowActionConstants.java index bffa2592c1..5e16097304 100644 --- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowActionConstants.java +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowActionConstants.java @@ -28,8 +28,20 @@ package org.onap.so.bpmn.infrastructure.workflow.tasks; public final class WorkflowActionConstants { + private WorkflowActionConstants() { + throw new IllegalStateException("Utility class"); + } + static final String USER_PARAM_SERVICE = "service"; static final String CREATE_INSTANCE = "createInstance"; static final String FABRIC_CONFIGURATION = "FabricConfiguration"; static final String WORKFLOW_ACTION_ERROR_MESSAGE = "WorkflowActionErrorMessage"; + static final String SERVICE = "Service"; + static final String CONTROLLER = "Controller"; + static final String NETWORKCOLLECTION = "NetworkCollection"; + static final String CONFIGURATION = "Configuration"; + static final String ASSIGNINSTANCE = "assignInstance"; + static final String REPLACEINSTANCE = "replaceInstance"; + static final String VOLUMEGROUP = "VolumeGroup"; + static final String REPLACEINSTANCERETAINASSIGNMENTS = "replaceInstanceRetainAssignments"; } diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/listeners/SkipCDSBuildingBlockListener.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/listeners/SkipCDSBuildingBlockListener.java index 2119ced951..564ee91fb2 100644 --- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/listeners/SkipCDSBuildingBlockListener.java +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/listeners/SkipCDSBuildingBlockListener.java @@ -84,7 +84,7 @@ public class SkipCDSBuildingBlockListener implements FlowManipulator { VnfResourceCustomization vrc = catalogDbClient.findVnfResourceCustomizationInList(customizationUUID, vnfResourceCustomizations); if (null != vrc) { - boolean skipConfigVNF = vrc.isSkipPostInstConf(); + boolean skipConfigVNF = vrc.isSkipPostInstConf().booleanValue(); currentSequenceSkipCheck(execution, skipConfigVNF); } diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/listeners/SkipConfigVnfListener.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/listeners/SkipConfigVnfListener.java index 6589ae77f5..83f61e3a4f 100644 --- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/listeners/SkipConfigVnfListener.java +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/workflow/tasks/listeners/SkipConfigVnfListener.java @@ -34,7 +34,7 @@ public class SkipConfigVnfListener implements FlowManipulator { if (vnfResourceCustomizations != null && !vnfResourceCustomizations.isEmpty()) { VnfResourceCustomization vrc = catalogDbClient.findVnfResourceCustomizationInList(vnfCustomizationUUID, vnfResourceCustomizations); - boolean skipConfigVNF = vrc.isSkipPostInstConf(); + boolean skipConfigVNF = vrc.isSkipPostInstConf().booleanValue(); if (skipConfigVNF) { execution.setVariable(BBConstants.G_CURRENT_SEQUENCE, ((int) execution.getVariable(BBConstants.G_CURRENT_SEQUENCE)) + 1); diff --git a/bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/workflow/tasks/ExecuteBuildingBlockBuilderTest.java b/bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/workflow/tasks/ExecuteBuildingBlockBuilderTest.java new file mode 100644 index 0000000000..c8914f6e02 --- /dev/null +++ b/bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/workflow/tasks/ExecuteBuildingBlockBuilderTest.java @@ -0,0 +1,90 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP - SO + * ================================================================================ + * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * ================================================================================ + * Modifications Copyright (c) 2019 Samsung + * ================================================================================ + * Modifications Copyright (c) 2021 Nokia + * ================================================================================ + * Modifications Copyright (c) 2020 Tech Mahindra + * ================================================================================ + * 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.so.bpmn.infrastructure.workflow.tasks; + +import org.junit.Test; +import org.onap.so.bpmn.servicedecomposition.entities.ExecuteBuildingBlock; +import org.onap.so.db.catalog.beans.macro.OrchestrationFlow; +import java.util.ArrayList; +import java.util.List; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.fail; + +public class ExecuteBuildingBlockBuilderTest { + + final private ExecuteBuildingBlockBuilder executeBBBuilder = new ExecuteBuildingBlockBuilder(); + + @Test + public void sortVfModulesByBaseFirstTest() { + List<Resource> resources = new ArrayList<>(); + Resource resource1 = new Resource(WorkflowType.VFMODULE, "111", false); + resource1.setBaseVfModule(false); + resources.add(resource1); + Resource resource2 = new Resource(WorkflowType.VFMODULE, "222", false); + resource2.setBaseVfModule(false); + resources.add(resource2); + Resource resource3 = new Resource(WorkflowType.VFMODULE, "333", false); + resource3.setBaseVfModule(true); + resources.add(resource3); + + List<Resource> result = executeBBBuilder.sortVfModulesByBaseFirst(resources); + assertEquals("333", result.get(0).getResourceId()); + assertEquals("222", result.get(1).getResourceId()); + assertEquals("111", result.get(2).getResourceId()); + } + + @Test + public void sortVfModulesByBaseLastTest() { + List<Resource> resources = new ArrayList<>(); + Resource resource1 = new Resource(WorkflowType.VFMODULE, "111", false); + resource1.setBaseVfModule(true); + resources.add(resource1); + Resource resource2 = new Resource(WorkflowType.VFMODULE, "222", false); + resource2.setBaseVfModule(false); + resources.add(resource2); + Resource resource3 = new Resource(WorkflowType.VFMODULE, "333", false); + resource3.setBaseVfModule(false); + resources.add(resource3); + List<Resource> result = executeBBBuilder.sortVfModulesByBaseLast(resources); + assertEquals("333", result.get(0).getResourceId()); + assertEquals("222", result.get(1).getResourceId()); + assertEquals("111", result.get(2).getResourceId()); + } + + @Test + public void verifyLackOfNullPointerExceptionForNullResource() { + ExecuteBuildingBlock result = null; + try { + result = executeBBBuilder.buildExecuteBuildingBlock(new OrchestrationFlow(), null, null, null, null, null, + false, null, null, null, false, null, null, true, null); + } catch (NullPointerException e) { + fail("NullPointerException should not be thrown when 'resource' is null"); + } + assertNotNull(result); + } +} diff --git a/bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowActionTest.java b/bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowActionTest.java index c916e09c79..100c32f1c2 100644 --- a/bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowActionTest.java +++ b/bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/workflow/tasks/WorkflowActionTest.java @@ -120,6 +120,7 @@ public class WorkflowActionTest extends BaseTaskTest { protected Environment environment; @Mock protected UserParamsServiceTraversal userParamsServiceTraversal; + @Mock private AaiResourceIdValidator aaiResourceIdValidator; @InjectMocks @@ -131,6 +132,9 @@ public class WorkflowActionTest extends BaseTaskTest { @Spy protected WorkflowAction SPY_workflowAction; + @Spy + protected ExecuteBuildingBlockBuilder executeBuildingBlockBuilder; + @Rule public ExpectedException thrown = ExpectedException.none(); @@ -159,6 +163,7 @@ public class WorkflowActionTest extends BaseTaskTest { when(bbSetupUtils.getAAIServiceInstanceByName(anyString(), anyObject())).thenReturn(servInstance); workflowAction.setBbInputSetupUtils(bbSetupUtils); workflowAction.setBbInputSetup(bbInputSetup); + } /** @@ -179,6 +184,7 @@ public class WorkflowActionTest extends BaseTaskTest { when(catalogDbClient.getNorthBoundRequestByActionAndIsALaCarteAndRequestScopeAndCloudOwner(gAction, resource, true, "my-custom-cloud-owner")).thenReturn(northBoundRequest); + workflowAction.selectExecutionList(execution); List<ExecuteBuildingBlock> ebbs = (List<ExecuteBuildingBlock>) execution.getVariable("flowsToExecute"); assertEqualsBulkFlowName(ebbs, "AssignNetwork1802BB", "CreateNetworkBB", "ActivateNetworkBB"); @@ -199,6 +205,7 @@ public class WorkflowActionTest extends BaseTaskTest { when(catalogDbClient.getNorthBoundRequestByActionAndIsALaCarteAndRequestScopeAndCloudOwner(gAction, resource, true, "my-custom-cloud-owner")).thenReturn(northBoundRequest); + workflowAction.selectExecutionList(execution); List<ExecuteBuildingBlock> ebbs = (List<ExecuteBuildingBlock>) execution.getVariable("flowsToExecute"); assertEqualsBulkFlowName(ebbs, "DeactivateNetworkBB", "DeleteNetworkBB", "UnassignNetwork1802BB"); @@ -219,6 +226,7 @@ public class WorkflowActionTest extends BaseTaskTest { when(catalogDbClient.getNorthBoundRequestByActionAndIsALaCarteAndRequestScopeAndCloudOwner(gAction, resource, true, "my-custom-cloud-owner")).thenReturn(northBoundRequest); + workflowAction.selectExecutionList(execution); List<ExecuteBuildingBlock> ebbs = (List<ExecuteBuildingBlock>) execution.getVariable("flowsToExecute"); assertEqualsBulkFlowName(ebbs, "AssignServiceInstanceBB", "ActivateServiceInstanceBB"); @@ -292,6 +300,7 @@ public class WorkflowActionTest extends BaseTaskTest { .thenReturn(vfModuleCustomization2); when(catalogDbClient.getVfModuleCustomizationByModelCuztomizationUUID("da4d4327-fb7d-4311-ac7a-be7ba60cf969")) .thenReturn(vfModuleCustomization3); + workflowAction.selectExecutionList(execution); List<ExecuteBuildingBlock> ebbs = (List<ExecuteBuildingBlock>) execution.getVariable("flowsToExecute"); assertEqualsBulkFlowName(ebbs, "AssignServiceInstanceBB", "AssignVnfBB", "AssignVolumeGroupBB", @@ -471,6 +480,7 @@ public class WorkflowActionTest extends BaseTaskTest { doReturn(service).when(catalogDbClient).getServiceByID("3c40d244-808e-42ca-b09a-256d83d19d0a"); when(catalogDbClient.getNorthBoundRequestByActionAndIsALaCarteAndRequestScopeAndCloudOwner(gAction, resource, false, "my-custom-cloud-owner")).thenReturn(northBoundRequest); + workflowAction.selectExecutionList(execution); List<ExecuteBuildingBlock> ebbs = (List<ExecuteBuildingBlock>) execution.getVariable("flowsToExecute"); assertEqualsBulkFlowName(ebbs, "AssignServiceInstanceBB", "AssignNetworkBB", "CreateNetworkBB", @@ -2063,41 +2073,7 @@ public class WorkflowActionTest extends BaseTaskTest { workflowAction.traverseCatalogDbService(execution, sIRequest, resourceCounter, aaiResourceIds); } - @Test - public void sortVfModulesByBaseFirstTest() { - List<Resource> resources = new ArrayList<>(); - Resource resource1 = new Resource(WorkflowType.VFMODULE, "111", false); - resource1.setBaseVfModule(false); - resources.add(resource1); - Resource resource2 = new Resource(WorkflowType.VFMODULE, "222", false); - resource2.setBaseVfModule(false); - resources.add(resource2); - Resource resource3 = new Resource(WorkflowType.VFMODULE, "333", false); - resource3.setBaseVfModule(true); - resources.add(resource3); - List<Resource> result = workflowAction.sortVfModulesByBaseFirst(resources); - assertEquals("333", result.get(0).getResourceId()); - assertEquals("222", result.get(1).getResourceId()); - assertEquals("111", result.get(2).getResourceId()); - } - @Test - public void sortVfModulesByBaseLastTest() { - List<Resource> resources = new ArrayList<>(); - Resource resource1 = new Resource(WorkflowType.VFMODULE, "111", false); - resource1.setBaseVfModule(true); - resources.add(resource1); - Resource resource2 = new Resource(WorkflowType.VFMODULE, "222", false); - resource2.setBaseVfModule(false); - resources.add(resource2); - Resource resource3 = new Resource(WorkflowType.VFMODULE, "333", false); - resource3.setBaseVfModule(false); - resources.add(resource3); - List<Resource> result = workflowAction.sortVfModulesByBaseLast(resources); - assertEquals("333", result.get(0).getResourceId()); - assertEquals("222", result.get(1).getResourceId()); - assertEquals("111", result.get(2).getResourceId()); - } @Test public void findCatalogNetworkCollectionTest() { @@ -2136,17 +2112,6 @@ public class WorkflowActionTest extends BaseTaskTest { execution.getVariable("WorkflowActionErrorMessage")); } - @Test - public void verifyLackOfNullPointerExceptionForNullResource() { - ExecuteBuildingBlock result = null; - try { - result = workflowAction.buildExecuteBuildingBlock(new OrchestrationFlow(), null, null, null, null, null, - false, null, null, null, false, null, null, true, null); - } catch (NullPointerException e) { - fail("NullPointerException should not be thrown when 'resource' is null"); - } - assertNotNull(result); - } @Test public void traverseAAIServiceTest() { diff --git a/common/pom.xml b/common/pom.xml index 6e265925c3..08f797d7e5 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -135,8 +135,11 @@ </dependency> <dependency> <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-cadi-client</artifactId> + </dependency> + <dependency> + <groupId>org.onap.aaf.authz</groupId> <artifactId>aaf-cadi-aaf</artifactId> - <version>${aaf.cadi.version}</version> <exclusions> <exclusion> <groupId>javax.servlet</groupId> @@ -149,6 +152,21 @@ </exclusions> </dependency> <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-auth-client</artifactId> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-misc-env</artifactId> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-misc-rosetta</artifactId> + <scope>runtime</scope> + </dependency> + <dependency> <groupId>org.reflections</groupId> <artifactId>reflections</artifactId> <version>0.9.11</version> diff --git a/common/src/main/java/org/onap/so/beans/nsmf/ActDeActNssi.java b/common/src/main/java/org/onap/so/beans/nsmf/ActDeActNssi.java index ed82500210..b14cf7e94d 100644 --- a/common/src/main/java/org/onap/so/beans/nsmf/ActDeActNssi.java +++ b/common/src/main/java/org/onap/so/beans/nsmf/ActDeActNssi.java @@ -20,16 +20,19 @@ package org.onap.so.beans.nsmf; +import java.io.Serializable; import java.util.List; import com.fasterxml.jackson.annotation.JsonInclude; @JsonInclude(JsonInclude.Include.NON_NULL) -public class ActDeActNssi { +public class ActDeActNssi implements Serializable { public final static String ACT_URL = "/api/rest/provMns/v1/NSS/%s" + "/activation"; public final static String DE_ACT_URL = "/api/rest/provMns/v1/NSS/%s" + "/deactivation"; + private static final long serialVersionUID = 7597630091910711349L; + private String nsiId; private String nssiId; diff --git a/common/src/main/java/org/onap/so/beans/nsmf/CustomerInfo.java b/common/src/main/java/org/onap/so/beans/nsmf/CustomerInfo.java new file mode 100644 index 0000000000..6381d5b6e2 --- /dev/null +++ b/common/src/main/java/org/onap/so/beans/nsmf/CustomerInfo.java @@ -0,0 +1,45 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP - SO + * ================================================================================ + # Copyright (c) 2020, CMCC Technologies Co., Ltd. + # + # 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.so.beans.nsmf; + +import lombok.Builder; +import lombok.Data; +import java.io.Serializable; + +@Data +@Builder +public class CustomerInfo implements Serializable { + private static final long serialVersionUID = -8749985097619384358L; + + private String globalSubscriberId; + + private String serviceInstanceId; + + private String subscriptionServiceType; + + private String operationId; + + private OperationType operationType; + + private String nsiId; + + private String snssai; + +} diff --git a/common/src/main/java/org/onap/so/beans/nsmf/NSSI.java b/common/src/main/java/org/onap/so/beans/nsmf/NssInstance.java index a57458f2cf..396e8fce45 100644 --- a/common/src/main/java/org/onap/so/beans/nsmf/NSSI.java +++ b/common/src/main/java/org/onap/so/beans/nsmf/NssInstance.java @@ -20,7 +20,15 @@ package org.onap.so.beans.nsmf; -public class NSSI { +import lombok.Builder; +import lombok.Data; +import java.io.Serializable; + +@Data +@Builder +public class NssInstance implements Serializable { + + private static final long serialVersionUID = -153484249182203537L; private String nssiId; @@ -28,33 +36,11 @@ public class NSSI { private String modelVersionId; - public NSSI(String nssiId, String modelInvariantId, String modelVersionId) { - this.nssiId = nssiId; - this.modelInvariantId = modelInvariantId; - this.modelVersionId = modelVersionId; - } - - public String getNssiId() { - return nssiId; - } - - public void setNssiId(String nssiId) { - this.nssiId = nssiId; - } - - public String getModelInvariantId() { - return modelInvariantId; - } + private NetworkType networkType; - public void setModelInvariantId(String modelInvariantId) { - this.modelInvariantId = modelInvariantId; - } + private OperationType operationType; - public String getModelVersionId() { - return modelVersionId; - } + private String snssai; - public void setModelVersionId(String modelVersionId) { - this.modelVersionId = modelVersionId; - } + private String serviceType; } diff --git a/common/src/main/java/org/onap/so/beans/nsmf/OperationType.java b/common/src/main/java/org/onap/so/beans/nsmf/OperationType.java new file mode 100644 index 0000000000..1ee56b5ca0 --- /dev/null +++ b/common/src/main/java/org/onap/so/beans/nsmf/OperationType.java @@ -0,0 +1,59 @@ +/*- + * ============LICENSE_START======================================================= + * ONAP - SO + * ================================================================================ + # Copyright (c) 2020, CMCC Technologies Co., Ltd. + # + # 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.so.beans.nsmf; + +import lombok.Getter; +import lombok.ToString; + +@Getter +@ToString +public enum OperationType { + /** + * allocate + */ + ALLOCATE("allocate"), + + DEALLOCATE("deallocate"), + + CREATE("create"), + + TERMINATE("terminate"), + + ACTIVATE("activation"), + + DEACTIVATE("deactivation"); + + private String type; + + + OperationType(String type) { + this.type = type; + } + + public static OperationType getOperationType(String value) { + for (OperationType operationType : OperationType.values()) { + if (operationType.type.equalsIgnoreCase(value)) { + return operationType; + } + } + return null; + } +} diff --git a/common/src/main/java/org/onap/so/beans/nsmf/OrchestrationStatusEnum.java b/common/src/main/java/org/onap/so/beans/nsmf/OrchestrationStatusEnum.java new file mode 100644 index 0000000000..572a312265 --- /dev/null +++ b/common/src/main/java/org/onap/so/beans/nsmf/OrchestrationStatusEnum.java @@ -0,0 +1,36 @@ +package org.onap.so.beans.nsmf; + +import lombok.Getter; +import lombok.ToString; + +@Getter +@ToString +public enum OrchestrationStatusEnum { + /** + * activated + */ + ACTIVATED("activated"), + + /** + * deactivated + */ + DEACTIVATED("deactivated"), + + ; + + private String value; + + + OrchestrationStatusEnum(String value) { + this.value = value; + } + + public static OrchestrationStatusEnum getStatus(String value) { + for (OrchestrationStatusEnum orchestrationStatus : OrchestrationStatusEnum.values()) { + if (orchestrationStatus.value.equalsIgnoreCase(value)) { + return orchestrationStatus; + } + } + return null; + } +} diff --git a/common/src/main/java/org/onap/so/beans/nsmf/ServiceInfo.java b/common/src/main/java/org/onap/so/beans/nsmf/ServiceInfo.java index f9848fca31..5146685058 100644 --- a/common/src/main/java/org/onap/so/beans/nsmf/ServiceInfo.java +++ b/common/src/main/java/org/onap/so/beans/nsmf/ServiceInfo.java @@ -20,11 +20,17 @@ package org.onap.so.beans.nsmf; import com.fasterxml.jackson.annotation.JsonInclude; +import lombok.AllArgsConstructor; +import lombok.Builder; import lombok.Data; +import lombok.NoArgsConstructor; import java.io.Serializable; @JsonInclude(JsonInclude.Include.NON_NULL) @Data +@Builder +@NoArgsConstructor +@AllArgsConstructor public class ServiceInfo implements Serializable { private static final long serialVersionUID = 7895110339097615695L; diff --git a/common/src/main/java/org/onap/so/security/SoCadiFilter.java b/common/src/main/java/org/onap/so/security/SoCadiFilter.java index 2763d6ee15..06d0795d86 100644 --- a/common/src/main/java/org/onap/so/security/SoCadiFilter.java +++ b/common/src/main/java/org/onap/so/security/SoCadiFilter.java @@ -22,6 +22,7 @@ */ package org.onap.so.security; +import javax.annotation.Priority; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import org.onap.aaf.cadi.config.Config; @@ -34,6 +35,7 @@ import org.springframework.stereotype.Component; @Component @Profile("!test & aaf") +@Priority(0) public class SoCadiFilter extends CadiFilter { protected final Logger logger = LoggerFactory.getLogger(SoCadiFilter.class); diff --git a/docs/api/swagger/swagger.html b/docs/api/swagger/swagger.html index 514c2bdda2..8006d60692 100644 --- a/docs/api/swagger/swagger.html +++ b/docs/api/swagger/swagger.html @@ -1,19 +1,19 @@ <!DOCTYPE html> <html> <head> - <meta http-equiv="X-UA-Compatible" content="IE=edge" /> - <title>SO Guilin APIs</title> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> - <meta charset="UTF-8" /> - <script> + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> + <title>SO Guilin APIs</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta charset="UTF-8" /> + <script> /*! jQuery v3.1.0 | (c) jQuery Foundation | jquery.org/license */ !function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.1.0",r=function(a,b){return new r.fn.init(a,b)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null!=a?a<0?this[a+this.length]:this[a]:f.call(this)},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c<b?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:h,sort:c.sort,splice:c.splice},r.extend=r.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||r.isFunction(g)||(g={}),h===i&&(g=this,h--);h<i;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(r.isPlainObject(d)||(e=r.isArray(d)))?(e?(e=!1,f=c&&r.isArray(c)?c:[]):f=c&&r.isPlainObject(c)?c:{},g[b]=r.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},r.extend({expando:"jQuery"+(q+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===r.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=r.type(a);return("number"===b||"string"===b)&&!isNaN(a-parseFloat(a))},isPlainObject:function(a){var b,c;return!(!a||"[object Object]"!==k.call(a))&&(!(b=e(a))||(c=l.call(b,"constructor")&&b.constructor,"function"==typeof c&&m.call(c)===n))},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?j[k.call(a)]||"object":typeof a},globalEval:function(a){p(a)},camelCase:function(a){return a.replace(t,"ms-").replace(u,v)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(w(a)){for(c=a.length;d<c;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(s,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(w(Object(a))?r.merge(c,"string"==typeof a?[a]:a):h.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:i.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;f<g;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,f=0,h=[];if(w(a))for(d=a.length;f<d;f++)e=b(a[f],f,c),null!=e&&h.push(e);else for(f in a)e=b(a[f],f,c),null!=e&&h.push(e);return g.apply([],h)},guid:1,proxy:function(a,b){var c,d,e;if("string"==typeof b&&(c=a[b],b=a,a=c),r.isFunction(a))return d=f.call(arguments,2),e=function(){return a.apply(b||this,d.concat(f.call(arguments)))},e.guid=a.guid=a.guid||r.guid++,e},now:Date.now,support:o}),"function"==typeof Symbol&&(r.fn[Symbol.iterator]=c[Symbol.iterator]),r.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){j["[object "+b+"]"]=b.toLowerCase()});function w(a){var b=!!a&&"length"in a&&a.length,c=r.type(a);return"function"!==c&&!r.isWindow(a)&&("array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",K="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",M="\\["+K+"*("+L+")(?:"+K+"*([*^$|!~]?=)"+K+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+K+"*\\]",N=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",O=new RegExp(K+"+","g"),P=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g"),Q=new RegExp("^"+K+"*,"+K+"*"),R=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,ca=function(a,b){return b?"\0"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"label"in b&&b.disabled===a||"form"in b&&b.disabled===a||"form"in b&&b.disabled===!1&&(b.isDisabled===a||b.isDisabled!==!a&&("label"in b||!ea(b))!==a)}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!='']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c<b;c+=2)a.push(c);return a}),odd:pa(function(a,b){for(var c=1;c<b;c+=2)a.push(c);return a}),lt:pa(function(a,b,c){for(var d=c<0?c+b:c;--d>=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=ma(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=na(b);function ra(){}ra.prototype=d.filters=d.pseudos,d.setFilters=new ra,g=ga.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=Q.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=R.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(P," ")}),h=h.slice(c.length));for(g in d.filter)!(e=V[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ga.error(a):z(a,i).slice(0)};function sa(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return d}function ta(a,b,c){var d=b.dir,e=b.next,f=e||d,g=c&&"parentNode"===f,h=x++;return b.first?function(b,c,e){while(b=b[d])if(1===b.nodeType||g)return a(b,c,e)}:function(b,c,i){var j,k,l,m=[w,h];if(i){while(b=b[d])if((1===b.nodeType||g)&&a(b,c,i))return!0}else while(b=b[d])if(1===b.nodeType||g)if(l=b[u]||(b[u]={}),k=l[b.uniqueID]||(l[b.uniqueID]={}),e&&e===b.nodeName.toLowerCase())b=b[d]||b;else{if((j=k[f])&&j[0]===w&&j[1]===h)return m[2]=j[2];if(k[f]=m,m[2]=a(b,c,i))return!0}}}function ua(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d<e;d++)ga(a,b[d],c);return c}function wa(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;h<i;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function xa(a,b,c,d,e,f){return d&&!d[u]&&(d=xa(d)),e&&!e[u]&&(e=xa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||va(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:wa(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=wa(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i<f;i++)if(c=d.relative[a[i].type])m=[ta(ua(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;e<f;e++)if(d.relative[a[e].type])break;return xa(i>1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i<e&&ya(a.slice(i,e)),e<f&&ya(a=a.slice(e)),e<f&&sa(a))}m.push(c)}return ua(m)}function za(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(_,aa),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=V.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(_,aa),$.test(j[0].type)&&qa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&sa(j),!a)return G.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||$.test(a)&&qa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,C=/^.[^:#\[\.,]*$/;function D(a,b,c){if(r.isFunction(b))return r.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return r.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(C.test(b))return r.filter(b,a,c);b=r.filter(b,a)}return r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType})}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b<d;b++)if(r.contains(e[b],this))return!0}));for(c=this.pushStack([]),b=0;b<d;b++)r.find(a,e[b],c);return d>1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(D(this,a||[],!1))},not:function(a){return this.pushStack(D(this,a||[],!0))},is:function(a){return!!D(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var E,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,G=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||E,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:F.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),B.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};G.prototype=r.fn,E=r(d);var H=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a<c;a++)if(r.contains(this,b[a]))return!0})},closest:function(a,b){var c,d=0,e=this.length,f=[],g="string"!=typeof a&&r(a);if(!A.test(a))for(;d<e;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function J(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return J(a,"nextSibling")},prev:function(a){return J(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return a.contentDocument||r.merge([],a.childNodes)}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(I[a]||r.uniqueSort(e),H.test(a)&&e.reverse()),this.pushStack(e)}});var K=/\S+/g;function L(a){var b={};return r.each(a.match(K)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?L(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){r.each(b,function(b,c){r.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==r.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return r.each(arguments,function(a,b){var c;while((c=r.inArray(b,f,c))>-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function M(a){return a}function N(a){throw a}function O(a,b,c){var d;try{a&&r.isFunction(d=a.promise)?d.call(a).done(b).fail(c):a&&r.isFunction(d=a.then)?d.call(a,b,c):b.call(void 0,a)}catch(a){c.call(void 0,a)}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b<f)){if(a=d.apply(h,i),a===c.promise())throw new TypeError("Thenable self-resolution");j=a&&("object"==typeof a||"function"==typeof a)&&a.then,r.isFunction(j)?e?j.call(a,g(f,c,M,e),g(f,c,N,e)):(f++,j.call(a,g(f,c,M,e),g(f,c,N,e),g(f,c,M,c.notifyWith))):(d!==M&&(h=void 0,i=[a]),(e||c.resolveWith)(h,i))}},k=e?j:function(){try{j()}catch(a){r.Deferred.exceptionHook&&r.Deferred.exceptionHook(a,k.stackTrace),b+1>=f&&(d!==N&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:M,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:M)),c[2][3].add(g(0,a,r.isFunction(d)?d:N))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(O(a,g.done(h(c)).resolve,g.reject),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)O(e[c],h(c),g.reject);return g.promise()}});var P=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&P.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var Q=r.Deferred();r.fn.ready=function(a){return Q.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,holdReady:function(a){a?r.readyWait++:r.ready(!0)},ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||Q.resolveWith(d,[r]))}}),r.ready.then=Q.then;function R(){d.removeEventListener("DOMContentLoaded",R),a.removeEventListener("load",R),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",R),a.addEventListener("load",R));var S=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)S(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0, r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h<i;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},T=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function U(){this.expando=r.expando+U.uid++}U.uid=1,U.prototype={cache:function(a){var b=a[this.expando];return b||(b={},T(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[r.camelCase(b)]=c;else for(d in b)e[r.camelCase(d)]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][r.camelCase(b)]},access:function(a,b,c){return void 0===b||b&&"string"==typeof b&&void 0===c?this.get(a,b):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d=a[this.expando];if(void 0!==d){if(void 0!==b){r.isArray(b)?b=b.map(r.camelCase):(b=r.camelCase(b),b=b in d?[b]:b.match(K)||[]),c=b.length;while(c--)delete d[b[c]]}(void 0===b||r.isEmptyObject(d))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!r.isEmptyObject(b)}};var V=new U,W=new U,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Y=/[A-Z]/g;function Z(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Y,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:X.test(c)?JSON.parse(c):c)}catch(e){}W.set(a,b,c)}else c=void 0;return c}r.extend({hasData:function(a){return W.hasData(a)||V.hasData(a)},data:function(a,b,c){return W.access(a,b,c)},removeData:function(a,b){W.remove(a,b)},_data:function(a,b,c){return V.access(a,b,c)},_removeData:function(a,b){V.remove(a,b)}}),r.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=W.get(f),1===f.nodeType&&!V.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=r.camelCase(d.slice(5)),Z(f,d,e[d])));V.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){W.set(this,a)}):S(this,function(b){var c;if(f&&void 0===b){if(c=W.get(f,a),void 0!==c)return c;if(c=Z(f,a),void 0!==c)return c}else this.each(function(){W.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){W.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=V.get(a,b),c&&(!d||r.isArray(c)?d=V.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return V.get(a,c)||V.access(a,c,{empty:r.Callbacks("once memory").add(function(){V.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?r.queue(this[0],a):void 0===b?this:this.each(function(){var c=r.queue(this,a,b);r._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&r.dequeue(this,a)})},dequeue:function(a){return this.each(function(){r.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=r.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=V.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var $=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_=new RegExp("^(?:([+-])=|)("+$+")([a-z%]*)$","i"),aa=["Top","Right","Bottom","Left"],ba=function(a,b){return a=b||a,"none"===a.style.display||""===a.style.display&&r.contains(a.ownerDocument,a)&&"none"===r.css(a,"display")},ca=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};function da(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return r.css(a,b,"")},i=h(),j=c&&c[3]||(r.cssNumber[b]?"":"px"),k=(r.cssNumber[b]||"px"!==j&&+i)&&_.exec(r.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,r.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var ea={};function fa(a){var b,c=a.ownerDocument,d=a.nodeName,e=ea[d];return e?e:(b=c.body.appendChild(c.createElement(d)),e=r.css(b,"display"),b.parentNode.removeChild(b),"none"===e&&(e="block"),ea[d]=e,e)}function ga(a,b){for(var c,d,e=[],f=0,g=a.length;f<g;f++)d=a[f],d.style&&(c=d.style.display,b?("none"===c&&(e[f]=V.get(d,"display")||null,e[f]||(d.style.display="")),""===d.style.display&&ba(d)&&(e[f]=fa(d))):"none"!==c&&(e[f]="none",V.set(d,"display",c)));for(f=0;f<g;f++)null!=e[f]&&(a[f].style.display=e[f]);return a}r.fn.extend({show:function(){return ga(this,!0)},hide:function(){return ga(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){ba(this)?r(this).show():r(this).hide()})}});var ha=/^(?:checkbox|radio)$/i,ia=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,ja=/^$|\/(?:java|ecma)script/i,ka={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ka.optgroup=ka.option,ka.tbody=ka.tfoot=ka.colgroup=ka.caption=ka.thead,ka.th=ka.td;function la(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&r.nodeName(a,b)?r.merge([a],c):c}function ma(a,b){for(var c=0,d=a.length;c<d;c++)V.set(a[c],"globalEval",!b||V.get(b[c],"globalEval"))}var na=/<|&#?\w+;/;function oa(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],n=0,o=a.length;n<o;n++)if(f=a[n],f||0===f)if("object"===r.type(f))r.merge(m,f.nodeType?[f]:f);else if(na.test(f)){g=g||l.appendChild(b.createElement("div")),h=(ia.exec(f)||["",""])[1].toLowerCase(),i=ka[h]||ka._default,g.innerHTML=i[1]+r.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;r.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",n=0;while(f=m[n++])if(d&&r.inArray(f,d)>-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=la(l.appendChild(f),"script"),j&&ma(g),c){k=0;while(f=g[k++])ja.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var pa=d.documentElement,qa=/^key/,ra=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,sa=/^([^.]*)(?:\.(.+)|)/;function ta(){return!0}function ua(){return!1}function va(){try{return d.activeElement}catch(a){}}function wa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)wa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=ua;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(pa,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(K)||[""],j=b.length;while(j--)h=sa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.hasData(a)&&V.get(a);if(q&&(i=q.events)){b=(b||"").match(K)||[""],j=b.length;while(j--)if(h=sa.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&V.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(V.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c<arguments.length;c++)i[c]=arguments[c];if(b.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,b)!==!1){h=r.event.handlers.call(this,b,j),c=0;while((f=h[c++])&&!b.isPropagationStopped()){b.currentTarget=f.elem,d=0;while((g=f.handlers[d++])&&!b.isImmediatePropagationStopped())b.rnamespace&&!b.rnamespace.test(g.namespace)||(b.handleObj=g,b.data=g.data,e=((r.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(b.result=e)===!1&&(b.preventDefault(),b.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,b),b.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;c<h;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?r(e,this).index(i)>-1:r.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},addProp:function(a,b){Object.defineProperty(r.Event.prototype,a,{enumerable:!0,configurable:!0,get:r.isFunction(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(b){Object.defineProperty(this,a,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},fix:function(a){return a[r.expando]?a:new r.Event(a)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==va()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===va()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&r.nodeName(this,"input"))return this.click(),!1},_default:function(a){return r.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},r.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},r.Event=function(a,b){return this instanceof r.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ta:ua,this.target=a.target&&3===a.target.nodeType?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):this.type=a,b&&r.extend(this,b),this.timeStamp=a&&a.timeStamp||r.now(),void(this[r.expando]=!0)):new r.Event(a,b)},r.Event.prototype={constructor:r.Event,isDefaultPrevented:ua,isPropagationStopped:ua,isImmediatePropagationStopped:ua,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ta,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ta,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ta,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},r.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(a){var b=a.button;return null==a.which&&qa.test(a.type)?null!=a.charCode?a.charCode:a.keyCode:!a.which&&void 0!==b&&ra.test(a.type)?1&b?1:2&b?3:4&b?2:0:a.which}},r.event.addProp),r.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){r.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||r.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),r.fn.extend({on:function(a,b,c,d){return wa(this,a,b,c,d)},one:function(a,b,c,d){return wa(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,r(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=ua),this.each(function(){r.event.remove(this,a,c,b)})}});var xa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ya=/<script|<style|<link/i,za=/checked\s*(?:[^=]|=\s*.checked.)/i,Aa=/^true\/(.*)/,Ba=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ca(a,b){return r.nodeName(a,"table")&&r.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a:a}function Da(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function Ea(a){var b=Aa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Fa(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(V.hasData(a)&&(f=V.access(a),g=V.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;c<d;c++)r.event.add(b,e,j[e][c])}W.hasData(a)&&(h=W.access(a),i=r.extend({},h),W.set(b,i))}}function Ga(a,b){var c=b.nodeName.toLowerCase();"input"===c&&ha.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function Ha(a,b,c,d){b=g.apply([],b);var e,f,h,i,j,k,l=0,m=a.length,n=m-1,q=b[0],s=r.isFunction(q);if(s||m>1&&"string"==typeof q&&!o.checkClone&&za.test(q))return a.each(function(e){var f=a.eq(e);s&&(b[0]=q.call(this,e,f.html())),Ha(f,b,c,d)});if(m&&(e=oa(b,a[0].ownerDocument,!1,a,d),f=e.firstChild,1===e.childNodes.length&&(e=f),f||d)){for(h=r.map(la(e,"script"),Da),i=h.length;l<m;l++)j=e,l!==n&&(j=r.clone(j,!0,!0),i&&r.merge(h,la(j,"script"))),c.call(a[l],j,l);if(i)for(k=h[h.length-1].ownerDocument,r.map(h,Ea),l=0;l<i;l++)j=h[l],ja.test(j.type||"")&&!V.access(j,"globalEval")&&r.contains(k,j)&&(j.src?r._evalUrl&&r._evalUrl(j.src):p(j.textContent.replace(Ba,""),k))}return a}function Ia(a,b,c){for(var d,e=b?r.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||r.cleanData(la(d)),d.parentNode&&(c&&r.contains(d.ownerDocument,d)&&ma(la(d,"script")),d.parentNode.removeChild(d));return a}r.extend({htmlPrefilter:function(a){return a.replace(xa,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=r.contains(a.ownerDocument,a);if(!(o.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||r.isXMLDoc(a)))for(g=la(h),f=la(a),d=0,e=f.length;d<e;d++)Ga(f[d],g[d]);if(b)if(c)for(f=f||la(a),g=g||la(h),d=0,e=f.length;d<e;d++)Fa(f[d],g[d]);else Fa(a,h);return g=la(h,"script"),g.length>0&&ma(g,!i&&la(a,"script")),h},cleanData:function(a){for(var b,c,d,e=r.event.special,f=0;void 0!==(c=a[f]);f++)if(T(c)){if(b=c[V.expando]){if(b.events)for(d in b.events)e[d]?r.event.remove(c,d):r.removeEvent(c,d,b.handle);c[V.expando]=void 0}c[W.expando]&&(c[W.expando]=void 0)}}}),r.fn.extend({detach:function(a){return Ia(this,a,!0)},remove:function(a){return Ia(this,a)},text:function(a){return S(this,function(a){return void 0===a?r.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.appendChild(a)}})},prepend:function(){return Ha(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=Ca(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ha(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(r.cleanData(la(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null!=a&&a,b=null==b?a:b,this.map(function(){return r.clone(this,a,b)})},html:function(a){return S(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!ya.test(a)&&!ka[(ia.exec(a)||["",""])[1].toLowerCase()]){a=r.htmlPrefilter(a);try{for(;c<d;c++)b=this[c]||{},1===b.nodeType&&(r.cleanData(la(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ha(this,arguments,function(b){var c=this.parentNode;r.inArray(this,a)<0&&(r.cleanData(la(this)),c&&c.replaceChild(b,this))},a)}}),r.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){r.fn[a]=function(a){for(var c,d=[],e=r(a),f=e.length-1,g=0;g<=f;g++)c=g===f?this:this.clone(!0),r(e[g])[b](c),h.apply(d,c.get());return this.pushStack(d)}});var Ja=/^margin/,Ka=new RegExp("^("+$+")(?!px)[a-z%]+$","i"),La=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)};!function(){function b(){if(i){i.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i.innerHTML="",pa.appendChild(h);var b=a.getComputedStyle(i);c="1%"!==b.top,g="2px"===b.marginLeft,e="4px"===b.width,i.style.marginRight="50%",f="4px"===b.marginRight,pa.removeChild(h),i=null}}var c,e,f,g,h=d.createElement("div"),i=d.createElement("div");i.style&&(i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===i.style.backgroundClip,h.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",h.appendChild(i),r.extend(o,{pixelPosition:function(){return b(),c},boxSizingReliable:function(){return b(),e},pixelMarginRight:function(){return b(),f},reliableMarginLeft:function(){return b(),g}}))}();function Ma(a,b,c){var d,e,f,g,h=a.style;return c=c||La(a),c&&(g=c.getPropertyValue(b)||c[b],""!==g||r.contains(a.ownerDocument,a)||(g=r.style(a,b)),!o.pixelMarginRight()&&Ka.test(g)&&Ja.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function Na(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Oa=/^(none|table(?!-c[ea]).+)/,Pa={position:"absolute",visibility:"hidden",display:"block"},Qa={letterSpacing:"0",fontWeight:"400"},Ra=["Webkit","Moz","ms"],Sa=d.createElement("div").style;function Ta(a){if(a in Sa)return a;var b=a[0].toUpperCase()+a.slice(1),c=Ra.length;while(c--)if(a=Ra[c]+b,a in Sa)return a}function Ua(a,b,c){var d=_.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function Va(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;f<4;f+=2)"margin"===c&&(g+=r.css(a,c+aa[f],!0,e)),d?("content"===c&&(g-=r.css(a,"padding"+aa[f],!0,e)),"margin"!==c&&(g-=r.css(a,"border"+aa[f]+"Width",!0,e))):(g+=r.css(a,"padding"+aa[f],!0,e),"padding"!==c&&(g+=r.css(a,"border"+aa[f]+"Width",!0,e)));return g}function Wa(a,b,c){var d,e=!0,f=La(a),g="border-box"===r.css(a,"boxSizing",!1,f);if(a.getClientRects().length&&(d=a.getBoundingClientRect()[b]),d<=0||null==d){if(d=Ma(a,b,f),(d<0||null==d)&&(d=a.style[b]),Ka.test(d))return d;e=g&&(o.boxSizingReliable()||d===a.style[b]),d=parseFloat(d)||0}return d+Va(a,b,c||(g?"border":"content"),e,f)+"px"}r.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Ma(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=r.camelCase(b),i=a.style;return b=r.cssProps[h]||(r.cssProps[h]=Ta(h)||h),g=r.cssHooks[b]||r.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=_.exec(c))&&e[1]&&(c=da(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(r.cssNumber[h]?"":"px")),o.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=r.camelCase(b);return b=r.cssProps[h]||(r.cssProps[h]=Ta(h)||h),g=r.cssHooks[b]||r.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=Ma(a,b,d)),"normal"===e&&b in Qa&&(e=Qa[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),r.each(["height","width"],function(a,b){r.cssHooks[b]={get:function(a,c,d){if(c)return!Oa.test(r.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?Wa(a,b,d):ca(a,Pa,function(){return Wa(a,b,d)})},set:function(a,c,d){var e,f=d&&La(a),g=d&&Va(a,b,d,"border-box"===r.css(a,"boxSizing",!1,f),f);return g&&(e=_.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=r.css(a,b)),Ua(a,c,g)}}}),r.cssHooks.marginLeft=Na(o.reliableMarginLeft,function(a,b){if(b)return(parseFloat(Ma(a,"marginLeft"))||a.getBoundingClientRect().left-ca(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"}),r.each({margin:"",padding:"",border:"Width"},function(a,b){r.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];d<4;d++)e[a+aa[d]+b]=f[d]||f[d-2]||f[0];return e}},Ja.test(a)||(r.cssHooks[a+b].set=Ua)}),r.fn.extend({css:function(a,b){return S(this,function(a,b,c){var d,e,f={},g=0;if(r.isArray(b)){for(d=La(a),e=b.length;g<e;g++)f[b[g]]=r.css(a,b[g],!1,d);return f}return void 0!==c?r.style(a,b,c):r.css(a,b)},a,b,arguments.length>1)}});function Xa(a,b,c,d,e){return new Xa.prototype.init(a,b,c,d,e)}r.Tween=Xa,Xa.prototype={constructor:Xa,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||r.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(r.cssNumber[c]?"":"px")},cur:function(){var a=Xa.propHooks[this.prop];return a&&a.get?a.get(this):Xa.propHooks._default.get(this)},run:function(a){var b,c=Xa.propHooks[this.prop];return this.options.duration?this.pos=b=r.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Xa.propHooks._default.set(this),this}},Xa.prototype.init.prototype=Xa.prototype,Xa.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=r.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){r.fx.step[a.prop]?r.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[r.cssProps[a.prop]]&&!r.cssHooks[a.prop]?a.elem[a.prop]=a.now:r.style(a.elem,a.prop,a.now+a.unit)}}},Xa.propHooks.scrollTop=Xa.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},r.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},r.fx=Xa.prototype.init,r.fx.step={};var Ya,Za,$a=/^(?:toggle|show|hide)$/,_a=/queueHooks$/;function ab(){Za&&(a.requestAnimationFrame(ab),r.fx.tick())}function bb(){return a.setTimeout(function(){Ya=void 0}),Ya=r.now()}function cb(a,b){var c,d=0,e={height:a};for(b=b?1:0;d<4;d+=2-b)c=aa[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function db(a,b,c){for(var d,e=(gb.tweeners[b]||[]).concat(gb.tweeners["*"]),f=0,g=e.length;f<g;f++)if(d=e[f].call(c,b,a))return d}function eb(a,b,c){var d,e,f,g,h,i,j,k,l="width"in b||"height"in b,m=this,n={},o=a.style,p=a.nodeType&&ba(a),q=V.get(a,"fxshow");c.queue||(g=r._queueHooks(a,"fx"),null==g.unqueued&&(g.unqueued=0,h=g.empty.fire,g.empty.fire=function(){g.unqueued||h()}),g.unqueued++,m.always(function(){m.always(function(){g.unqueued--,r.queue(a,"fx").length||g.empty.fire()})}));for(d in b)if(e=b[d],$a.test(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}n[d]=q&&q[d]||r.style(a,d)}if(i=!r.isEmptyObject(b),i||!r.isEmptyObject(n)){l&&1===a.nodeType&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=q&&q.display,null==j&&(j=V.get(a,"display")),k=r.css(a,"display"),"none"===k&&(j?k=j:(ga([a],!0),j=a.style.display||j,k=r.css(a,"display"),ga([a]))),("inline"===k||"inline-block"===k&&null!=j)&&"none"===r.css(a,"float")&&(i||(m.done(function(){o.display=j}),null==j&&(k=o.display,j="none"===k?"":k)),o.display="inline-block")),c.overflow&&(o.overflow="hidden",m.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]})),i=!1;for(d in n)i||(q?"hidden"in q&&(p=q.hidden):q=V.access(a,"fxshow",{display:j}),f&&(q.hidden=!p),p&&ga([a],!0),m.done(function(){p||ga([a]),V.remove(a,"fxshow");for(d in n)r.style(a,d,n[d])})),i=db(p?q[d]:0,d,m),d in q||(q[d]=i.start,p&&(i.end=i.start,i.start=0))}}function fb(a,b){var c,d,e,f,g;for(c in a)if(d=r.camelCase(c),e=b[d],f=a[c],r.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=r.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function gb(a,b,c){var d,e,f=0,g=gb.prefilters.length,h=r.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Ya||bb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;g<i;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),f<1&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:r.extend({},b),opts:r.extend(!0,{specialEasing:{},easing:r.easing._default},c),originalProperties:b,originalOptions:c,startTime:Ya||bb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=r.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;c<d;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for(fb(k,j.opts.specialEasing);f<g;f++)if(d=gb.prefilters[f].call(j,a,k,j.opts))return r.isFunction(d.stop)&&(r._queueHooks(j.elem,j.opts.queue).stop=r.proxy(d.stop,d)),d;return r.map(k,db,j),r.isFunction(j.opts.start)&&j.opts.start.call(a,j),r.fx.timer(r.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}r.Animation=r.extend(gb,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return da(c.elem,a,_.exec(b),c),c}]},tweener:function(a,b){r.isFunction(a)?(b=a,a=["*"]):a=a.match(K);for(var c,d=0,e=a.length;d<e;d++)c=a[d],gb.tweeners[c]=gb.tweeners[c]||[],gb.tweeners[c].unshift(b)},prefilters:[eb],prefilter:function(a,b){b?gb.prefilters.unshift(a):gb.prefilters.push(a)}}),r.speed=function(a,b,c){var e=a&&"object"==typeof a?r.extend({},a):{complete:c||!c&&b||r.isFunction(a)&&a,duration:a,easing:c&&b||b&&!r.isFunction(b)&&b};return r.fx.off||d.hidden?e.duration=0:e.duration="number"==typeof e.duration?e.duration:e.duration in r.fx.speeds?r.fx.speeds[e.duration]:r.fx.speeds._default,null!=e.queue&&e.queue!==!0||(e.queue="fx"),e.old=e.complete,e.complete=function(){r.isFunction(e.old)&&e.old.call(this),e.queue&&r.dequeue(this,e.queue)},e},r.fn.extend({fadeTo:function(a,b,c,d){return this.filter(ba).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=r.isEmptyObject(a),f=r.speed(b,c,d),g=function(){var b=gb(this,r.extend({},a),f);(e||V.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=r.timers,g=V.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&_a.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||r.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=V.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=r.timers,g=d?d.length:0;for(c.finish=!0,r.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;b<g;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),r.each(["toggle","show","hide"],function(a,b){var c=r.fn[b];r.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(cb(b,!0),a,d,e)}}),r.each({slideDown:cb("show"),slideUp:cb("hide"),slideToggle:cb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){r.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),r.timers=[],r.fx.tick=function(){var a,b=0,c=r.timers;for(Ya=r.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||r.fx.stop(),Ya=void 0},r.fx.timer=function(a){r.timers.push(a),a()?r.fx.start():r.timers.pop()},r.fx.interval=13,r.fx.start=function(){Za||(Za=a.requestAnimationFrame?a.requestAnimationFrame(ab):a.setInterval(r.fx.tick,r.fx.interval))},r.fx.stop=function(){a.cancelAnimationFrame?a.cancelAnimationFrame(Za):a.clearInterval(Za),Za=null},r.fx.speeds={slow:600,fast:200,_default:400},r.fn.delay=function(b,c){return b=r.fx?r.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a=d.createElement("input"),b=d.createElement("select"),c=b.appendChild(d.createElement("option"));a.type="checkbox",o.checkOn=""!==a.value,o.optSelected=c.selected,a=d.createElement("input"),a.value="t",a.type="radio",o.radioValue="t"===a.value}();var hb,ib=r.expr.attrHandle;r.fn.extend({attr:function(a,b){return S(this,r.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){r.removeAttr(this,a)})}}),r.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?r.prop(a,b,c):(1===f&&r.isXMLDoc(a)||(e=r.attrHooks[b.toLowerCase()]||(r.expr.match.bool.test(b)?hb:void 0)),void 0!==c?null===c?void r.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=r.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio"===b&&r.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(K); if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),hb={set:function(a,b,c){return b===!1?r.removeAttr(a,c):a.setAttribute(c,c),c}},r.each(r.expr.match.bool.source.match(/\w+/g),function(a,b){var c=ib[b]||r.find.attr;ib[b]=function(a,b,d){var e,f,g=b.toLowerCase();return d||(f=ib[g],ib[g]=e,e=null!=c(a,b,d)?g:null,ib[g]=f),e}});var jb=/^(?:input|select|textarea|button)$/i,kb=/^(?:a|area)$/i;r.fn.extend({prop:function(a,b){return S(this,r.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[r.propFix[a]||a]})}}),r.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&r.isXMLDoc(a)||(b=r.propFix[b]||b,e=r.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=r.find.attr(a,"tabindex");return b?parseInt(b,10):jb.test(a.nodeName)||kb.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),o.optSelected||(r.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),r.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){r.propFix[this.toLowerCase()]=this});var lb=/[\t\r\n\f]/g;function mb(a){return a.getAttribute&&a.getAttribute("class")||""}r.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).addClass(a.call(this,b,mb(this)))});if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=mb(c),d=1===c.nodeType&&(" "+e+" ").replace(lb," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=r.trim(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(r.isFunction(a))return this.each(function(b){r(this).removeClass(a.call(this,b,mb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(K)||[];while(c=this[i++])if(e=mb(c),d=1===c.nodeType&&(" "+e+" ").replace(lb," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=r.trim(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):r.isFunction(a)?this.each(function(c){r(this).toggleClass(a.call(this,c,mb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=r(this),f=a.match(K)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=mb(this),b&&V.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":V.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+mb(c)+" ").replace(lb," ").indexOf(b)>-1)return!0;return!1}});var nb=/\r/g,ob=/[\x20\t\r\n\f]+/g;r.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=r.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,r(this).val()):a,null==e?e="":"number"==typeof e?e+="":r.isArray(e)&&(e=r.map(e,function(a){return null==a?"":a+""})),b=r.valHooks[this.type]||r.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=r.valHooks[e.type]||r.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(nb,""):null==c?"":c)}}}),r.extend({valHooks:{option:{get:function(a){var b=r.find.attr(a,"value");return null!=b?b:r.trim(r.text(a)).replace(ob," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type,g=f?null:[],h=f?e+1:d.length,i=e<0?h:f?e:0;i<h;i++)if(c=d[i],(c.selected||i===e)&&!c.disabled&&(!c.parentNode.disabled||!r.nodeName(c.parentNode,"optgroup"))){if(b=r(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=r.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=r.inArray(r.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),r.each(["radio","checkbox"],function(){r.valHooks[this]={set:function(a,b){if(r.isArray(b))return a.checked=r.inArray(r(a).val(),b)>-1}},o.checkOn||(r.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var pb=/^(?:focusinfocus|focusoutblur)$/;r.extend(r.event,{trigger:function(b,c,e,f){var g,h,i,j,k,m,n,o=[e||d],p=l.call(b,"type")?b.type:b,q=l.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!pb.test(p+r.event.triggered)&&(p.indexOf(".")>-1&&(q=p.split("."),p=q.shift(),q.sort()),k=p.indexOf(":")<0&&"on"+p,b=b[r.expando]?b:new r.Event(p,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:r.makeArray(c,[b]),n=r.event.special[p]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!r.isWindow(e)){for(j=n.delegateType||p,pb.test(j+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(e.ownerDocument||d)&&o.push(i.defaultView||i.parentWindow||a)}g=0;while((h=o[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||p,m=(V.get(h,"events")||{})[b.type]&&V.get(h,"handle"),m&&m.apply(h,c),m=k&&h[k],m&&m.apply&&T(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=p,f||b.isDefaultPrevented()||n._default&&n._default.apply(o.pop(),c)!==!1||!T(e)||k&&r.isFunction(e[p])&&!r.isWindow(e)&&(i=e[k],i&&(e[k]=null),r.event.triggered=p,e[p](),r.event.triggered=void 0,i&&(e[k]=i)),b.result}},simulate:function(a,b,c){var d=r.extend(new r.Event,c,{type:a,isSimulated:!0});r.event.trigger(d,null,b)}}),r.fn.extend({trigger:function(a,b){return this.each(function(){r.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return r.event.trigger(a,b,c,!0)}}),r.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){r.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),r.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),o.focusin="onfocusin"in a,o.focusin||r.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){r.event.simulate(b,a.target,r.event.fix(a))};r.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=V.access(d,b);e||d.addEventListener(a,c,!0),V.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=V.access(d,b)-1;e?V.access(d,b,e):(d.removeEventListener(a,c,!0),V.remove(d,b))}}});var qb=a.location,rb=r.now(),sb=/\?/;r.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||r.error("Invalid XML: "+b),c};var tb=/\[\]$/,ub=/\r?\n/g,vb=/^(?:submit|button|image|reset|file)$/i,wb=/^(?:input|select|textarea|keygen)/i;function xb(a,b,c,d){var e;if(r.isArray(b))r.each(b,function(b,e){c||tb.test(a)?d(a,e):xb(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==r.type(b))d(a,b);else for(e in b)xb(a+"["+e+"]",b[e],c,d)}r.param=function(a,b){var c,d=[],e=function(a,b){var c=r.isFunction(b)?b():b;d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==c?"":c)};if(r.isArray(a)||a.jquery&&!r.isPlainObject(a))r.each(a,function(){e(this.name,this.value)});else for(c in a)xb(c,a[c],b,e);return d.join("&")},r.fn.extend({serialize:function(){return r.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=r.prop(this,"elements");return a?r.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!r(this).is(":disabled")&&wb.test(this.nodeName)&&!vb.test(a)&&(this.checked||!ha.test(a))}).map(function(a,b){var c=r(this).val();return null==c?null:r.isArray(c)?r.map(c,function(a){return{name:b.name,value:a.replace(ub,"\r\n")}}):{name:b.name,value:c.replace(ub,"\r\n")}}).get()}});var yb=/%20/g,zb=/#.*$/,Ab=/([?&])_=[^&]*/,Bb=/^(.*?):[ \t]*([^\r\n]*)$/gm,Cb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Db=/^(?:GET|HEAD)$/,Eb=/^\/\//,Fb={},Gb={},Hb="*/".concat("*"),Ib=d.createElement("a");Ib.href=qb.href;function Jb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(K)||[];if(r.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Kb(a,b,c,d){var e={},f=a===Gb;function g(h){var i;return e[h]=!0,r.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Lb(a,b){var c,d,e=r.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&r.extend(!0,a,d),a}function Mb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}if(f)return f!==i[0]&&i.unshift(f),c[f]}function Nb(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}r.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qb.href,type:"GET",isLocal:Cb.test(qb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":r.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Lb(Lb(a,r.ajaxSettings),b):Lb(r.ajaxSettings,a)},ajaxPrefilter:Jb(Fb),ajaxTransport:Jb(Gb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m,n,o=r.ajaxSetup({},c),p=o.context||o,q=o.context&&(p.nodeType||p.jquery)?r(p):r.event,s=r.Deferred(),t=r.Callbacks("once memory"),u=o.statusCode||{},v={},w={},x="canceled",y={readyState:0,getResponseHeader:function(a){var b;if(k){if(!h){h={};while(b=Bb.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return k?g:null},setRequestHeader:function(a,b){return null==k&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,v[a]=b),this},overrideMimeType:function(a){return null==k&&(o.mimeType=a),this},statusCode:function(a){var b;if(a)if(k)y.always(a[y.status]);else for(b in a)u[b]=[u[b],a[b]];return this},abort:function(a){var b=a||x;return e&&e.abort(b),A(0,b),this}};if(s.promise(y),o.url=((b||o.url||qb.href)+"").replace(Eb,qb.protocol+"//"),o.type=c.method||c.type||o.method||o.type,o.dataTypes=(o.dataType||"*").toLowerCase().match(K)||[""],null==o.crossDomain){j=d.createElement("a");try{j.href=o.url,j.href=j.href,o.crossDomain=Ib.protocol+"//"+Ib.host!=j.protocol+"//"+j.host}catch(z){o.crossDomain=!0}}if(o.data&&o.processData&&"string"!=typeof o.data&&(o.data=r.param(o.data,o.traditional)),Kb(Fb,o,c,y),k)return y;l=r.event&&o.global,l&&0===r.active++&&r.event.trigger("ajaxStart"),o.type=o.type.toUpperCase(),o.hasContent=!Db.test(o.type),f=o.url.replace(zb,""),o.hasContent?o.data&&o.processData&&0===(o.contentType||"").indexOf("application/x-www-form-urlencoded")&&(o.data=o.data.replace(yb,"+")):(n=o.url.slice(f.length),o.data&&(f+=(sb.test(f)?"&":"?")+o.data,delete o.data),o.cache===!1&&(f=f.replace(Ab,""),n=(sb.test(f)?"&":"?")+"_="+rb++ +n),o.url=f+n),o.ifModified&&(r.lastModified[f]&&y.setRequestHeader("If-Modified-Since",r.lastModified[f]),r.etag[f]&&y.setRequestHeader("If-None-Match",r.etag[f])),(o.data&&o.hasContent&&o.contentType!==!1||c.contentType)&&y.setRequestHeader("Content-Type",o.contentType),y.setRequestHeader("Accept",o.dataTypes[0]&&o.accepts[o.dataTypes[0]]?o.accepts[o.dataTypes[0]]+("*"!==o.dataTypes[0]?", "+Hb+"; q=0.01":""):o.accepts["*"]);for(m in o.headers)y.setRequestHeader(m,o.headers[m]);if(o.beforeSend&&(o.beforeSend.call(p,y,o)===!1||k))return y.abort();if(x="abort",t.add(o.complete),y.done(o.success),y.fail(o.error),e=Kb(Gb,o,c,y)){if(y.readyState=1,l&&q.trigger("ajaxSend",[y,o]),k)return y;o.async&&o.timeout>0&&(i=a.setTimeout(function(){y.abort("timeout")},o.timeout));try{k=!1,e.send(v,A)}catch(z){if(k)throw z;A(-1,z)}}else A(-1,"No Transport");function A(b,c,d,h){var j,m,n,v,w,x=c;k||(k=!0,i&&a.clearTimeout(i),e=void 0,g=h||"",y.readyState=b>0?4:0,j=b>=200&&b<300||304===b,d&&(v=Mb(o,y,d)),v=Nb(o,v,y,j),j?(o.ifModified&&(w=y.getResponseHeader("Last-Modified"),w&&(r.lastModified[f]=w),w=y.getResponseHeader("etag"),w&&(r.etag[f]=w)),204===b||"HEAD"===o.type?x="nocontent":304===b?x="notmodified":(x=v.state,m=v.data,n=v.error,j=!n)):(n=x,!b&&x||(x="error",b<0&&(b=0))),y.status=b,y.statusText=(c||x)+"",j?s.resolveWith(p,[m,x,y]):s.rejectWith(p,[y,x,n]),y.statusCode(u),u=void 0,l&&q.trigger(j?"ajaxSuccess":"ajaxError",[y,o,j?m:n]),t.fireWith(p,[y,x]),l&&(q.trigger("ajaxComplete",[y,o]),--r.active||r.event.trigger("ajaxStop")))}return y},getJSON:function(a,b,c){return r.get(a,b,c,"json")},getScript:function(a,b){return r.get(a,void 0,b,"script")}}),r.each(["get","post"],function(a,b){r[b]=function(a,c,d,e){return r.isFunction(c)&&(e=e||d,d=c,c=void 0),r.ajax(r.extend({url:a,type:b,dataType:e,data:c,success:d},r.isPlainObject(a)&&a))}}),r._evalUrl=function(a){return r.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},r.fn.extend({wrapAll:function(a){var b;return this[0]&&(r.isFunction(a)&&(a=a.call(this[0])),b=r(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return r.isFunction(a)?this.each(function(b){r(this).wrapInner(a.call(this,b))}):this.each(function(){var b=r(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=r.isFunction(a);return this.each(function(c){r(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){r(this).replaceWith(this.childNodes)}),this}}),r.expr.pseudos.hidden=function(a){return!r.expr.pseudos.visible(a)},r.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)},r.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Ob={0:200,1223:204},Pb=r.ajaxSettings.xhr();o.cors=!!Pb&&"withCredentials"in Pb,o.ajax=Pb=!!Pb,r.ajaxTransport(function(b){var c,d;if(o.cors||Pb&&!b.crossDomain)return{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Ob[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}}),r.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)}),r.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return r.globalEval(a),a}}}),r.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),r.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=r("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&f("error"===a.type?404:200,a.type)}),d.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Qb=[],Rb=/(=)\?(?=&|$)|\?\?/;r.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Qb.pop()||r.expando+"_"+rb++;return this[a]=!0,a}}),r.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Rb.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Rb.test(b.data)&&"data");if(h||"jsonp"===b.dataTypes[0])return e=b.jsonpCallback=r.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Rb,"$1"+e):b.jsonp!==!1&&(b.url+=(sb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||r.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?r(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Qb.push(e)),g&&r.isFunction(f)&&f(g[0]),g=f=void 0}),"script"}),o.createHTMLDocument=function(){var a=d.implementation.createHTMLDocument("").body;return a.innerHTML="<form></form><form></form>",2===a.childNodes.length}(),r.parseHTML=function(a,b,c){if("string"!=typeof a)return[];"boolean"==typeof b&&(c=b,b=!1);var e,f,g;return b||(o.createHTMLDocument?(b=d.implementation.createHTMLDocument(""),e=b.createElement("base"),e.href=d.location.href,b.head.appendChild(e)):b=d),f=B.exec(a),g=!c&&[],f?[b.createElement(f[1])]:(f=oa([a],b,g),g&&g.length&&r(g).remove(),r.merge([],f.childNodes))},r.fn.load=function(a,b,c){var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=r.trim(a.slice(h)),a=a.slice(0,h)),r.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&r.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?r("<div>").append(r.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},r.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){r.fn[b]=function(a){return this.on(b,a)}}),r.expr.pseudos.animated=function(a){return r.grep(r.timers,function(b){return a===b.elem}).length};function Sb(a){return r.isWindow(a)?a:9===a.nodeType&&a.defaultView}r.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=r.css(a,"position"),l=r(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=r.css(a,"top"),i=r.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),r.isFunction(b)&&(b=b.call(a,c,r.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},r.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){r.offset.setOffset(this,a,b)});var b,c,d,e,f=this[0];if(f)return f.getClientRects().length?(d=f.getBoundingClientRect(),d.width||d.height?(e=f.ownerDocument,c=Sb(e),b=e.documentElement,{top:d.top+c.pageYOffset-b.clientTop,left:d.left+c.pageXOffset-b.clientLeft}):d):{top:0,left:0}},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===r.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),r.nodeName(a[0],"html")||(d=a.offset()),d={top:d.top+r.css(a[0],"borderTopWidth",!0),left:d.left+r.css(a[0],"borderLeftWidth",!0)}),{top:b.top-d.top-r.css(c,"marginTop",!0),left:b.left-d.left-r.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&"static"===r.css(a,"position"))a=a.offsetParent;return a||pa})}}),r.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;r.fn[a]=function(d){return S(this,function(a,d,e){var f=Sb(a);return void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),r.each(["top","left"],function(a,b){r.cssHooks[b]=Na(o.pixelPosition,function(a,c){if(c)return c=Ma(a,b),Ka.test(c)?r(a).position()[b]+"px":c})}),r.each({Height:"height",Width:"width"},function(a,b){r.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){r.fn[d]=function(e,f){var g=arguments.length&&(c||"boolean"!=typeof e),h=c||(e===!0||f===!0?"margin":"border");return S(this,function(b,c,e){var f;return r.isWindow(b)?0===d.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):void 0===e?r.css(b,c,h):r.style(b,c,e,h)},b,g?e:void 0,g)}})}),r.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}}),r.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return r});var Tb=a.jQuery,Ub=a.$;return r.noConflict=function(b){return a.$===r&&(a.$=Ub),b&&a.jQuery===r&&(a.jQuery=Tb),r},b||(a.jQuery=a.$=r),r}); </script> - <script> + <script> !function(){var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; (function(){function S(a){function d(e){var b=e.charCodeAt(0);if(b!==92)return b;var a=e.charAt(1);return(b=r[a])?b:"0"<=a&&a<="7"?parseInt(e.substring(1),8):a==="u"||a==="x"?parseInt(e.substring(2),16):e.charCodeAt(1)}function g(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);return e==="\\"||e==="-"||e==="]"||e==="^"?"\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),e=[],a= b[0]==="^",c=["["];a&&c.push("^");for(var a=a?1:0,f=b.length;a<f;++a){var h=b[a];if(/\\[bdsw]/i.test(h))c.push(h);else{var h=d(h),l;a+2<f&&"-"===b[a+1]?(l=d(b[a+2]),a+=2):l=h;e.push([h,l]);l<65||h>122||(l<65||h>90||e.push([Math.max(65,h)|32,Math.min(l,90)|32]),l<97||h>122||e.push([Math.max(97,h)&-33,Math.min(l,122)&-33]))}}e.sort(function(e,a){return e[0]-a[0]||a[1]-e[1]});b=[];f=[];for(a=0;a<e.length;++a)h=e[a],h[0]<=f[1]+1?f[1]=Math.max(f[1],h[1]):b.push(f=h);for(a=0;a<b.length;++a)h=b[a],c.push(g(h[0])), @@ -46,7 +46,7 @@ o.className&&e.test(o.className)){m=!0;break}if(!m){d.className+=" prettyprinted h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify",[],function(){return Y})})();}() </script> - <script> + <script> /*! * Bootstrap.js by @fat & @mdo * Copyright 2013 Twitter, Inc. @@ -55,7 +55,7 @@ h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify" !function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data()),o;i.carousel(s),(o=n.attr("data-slide-to"))&&i.data("carousel").pause().to(o).cycle(),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning||this.$element.hasClass("in"))return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning||!this.$element.hasClass("in"))return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=e.extend({},e.fn.collapse.defaults,r.data(),typeof n=="object"&&n);i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=n,this},e(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})}(window.jQuery),!function(e){"use strict";function r(){e(".dropdown-backdrop").remove(),e(t).each(function(){i(e(this)).removeClass("open")})}function i(t){var n=t.attr("data-target"),r;n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=n&&e(n);if(!r||!r.length)r=t.parent();return r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||("ontouchstart"in document.documentElement&&e('<div class="dropdown-backdrop"/>').insertBefore(e(this)).on("click",r),s.toggleClass("open")),n.focus(),!1},keydown:function(n){var r,s,o,u,a,f;if(!/(38|40|27)/.test(n.keyCode))return;r=e(this),n.preventDefault(),n.stopPropagation();if(r.is(".disabled, :disabled"))return;u=i(r),a=u.hasClass("open");if(!a||a&&n.keyCode==27)return n.which==27&&u.find(t).focus(),r.click();s=e("[role=menu] li:not(.divider):visible a",u);if(!s.length)return;f=s.index(s.filter(":focus")),n.keyCode==38&&f>0&&f--,n.keyCode==40&&f<s.length-1&&f++,~f||(f=0),s.eq(f).focus()}};var s=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var r=e(this),i=r.data("dropdown");i||r.data("dropdown",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.dropdown.data-api",r).on("click.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.dropdown.data-api",t,n.prototype.toggle).on("keydown.dropdown.data-api",t+", [role=menu]",n.prototype.keydown)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",e.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,n=e.Event("show");this.$element.trigger(n);if(this.isShown||n.isDefaultPrevented())return;this.isShown=!0,this.escape(),this.backdrop(function(){var n=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),n&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1),t.enforceFocus(),n?t.$element.one(e.support.transition.end,function(){t.$element.focus().trigger("shown")}):t.$element.focus().trigger("shown")})},hide:function(t){t&&t.preventDefault();var n=this;t=e.Event("hide"),this.$element.trigger(t);if(!this.isShown||t.isDefaultPrevented())return;this.isShown=!1,this.escape(),e(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),e.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var t=this;e(document).on("focusin.modal",function(e){t.$element[0]!==e.target&&!t.$element.has(e.target).length&&t.$element.focus()})},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(t){t.which==27&&e.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,n=setTimeout(function(){t.$element.off(e.support.transition.end),t.hideModal()},500);this.$element.one(e.support.transition.end,function(){clearTimeout(n),t.hideModal()})},hideModal:function(){var e=this;this.$element.hide(),this.backdrop(function(){e.removeBackdrop(),e.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&r;this.$backdrop=e('<div class="modal-backdrop '+r+'" />').appendTo(document.body),this.$backdrop.click(this.options.backdrop=="static"?e.proxy(this.$element[0].focus,this.$element[0]):e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in");if(!t)return;i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,t):t()):t&&t()}};var n=e.fn.modal;e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s,o,u,a;this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.enabled=!0,o=this.options.trigger.split(" ");for(a=o.length;a--;)u=o[a],u=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):u!="manual"&&(i=u=="hover"?"mouseenter":"focus",s=u=="hover"?"mouseleave":"blur",this.$element.on(i+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this)));this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=e.extend({},e.fn[this.type].defaults,this.$element.data(),t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var n=e.fn[this.type].defaults,r={},i;this._options&&e.each(this._options,function(e,t){n[e]!=t&&(r[e]=t)},this),i=e(t.currentTarget)[this.type](r).data(this.type);if(!i.options.delay||!i.options.delay.show)return i.show();clearTimeout(this.timeout),i.hoverState="in",this.timeout=setTimeout(function(){i.hoverState=="in"&&i.show()},i.options.delay.show)},leave:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},show:function(){var t,n,r,i,s,o,u=e.Event("show");if(this.hasContent()&&this.enabled){this.$element.trigger(u);if(u.isDefaultPrevented())return;t=this.tip(),this.setContent(),this.options.animation&&t.addClass("fade"),s=typeof this.options.placement=="function"?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,t.detach().css({top:0,left:0,display:"block"}),this.options.container?t.appendTo(this.options.container):t.insertAfter(this.$element),n=this.getPosition(),r=t[0].offsetWidth,i=t[0].offsetHeight;switch(s){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-r/2};break;case"top":o={top:n.top-i,left:n.left+n.width/2-r/2};break;case"left":o={top:n.top+n.height/2-i/2,left:n.left-r};break;case"right":o={top:n.top+n.height/2-i/2,left:n.left+n.width}}this.applyPlacement(o,s),this.$element.trigger("shown")}},applyPlacement:function(e,t){var n=this.tip(),r=n[0].offsetWidth,i=n[0].offsetHeight,s,o,u,a;n.offset(e).addClass(t).addClass("in"),s=n[0].offsetWidth,o=n[0].offsetHeight,t=="top"&&o!=i&&(e.top=e.top+i-o,a=!0),t=="bottom"||t=="top"?(u=0,e.left<0&&(u=e.left*-2,e.left=0,n.offset(e),s=n[0].offsetWidth,o=n[0].offsetHeight),this.replaceArrow(u-r+s,s,"left")):this.replaceArrow(o-i,o,"top"),a&&n.offset(e)},replaceArrow:function(e,t,n){this.arrow().css(n,e?50*(1-e/t)+"%":"")},setContent:function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},hide:function(){function i(){var t=setTimeout(function(){n.off(e.support.transition.end).detach()},500);n.one(e.support.transition.end,function(){clearTimeout(t),n.detach()})}var t=this,n=this.tip(),r=e.Event("hide");this.$element.trigger(r);if(r.isDefaultPrevented())return;return n.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?i():n.detach(),this.$element.trigger("hidden"),this},fixTitle:function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var t=this.$element[0];return e.extend({},typeof t.getBoundingClientRect=="function"?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},getTitle:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},tip:function(){return this.$tip=this.$tip||e(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(t){var n=t?e(t.currentTarget)[this.type](this._options).data(this.type):this;n.tip().hasClass("in")?n.hide():n.show()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("tooltip"),s=typeof n=="object"&&n;i||r.data("tooltip",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.tooltip.Constructor=t,e.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype,{constructor:t,setContent:function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content")[this.options.html?"html":"text"](n),e.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var e,t=this.$element,n=this.options;return e=(typeof n.content=="function"?n.content.call(t[0]):n.content)||t.attr("data-content"),e},tip:function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}});var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("popover"),s=typeof n=="object"&&n;i||r.data("popover",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.popover.Constructor=t,e.fn.popover.defaults=e.extend({},e.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(window.jQuery),!function(e){"use strict";function t(t,n){var r=e.proxy(this.process,this),i=e(t).is("body")?e(window):e(t),s;this.options=e.extend({},e.fn.scrollspy.defaults,n),this.$scrollElement=i.on("scroll.scroll-spy.data-api",r),this.selector=(this.options.target||(s=e(t).attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=e("body"),this.refresh(),this.process()}t.prototype={constructor:t,refresh:function(){var t=this,n;this.offsets=e([]),this.targets=e([]),n=this.$body.find(this.selector).map(function(){var n=e(this),r=n.data("target")||n.attr("href"),i=/^#\w/.test(r)&&e(r);return i&&i.length&&[[i.position().top+(!e.isWindow(t.$scrollElement.get(0))&&t.$scrollElement.scrollTop()),r]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var e=this.$scrollElement.scrollTop()+this.options.offset,t=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,n=t-this.$scrollElement.height(),r=this.offsets,i=this.targets,s=this.activeTarget,o;if(e>=n)return s!=(o=i.last()[0])&&this.activate(o);for(o=r.length;o--;)s!=i[o]&&e>=r[o]&&(!r[o+1]||e<=r[o+1])&&this.activate(i[o])},activate:function(t){var n,r;this.activeTarget=t,e(this.selector).parent(".active").removeClass("active"),r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}};var n=e.fn.scrollspy;e.fn.scrollspy=function(n){return this.each(function(){var r=e(this),i=r.data("scrollspy"),s=typeof n=="object"&&n;i||r.data("scrollspy",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.scrollspy.Constructor=t,e.fn.scrollspy.defaults={offset:10},e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=n,this},e(window).on("load",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);t.scrollspy(t.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t){this.element=e(t)};t.prototype={constructor:t,show:function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.attr("data-target"),i,s,o;r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));if(t.parent("li").hasClass("active"))return;i=n.find(".active:last a")[0],o=e.Event("show",{relatedTarget:i}),t.trigger(o);if(o.isDefaultPrevented())return;s=e(r),this.activate(t.parent("li"),n),this.activate(s,s.parent(),function(){t.trigger({type:"shown",relatedTarget:i})})},activate:function(t,n,r){function o(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),r&&r()}var i=n.find("> .active"),s=r&&e.support.transition&&i.hasClass("fade");s?i.one(e.support.transition.end,o):o(),i.removeClass("in")}};var n=e.fn.tab;e.fn.tab=function(n){return this.each(function(){var r=e(this),i=r.data("tab");i||r.data("tab",i=new t(this)),typeof n=="string"&&i[n]()})},e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=n,this},e(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e(this).tab("show")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source,this.$menu=e(this.options.menu),this.shown=!1,this.listen()};t.prototype={constructor:t,select:function(){var e=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(e)).change(),this.hide()},updater:function(e){return e},show:function(){var t=e.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});return this.$menu.insertAfter(this.$element).css({top:t.top+t.height,left:t.left}).show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var n;return this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength?this.shown?this.hide():this:(n=e.isFunction(this.source)?this.source(this.query,e.proxy(this.process,this)):this.source,n?this.process(n):this)},process:function(t){var n=this;return t=e.grep(t,function(e){return n.matcher(e)}),t=this.sorter(t),t.length?this.render(t.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(e){return~e.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(e){var t=[],n=[],r=[],i;while(i=e.shift())i.toLowerCase().indexOf(this.query.toLowerCase())?~i.indexOf(this.query)?n.push(i):r.push(i):t.push(i);return t.concat(n,r)},highlighter:function(e){var t=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return e.replace(new RegExp("("+t+")","ig"),function(e,t){return"<strong>"+t+"</strong>"})},render:function(t){var n=this;return t=e(t).map(function(t,r){return t=e(n.options.item).attr("data-value",r),t.find("a").html(n.highlighter(r)),t[0]}),t.first().addClass("active"),this.$menu.html(t),this},next:function(t){var n=this.$menu.find(".active").removeClass("active"),r=n.next();r.length||(r=e(this.$menu.find("li")[0])),r.addClass("active")},prev:function(e){var t=this.$menu.find(".active").removeClass("active"),n=t.prev();n.length||(n=this.$menu.find("li").last()),n.addClass("active")},listen:function(){this.$element.on("focus",e.proxy(this.focus,this)).on("blur",e.proxy(this.blur,this)).on("keypress",e.proxy(this.keypress,this)).on("keyup",e.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",e.proxy(this.keydown,this)),this.$menu.on("click",e.proxy(this.click,this)).on("mouseenter","li",e.proxy(this.mouseenter,this)).on("mouseleave","li",e.proxy(this.mouseleave,this))},eventSupported:function(e){var t=e in this.$element;return t||(this.$element.setAttribute(e,"return;"),t=typeof this.$element[e]=="function"),t},move:function(e){if(!this.shown)return;switch(e.keyCode){case 9:case 13:case 27:e.preventDefault();break;case 38:e.preventDefault(),this.prev();break;case 40:e.preventDefault(),this.next()}e.stopPropagation()},keydown:function(t){this.suppressKeyPressRepeat=~e.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(e){if(this.suppressKeyPressRepeat)return;this.move(e)},keyup:function(e){switch(e.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}e.stopPropagation(),e.preventDefault()},focus:function(e){this.focused=!0},blur:function(e){this.focused=!1,!this.mousedover&&this.shown&&this.hide()},click:function(e){e.stopPropagation(),e.preventDefault(),this.select(),this.$element.focus()},mouseenter:function(t){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),e(t.currentTarget).addClass("active")},mouseleave:function(e){this.mousedover=!1,!this.focused&&this.shown&&this.hide()}};var n=e.fn.typeahead;e.fn.typeahead=function(n){return this.each(function(){var r=e(this),i=r.data("typeahead"),s=typeof n=="object"&&n;i||r.data("typeahead",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1},e.fn.typeahead.Constructor=t,e.fn.typeahead.noConflict=function(){return e.fn.typeahead=n,this},e(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var n=e(this);if(n.data("typeahead"))return;n.typeahead(n.data())})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.affix.defaults,n),this.$window=e(window).on("scroll.affix.data-api",e.proxy(this.checkPosition,this)).on("click.affix.data-api",e.proxy(function(){setTimeout(e.proxy(this.checkPosition,this),1)},this)),this.$element=e(t),this.checkPosition()};t.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var t=e(document).height(),n=this.$window.scrollTop(),r=this.$element.offset(),i=this.options.offset,s=i.bottom,o=i.top,u="affix affix-top affix-bottom",a;typeof i!="object"&&(s=o=i),typeof o=="function"&&(o=i.top()),typeof s=="function"&&(s=i.bottom()),a=this.unpin!=null&&n+this.unpin<=r.top?!1:s!=null&&r.top+this.$element.height()>=t-s?"bottom":o!=null&&n<=o?"top":!1;if(this.affixed===a)return;this.affixed=a,this.unpin=a=="bottom"?r.top-n:null,this.$element.removeClass(u).addClass("affix"+(a?"-"+a:""))};var n=e.fn.affix;e.fn.affix=function(n){return this.each(function(){var r=e(this),i=r.data("affix"),s=typeof n=="object"&&n;i||r.data("affix",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.affix.Constructor=t,e.fn.affix.defaults={offset:0},e.fn.affix.noConflict=function(){return e.fn.affix=n,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),t.affix(n)})})}(window.jQuery); </script> - <script> + <script> /** * marked - a markdown parser * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed) @@ -64,7 +64,7 @@ h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify" (function(){var block={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:noop,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:noop,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:noop,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};block.bullet=/(?:[*+-]|\d+\.)/;block.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/;block.item=replace(block.item,"gm")(/bull/g,block.bullet)();block.list=replace(block.list)(/bull/g,block.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+block.def.source+")")();block.blockquote=replace(block.blockquote)("def",block.def)();block._tag="(?!(?:"+"a|em|strong|small|s|cite|q|dfn|abbr|data|time|code"+"|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo"+"|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b";block.html=replace(block.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,block._tag)();block.paragraph=replace(block.paragraph)("hr",block.hr)("heading",block.heading)("lheading",block.lheading)("blockquote",block.blockquote)("tag","<"+block._tag)("def",block.def)();block.normal=merge({},block);block.gfm=merge({},block.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/});block.gfm.paragraph=replace(block.paragraph)("(?!","(?!"+block.gfm.fences.source.replace("\\1","\\2")+"|"+block.list.source.replace("\\1","\\3")+"|")();block.tables=merge({},block.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/});function Lexer(options){this.tokens=[];this.tokens.links={};this.options=options||marked.defaults;this.rules=block.normal;if(this.options.gfm){if(this.options.tables){this.rules=block.tables}else{this.rules=block.gfm}}}Lexer.rules=block;Lexer.lex=function(src,options){var lexer=new Lexer(options);return lexer.lex(src)};Lexer.prototype.lex=function(src){src=src.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n");return this.token(src,true)};Lexer.prototype.token=function(src,top,bq){var src=src.replace(/^ +$/gm,""),next,loose,cap,bull,b,item,space,i,l;while(src){if(cap=this.rules.newline.exec(src)){src=src.substring(cap[0].length);if(cap[0].length>1){this.tokens.push({type:"space"})}}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);cap=cap[0].replace(/^ {4}/gm,"");this.tokens.push({type:"code",text:!this.options.pedantic?cap.replace(/\n+$/,""):cap});continue}if(cap=this.rules.fences.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"code",lang:cap[2],text:cap[3]||""});continue}if(cap=this.rules.heading.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"heading",depth:cap[1].length,text:cap[2]});continue}if(top&&(cap=this.rules.nptable.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/\n$/,"").split("\n")};for(i=0;i<item.align.length;i++){if(/^ *-+: *$/.test(item.align[i])){item.align[i]="right"}else if(/^ *:-+: *$/.test(item.align[i])){item.align[i]="center"}else if(/^ *:-+ *$/.test(item.align[i])){item.align[i]="left"}else{item.align[i]=null}}for(i=0;i<item.cells.length;i++){item.cells[i]=item.cells[i].split(/ *\| */)}this.tokens.push(item);continue}if(cap=this.rules.lheading.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"heading",depth:cap[2]==="="?1:2,text:cap[1]});continue}if(cap=this.rules.hr.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"hr"});continue}if(cap=this.rules.blockquote.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"blockquote_start"});cap=cap[0].replace(/^ *> ?/gm,"");this.token(cap,top,true);this.tokens.push({type:"blockquote_end"});continue}if(cap=this.rules.list.exec(src)){src=src.substring(cap[0].length);bull=cap[2];this.tokens.push({type:"list_start",ordered:bull.length>1});cap=cap[0].match(this.rules.item);next=false;l=cap.length;i=0;for(;i<l;i++){item=cap[i];space=item.length;item=item.replace(/^ *([*+-]|\d+\.) +/,"");if(~item.indexOf("\n ")){space-=item.length;item=!this.options.pedantic?item.replace(new RegExp("^ {1,"+space+"}","gm"),""):item.replace(/^ {1,4}/gm,"")}if(this.options.smartLists&&i!==l-1){b=block.bullet.exec(cap[i+1])[0];if(bull!==b&&!(bull.length>1&&b.length>1)){src=cap.slice(i+1).join("\n")+src;i=l-1}}loose=next||/\n\n(?!\s*$)/.test(item);if(i!==l-1){next=item.charAt(item.length-1)==="\n";if(!loose)loose=next}this.tokens.push({type:loose?"loose_item_start":"list_item_start"});this.token(item,false,bq);this.tokens.push({type:"list_item_end"})}this.tokens.push({type:"list_end"});continue}if(cap=this.rules.html.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&(cap[1]==="pre"||cap[1]==="script"||cap[1]==="style"),text:cap[0]});continue}if(!bq&&top&&(cap=this.rules.def.exec(src))){src=src.substring(cap[0].length);this.tokens.links[cap[1].toLowerCase()]={href:cap[2],title:cap[3]};continue}if(top&&(cap=this.rules.table.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/(?: *\| *)?\n$/,"").split("\n")};for(i=0;i<item.align.length;i++){if(/^ *-+: *$/.test(item.align[i])){item.align[i]="right"}else if(/^ *:-+: *$/.test(item.align[i])){item.align[i]="center"}else if(/^ *:-+ *$/.test(item.align[i])){item.align[i]="left"}else{item.align[i]=null}}for(i=0;i<item.cells.length;i++){item.cells[i]=item.cells[i].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */)}this.tokens.push(item);continue}if(top&&(cap=this.rules.paragraph.exec(src))){src=src.substring(cap[0].length);this.tokens.push({type:"paragraph",text:cap[1].charAt(cap[1].length-1)==="\n"?cap[1].slice(0,-1):cap[1]});continue}if(cap=this.rules.text.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"text",text:cap[0]});continue}if(src){throw new Error("Infinite loop on byte: "+src.charCodeAt(0))}}return this.tokens};var inline={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:noop,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:noop,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};inline._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/;inline._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/;inline.link=replace(inline.link)("inside",inline._inside)("href",inline._href)();inline.reflink=replace(inline.reflink)("inside",inline._inside)();inline.normal=merge({},inline);inline.pedantic=merge({},inline.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/});inline.gfm=merge({},inline.normal,{escape:replace(inline.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:replace(inline.text)("]|","~]|")("|","|https?://|")()});inline.breaks=merge({},inline.gfm,{br:replace(inline.br)("{2,}","*")(),text:replace(inline.gfm.text)("{2,}","*")()});function InlineLexer(links,options){this.options=options||marked.defaults;this.links=links;this.rules=inline.normal;this.renderer=this.options.renderer||new Renderer;this.renderer.options=this.options;if(!this.links){throw new Error("Tokens array requires a `links` property.")}if(this.options.gfm){if(this.options.breaks){this.rules=inline.breaks}else{this.rules=inline.gfm}}else if(this.options.pedantic){this.rules=inline.pedantic}}InlineLexer.rules=inline;InlineLexer.output=function(src,links,options){var inline=new InlineLexer(links,options);return inline.output(src)};InlineLexer.prototype.output=function(src){var out="",link,text,href,cap;while(src){if(cap=this.rules.escape.exec(src)){src=src.substring(cap[0].length);out+=cap[1];continue}if(cap=this.rules.autolink.exec(src)){src=src.substring(cap[0].length);if(cap[2]==="@"){text=cap[1].charAt(6)===":"?this.mangle(cap[1].substring(7)):this.mangle(cap[1]);href=this.mangle("mailto:")+text}else{text=escape(cap[1]);href=text}out+=this.renderer.link(href,null,text);continue}if(!this.inLink&&(cap=this.rules.url.exec(src))){src=src.substring(cap[0].length);text=escape(cap[1]);href=text;out+=this.renderer.link(href,null,text);continue}if(cap=this.rules.tag.exec(src)){if(!this.inLink&&/^<a /i.test(cap[0])){this.inLink=true}else if(this.inLink&&/^<\/a>/i.test(cap[0])){this.inLink=false}src=src.substring(cap[0].length);out+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(cap[0]):escape(cap[0]):cap[0];continue}if(cap=this.rules.link.exec(src)){src=src.substring(cap[0].length);this.inLink=true;out+=this.outputLink(cap,{href:cap[2],title:cap[3]});this.inLink=false;continue}if((cap=this.rules.reflink.exec(src))||(cap=this.rules.nolink.exec(src))){src=src.substring(cap[0].length);link=(cap[2]||cap[1]).replace(/\s+/g," ");link=this.links[link.toLowerCase()];if(!link||!link.href){out+=cap[0].charAt(0);src=cap[0].substring(1)+src;continue}this.inLink=true;out+=this.outputLink(cap,link);this.inLink=false;continue}if(cap=this.rules.strong.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.strong(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.em.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.em(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.codespan(escape(cap[2],true));continue}if(cap=this.rules.br.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.br();continue}if(cap=this.rules.del.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.del(this.output(cap[1]));continue}if(cap=this.rules.text.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.text(escape(this.smartypants(cap[0])));continue}if(src){throw new Error("Infinite loop on byte: "+src.charCodeAt(0))}}return out};InlineLexer.prototype.outputLink=function(cap,link){var href=escape(link.href),title=link.title?escape(link.title):null;return cap[0].charAt(0)!=="!"?this.renderer.link(href,title,this.output(cap[1])):this.renderer.image(href,title,escape(cap[1]))};InlineLexer.prototype.smartypants=function(text){if(!this.options.smartypants)return text;return text.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")};InlineLexer.prototype.mangle=function(text){if(!this.options.mangle)return text;var out="",l=text.length,i=0,ch;for(;i<l;i++){ch=text.charCodeAt(i);if(Math.random()>.5){ch="x"+ch.toString(16)}out+="&#"+ch+";"}return out};function Renderer(options){this.options=options||{}}Renderer.prototype.code=function(code,lang,escaped){if(this.options.highlight){var out=this.options.highlight(code,lang);if(out!=null&&out!==code){escaped=true;code=out}}if(!lang){return"<pre><code>"+(escaped?code:escape(code,true))+"\n</code></pre>"}return'<pre><code class="'+this.options.langPrefix+escape(lang,true)+'">'+(escaped?code:escape(code,true))+"\n</code></pre>\n"};Renderer.prototype.blockquote=function(quote){return"<blockquote>\n"+quote+"</blockquote>\n"};Renderer.prototype.html=function(html){return html};Renderer.prototype.heading=function(text,level,raw){return"<h"+level+' id="'+this.options.headerPrefix+raw.toLowerCase().replace(/[^\w]+/g,"-")+'">'+text+"</h"+level+">\n"};Renderer.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"};Renderer.prototype.list=function(body,ordered){var type=ordered?"ol":"ul";return"<"+type+">\n"+body+"</"+type+">\n"};Renderer.prototype.listitem=function(text){return"<li>"+text+"</li>\n"};Renderer.prototype.paragraph=function(text){return"<p>"+text+"</p>\n"};Renderer.prototype.table=function(header,body){return"<table>\n"+"<thead>\n"+header+"</thead>\n"+"<tbody>\n"+body+"</tbody>\n"+"</table>\n"};Renderer.prototype.tablerow=function(content){return"<tr>\n"+content+"</tr>\n"};Renderer.prototype.tablecell=function(content,flags){var type=flags.header?"th":"td";var tag=flags.align?"<"+type+' style="text-align:'+flags.align+'">':"<"+type+">";return tag+content+"</"+type+">\n"};Renderer.prototype.strong=function(text){return"<strong>"+text+"</strong>"};Renderer.prototype.em=function(text){return"<em>"+text+"</em>"};Renderer.prototype.codespan=function(text){return"<code>"+text+"</code>"};Renderer.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"};Renderer.prototype.del=function(text){return"<del>"+text+"</del>"};Renderer.prototype.link=function(href,title,text){if(this.options.sanitize){try{var prot=decodeURIComponent(unescape(href)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(prot.indexOf("javascript:")===0||prot.indexOf("vbscript:")===0){return""}}var out='<a href="'+href+'"';if(title){out+=' title="'+title+'"'}out+=">"+text+"</a>";return out};Renderer.prototype.image=function(href,title,text){var out='<img src="'+href+'" alt="'+text+'"';if(title){out+=' title="'+title+'"'}out+=this.options.xhtml?"/>":">";return out};Renderer.prototype.text=function(text){return text};function Parser(options){this.tokens=[];this.token=null;this.options=options||marked.defaults;this.options.renderer=this.options.renderer||new Renderer;this.renderer=this.options.renderer;this.renderer.options=this.options}Parser.parse=function(src,options,renderer){var parser=new Parser(options,renderer);return parser.parse(src)};Parser.prototype.parse=function(src){this.inline=new InlineLexer(src.links,this.options,this.renderer);this.tokens=src.reverse();var out="";while(this.next()){out+=this.tok()}return out};Parser.prototype.next=function(){return this.token=this.tokens.pop()};Parser.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0};Parser.prototype.parseText=function(){var body=this.token.text;while(this.peek().type==="text"){body+="\n"+this.next().text}return this.inline.output(body)};Parser.prototype.tok=function(){switch(this.token.type){case"space":{return""}case"hr":{return this.renderer.hr()}case"heading":{return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text)}case"code":{return this.renderer.code(this.token.text,this.token.lang,this.token.escaped)}case"table":{var header="",body="",i,row,cell,flags,j;cell="";for(i=0;i<this.token.header.length;i++){flags={header:true,align:this.token.align[i]};cell+=this.renderer.tablecell(this.inline.output(this.token.header[i]),{header:true,align:this.token.align[i]})}header+=this.renderer.tablerow(cell);for(i=0;i<this.token.cells.length;i++){row=this.token.cells[i];cell="";for(j=0;j<row.length;j++){cell+=this.renderer.tablecell(this.inline.output(row[j]),{header:false,align:this.token.align[j]})}body+=this.renderer.tablerow(cell)}return this.renderer.table(header,body)}case"blockquote_start":{var body="";while(this.next().type!=="blockquote_end"){body+=this.tok()}return this.renderer.blockquote(body)}case"list_start":{var body="",ordered=this.token.ordered;while(this.next().type!=="list_end"){body+=this.tok()}return this.renderer.list(body,ordered)}case"list_item_start":{var body="";while(this.next().type!=="list_item_end"){body+=this.token.type==="text"?this.parseText():this.tok()}return this.renderer.listitem(body)}case"loose_item_start":{var body="";while(this.next().type!=="list_item_end"){body+=this.tok()}return this.renderer.listitem(body)}case"html":{var html=!this.token.pre&&!this.options.pedantic?this.inline.output(this.token.text):this.token.text;return this.renderer.html(html)}case"paragraph":{return this.renderer.paragraph(this.inline.output(this.token.text))}case"text":{return this.renderer.paragraph(this.parseText())}}};function escape(html,encode){return html.replace(!encode?/&(?!#?\w+;)/g:/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function unescape(html){return html.replace(/&([#\w]+);/g,function(_,n){n=n.toLowerCase();if(n==="colon")return":";if(n.charAt(0)==="#"){return n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1))}return""})}function replace(regex,opt){regex=regex.source;opt=opt||"";return function self(name,val){if(!name)return new RegExp(regex,opt);val=val.source||val;val=val.replace(/(^|[^\[])\^/g,"$1");regex=regex.replace(name,val);return self}}function noop(){}noop.exec=noop;function merge(obj){var i=1,target,key;for(;i<arguments.length;i++){target=arguments[i];for(key in target){if(Object.prototype.hasOwnProperty.call(target,key)){obj[key]=target[key]}}}return obj}function marked(src,opt,callback){if(callback||typeof opt==="function"){if(!callback){callback=opt;opt=null}opt=merge({},marked.defaults,opt||{});var highlight=opt.highlight,tokens,pending,i=0;try{tokens=Lexer.lex(src,opt)}catch(e){return callback(e)}pending=tokens.length;var done=function(err){if(err){opt.highlight=highlight;return callback(err)}var out;try{out=Parser.parse(tokens,opt)}catch(e){err=e}opt.highlight=highlight;return err?callback(err):callback(null,out)};if(!highlight||highlight.length<3){return done()}delete opt.highlight;if(!pending)return done();for(;i<tokens.length;i++){(function(token){if(token.type!=="code"){return--pending||done()}return highlight(token.text,token.lang,function(err,code){if(err)return done(err);if(code==null||code===token.text){return--pending||done()}token.text=code;token.escaped=true;--pending||done()})})(tokens[i])}return}try{if(opt)opt=merge({},marked.defaults,opt);return Parser.parse(Lexer.lex(src,opt),opt)}catch(e){e.message+="\nPlease report this to https://github.com/chjj/marked.";if((opt||marked.defaults).silent){return"<p>An error occurred:</p><pre>"+escape(e.message+"",true)+"</pre>"}throw e}}marked.options=marked.setOptions=function(opt){merge(marked.defaults,opt);return marked};marked.defaults={gfm:true,tables:true,breaks:false,pedantic:false,sanitize:false,sanitizer:null,mangle:true,smartLists:false,silent:false,highlight:null,langPrefix:"lang-",smartypants:false,headerPrefix:"",renderer:new Renderer,xhtml:false};marked.Parser=Parser;marked.parser=Parser.parse;marked.Renderer=Renderer;marked.Lexer=Lexer;marked.lexer=Lexer.lex;marked.InlineLexer=InlineLexer;marked.inlineLexer=InlineLexer.output;marked.parse=marked;if(typeof module!=="undefined"&&typeof exports==="object"){module.exports=marked}else if(typeof define==="function"&&define.amd){define(function(){return marked})}else{this.marked=marked}}).call(function(){return this||(typeof window!=="undefined"?window:global)}()); </script> - <script> + <script> $( document ).ready(function() { marked.setOptions({ renderer: new marked.Renderer(), @@ -156,8 +156,8 @@ h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify" processMarked(); }); </script> - <style type="text/css"> - + <style type="text/css"> + /*! * Bootstrap v2.3.2 * @@ -693,7 +693,7 @@ margin-bottom: 20px; </style> </head> <body> - <script> +<script> // Script section to load models into a JS Var var defs = {} defs["3gppServiceActivation"] = { @@ -831,6 +831,30 @@ margin-bottom: 20px; }, "description" : "This describes the request body for 3gpp service modification" }; + defs["PNFCustomWorkflowExecution"] = { + "type" : "object", + "properties" : { + "requestInfo" : { + "$ref" : "#/definitions/ServiceLevelWorkflowExecution_requestInfo" + }, + "modelInfo" : { + "$ref" : "#/definitions/ServiceLevelWorkflowExecution_modelInfo" + }, + "requestParameters" : { + "$ref" : "#/definitions/ServiceLevelWorkflowExecution_requestParameters" + }, + "subscriberInfo" : { + "$ref" : "#/definitions/ServiceLevelWorkflowExecution_subscriberInfo" + }, + "project" : { + "$ref" : "#/definitions/ServiceLevelWorkflowExecution_project" + }, + "owningEntity" : { + "$ref" : "#/definitions/ServiceLevelWorkflowExecution_owningEntity" + } + }, + "description" : "This describes the request body of PNF custom workflow execution" +}; defs["QuerySubnetCapability"] = { "type" : "object", "properties" : { @@ -1030,287 +1054,290 @@ margin-bottom: 20px; }; </script> - <div class="container-fluid"> +<div class="container-fluid"> <div class="row-fluid"> - <div id="sidenav" class="span2"> - <nav id="scrollingNav"> - <ul class="sidenav nav nav-list"> - <!-- Logo Area --> - <!--<div style="width: 80%; background-color: #4c8eca; color: white; padding: 20px; text-align: center; margin-bottom: 20px; "> + <div id="sidenav" class="span2"> + <nav id="scrollingNav"> + <ul class="sidenav nav nav-list"> + <!-- Logo Area --> + <!--<div style="width: 80%; background-color: #4c8eca; color: white; padding: 20px; text-align: center; margin-bottom: 20px; "> API Docs 2 </div> --> - <li class="nav-fixed nav-header active" data-group="_"><a href="#api-_">API Summary</a></li> + <li class="nav-fixed nav-header active" data-group="_"><a href="#api-_">API Summary</a></li> - <li class="nav-header" data-group="E2eServiceInstances"><a href="#api-E2eServiceInstances">API Methods - E2eServiceInstances</a></li> + <li class="nav-header" data-group="E2eServiceInstances"><a href="#api-E2eServiceInstances">API Methods - E2eServiceInstances</a></li> <li data-group="E2eServiceInstances" data-name="activateE2EServiceInstances" class=""> - <a href="#api-E2eServiceInstances-activateE2EServiceInstances">activateE2EServiceInstances</a> + <a href="#api-E2eServiceInstances-activateE2EServiceInstances">activateE2EServiceInstances</a> </li> <li data-group="E2eServiceInstances" data-name="compareModelwithTargetVersion" class=""> - <a href="#api-E2eServiceInstances-compareModelwithTargetVersion">compareModelwithTargetVersion</a> + <a href="#api-E2eServiceInstances-compareModelwithTargetVersion">compareModelwithTargetVersion</a> </li> <li data-group="E2eServiceInstances" data-name="createE2EServiceInstance" class=""> - <a href="#api-E2eServiceInstances-createE2EServiceInstance">createE2EServiceInstance</a> + <a href="#api-E2eServiceInstances-createE2EServiceInstance">createE2EServiceInstance</a> </li> <li data-group="E2eServiceInstances" data-name="deleteE2EServiceInstance" class=""> - <a href="#api-E2eServiceInstances-deleteE2EServiceInstance">deleteE2EServiceInstance</a> + <a href="#api-E2eServiceInstances-deleteE2EServiceInstance">deleteE2EServiceInstance</a> </li> <li data-group="E2eServiceInstances" data-name="getE2EServiceInstances" class=""> - <a href="#api-E2eServiceInstances-getE2EServiceInstances">getE2EServiceInstances</a> + <a href="#api-E2eServiceInstances-getE2EServiceInstances">getE2EServiceInstances</a> </li> <li data-group="E2eServiceInstances" data-name="scaleE2EServiceInstance" class=""> - <a href="#api-E2eServiceInstances-scaleE2EServiceInstance">scaleE2EServiceInstance</a> + <a href="#api-E2eServiceInstances-scaleE2EServiceInstance">scaleE2EServiceInstance</a> </li> <li data-group="E2eServiceInstances" data-name="updateE2EServiceInstance" class=""> - <a href="#api-E2eServiceInstances-updateE2EServiceInstance">updateE2EServiceInstance</a> + <a href="#api-E2eServiceInstances-updateE2EServiceInstance">updateE2EServiceInstance</a> </li> - <li class="nav-header" data-group="Globalhealthcheck"><a href="#api-Globalhealthcheck">API Methods - Globalhealthcheck</a></li> + <li class="nav-header" data-group="Globalhealthcheck"><a href="#api-Globalhealthcheck">API Methods - Globalhealthcheck</a></li> <li data-group="Globalhealthcheck" data-name="globalHealthcheck" class=""> - <a href="#api-Globalhealthcheck-globalHealthcheck">globalHealthcheck</a> + <a href="#api-Globalhealthcheck-globalHealthcheck">globalHealthcheck</a> </li> - <li class="nav-header" data-group="Nodehealthcheck"><a href="#api-Nodehealthcheck">API Methods - Nodehealthcheck</a></li> + <li class="nav-header" data-group="Nodehealthcheck"><a href="#api-Nodehealthcheck">API Methods - Nodehealthcheck</a></li> <li data-group="Nodehealthcheck" data-name="nodeHealthcheck" class=""> - <a href="#api-Nodehealthcheck-nodeHealthcheck">nodeHealthcheck</a> + <a href="#api-Nodehealthcheck-nodeHealthcheck">nodeHealthcheck</a> </li> - <li class="nav-header" data-group="Onap3gppServiceInstances"><a href="#api-Onap3gppServiceInstances">API Methods - Onap3gppServiceInstances</a></li> + <li class="nav-header" data-group="Onap3gppServiceInstances"><a href="#api-Onap3gppServiceInstances">API Methods - Onap3gppServiceInstances</a></li> <li data-group="Onap3gppServiceInstances" data-name="activate3gppService" class=""> - <a href="#api-Onap3gppServiceInstances-activate3gppService">activate3gppService</a> + <a href="#api-Onap3gppServiceInstances-activate3gppService">activate3gppService</a> </li> <li data-group="Onap3gppServiceInstances" data-name="allocate3gppService" class=""> - <a href="#api-Onap3gppServiceInstances-allocate3gppService">allocate3gppService</a> + <a href="#api-Onap3gppServiceInstances-allocate3gppService">allocate3gppService</a> </li> <li data-group="Onap3gppServiceInstances" data-name="deactivate3gppService" class=""> - <a href="#api-Onap3gppServiceInstances-deactivate3gppService">deactivate3gppService</a> + <a href="#api-Onap3gppServiceInstances-deactivate3gppService">deactivate3gppService</a> </li> <li data-group="Onap3gppServiceInstances" data-name="deallocate3gppService" class=""> - <a href="#api-Onap3gppServiceInstances-deallocate3gppService">deallocate3gppService</a> + <a href="#api-Onap3gppServiceInstances-deallocate3gppService">deallocate3gppService</a> </li> <li data-group="Onap3gppServiceInstances" data-name="modify3gppService" class=""> - <a href="#api-Onap3gppServiceInstances-modify3gppService">modify3gppService</a> + <a href="#api-Onap3gppServiceInstances-modify3gppService">modify3gppService</a> </li> <li data-group="Onap3gppServiceInstances" data-name="querySubnetCapability" class=""> - <a href="#api-Onap3gppServiceInstances-querySubnetCapability">querySubnetCapability</a> + <a href="#api-Onap3gppServiceInstances-querySubnetCapability">querySubnetCapability</a> </li> - <li class="nav-header" data-group="OnapsoinfracloudResources"><a href="#api-OnapsoinfracloudResources">API Methods - OnapsoinfracloudResources</a></li> + <li class="nav-header" data-group="OnapsoinfracloudResources"><a href="#api-OnapsoinfracloudResources">API Methods - OnapsoinfracloudResources</a></li> <li data-group="OnapsoinfracloudResources" data-name="activateOperationEnvironment" class=""> - <a href="#api-OnapsoinfracloudResources-activateOperationEnvironment">activateOperationEnvironment</a> + <a href="#api-OnapsoinfracloudResources-activateOperationEnvironment">activateOperationEnvironment</a> </li> <li data-group="OnapsoinfracloudResources" data-name="createOperationEnvironment" class=""> - <a href="#api-OnapsoinfracloudResources-createOperationEnvironment">createOperationEnvironment</a> + <a href="#api-OnapsoinfracloudResources-createOperationEnvironment">createOperationEnvironment</a> </li> <li data-group="OnapsoinfracloudResources" data-name="deactivateOperationEnvironment" class=""> - <a href="#api-OnapsoinfracloudResources-deactivateOperationEnvironment">deactivateOperationEnvironment</a> + <a href="#api-OnapsoinfracloudResources-deactivateOperationEnvironment">deactivateOperationEnvironment</a> </li> - <li class="nav-header" data-group="OnapsoinfracloudResourcesRequests"><a href="#api-OnapsoinfracloudResourcesRequests">API Methods - OnapsoinfracloudResourcesRequests</a></li> + <li class="nav-header" data-group="OnapsoinfracloudResourcesRequests"><a href="#api-OnapsoinfracloudResourcesRequests">API Methods - OnapsoinfracloudResourcesRequests</a></li> <li data-group="OnapsoinfracloudResourcesRequests" data-name="getOperationEnvironmentStatusFilter" class=""> - <a href="#api-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter">getOperationEnvironmentStatusFilter</a> + <a href="#api-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter">getOperationEnvironmentStatusFilter</a> </li> <li data-group="OnapsoinfracloudResourcesRequests" data-name="unlockOrchestrationRequestForReqId" class=""> - <a href="#api-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId">unlockOrchestrationRequestForReqId</a> + <a href="#api-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId">unlockOrchestrationRequestForReqId</a> + </li> + <li class="nav-header" data-group="OnapsoinfrainstanceManagement"><a href="#api-OnapsoinfrainstanceManagement">API Methods - OnapsoinfrainstanceManagement</a></li> + <li data-group="OnapsoinfrainstanceManagement" data-name="executePNFCustomWorkflow" class=""> + <a href="#api-OnapsoinfrainstanceManagement-executePNFCustomWorkflow">executePNFCustomWorkflow</a> </li> - <li class="nav-header" data-group="OnapsoinfrainstanceManagement"><a href="#api-OnapsoinfrainstanceManagement">API Methods - OnapsoinfrainstanceManagement</a></li> <li data-group="OnapsoinfrainstanceManagement" data-name="executeServiceLevelCustomWorkflow" class=""> - <a href="#api-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow">executeServiceLevelCustomWorkflow</a> + <a href="#api-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow">executeServiceLevelCustomWorkflow</a> </li> - <li class="nav-header" data-group="OnapsoinframodelDistributions"><a href="#api-OnapsoinframodelDistributions">API Methods - OnapsoinframodelDistributions</a></li> + <li class="nav-header" data-group="OnapsoinframodelDistributions"><a href="#api-OnapsoinframodelDistributions">API Methods - OnapsoinframodelDistributions</a></li> <li data-group="OnapsoinframodelDistributions" data-name="updateModelDistributionStatus" class=""> - <a href="#api-OnapsoinframodelDistributions-updateModelDistributionStatus">updateModelDistributionStatus</a> + <a href="#api-OnapsoinframodelDistributions-updateModelDistributionStatus">updateModelDistributionStatus</a> </li> - <li class="nav-header" data-group="OnapsoinfraorchestrationRequests"><a href="#api-OnapsoinfraorchestrationRequests">API Methods - OnapsoinfraorchestrationRequests</a></li> + <li class="nav-header" data-group="OnapsoinfraorchestrationRequests"><a href="#api-OnapsoinfraorchestrationRequests">API Methods - OnapsoinfraorchestrationRequests</a></li> <li data-group="OnapsoinfraorchestrationRequests" data-name="getOrchestrationRequest" class=""> - <a href="#api-OnapsoinfraorchestrationRequests-getOrchestrationRequest">getOrchestrationRequest</a> + <a href="#api-OnapsoinfraorchestrationRequests-getOrchestrationRequest">getOrchestrationRequest</a> </li> <li data-group="OnapsoinfraorchestrationRequests" data-name="getOrchestrationRequestForReqId" class=""> - <a href="#api-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId">getOrchestrationRequestForReqId</a> + <a href="#api-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId">getOrchestrationRequestForReqId</a> </li> <li data-group="OnapsoinfraorchestrationRequests" data-name="unlockOrchestrationRequest" class=""> - <a href="#api-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest">unlockOrchestrationRequest</a> + <a href="#api-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest">unlockOrchestrationRequest</a> </li> - <li class="nav-header" data-group="OnapsoinfraorchestrationTasks"><a href="#api-OnapsoinfraorchestrationTasks">API Methods - OnapsoinfraorchestrationTasks</a></li> + <li class="nav-header" data-group="OnapsoinfraorchestrationTasks"><a href="#api-OnapsoinfraorchestrationTasks">API Methods - OnapsoinfraorchestrationTasks</a></li> <li data-group="OnapsoinfraorchestrationTasks" data-name="abortOrchestrationTask" class=""> - <a href="#api-OnapsoinfraorchestrationTasks-abortOrchestrationTask">abortOrchestrationTask</a> + <a href="#api-OnapsoinfraorchestrationTasks-abortOrchestrationTask">abortOrchestrationTask</a> </li> <li data-group="OnapsoinfraorchestrationTasks" data-name="commitOrchestrationTask" class=""> - <a href="#api-OnapsoinfraorchestrationTasks-commitOrchestrationTask">commitOrchestrationTask</a> + <a href="#api-OnapsoinfraorchestrationTasks-commitOrchestrationTask">commitOrchestrationTask</a> </li> <li data-group="OnapsoinfraorchestrationTasks" data-name="createOrchestrationTask" class=""> - <a href="#api-OnapsoinfraorchestrationTasks-createOrchestrationTask">createOrchestrationTask</a> + <a href="#api-OnapsoinfraorchestrationTasks-createOrchestrationTask">createOrchestrationTask</a> </li> <li data-group="OnapsoinfraorchestrationTasks" data-name="deleteOrchestrationTask" class=""> - <a href="#api-OnapsoinfraorchestrationTasks-deleteOrchestrationTask">deleteOrchestrationTask</a> + <a href="#api-OnapsoinfraorchestrationTasks-deleteOrchestrationTask">deleteOrchestrationTask</a> </li> <li data-group="OnapsoinfraorchestrationTasks" data-name="getAllOrchestrationTasks" class=""> - <a href="#api-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks">getAllOrchestrationTasks</a> + <a href="#api-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks">getAllOrchestrationTasks</a> </li> <li data-group="OnapsoinfraorchestrationTasks" data-name="getOrchestrationTask" class=""> - <a href="#api-OnapsoinfraorchestrationTasks-getOrchestrationTask">getOrchestrationTask</a> + <a href="#api-OnapsoinfraorchestrationTasks-getOrchestrationTask">getOrchestrationTask</a> </li> <li data-group="OnapsoinfraorchestrationTasks" data-name="updateOrchestrationTask" class=""> - <a href="#api-OnapsoinfraorchestrationTasks-updateOrchestrationTask">updateOrchestrationTask</a> + <a href="#api-OnapsoinfraorchestrationTasks-updateOrchestrationTask">updateOrchestrationTask</a> </li> - <li class="nav-header" data-group="OnapsoinfraserviceInstantiation"><a href="#api-OnapsoinfraserviceInstantiation">API Methods - OnapsoinfraserviceInstantiation</a></li> + <li class="nav-header" data-group="OnapsoinfraserviceInstantiation"><a href="#api-OnapsoinfraserviceInstantiation">API Methods - OnapsoinfraserviceInstantiation</a></li> <li data-group="OnapsoinfraserviceInstantiation" data-name="activatePort" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-activatePort">activatePort</a> + <a href="#api-OnapsoinfraserviceInstantiation-activatePort">activatePort</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="activateServiceInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-activateServiceInstance">activateServiceInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-activateServiceInstance">activateServiceInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="addRelationships" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-addRelationships">addRelationships</a> + <a href="#api-OnapsoinfraserviceInstantiation-addRelationships">addRelationships</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="applyUpdatedConfig" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-applyUpdatedConfig">applyUpdatedConfig</a> + <a href="#api-OnapsoinfraserviceInstantiation-applyUpdatedConfig">applyUpdatedConfig</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="assignServiceInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-assignServiceInstance">assignServiceInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-assignServiceInstance">assignServiceInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="createNetworkInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-createNetworkInstance">createNetworkInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-createNetworkInstance">createNetworkInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="createPortConfiguration" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-createPortConfiguration">createPortConfiguration</a> + <a href="#api-OnapsoinfraserviceInstantiation-createPortConfiguration">createPortConfiguration</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="createServiceInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-createServiceInstance">createServiceInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-createServiceInstance">createServiceInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="createVfModuleInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-createVfModuleInstance">createVfModuleInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-createVfModuleInstance">createVfModuleInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="createVnfInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-createVnfInstance">createVnfInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-createVnfInstance">createVnfInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="createVolumeGroupInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-createVolumeGroupInstance">createVolumeGroupInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-createVolumeGroupInstance">createVolumeGroupInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="deactivateAndCloudDeleteVfModuleInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance">deactivateAndCloudDeleteVfModuleInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance">deactivateAndCloudDeleteVfModuleInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="deactivatePort" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-deactivatePort">deactivatePort</a> + <a href="#api-OnapsoinfraserviceInstantiation-deactivatePort">deactivatePort</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="deactivateServiceInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-deactivateServiceInstance">deactivateServiceInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-deactivateServiceInstance">deactivateServiceInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteNetworkInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-deleteNetworkInstance">deleteNetworkInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-deleteNetworkInstance">deleteNetworkInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="deletePortConfiguration" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-deletePortConfiguration">deletePortConfiguration</a> + <a href="#api-OnapsoinfraserviceInstantiation-deletePortConfiguration">deletePortConfiguration</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteServiceInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-deleteServiceInstance">deleteServiceInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-deleteServiceInstance">deleteServiceInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteVfModuleInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-deleteVfModuleInstance">deleteVfModuleInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-deleteVfModuleInstance">deleteVfModuleInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteVnfInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-deleteVnfInstance">deleteVnfInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-deleteVnfInstance">deleteVnfInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="deleteVolumeGroupInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance">deleteVolumeGroupInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance">deleteVolumeGroupInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="disablePort" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-disablePort">disablePort</a> + <a href="#api-OnapsoinfraserviceInstantiation-disablePort">disablePort</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="enablePort" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-enablePort">enablePort</a> + <a href="#api-OnapsoinfraserviceInstantiation-enablePort">enablePort</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="inPlaceSoftwareUpdate" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate">inPlaceSoftwareUpdate</a> + <a href="#api-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate">inPlaceSoftwareUpdate</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="removeRelationships" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-removeRelationships">removeRelationships</a> + <a href="#api-OnapsoinfraserviceInstantiation-removeRelationships">removeRelationships</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="replaceVfModuleInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-replaceVfModuleInstance">replaceVfModuleInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-replaceVfModuleInstance">replaceVfModuleInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="replaceVnfInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-replaceVnfInstance">replaceVnfInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-replaceVnfInstance">replaceVnfInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="scaleOutVfModule" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-scaleOutVfModule">scaleOutVfModule</a> + <a href="#api-OnapsoinfraserviceInstantiation-scaleOutVfModule">scaleOutVfModule</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="unassignServiceInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-unassignServiceInstance">unassignServiceInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-unassignServiceInstance">unassignServiceInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="updateNetworkInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-updateNetworkInstance">updateNetworkInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-updateNetworkInstance">updateNetworkInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="updateVfModuleInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-updateVfModuleInstance">updateVfModuleInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-updateVfModuleInstance">updateVfModuleInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="updateVnfInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-updateVnfInstance">updateVnfInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-updateVnfInstance">updateVnfInstance</a> </li> <li data-group="OnapsoinfraserviceInstantiation" data-name="updateVolumeGroupInstance" class=""> - <a href="#api-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance">updateVolumeGroupInstance</a> + <a href="#api-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance">updateVolumeGroupInstance</a> </li> - <li class="nav-header" data-group="Onapsoinfratasks"><a href="#api-Onapsoinfratasks">API Methods - Onapsoinfratasks</a></li> + <li class="nav-header" data-group="Onapsoinfratasks"><a href="#api-Onapsoinfratasks">API Methods - Onapsoinfratasks</a></li> <li data-group="Onapsoinfratasks" data-name="queryFilters" class=""> - <a href="#api-Onapsoinfratasks-queryFilters">queryFilters</a> + <a href="#api-Onapsoinfratasks-queryFilters">queryFilters</a> </li> - <li class="nav-header" data-group="OnapsoinfraworkflowSpecifications"><a href="#api-OnapsoinfraworkflowSpecifications">API Methods - OnapsoinfraworkflowSpecifications</a></li> + <li class="nav-header" data-group="OnapsoinfraworkflowSpecifications"><a href="#api-OnapsoinfraworkflowSpecifications">API Methods - OnapsoinfraworkflowSpecifications</a></li> <li data-group="OnapsoinfraworkflowSpecifications" data-name="queryWorkflowSpecifications" class=""> - <a href="#api-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications">queryWorkflowSpecifications</a> + <a href="#api-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications">queryWorkflowSpecifications</a> </li> - </ul> - </nav> - </div> - <div id="content"> - <div id="project"> - <div class="pull-left"> - <h1>SO Guilin APIs</h1> - </div> - <div class="clearfix"></div> + </ul> + </nav> </div> - <div id="header"> - <div id="api-_"> - <h2 id="welcome-to-apidoc">API and SDK Documentation</h2> - <div class="app-desc">Version: 3.1.2</div> - <hr> - <div>No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)</div> - </div> - </div> - <div id="sections"> + <div id="content"> + <div id="project"> + <div class="pull-left"> + <h1>SO Guilin APIs</h1> + </div> + <div class="clearfix"></div> + </div> + <div id="header"> + <div id="api-_"> + <h2 id="welcome-to-apidoc">API and SDK Documentation</h2> + <div class="app-desc">Version: 3.1.2</div> + <hr> + <div>No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)</div> + </div> + </div> + <div id="sections"> <section id="api-E2eServiceInstances"> - <h1>E2eServiceInstances</h1> + <h1>E2eServiceInstances</h1> <div id="api-E2eServiceInstances-activateE2EServiceInstances"> - <article id="api-E2eServiceInstances-activateE2EServiceInstances-0" data-group="User" data-name="activateE2EServiceInstances" data-version="0"> - <div class="pull-left"> - <h1>activateE2EServiceInstances</h1> - <p>Activate/Deactivate 5G slice Service on a specified version and serviceId</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/{operationType}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-curl">Curl</a></li> - <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-java">Java</a></li> - <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-android">Android</a></li> - <!--<li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-csharp">C#</a></li> - <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-php">PHP</a></li> - <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-perl">Perl</a></li> - <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/{operationType}"</code></pre> - </div> - <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-java"> + <article id="api-E2eServiceInstances-activateE2EServiceInstances-0" data-group="User" data-name="activateE2EServiceInstances" data-version="0"> + <div class="pull-left"> + <h1>activateE2EServiceInstances</h1> + <p>Activate/Deactivate 5G slice Service on a specified version and serviceId</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/{operationType}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-curl">Curl</a></li> + <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-java">Java</a></li> + <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-android">Android</a></li> + <!--<li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-csharp">C#</a></li> + <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-php">PHP</a></li> + <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-perl">Perl</a></li> + <li class=""><a href="#examples-E2eServiceInstances-activateE2EServiceInstances-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/{operationType}"</code></pre> + </div> + <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -1322,12 +1349,12 @@ import java.util.*; public class E2eServiceInstancesApiExample { public static void main(String[] args) { - + E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi(); - String version = version_example; // String | - String serviceId = serviceId_example; // String | - String operationType = operationType_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceId = serviceId_example; // String | + String operationType = operationType_example; // String | + String body = body_example; // String | try { apiInstance.activateE2EServiceInstances(version, serviceId, operationType, body); } catch (ApiException e) { @@ -1336,19 +1363,19 @@ public class E2eServiceInstancesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-android"> + <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi; public class E2eServiceInstancesApiExample { public static void main(String[] args) { E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi(); - String version = version_example; // String | - String serviceId = serviceId_example; // String | - String operationType = operationType_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceId = serviceId_example; // String | + String operationType = operationType_example; // String | + String body = body_example; // String | try { apiInstance.activateE2EServiceInstances(version, serviceId, operationType, body); } catch (ApiException e) { @@ -1357,15 +1384,15 @@ public class E2eServiceInstancesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceId = serviceId_example; // -String *operationType = operationType_example; // + <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceId = serviceId_example; // +String *operationType = operationType_example; // String *body = body_example; // (optional) E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init]; @@ -1381,21 +1408,21 @@ E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init]; } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-javascript"> + <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.E2eServiceInstancesApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceId = serviceId_example; // {String} +var serviceId = serviceId_example; // {String} -var operationType = operationType_example; // {String} +var operationType = operationType_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -1407,12 +1434,12 @@ var callback = function(error, data, response) { }; api.activateE2EServiceInstances(version, serviceId, operationType, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-angular"> + <!--<div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-csharp"> + <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -1425,12 +1452,12 @@ namespace Example { public void main() { - + var apiInstance = new E2eServiceInstancesApi(); - var version = version_example; // String | - var serviceId = serviceId_example; // String | - var operationType = operationType_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceId = serviceId_example; // String | + var operationType = operationType_example; // String | + var body = body_example; // String | (optional) try { @@ -1445,17 +1472,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-php"> + <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\E2eServiceInstancesApi(); -$version = version_example; // String | -$serviceId = serviceId_example; // String | -$operationType = operationType_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceId = serviceId_example; // String | +$operationType = operationType_example; // String | +$body = body_example; // String | try { $api_instance->activateE2EServiceInstances($version, $serviceId, $operationType, $body); @@ -1463,28 +1490,28 @@ try { echo 'Exception when calling E2eServiceInstancesApi->activateE2EServiceInstances: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-perl"> + <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::E2eServiceInstancesApi; my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new(); -my $version = version_example; # String | -my $serviceId = serviceId_example; # String | -my $operationType = operationType_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceId = serviceId_example; # String | +my $operationType = operationType_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->activateE2EServiceInstances(version => $version, serviceId => $serviceId, operationType => $operationType, body => $body); }; if ($@) { warn "Exception when calling E2eServiceInstancesApi->activateE2EServiceInstances: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-python"> + <div class="tab-pane" id="examples-E2eServiceInstances-activateE2EServiceInstances-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -1493,101 +1520,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.E2eServiceInstancesApi() -version = version_example # String | -serviceId = serviceId_example # String | -operationType = operationType_example # String | +version = version_example # String | +serviceId = serviceId_example # String | +operationType = operationType_example # String | body = body_example # String | (optional) -try: +try: # Activate/Deactivate 5G slice Service on a specified version and serviceId api_instance.activate_e2_e_service_instances(version, serviceId, operationType, body=body) except ApiException as e: print("Exception when calling E2eServiceInstancesApi->activateE2EServiceInstances: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_activateE2EServiceInstances_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_activateE2EServiceInstances_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceId*</td> -<td> + <tr><td style="width:150px;">serviceId*</td> + <td> - <div id="d2e199_activateE2EServiceInstances_serviceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_activateE2EServiceInstances_serviceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">operationType*</td> -<td> + <tr><td style="width:150px;">operationType*</td> + <td> - <div id="d2e199_activateE2EServiceInstances_operationType"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_activateE2EServiceInstances_operationType"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -1613,15 +1640,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_activateE2EServiceInstances_body"></div> -</td> -</tr> + <div id="d2e199_activateE2EServiceInstances_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -1631,43 +1658,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-E2eServiceInstances-compareModelwithTargetVersion"> - <article id="api-E2eServiceInstances-compareModelwithTargetVersion-0" data-group="User" data-name="compareModelwithTargetVersion" data-version="0"> - <div class="pull-left"> - <h1>compareModelwithTargetVersion</h1> - <p>Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/modeldifferences</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-curl">Curl</a></li> - <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-java">Java</a></li> - <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-android">Android</a></li> - <!--<li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-csharp">C#</a></li> - <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-php">PHP</a></li> - <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-perl">Perl</a></li> - <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/modeldifferences"</code></pre> - </div> - <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-java"> + <article id="api-E2eServiceInstances-compareModelwithTargetVersion-0" data-group="User" data-name="compareModelwithTargetVersion" data-version="0"> + <div class="pull-left"> + <h1>compareModelwithTargetVersion</h1> + <p>Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId </p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/modeldifferences</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-curl">Curl</a></li> + <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-java">Java</a></li> + <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-android">Android</a></li> + <!--<li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-csharp">C#</a></li> + <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-php">PHP</a></li> + <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-perl">Perl</a></li> + <li class=""><a href="#examples-E2eServiceInstances-compareModelwithTargetVersion-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/modeldifferences"</code></pre> + </div> + <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -1679,11 +1706,11 @@ import java.util.*; public class E2eServiceInstancesApiExample { public static void main(String[] args) { - + E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi(); - String serviceId = serviceId_example; // String | - String version = version_example; // String | - String body = body_example; // String | + String serviceId = serviceId_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.compareModelwithTargetVersion(serviceId, version, body); } catch (ApiException e) { @@ -1692,18 +1719,18 @@ public class E2eServiceInstancesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-android"> + <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi; public class E2eServiceInstancesApiExample { public static void main(String[] args) { E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi(); - String serviceId = serviceId_example; // String | - String version = version_example; // String | - String body = body_example; // String | + String serviceId = serviceId_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.compareModelwithTargetVersion(serviceId, version, body); } catch (ApiException e) { @@ -1712,14 +1739,14 @@ public class E2eServiceInstancesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *serviceId = serviceId_example; // -String *version = version_example; // + <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *serviceId = serviceId_example; // +String *version = version_example; // String *body = body_example; // (optional) E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init]; @@ -1734,19 +1761,19 @@ E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init]; } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-javascript"> + <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.E2eServiceInstancesApi() -var serviceId = serviceId_example; // {String} +var serviceId = serviceId_example; // {String} -var version = version_example; // {String} +var version = version_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -1758,12 +1785,12 @@ var callback = function(error, data, response) { }; api.compareModelwithTargetVersion(serviceId, version, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-angular"> + <!--<div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-csharp"> + <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -1776,11 +1803,11 @@ namespace Example { public void main() { - + var apiInstance = new E2eServiceInstancesApi(); - var serviceId = serviceId_example; // String | - var version = version_example; // String | - var body = body_example; // String | (optional) + var serviceId = serviceId_example; // String | + var version = version_example; // String | + var body = body_example; // String | (optional) try { @@ -1795,16 +1822,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-php"> + <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\E2eServiceInstancesApi(); -$serviceId = serviceId_example; // String | -$version = version_example; // String | -$body = body_example; // String | +$serviceId = serviceId_example; // String | +$version = version_example; // String | +$body = body_example; // String | try { $api_instance->compareModelwithTargetVersion($serviceId, $version, $body); @@ -1812,27 +1839,27 @@ try { echo 'Exception when calling E2eServiceInstancesApi->compareModelwithTargetVersion: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-perl"> + <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::E2eServiceInstancesApi; my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new(); -my $serviceId = serviceId_example; # String | -my $version = version_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $serviceId = serviceId_example; # String | +my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->compareModelwithTargetVersion(serviceId => $serviceId, version => $version, body => $body); }; if ($@) { warn "Exception when calling E2eServiceInstancesApi->compareModelwithTargetVersion: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-python"> + <div class="tab-pane" id="examples-E2eServiceInstances-compareModelwithTargetVersion-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -1841,80 +1868,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.E2eServiceInstancesApi() -serviceId = serviceId_example # String | -version = version_example # String | +serviceId = serviceId_example # String | +version = version_example # String | body = body_example # String | (optional) -try: +try: # Find added and deleted resources of target model for the e2eserviceInstance on a given serviceId api_instance.compare_modelwith_target_version(serviceId, version, body=body) except ApiException as e: print("Exception when calling E2eServiceInstancesApi->compareModelwithTargetVersion: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">serviceId*</td> -<td> + <tr><td style="width:150px;">serviceId*</td> + <td> - <div id="d2e199_compareModelwithTargetVersion_serviceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_compareModelwithTargetVersion_serviceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_compareModelwithTargetVersion_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_compareModelwithTargetVersion_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -1940,15 +1967,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_compareModelwithTargetVersion_body"></div> -</td> -</tr> + <div id="d2e199_compareModelwithTargetVersion_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -1958,43 +1985,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-E2eServiceInstances-createE2EServiceInstance"> - <article id="api-E2eServiceInstances-createE2EServiceInstance-0" data-group="User" data-name="createE2EServiceInstance" data-version="0"> - <div class="pull-left"> - <h1>createE2EServiceInstance</h1> - <p>Create an E2E Service Instance on a version provided</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-java">Java</a></li> - <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-E2eServiceInstances-createE2EServiceInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}"</code></pre> - </div> - <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-java"> + <article id="api-E2eServiceInstances-createE2EServiceInstance-0" data-group="User" data-name="createE2EServiceInstance" data-version="0"> + <div class="pull-left"> + <h1>createE2EServiceInstance</h1> + <p>Create an E2E Service Instance on a version provided</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-java">Java</a></li> + <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-E2eServiceInstances-createE2EServiceInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-E2eServiceInstances-createE2EServiceInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}"</code></pre> + </div> + <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -2006,10 +2033,10 @@ import java.util.*; public class E2eServiceInstancesApiExample { public static void main(String[] args) { - + E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi(); - String version = version_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.createE2EServiceInstance(version, body); } catch (ApiException e) { @@ -2018,17 +2045,17 @@ public class E2eServiceInstancesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-android"> + <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi; public class E2eServiceInstancesApiExample { public static void main(String[] args) { E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi(); - String version = version_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.createE2EServiceInstance(version, body); } catch (ApiException e) { @@ -2037,13 +2064,13 @@ public class E2eServiceInstancesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // + <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // String *body = body_example; // (optional) E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init]; @@ -2057,17 +2084,17 @@ E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init]; } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-javascript"> + <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.E2eServiceInstancesApi() -var version = version_example; // {String} +var version = version_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -2079,12 +2106,12 @@ var callback = function(error, data, response) { }; api.createE2EServiceInstance(version, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-angular"> + <!--<div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-csharp"> + <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -2097,10 +2124,10 @@ namespace Example { public void main() { - + var apiInstance = new E2eServiceInstancesApi(); - var version = version_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var body = body_example; // String | (optional) try { @@ -2115,15 +2142,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-php"> + <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\E2eServiceInstancesApi(); -$version = version_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$body = body_example; // String | try { $api_instance->createE2EServiceInstance($version, $body); @@ -2131,26 +2158,26 @@ try { echo 'Exception when calling E2eServiceInstancesApi->createE2EServiceInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-perl"> + <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::E2eServiceInstancesApi; my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new(); -my $version = version_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->createE2EServiceInstance(version => $version, body => $body); }; if ($@) { warn "Exception when calling E2eServiceInstancesApi->createE2EServiceInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-python"> + <div class="tab-pane" id="examples-E2eServiceInstances-createE2EServiceInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -2159,59 +2186,59 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.E2eServiceInstancesApi() -version = version_example # String | +version = version_example # String | body = body_example # String | (optional) -try: +try: # Create an E2E Service Instance on a version provided api_instance.create_e2_e_service_instance(version, body=body) except ApiException as e: print("Exception when calling E2eServiceInstancesApi->createE2EServiceInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_createE2EServiceInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createE2EServiceInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -2237,15 +2264,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_createE2EServiceInstance_body"></div> -</td> -</tr> + <div id="d2e199_createE2EServiceInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -2255,43 +2282,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-E2eServiceInstances-deleteE2EServiceInstance"> - <article id="api-E2eServiceInstances-deleteE2EServiceInstance-0" data-group="User" data-name="deleteE2EServiceInstance" data-version="0"> - <div class="pull-left"> - <h1>deleteE2EServiceInstance</h1> - <p>Delete E2E Service Instance on a specified version and serviceId</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-java">Java</a></li> - <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}"</code></pre> - </div> - <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-java"> + <article id="api-E2eServiceInstances-deleteE2EServiceInstance-0" data-group="User" data-name="deleteE2EServiceInstance" data-version="0"> + <div class="pull-left"> + <h1>deleteE2EServiceInstance</h1> + <p>Delete E2E Service Instance on a specified version and serviceId</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-java">Java</a></li> + <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-E2eServiceInstances-deleteE2EServiceInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}"</code></pre> + </div> + <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -2303,11 +2330,11 @@ import java.util.*; public class E2eServiceInstancesApiExample { public static void main(String[] args) { - + E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi(); - String version = version_example; // String | - String serviceId = serviceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceId = serviceId_example; // String | + String body = body_example; // String | try { apiInstance.deleteE2EServiceInstance(version, serviceId, body); } catch (ApiException e) { @@ -2316,18 +2343,18 @@ public class E2eServiceInstancesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-android"> + <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi; public class E2eServiceInstancesApiExample { public static void main(String[] args) { E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi(); - String version = version_example; // String | - String serviceId = serviceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceId = serviceId_example; // String | + String body = body_example; // String | try { apiInstance.deleteE2EServiceInstance(version, serviceId, body); } catch (ApiException e) { @@ -2336,14 +2363,14 @@ public class E2eServiceInstancesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceId = serviceId_example; // + <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceId = serviceId_example; // String *body = body_example; // (optional) E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init]; @@ -2358,19 +2385,19 @@ E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init]; } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-javascript"> + <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.E2eServiceInstancesApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceId = serviceId_example; // {String} +var serviceId = serviceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -2382,12 +2409,12 @@ var callback = function(error, data, response) { }; api.deleteE2EServiceInstance(version, serviceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-angular"> + <!--<div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-csharp"> + <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -2400,11 +2427,11 @@ namespace Example { public void main() { - + var apiInstance = new E2eServiceInstancesApi(); - var version = version_example; // String | - var serviceId = serviceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceId = serviceId_example; // String | + var body = body_example; // String | (optional) try { @@ -2419,16 +2446,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-php"> + <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\E2eServiceInstancesApi(); -$version = version_example; // String | -$serviceId = serviceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceId = serviceId_example; // String | +$body = body_example; // String | try { $api_instance->deleteE2EServiceInstance($version, $serviceId, $body); @@ -2436,27 +2463,27 @@ try { echo 'Exception when calling E2eServiceInstancesApi->deleteE2EServiceInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-perl"> + <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::E2eServiceInstancesApi; my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new(); -my $version = version_example; # String | -my $serviceId = serviceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceId = serviceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->deleteE2EServiceInstance(version => $version, serviceId => $serviceId, body => $body); }; if ($@) { warn "Exception when calling E2eServiceInstancesApi->deleteE2EServiceInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-python"> + <div class="tab-pane" id="examples-E2eServiceInstances-deleteE2EServiceInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -2465,80 +2492,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.E2eServiceInstancesApi() -version = version_example # String | -serviceId = serviceId_example # String | +version = version_example # String | +serviceId = serviceId_example # String | body = body_example # String | (optional) -try: +try: # Delete E2E Service Instance on a specified version and serviceId api_instance.delete_e2_e_service_instance(version, serviceId, body=body) except ApiException as e: print("Exception when calling E2eServiceInstancesApi->deleteE2EServiceInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_deleteE2EServiceInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteE2EServiceInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceId*</td> -<td> + <tr><td style="width:150px;">serviceId*</td> + <td> - <div id="d2e199_deleteE2EServiceInstance_serviceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteE2EServiceInstance_serviceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -2564,15 +2591,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_deleteE2EServiceInstance_body"></div> -</td> -</tr> + <div id="d2e199_deleteE2EServiceInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -2582,43 +2609,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-E2eServiceInstances-getE2EServiceInstances"> - <article id="api-E2eServiceInstances-getE2EServiceInstances-0" data-group="User" data-name="getE2EServiceInstances" data-version="0"> - <div class="pull-left"> - <h1>getE2EServiceInstances</h1> - <p>Find e2eServiceInstances Requests for a given serviceId and operationId</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/operations/{operationId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-curl">Curl</a></li> - <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-java">Java</a></li> - <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-android">Android</a></li> - <!--<li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-csharp">C#</a></li> - <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-php">PHP</a></li> - <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-perl">Perl</a></li> - <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-E2eServiceInstances-getE2EServiceInstances-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/operations/{operationId}"</code></pre> - </div> - <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-java"> + <article id="api-E2eServiceInstances-getE2EServiceInstances-0" data-group="User" data-name="getE2EServiceInstances" data-version="0"> + <div class="pull-left"> + <h1>getE2EServiceInstances</h1> + <p>Find e2eServiceInstances Requests for a given serviceId and operationId</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/operations/{operationId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-curl">Curl</a></li> + <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-java">Java</a></li> + <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-android">Android</a></li> + <!--<li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-csharp">C#</a></li> + <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-php">PHP</a></li> + <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-perl">Perl</a></li> + <li class=""><a href="#examples-E2eServiceInstances-getE2EServiceInstances-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-E2eServiceInstances-getE2EServiceInstances-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/operations/{operationId}"</code></pre> + </div> + <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -2630,11 +2657,11 @@ import java.util.*; public class E2eServiceInstancesApiExample { public static void main(String[] args) { - + E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi(); - String serviceId = serviceId_example; // String | - String version = version_example; // String | - String operationId = operationId_example; // String | + String serviceId = serviceId_example; // String | + String version = version_example; // String | + String operationId = operationId_example; // String | try { apiInstance.getE2EServiceInstances(serviceId, version, operationId); } catch (ApiException e) { @@ -2643,18 +2670,18 @@ public class E2eServiceInstancesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-android"> + <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi; public class E2eServiceInstancesApiExample { public static void main(String[] args) { E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi(); - String serviceId = serviceId_example; // String | - String version = version_example; // String | - String operationId = operationId_example; // String | + String serviceId = serviceId_example; // String | + String version = version_example; // String | + String operationId = operationId_example; // String | try { apiInstance.getE2EServiceInstances(serviceId, version, operationId); } catch (ApiException e) { @@ -2663,15 +2690,15 @@ public class E2eServiceInstancesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *serviceId = serviceId_example; // -String *version = version_example; // -String *operationId = operationId_example; // + <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *serviceId = serviceId_example; // +String *version = version_example; // +String *operationId = operationId_example; // E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init]; @@ -2685,18 +2712,18 @@ E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init]; } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-javascript"> + <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.E2eServiceInstancesApi() -var serviceId = serviceId_example; // {String} +var serviceId = serviceId_example; // {String} -var version = version_example; // {String} +var version = version_example; // {String} -var operationId = operationId_example; // {String} +var operationId = operationId_example; // {String} var callback = function(error, data, response) { @@ -2708,12 +2735,12 @@ var callback = function(error, data, response) { }; api.getE2EServiceInstances(serviceId, version, operationId, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-angular"> + <!--<div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-csharp"> + <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -2726,11 +2753,11 @@ namespace Example { public void main() { - + var apiInstance = new E2eServiceInstancesApi(); - var serviceId = serviceId_example; // String | - var version = version_example; // String | - var operationId = operationId_example; // String | + var serviceId = serviceId_example; // String | + var version = version_example; // String | + var operationId = operationId_example; // String | try { @@ -2745,16 +2772,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-php"> + <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\E2eServiceInstancesApi(); -$serviceId = serviceId_example; // String | -$version = version_example; // String | -$operationId = operationId_example; // String | +$serviceId = serviceId_example; // String | +$version = version_example; // String | +$operationId = operationId_example; // String | try { $api_instance->getE2EServiceInstances($serviceId, $version, $operationId); @@ -2762,27 +2789,27 @@ try { echo 'Exception when calling E2eServiceInstancesApi->getE2EServiceInstances: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-perl"> + <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::E2eServiceInstancesApi; my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new(); -my $serviceId = serviceId_example; # String | -my $version = version_example; # String | -my $operationId = operationId_example; # String | +my $serviceId = serviceId_example; # String | +my $version = version_example; # String | +my $operationId = operationId_example; # String | -eval { +eval { $api_instance->getE2EServiceInstances(serviceId => $serviceId, version => $version, operationId => $operationId); }; if ($@) { warn "Exception when calling E2eServiceInstancesApi->getE2EServiceInstances: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-python"> + <div class="tab-pane" id="examples-E2eServiceInstances-getE2EServiceInstances-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -2791,85 +2818,85 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.E2eServiceInstancesApi() -serviceId = serviceId_example # String | -version = version_example # String | -operationId = operationId_example # String | +serviceId = serviceId_example # String | +version = version_example # String | +operationId = operationId_example # String | -try: +try: # Find e2eServiceInstances Requests for a given serviceId and operationId api_instance.get_e2_e_service_instances(serviceId, version, operationId) except ApiException as e: print("Exception when calling E2eServiceInstancesApi->getE2EServiceInstances: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">serviceId*</td> -<td> + <tr><td style="width:150px;">serviceId*</td> + <td> - <div id="d2e199_getE2EServiceInstances_serviceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_getE2EServiceInstances_serviceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_getE2EServiceInstances_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_getE2EServiceInstances_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">operationId*</td> -<td> + <tr><td style="width:150px;">operationId*</td> + <td> - <div id="d2e199_getE2EServiceInstances_operationId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_getE2EServiceInstances_operationId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> @@ -2877,7 +2904,7 @@ except ApiException as e: - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -2887,43 +2914,43 @@ except ApiException as e: </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-E2eServiceInstances-scaleE2EServiceInstance"> - <article id="api-E2eServiceInstances-scaleE2EServiceInstance-0" data-group="User" data-name="scaleE2EServiceInstance" data-version="0"> - <div class="pull-left"> - <h1>scaleE2EServiceInstance</h1> - <p>Scale E2E Service Instance on a specified version</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/scale</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-java">Java</a></li> - <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/scale"</code></pre> - </div> - <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-java"> + <article id="api-E2eServiceInstances-scaleE2EServiceInstance-0" data-group="User" data-name="scaleE2EServiceInstance" data-version="0"> + <div class="pull-left"> + <h1>scaleE2EServiceInstance</h1> + <p>Scale E2E Service Instance on a specified version</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/scale</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-java">Java</a></li> + <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-E2eServiceInstances-scaleE2EServiceInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}/scale"</code></pre> + </div> + <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -2935,11 +2962,11 @@ import java.util.*; public class E2eServiceInstancesApiExample { public static void main(String[] args) { - + E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi(); - String version = version_example; // String | - String serviceId = serviceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceId = serviceId_example; // String | + String body = body_example; // String | try { apiInstance.scaleE2EServiceInstance(version, serviceId, body); } catch (ApiException e) { @@ -2948,18 +2975,18 @@ public class E2eServiceInstancesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-android"> + <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi; public class E2eServiceInstancesApiExample { public static void main(String[] args) { E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi(); - String version = version_example; // String | - String serviceId = serviceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceId = serviceId_example; // String | + String body = body_example; // String | try { apiInstance.scaleE2EServiceInstance(version, serviceId, body); } catch (ApiException e) { @@ -2968,14 +2995,14 @@ public class E2eServiceInstancesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceId = serviceId_example; // + <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceId = serviceId_example; // String *body = body_example; // (optional) E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init]; @@ -2990,19 +3017,19 @@ E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init]; } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-javascript"> + <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.E2eServiceInstancesApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceId = serviceId_example; // {String} +var serviceId = serviceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -3014,12 +3041,12 @@ var callback = function(error, data, response) { }; api.scaleE2EServiceInstance(version, serviceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-angular"> + <!--<div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-csharp"> + <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -3032,11 +3059,11 @@ namespace Example { public void main() { - + var apiInstance = new E2eServiceInstancesApi(); - var version = version_example; // String | - var serviceId = serviceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceId = serviceId_example; // String | + var body = body_example; // String | (optional) try { @@ -3051,16 +3078,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-php"> + <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\E2eServiceInstancesApi(); -$version = version_example; // String | -$serviceId = serviceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceId = serviceId_example; // String | +$body = body_example; // String | try { $api_instance->scaleE2EServiceInstance($version, $serviceId, $body); @@ -3068,27 +3095,27 @@ try { echo 'Exception when calling E2eServiceInstancesApi->scaleE2EServiceInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-perl"> + <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::E2eServiceInstancesApi; my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new(); -my $version = version_example; # String | -my $serviceId = serviceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceId = serviceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->scaleE2EServiceInstance(version => $version, serviceId => $serviceId, body => $body); }; if ($@) { warn "Exception when calling E2eServiceInstancesApi->scaleE2EServiceInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-python"> + <div class="tab-pane" id="examples-E2eServiceInstances-scaleE2EServiceInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -3097,80 +3124,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.E2eServiceInstancesApi() -version = version_example # String | -serviceId = serviceId_example # String | +version = version_example # String | +serviceId = serviceId_example # String | body = body_example # String | (optional) -try: +try: # Scale E2E Service Instance on a specified version api_instance.scale_e2_e_service_instance(version, serviceId, body=body) except ApiException as e: print("Exception when calling E2eServiceInstancesApi->scaleE2EServiceInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_scaleE2EServiceInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_scaleE2EServiceInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceId*</td> -<td> + <tr><td style="width:150px;">serviceId*</td> + <td> - <div id="d2e199_scaleE2EServiceInstance_serviceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_scaleE2EServiceInstance_serviceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -3196,15 +3223,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_scaleE2EServiceInstance_body"></div> -</td> -</tr> + <div id="d2e199_scaleE2EServiceInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -3214,43 +3241,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-E2eServiceInstances-updateE2EServiceInstance"> - <article id="api-E2eServiceInstances-updateE2EServiceInstance-0" data-group="User" data-name="updateE2EServiceInstance" data-version="0"> - <div class="pull-left"> - <h1>updateE2EServiceInstance</h1> - <p>Update an E2E Service Instance on a version provided and serviceId</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-java">Java</a></li> - <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}"</code></pre> - </div> - <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-java"> + <article id="api-E2eServiceInstances-updateE2EServiceInstance-0" data-group="User" data-name="updateE2EServiceInstance" data-version="0"> + <div class="pull-left"> + <h1>updateE2EServiceInstance</h1> + <p>Update an E2E Service Instance on a version provided and serviceId</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/e2eServiceInstances/{version}/{serviceId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-java">Java</a></li> + <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-E2eServiceInstances-updateE2EServiceInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/e2eServiceInstances/{version}/{serviceId}"</code></pre> + </div> + <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -3262,11 +3289,11 @@ import java.util.*; public class E2eServiceInstancesApiExample { public static void main(String[] args) { - + E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi(); - String version = version_example; // String | - String serviceId = serviceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceId = serviceId_example; // String | + String body = body_example; // String | try { apiInstance.updateE2EServiceInstance(version, serviceId, body); } catch (ApiException e) { @@ -3275,18 +3302,18 @@ public class E2eServiceInstancesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-android"> + <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.E2eServiceInstancesApi; public class E2eServiceInstancesApiExample { public static void main(String[] args) { E2eServiceInstancesApi apiInstance = new E2eServiceInstancesApi(); - String version = version_example; // String | - String serviceId = serviceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceId = serviceId_example; // String | + String body = body_example; // String | try { apiInstance.updateE2EServiceInstance(version, serviceId, body); } catch (ApiException e) { @@ -3295,14 +3322,14 @@ public class E2eServiceInstancesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceId = serviceId_example; // + <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceId = serviceId_example; // String *body = body_example; // (optional) E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init]; @@ -3317,19 +3344,19 @@ E2eServiceInstancesApi *apiInstance = [[E2eServiceInstancesApi alloc] init]; } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-javascript"> + <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.E2eServiceInstancesApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceId = serviceId_example; // {String} +var serviceId = serviceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -3341,12 +3368,12 @@ var callback = function(error, data, response) { }; api.updateE2EServiceInstance(version, serviceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-angular"> + <!--<div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-csharp"> + <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -3359,11 +3386,11 @@ namespace Example { public void main() { - + var apiInstance = new E2eServiceInstancesApi(); - var version = version_example; // String | - var serviceId = serviceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceId = serviceId_example; // String | + var body = body_example; // String | (optional) try { @@ -3378,16 +3405,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-php"> + <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\E2eServiceInstancesApi(); -$version = version_example; // String | -$serviceId = serviceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceId = serviceId_example; // String | +$body = body_example; // String | try { $api_instance->updateE2EServiceInstance($version, $serviceId, $body); @@ -3395,27 +3422,27 @@ try { echo 'Exception when calling E2eServiceInstancesApi->updateE2EServiceInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-perl"> + <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::E2eServiceInstancesApi; my $api_instance = WWW::SwaggerClient::E2eServiceInstancesApi->new(); -my $version = version_example; # String | -my $serviceId = serviceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceId = serviceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->updateE2EServiceInstance(version => $version, serviceId => $serviceId, body => $body); }; if ($@) { warn "Exception when calling E2eServiceInstancesApi->updateE2EServiceInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-python"> + <div class="tab-pane" id="examples-E2eServiceInstances-updateE2EServiceInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -3424,80 +3451,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.E2eServiceInstancesApi() -version = version_example # String | -serviceId = serviceId_example # String | +version = version_example # String | +serviceId = serviceId_example # String | body = body_example # String | (optional) -try: +try: # Update an E2E Service Instance on a version provided and serviceId api_instance.update_e2_e_service_instance(version, serviceId, body=body) except ApiException as e: print("Exception when calling E2eServiceInstancesApi->updateE2EServiceInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_updateE2EServiceInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateE2EServiceInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceId*</td> -<td> + <tr><td style="width:150px;">serviceId*</td> + <td> - <div id="d2e199_updateE2EServiceInstance_serviceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateE2EServiceInstance_serviceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -3523,15 +3550,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_updateE2EServiceInstance_body"></div> -</td> -</tr> + <div id="d2e199_updateE2EServiceInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -3541,46 +3568,46 @@ $(document).ready(function() { </div> </article> - </div> - <hr> - </section> + </div> + <hr> + </section> <section id="api-Globalhealthcheck"> - <h1>Globalhealthcheck</h1> + <h1>Globalhealthcheck</h1> <div id="api-Globalhealthcheck-globalHealthcheck"> - <article id="api-Globalhealthcheck-globalHealthcheck-0" data-group="User" data-name="globalHealthcheck" data-version="0"> - <div class="pull-left"> - <h1>globalHealthcheck</h1> - <p>Performing global health check</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/globalhealthcheck</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-Globalhealthcheck-globalHealthcheck-0-curl">Curl</a></li> - <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-java">Java</a></li> - <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-android">Android</a></li> - <!--<li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-csharp">C#</a></li> - <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-php">PHP</a></li> - <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-perl">Perl</a></li> - <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-Globalhealthcheck-globalHealthcheck-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/globalhealthcheck?enableBpmn="</code></pre> - </div> - <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-java"> + <article id="api-Globalhealthcheck-globalHealthcheck-0" data-group="User" data-name="globalHealthcheck" data-version="0"> + <div class="pull-left"> + <h1>globalHealthcheck</h1> + <p>Performing global health check</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/globalhealthcheck</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-Globalhealthcheck-globalHealthcheck-0-curl">Curl</a></li> + <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-java">Java</a></li> + <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-android">Android</a></li> + <!--<li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-csharp">C#</a></li> + <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-php">PHP</a></li> + <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-perl">Perl</a></li> + <li class=""><a href="#examples-Globalhealthcheck-globalHealthcheck-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-Globalhealthcheck-globalHealthcheck-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/globalhealthcheck?enableBpmn="</code></pre> + </div> + <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -3592,9 +3619,9 @@ import java.util.*; public class GlobalhealthcheckApiExample { public static void main(String[] args) { - + GlobalhealthcheckApi apiInstance = new GlobalhealthcheckApi(); - Boolean enableBpmn = true; // Boolean | + Boolean enableBpmn = true; // Boolean | try { apiInstance.globalHealthcheck(enableBpmn); } catch (ApiException e) { @@ -3603,16 +3630,16 @@ public class GlobalhealthcheckApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-android"> + <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.GlobalhealthcheckApi; public class GlobalhealthcheckApiExample { public static void main(String[] args) { GlobalhealthcheckApi apiInstance = new GlobalhealthcheckApi(); - Boolean enableBpmn = true; // Boolean | + Boolean enableBpmn = true; // Boolean | try { apiInstance.globalHealthcheck(enableBpmn); } catch (ApiException e) { @@ -3621,12 +3648,12 @@ public class GlobalhealthcheckApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-objc"> + <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-objc"> <pre class="prettyprint"><code class="language-cpp">Boolean *enableBpmn = true; // (optional) (default to true) GlobalhealthcheckApi *apiInstance = [[GlobalhealthcheckApi alloc] init]; @@ -3639,15 +3666,15 @@ GlobalhealthcheckApi *apiInstance = [[GlobalhealthcheckApi alloc] init]; } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-javascript"> + <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.GlobalhealthcheckApi() -var opts = { - 'enableBpmn': true // {Boolean} +var opts = { + 'enableBpmn': true // {Boolean} }; var callback = function(error, data, response) { @@ -3659,12 +3686,12 @@ var callback = function(error, data, response) { }; api.globalHealthcheck(opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-angular"> + <!--<div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-csharp"> + <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -3677,7 +3704,7 @@ namespace Example { public void main() { - + var apiInstance = new GlobalhealthcheckApi(); var enableBpmn = true; // Boolean | (optional) (default to true) @@ -3694,14 +3721,14 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-php"> + <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\GlobalhealthcheckApi(); -$enableBpmn = true; // Boolean | +$enableBpmn = true; // Boolean | try { $api_instance->globalHealthcheck($enableBpmn); @@ -3709,25 +3736,25 @@ try { echo 'Exception when calling GlobalhealthcheckApi->globalHealthcheck: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-perl"> + <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::GlobalhealthcheckApi; my $api_instance = WWW::SwaggerClient::GlobalhealthcheckApi->new(); -my $enableBpmn = true; # Boolean | +my $enableBpmn = true; # Boolean | -eval { +eval { $api_instance->globalHealthcheck(enableBpmn => $enableBpmn); }; if ($@) { warn "Exception when calling GlobalhealthcheckApi->globalHealthcheck: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-python"> + <div class="tab-pane" id="examples-Globalhealthcheck-globalHealthcheck-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -3738,15 +3765,15 @@ from pprint import pprint api_instance = swagger_client.GlobalhealthcheckApi() enableBpmn = true # Boolean | (optional) (default to true) -try: +try: # Performing global health check api_instance.global_healthcheck(enableBpmn=enableBpmn) except ApiException as e: print("Exception when calling GlobalhealthcheckApi->globalHealthcheck: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> @@ -3754,30 +3781,30 @@ except ApiException as e: <div class="methodsubtabletitle">Query parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">enableBpmn</td> -<td> + <td> - <div id="d2e199_globalHealthcheck_enableBpmn"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_globalHealthcheck_enableBpmn"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> Boolean </span> - </div> - </div> - </div> -</td> -</tr> + </div> + </div> + </div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -3787,46 +3814,46 @@ except ApiException as e: </div> </article> - </div> - <hr> - </section> + </div> + <hr> + </section> <section id="api-Nodehealthcheck"> - <h1>Nodehealthcheck</h1> + <h1>Nodehealthcheck</h1> <div id="api-Nodehealthcheck-nodeHealthcheck"> - <article id="api-Nodehealthcheck-nodeHealthcheck-0" data-group="User" data-name="nodeHealthcheck" data-version="0"> - <div class="pull-left"> - <h1>nodeHealthcheck</h1> - <p>Performing node health check</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/nodehealthcheck</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-curl">Curl</a></li> - <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-java">Java</a></li> - <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-android">Android</a></li> - <!--<li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-csharp">C#</a></li> - <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-php">PHP</a></li> - <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-perl">Perl</a></li> - <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-Nodehealthcheck-nodeHealthcheck-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/nodehealthcheck"</code></pre> - </div> - <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-java"> + <article id="api-Nodehealthcheck-nodeHealthcheck-0" data-group="User" data-name="nodeHealthcheck" data-version="0"> + <div class="pull-left"> + <h1>nodeHealthcheck</h1> + <p>Performing node health check</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/nodehealthcheck</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-curl">Curl</a></li> + <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-java">Java</a></li> + <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-android">Android</a></li> + <!--<li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-csharp">C#</a></li> + <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-php">PHP</a></li> + <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-perl">Perl</a></li> + <li class=""><a href="#examples-Nodehealthcheck-nodeHealthcheck-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-Nodehealthcheck-nodeHealthcheck-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/nodehealthcheck"</code></pre> + </div> + <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -3838,7 +3865,7 @@ import java.util.*; public class NodehealthcheckApiExample { public static void main(String[] args) { - + NodehealthcheckApi apiInstance = new NodehealthcheckApi(); try { apiInstance.nodeHealthcheck(); @@ -3848,9 +3875,9 @@ public class NodehealthcheckApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-android"> + <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.NodehealthcheckApi; public class NodehealthcheckApiExample { @@ -3865,26 +3892,26 @@ public class NodehealthcheckApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-objc"> + <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-objc"> <pre class="prettyprint"><code class="language-cpp"> NodehealthcheckApi *apiInstance = [[NodehealthcheckApi alloc] init]; // Performing node health check -[apiInstance nodeHealthcheckWithCompletionHandler: +[apiInstance nodeHealthcheckWithCompletionHandler: ^(NSError* error) { if (error) { NSLog(@"Error: %@", error); } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-javascript"> + <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.NodehealthcheckApi() @@ -3898,12 +3925,12 @@ var callback = function(error, data, response) { }; api.nodeHealthcheck(callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-angular"> + <!--<div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-csharp"> + <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -3916,7 +3943,7 @@ namespace Example { public void main() { - + var apiInstance = new NodehealthcheckApi(); try @@ -3932,9 +3959,9 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-php"> + <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); @@ -3946,24 +3973,24 @@ try { echo 'Exception when calling NodehealthcheckApi->nodeHealthcheck: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-perl"> + <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::NodehealthcheckApi; my $api_instance = WWW::SwaggerClient::NodehealthcheckApi->new(); -eval { +eval { $api_instance->nodeHealthcheck(); }; if ($@) { warn "Exception when calling NodehealthcheckApi->nodeHealthcheck: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-python"> + <div class="tab-pane" id="examples-Nodehealthcheck-nodeHealthcheck-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -3973,22 +4000,22 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.NodehealthcheckApi() -try: +try: # Performing node health check api_instance.node_healthcheck() except ApiException as e: print("Exception when calling NodehealthcheckApi->nodeHealthcheck: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -3998,46 +4025,46 @@ except ApiException as e: </div> </article> - </div> - <hr> - </section> + </div> + <hr> + </section> <section id="api-Onap3gppServiceInstances"> - <h1>Onap3gppServiceInstances</h1> + <h1>Onap3gppServiceInstances</h1> <div id="api-Onap3gppServiceInstances-activate3gppService"> - <article id="api-Onap3gppServiceInstances-activate3gppService-0" data-group="User" data-name="activate3gppService" data-version="0"> - <div class="pull-left"> - <h1>activate3gppService</h1> - <p>Activate a 3GPP Service Instance on a version provided</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/3gppservices/{version}/activate</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-curl">Curl</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-java">Java</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-android">Android</a></li> - <!--<li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-csharp">C#</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-php">PHP</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-perl">Perl</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-Onap3gppServiceInstances-activate3gppService-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/3gppservices/{version}/activate"</code></pre> - </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-java"> + <article id="api-Onap3gppServiceInstances-activate3gppService-0" data-group="User" data-name="activate3gppService" data-version="0"> + <div class="pull-left"> + <h1>activate3gppService</h1> + <p>Activate a 3GPP Service Instance on a version provided</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/3gppservices/{version}/activate</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-curl">Curl</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-java">Java</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-android">Android</a></li> + <!--<li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-csharp">C#</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-php">PHP</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-perl">Perl</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-activate3gppService-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-Onap3gppServiceInstances-activate3gppService-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/3gppservices/{version}/activate"</code></pre> + </div> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -4049,10 +4076,10 @@ import java.util.*; public class Onap3gppServiceInstancesApiExample { public static void main(String[] args) { - + Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi(); - 3gppServiceActivation body = ; // 3gppServiceActivation | - String version = version_example; // String | + 3gppServiceActivation body = ; // 3gppServiceActivation | + String version = version_example; // String | try { 3gppServiceResponse result = apiInstance.activate3gppService(body, version); System.out.println(result); @@ -4062,17 +4089,17 @@ public class Onap3gppServiceInstancesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-android"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.Onap3gppServiceInstancesApi; public class Onap3gppServiceInstancesApiExample { public static void main(String[] args) { Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi(); - 3gppServiceActivation body = ; // 3gppServiceActivation | - String version = version_example; // String | + 3gppServiceActivation body = ; // 3gppServiceActivation | + String version = version_example; // String | try { 3gppServiceResponse result = apiInstance.activate3gppService(body, version); System.out.println(result); @@ -4082,14 +4109,14 @@ public class Onap3gppServiceInstancesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-objc"> - <pre class="prettyprint"><code class="language-cpp">3gppServiceActivation *body = ; // -String *version = version_example; // + <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-objc"> + <pre class="prettyprint"><code class="language-cpp">3gppServiceActivation *body = ; // +String *version = version_example; // Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] init]; @@ -4105,16 +4132,16 @@ Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-javascript"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.Onap3gppServiceInstancesApi() -var body = ; // {3gppServiceActivation} +var body = ; // {3gppServiceActivation} -var version = version_example; // {String} +var version = version_example; // {String} var callback = function(error, data, response) { @@ -4126,12 +4153,12 @@ var callback = function(error, data, response) { }; api.activate3gppService(body, version, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-angular"> + <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-csharp"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -4144,10 +4171,10 @@ namespace Example { public void main() { - + var apiInstance = new Onap3gppServiceInstancesApi(); - var body = new 3gppServiceActivation(); // 3gppServiceActivation | - var version = version_example; // String | + var body = new 3gppServiceActivation(); // 3gppServiceActivation | + var version = version_example; // String | try { @@ -4163,15 +4190,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-php"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\Onap3gppServiceInstancesApi(); -$body = ; // 3gppServiceActivation | -$version = version_example; // String | +$body = ; // 3gppServiceActivation | +$version = version_example; // String | try { $result = $api_instance->activate3gppService($body, $version); @@ -4180,27 +4207,27 @@ try { echo 'Exception when calling Onap3gppServiceInstancesApi->activate3gppService: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-perl"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::Onap3gppServiceInstancesApi; my $api_instance = WWW::SwaggerClient::Onap3gppServiceInstancesApi->new(); -my $body = WWW::SwaggerClient::Object::3gppServiceActivation->new(); # 3gppServiceActivation | -my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::3gppServiceActivation->new(); # 3gppServiceActivation | +my $version = version_example; # String | -eval { +eval { my $result = $api_instance->activate3gppService(body => $body, version => $version); print Dumper($result); }; if ($@) { warn "Exception when calling Onap3gppServiceInstancesApi->activate3gppService: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-python"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-activate3gppService-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -4209,60 +4236,60 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.Onap3gppServiceInstancesApi() -body = # 3gppServiceActivation | -version = version_example # String | +body = # 3gppServiceActivation | +version = version_example # String | -try: +try: # Activate a 3GPP Service Instance on a version provided api_response = api_instance.activate3gpp_service(body, version) pprint(api_response) except ApiException as e: print("Exception when calling Onap3gppServiceInstancesApi->activate3gppService: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_activate3gppService_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_activate3gppService_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body <span style="color:red;">*</span></td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -4288,28 +4315,28 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_activate3gppService_body"></div> -</td> -</tr> + <div id="d2e199_activate3gppService_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > <li class="active"> - <a data-toggle="tab" href="#responses-activate3gppService-default-schema">Schema</a> + <a data-toggle="tab" href="#responses-activate3gppService-default-schema">Schema</a> </li> </ul> <div class="tab-content" style='margin-bottom: 10px;'> <div class="tab-pane active" id="responses-activate3gppService-default-schema"> - <div id='responses-activate3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;"> - <script> + <div id='responses-activate3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;"> + <script> $(document).ready(function() { var schemaWrapper = { "description" : "successful operation", @@ -4335,49 +4362,49 @@ $(document).ready(function() { result.append(view.render()); }); </script> - </div> - <input id='responses-activate3gppService-default-schema-data' type='hidden' value=''></input> + </div> + <input id='responses-activate3gppService-default-schema-data' type='hidden' value=''></input> </div> </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-Onap3gppServiceInstances-allocate3gppService"> - <article id="api-Onap3gppServiceInstances-allocate3gppService-0" data-group="User" data-name="allocate3gppService" data-version="0"> - <div class="pull-left"> - <h1>allocate3gppService</h1> - <p>Create a 3GPP Service Instance on a version provided</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/3gppservices/{version}/allocate</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-curl">Curl</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-java">Java</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-android">Android</a></li> - <!--<li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-csharp">C#</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-php">PHP</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-perl">Perl</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-Onap3gppServiceInstances-allocate3gppService-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/3gppservices/{version}/allocate"</code></pre> - </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-java"> + <article id="api-Onap3gppServiceInstances-allocate3gppService-0" data-group="User" data-name="allocate3gppService" data-version="0"> + <div class="pull-left"> + <h1>allocate3gppService</h1> + <p>Create a 3GPP Service Instance on a version provided</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/3gppservices/{version}/allocate</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-curl">Curl</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-java">Java</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-android">Android</a></li> + <!--<li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-csharp">C#</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-php">PHP</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-perl">Perl</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-allocate3gppService-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-Onap3gppServiceInstances-allocate3gppService-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/3gppservices/{version}/allocate"</code></pre> + </div> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -4389,10 +4416,10 @@ import java.util.*; public class Onap3gppServiceInstancesApiExample { public static void main(String[] args) { - + Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi(); - Allocate3gppService body = ; // Allocate3gppService | - String version = version_example; // String | + Allocate3gppService body = ; // Allocate3gppService | + String version = version_example; // String | try { 3gppServiceResponse result = apiInstance.allocate3gppService(body, version); System.out.println(result); @@ -4402,17 +4429,17 @@ public class Onap3gppServiceInstancesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-android"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.Onap3gppServiceInstancesApi; public class Onap3gppServiceInstancesApiExample { public static void main(String[] args) { Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi(); - Allocate3gppService body = ; // Allocate3gppService | - String version = version_example; // String | + Allocate3gppService body = ; // Allocate3gppService | + String version = version_example; // String | try { 3gppServiceResponse result = apiInstance.allocate3gppService(body, version); System.out.println(result); @@ -4422,14 +4449,14 @@ public class Onap3gppServiceInstancesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-objc"> - <pre class="prettyprint"><code class="language-cpp">Allocate3gppService *body = ; // -String *version = version_example; // + <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-objc"> + <pre class="prettyprint"><code class="language-cpp">Allocate3gppService *body = ; // +String *version = version_example; // Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] init]; @@ -4445,16 +4472,16 @@ Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-javascript"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.Onap3gppServiceInstancesApi() -var body = ; // {Allocate3gppService} +var body = ; // {Allocate3gppService} -var version = version_example; // {String} +var version = version_example; // {String} var callback = function(error, data, response) { @@ -4466,12 +4493,12 @@ var callback = function(error, data, response) { }; api.allocate3gppService(body, version, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-angular"> + <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-csharp"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -4484,10 +4511,10 @@ namespace Example { public void main() { - + var apiInstance = new Onap3gppServiceInstancesApi(); - var body = new Allocate3gppService(); // Allocate3gppService | - var version = version_example; // String | + var body = new Allocate3gppService(); // Allocate3gppService | + var version = version_example; // String | try { @@ -4503,15 +4530,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-php"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\Onap3gppServiceInstancesApi(); -$body = ; // Allocate3gppService | -$version = version_example; // String | +$body = ; // Allocate3gppService | +$version = version_example; // String | try { $result = $api_instance->allocate3gppService($body, $version); @@ -4520,27 +4547,27 @@ try { echo 'Exception when calling Onap3gppServiceInstancesApi->allocate3gppService: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-perl"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::Onap3gppServiceInstancesApi; my $api_instance = WWW::SwaggerClient::Onap3gppServiceInstancesApi->new(); -my $body = WWW::SwaggerClient::Object::Allocate3gppService->new(); # Allocate3gppService | -my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::Allocate3gppService->new(); # Allocate3gppService | +my $version = version_example; # String | -eval { +eval { my $result = $api_instance->allocate3gppService(body => $body, version => $version); print Dumper($result); }; if ($@) { warn "Exception when calling Onap3gppServiceInstancesApi->allocate3gppService: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-python"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-allocate3gppService-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -4549,60 +4576,60 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.Onap3gppServiceInstancesApi() -body = # Allocate3gppService | -version = version_example # String | +body = # Allocate3gppService | +version = version_example # String | -try: +try: # Create a 3GPP Service Instance on a version provided api_response = api_instance.allocate3gpp_service(body, version) pprint(api_response) except ApiException as e: print("Exception when calling Onap3gppServiceInstancesApi->allocate3gppService: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_allocate3gppService_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_allocate3gppService_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body <span style="color:red;">*</span></td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -4628,28 +4655,28 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_allocate3gppService_body"></div> -</td> -</tr> + <div id="d2e199_allocate3gppService_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > <li class="active"> - <a data-toggle="tab" href="#responses-allocate3gppService-default-schema">Schema</a> + <a data-toggle="tab" href="#responses-allocate3gppService-default-schema">Schema</a> </li> </ul> <div class="tab-content" style='margin-bottom: 10px;'> <div class="tab-pane active" id="responses-allocate3gppService-default-schema"> - <div id='responses-allocate3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;"> - <script> + <div id='responses-allocate3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;"> + <script> $(document).ready(function() { var schemaWrapper = { "description" : "successful operation", @@ -4675,49 +4702,49 @@ $(document).ready(function() { result.append(view.render()); }); </script> - </div> - <input id='responses-allocate3gppService-default-schema-data' type='hidden' value=''></input> + </div> + <input id='responses-allocate3gppService-default-schema-data' type='hidden' value=''></input> </div> </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-Onap3gppServiceInstances-deactivate3gppService"> - <article id="api-Onap3gppServiceInstances-deactivate3gppService-0" data-group="User" data-name="deactivate3gppService" data-version="0"> - <div class="pull-left"> - <h1>deactivate3gppService</h1> - <p>Deactivate a 3GPP Service Instance on a version provided</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/3gppservices/{version}/deActivate</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-curl">Curl</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-java">Java</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-android">Android</a></li> - <!--<li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-csharp">C#</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-php">PHP</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-perl">Perl</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/3gppservices/{version}/deActivate"</code></pre> - </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-java"> + <article id="api-Onap3gppServiceInstances-deactivate3gppService-0" data-group="User" data-name="deactivate3gppService" data-version="0"> + <div class="pull-left"> + <h1>deactivate3gppService</h1> + <p>Deactivate a 3GPP Service Instance on a version provided</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/3gppservices/{version}/deActivate</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-curl">Curl</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-java">Java</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-android">Android</a></li> + <!--<li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-csharp">C#</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-php">PHP</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-perl">Perl</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-deactivate3gppService-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/3gppservices/{version}/deActivate"</code></pre> + </div> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -4729,10 +4756,10 @@ import java.util.*; public class Onap3gppServiceInstancesApiExample { public static void main(String[] args) { - + Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi(); - 3gppServiceActivation body = ; // 3gppServiceActivation | - String version = version_example; // String | + 3gppServiceActivation body = ; // 3gppServiceActivation | + String version = version_example; // String | try { 3gppServiceResponse result = apiInstance.deactivate3gppService(body, version); System.out.println(result); @@ -4742,17 +4769,17 @@ public class Onap3gppServiceInstancesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-android"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.Onap3gppServiceInstancesApi; public class Onap3gppServiceInstancesApiExample { public static void main(String[] args) { Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi(); - 3gppServiceActivation body = ; // 3gppServiceActivation | - String version = version_example; // String | + 3gppServiceActivation body = ; // 3gppServiceActivation | + String version = version_example; // String | try { 3gppServiceResponse result = apiInstance.deactivate3gppService(body, version); System.out.println(result); @@ -4762,14 +4789,14 @@ public class Onap3gppServiceInstancesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-objc"> - <pre class="prettyprint"><code class="language-cpp">3gppServiceActivation *body = ; // -String *version = version_example; // + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-objc"> + <pre class="prettyprint"><code class="language-cpp">3gppServiceActivation *body = ; // +String *version = version_example; // Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] init]; @@ -4785,16 +4812,16 @@ Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-javascript"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.Onap3gppServiceInstancesApi() -var body = ; // {3gppServiceActivation} +var body = ; // {3gppServiceActivation} -var version = version_example; // {String} +var version = version_example; // {String} var callback = function(error, data, response) { @@ -4806,12 +4833,12 @@ var callback = function(error, data, response) { }; api.deactivate3gppService(body, version, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-angular"> + <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-csharp"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -4824,10 +4851,10 @@ namespace Example { public void main() { - + var apiInstance = new Onap3gppServiceInstancesApi(); - var body = new 3gppServiceActivation(); // 3gppServiceActivation | - var version = version_example; // String | + var body = new 3gppServiceActivation(); // 3gppServiceActivation | + var version = version_example; // String | try { @@ -4843,15 +4870,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-php"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\Onap3gppServiceInstancesApi(); -$body = ; // 3gppServiceActivation | -$version = version_example; // String | +$body = ; // 3gppServiceActivation | +$version = version_example; // String | try { $result = $api_instance->deactivate3gppService($body, $version); @@ -4860,27 +4887,27 @@ try { echo 'Exception when calling Onap3gppServiceInstancesApi->deactivate3gppService: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-perl"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::Onap3gppServiceInstancesApi; my $api_instance = WWW::SwaggerClient::Onap3gppServiceInstancesApi->new(); -my $body = WWW::SwaggerClient::Object::3gppServiceActivation->new(); # 3gppServiceActivation | -my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::3gppServiceActivation->new(); # 3gppServiceActivation | +my $version = version_example; # String | -eval { +eval { my $result = $api_instance->deactivate3gppService(body => $body, version => $version); print Dumper($result); }; if ($@) { warn "Exception when calling Onap3gppServiceInstancesApi->deactivate3gppService: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-python"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deactivate3gppService-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -4889,60 +4916,60 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.Onap3gppServiceInstancesApi() -body = # 3gppServiceActivation | -version = version_example # String | +body = # 3gppServiceActivation | +version = version_example # String | -try: +try: # Deactivate a 3GPP Service Instance on a version provided api_response = api_instance.deactivate3gpp_service(body, version) pprint(api_response) except ApiException as e: print("Exception when calling Onap3gppServiceInstancesApi->deactivate3gppService: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_deactivate3gppService_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deactivate3gppService_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body <span style="color:red;">*</span></td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -4968,28 +4995,28 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_deactivate3gppService_body"></div> -</td> -</tr> + <div id="d2e199_deactivate3gppService_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > <li class="active"> - <a data-toggle="tab" href="#responses-deactivate3gppService-default-schema">Schema</a> + <a data-toggle="tab" href="#responses-deactivate3gppService-default-schema">Schema</a> </li> </ul> <div class="tab-content" style='margin-bottom: 10px;'> <div class="tab-pane active" id="responses-deactivate3gppService-default-schema"> - <div id='responses-deactivate3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;"> - <script> + <div id='responses-deactivate3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;"> + <script> $(document).ready(function() { var schemaWrapper = { "description" : "successful operation", @@ -5015,49 +5042,49 @@ $(document).ready(function() { result.append(view.render()); }); </script> - </div> - <input id='responses-deactivate3gppService-default-schema-data' type='hidden' value=''></input> + </div> + <input id='responses-deactivate3gppService-default-schema-data' type='hidden' value=''></input> </div> </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-Onap3gppServiceInstances-deallocate3gppService"> - <article id="api-Onap3gppServiceInstances-deallocate3gppService-0" data-group="User" data-name="deallocate3gppService" data-version="0"> - <div class="pull-left"> - <h1>deallocate3gppService</h1> - <p>Terminate/Deallocate a 3GPP Service Instance on a version provided</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/3gppservices/{version}/deAllocate</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-curl">Curl</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-java">Java</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-android">Android</a></li> - <!--<li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-csharp">C#</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-php">PHP</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-perl">Perl</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/3gppservices/{version}/deAllocate"</code></pre> - </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-java"> + <article id="api-Onap3gppServiceInstances-deallocate3gppService-0" data-group="User" data-name="deallocate3gppService" data-version="0"> + <div class="pull-left"> + <h1>deallocate3gppService</h1> + <p>Terminate/Deallocate a 3GPP Service Instance on a version provided</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/3gppservices/{version}/deAllocate</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-curl">Curl</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-java">Java</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-android">Android</a></li> + <!--<li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-csharp">C#</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-php">PHP</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-perl">Perl</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-deallocate3gppService-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/3gppservices/{version}/deAllocate"</code></pre> + </div> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -5069,10 +5096,10 @@ import java.util.*; public class Onap3gppServiceInstancesApiExample { public static void main(String[] args) { - + Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi(); - DeAllocate3gppService body = ; // DeAllocate3gppService | - String version = version_example; // String | + DeAllocate3gppService body = ; // DeAllocate3gppService | + String version = version_example; // String | try { 3gppServiceResponse result = apiInstance.deallocate3gppService(body, version); System.out.println(result); @@ -5082,17 +5109,17 @@ public class Onap3gppServiceInstancesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-android"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.Onap3gppServiceInstancesApi; public class Onap3gppServiceInstancesApiExample { public static void main(String[] args) { Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi(); - DeAllocate3gppService body = ; // DeAllocate3gppService | - String version = version_example; // String | + DeAllocate3gppService body = ; // DeAllocate3gppService | + String version = version_example; // String | try { 3gppServiceResponse result = apiInstance.deallocate3gppService(body, version); System.out.println(result); @@ -5102,14 +5129,14 @@ public class Onap3gppServiceInstancesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-objc"> - <pre class="prettyprint"><code class="language-cpp">DeAllocate3gppService *body = ; // -String *version = version_example; // + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-objc"> + <pre class="prettyprint"><code class="language-cpp">DeAllocate3gppService *body = ; // +String *version = version_example; // Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] init]; @@ -5125,16 +5152,16 @@ Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-javascript"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.Onap3gppServiceInstancesApi() -var body = ; // {DeAllocate3gppService} +var body = ; // {DeAllocate3gppService} -var version = version_example; // {String} +var version = version_example; // {String} var callback = function(error, data, response) { @@ -5146,12 +5173,12 @@ var callback = function(error, data, response) { }; api.deallocate3gppService(body, version, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-angular"> + <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-csharp"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -5164,10 +5191,10 @@ namespace Example { public void main() { - + var apiInstance = new Onap3gppServiceInstancesApi(); - var body = new DeAllocate3gppService(); // DeAllocate3gppService | - var version = version_example; // String | + var body = new DeAllocate3gppService(); // DeAllocate3gppService | + var version = version_example; // String | try { @@ -5183,15 +5210,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-php"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\Onap3gppServiceInstancesApi(); -$body = ; // DeAllocate3gppService | -$version = version_example; // String | +$body = ; // DeAllocate3gppService | +$version = version_example; // String | try { $result = $api_instance->deallocate3gppService($body, $version); @@ -5200,27 +5227,27 @@ try { echo 'Exception when calling Onap3gppServiceInstancesApi->deallocate3gppService: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-perl"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::Onap3gppServiceInstancesApi; my $api_instance = WWW::SwaggerClient::Onap3gppServiceInstancesApi->new(); -my $body = WWW::SwaggerClient::Object::DeAllocate3gppService->new(); # DeAllocate3gppService | -my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::DeAllocate3gppService->new(); # DeAllocate3gppService | +my $version = version_example; # String | -eval { +eval { my $result = $api_instance->deallocate3gppService(body => $body, version => $version); print Dumper($result); }; if ($@) { warn "Exception when calling Onap3gppServiceInstancesApi->deallocate3gppService: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-python"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-deallocate3gppService-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -5229,60 +5256,60 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.Onap3gppServiceInstancesApi() -body = # DeAllocate3gppService | -version = version_example # String | +body = # DeAllocate3gppService | +version = version_example # String | -try: +try: # Terminate/Deallocate a 3GPP Service Instance on a version provided api_response = api_instance.deallocate3gpp_service(body, version) pprint(api_response) except ApiException as e: print("Exception when calling Onap3gppServiceInstancesApi->deallocate3gppService: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_deallocate3gppService_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deallocate3gppService_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body <span style="color:red;">*</span></td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -5308,28 +5335,28 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_deallocate3gppService_body"></div> -</td> -</tr> + <div id="d2e199_deallocate3gppService_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > <li class="active"> - <a data-toggle="tab" href="#responses-deallocate3gppService-default-schema">Schema</a> + <a data-toggle="tab" href="#responses-deallocate3gppService-default-schema">Schema</a> </li> </ul> <div class="tab-content" style='margin-bottom: 10px;'> <div class="tab-pane active" id="responses-deallocate3gppService-default-schema"> - <div id='responses-deallocate3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;"> - <script> + <div id='responses-deallocate3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;"> + <script> $(document).ready(function() { var schemaWrapper = { "description" : "successful operation", @@ -5355,49 +5382,49 @@ $(document).ready(function() { result.append(view.render()); }); </script> - </div> - <input id='responses-deallocate3gppService-default-schema-data' type='hidden' value=''></input> + </div> + <input id='responses-deallocate3gppService-default-schema-data' type='hidden' value=''></input> </div> </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-Onap3gppServiceInstances-modify3gppService"> - <article id="api-Onap3gppServiceInstances-modify3gppService-0" data-group="User" data-name="modify3gppService" data-version="0"> - <div class="pull-left"> - <h1>modify3gppService</h1> - <p>Modify a 3GPP Service Instance on a version provided</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/3gppservices/{version}/modify</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-curl">Curl</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-java">Java</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-android">Android</a></li> - <!--<li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-csharp">C#</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-php">PHP</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-perl">Perl</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-Onap3gppServiceInstances-modify3gppService-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/3gppservices/{version}/modify"</code></pre> - </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-java"> + <article id="api-Onap3gppServiceInstances-modify3gppService-0" data-group="User" data-name="modify3gppService" data-version="0"> + <div class="pull-left"> + <h1>modify3gppService</h1> + <p>Modify a 3GPP Service Instance on a version provided</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/3gppservices/{version}/modify</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-curl">Curl</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-java">Java</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-android">Android</a></li> + <!--<li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-csharp">C#</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-php">PHP</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-perl">Perl</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-modify3gppService-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-Onap3gppServiceInstances-modify3gppService-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/3gppservices/{version}/modify"</code></pre> + </div> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -5409,10 +5436,10 @@ import java.util.*; public class Onap3gppServiceInstancesApiExample { public static void main(String[] args) { - + Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi(); - Modify3gppService body = ; // Modify3gppService | - String version = version_example; // String | + Modify3gppService body = ; // Modify3gppService | + String version = version_example; // String | try { 3gppServiceResponse result = apiInstance.modify3gppService(body, version); System.out.println(result); @@ -5422,17 +5449,17 @@ public class Onap3gppServiceInstancesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-android"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.Onap3gppServiceInstancesApi; public class Onap3gppServiceInstancesApiExample { public static void main(String[] args) { Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi(); - Modify3gppService body = ; // Modify3gppService | - String version = version_example; // String | + Modify3gppService body = ; // Modify3gppService | + String version = version_example; // String | try { 3gppServiceResponse result = apiInstance.modify3gppService(body, version); System.out.println(result); @@ -5442,14 +5469,14 @@ public class Onap3gppServiceInstancesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-objc"> - <pre class="prettyprint"><code class="language-cpp">Modify3gppService *body = ; // -String *version = version_example; // + <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-objc"> + <pre class="prettyprint"><code class="language-cpp">Modify3gppService *body = ; // +String *version = version_example; // Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] init]; @@ -5465,16 +5492,16 @@ Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-javascript"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.Onap3gppServiceInstancesApi() -var body = ; // {Modify3gppService} +var body = ; // {Modify3gppService} -var version = version_example; // {String} +var version = version_example; // {String} var callback = function(error, data, response) { @@ -5486,12 +5513,12 @@ var callback = function(error, data, response) { }; api.modify3gppService(body, version, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-angular"> + <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-csharp"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -5504,10 +5531,10 @@ namespace Example { public void main() { - + var apiInstance = new Onap3gppServiceInstancesApi(); - var body = new Modify3gppService(); // Modify3gppService | - var version = version_example; // String | + var body = new Modify3gppService(); // Modify3gppService | + var version = version_example; // String | try { @@ -5523,15 +5550,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-php"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\Onap3gppServiceInstancesApi(); -$body = ; // Modify3gppService | -$version = version_example; // String | +$body = ; // Modify3gppService | +$version = version_example; // String | try { $result = $api_instance->modify3gppService($body, $version); @@ -5540,27 +5567,27 @@ try { echo 'Exception when calling Onap3gppServiceInstancesApi->modify3gppService: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-perl"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::Onap3gppServiceInstancesApi; my $api_instance = WWW::SwaggerClient::Onap3gppServiceInstancesApi->new(); -my $body = WWW::SwaggerClient::Object::Modify3gppService->new(); # Modify3gppService | -my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::Modify3gppService->new(); # Modify3gppService | +my $version = version_example; # String | -eval { +eval { my $result = $api_instance->modify3gppService(body => $body, version => $version); print Dumper($result); }; if ($@) { warn "Exception when calling Onap3gppServiceInstancesApi->modify3gppService: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-python"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-modify3gppService-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -5569,60 +5596,60 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.Onap3gppServiceInstancesApi() -body = # Modify3gppService | -version = version_example # String | +body = # Modify3gppService | +version = version_example # String | -try: +try: # Modify a 3GPP Service Instance on a version provided api_response = api_instance.modify3gpp_service(body, version) pprint(api_response) except ApiException as e: print("Exception when calling Onap3gppServiceInstancesApi->modify3gppService: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_modify3gppService_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_modify3gppService_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body <span style="color:red;">*</span></td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -5648,28 +5675,28 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_modify3gppService_body"></div> -</td> -</tr> + <div id="d2e199_modify3gppService_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > <li class="active"> - <a data-toggle="tab" href="#responses-modify3gppService-default-schema">Schema</a> + <a data-toggle="tab" href="#responses-modify3gppService-default-schema">Schema</a> </li> </ul> <div class="tab-content" style='margin-bottom: 10px;'> <div class="tab-pane active" id="responses-modify3gppService-default-schema"> - <div id='responses-modify3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;"> - <script> + <div id='responses-modify3gppService-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;"> + <script> $(document).ready(function() { var schemaWrapper = { "description" : "successful operation", @@ -5695,49 +5722,49 @@ $(document).ready(function() { result.append(view.render()); }); </script> - </div> - <input id='responses-modify3gppService-default-schema-data' type='hidden' value=''></input> + </div> + <input id='responses-modify3gppService-default-schema-data' type='hidden' value=''></input> </div> </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-Onap3gppServiceInstances-querySubnetCapability"> - <article id="api-Onap3gppServiceInstances-querySubnetCapability-0" data-group="User" data-name="querySubnetCapability" data-version="0"> - <div class="pull-left"> - <h1>querySubnetCapability</h1> - <p>Provides subnet capability based on subnet types</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/3gppservices/{version}/subnetCapabilityQuery</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-curl">Curl</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-java">Java</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-android">Android</a></li> - <!--<li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-csharp">C#</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-php">PHP</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-perl">Perl</a></li> - <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/3gppservices/{version}/subnetCapabilityQuery"</code></pre> - </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-java"> + <article id="api-Onap3gppServiceInstances-querySubnetCapability-0" data-group="User" data-name="querySubnetCapability" data-version="0"> + <div class="pull-left"> + <h1>querySubnetCapability</h1> + <p>Provides subnet capability based on subnet types</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/3gppservices/{version}/subnetCapabilityQuery</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-curl">Curl</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-java">Java</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-android">Android</a></li> + <!--<li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-csharp">C#</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-php">PHP</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-perl">Perl</a></li> + <li class=""><a href="#examples-Onap3gppServiceInstances-querySubnetCapability-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/3gppservices/{version}/subnetCapabilityQuery"</code></pre> + </div> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -5749,10 +5776,10 @@ import java.util.*; public class Onap3gppServiceInstancesApiExample { public static void main(String[] args) { - + Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi(); - QuerySubnetCapability body = ; // QuerySubnetCapability | - String version = version_example; // String | + QuerySubnetCapability body = ; // QuerySubnetCapability | + String version = version_example; // String | try { Object result = apiInstance.querySubnetCapability(body, version); System.out.println(result); @@ -5762,17 +5789,17 @@ public class Onap3gppServiceInstancesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-android"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.Onap3gppServiceInstancesApi; public class Onap3gppServiceInstancesApiExample { public static void main(String[] args) { Onap3gppServiceInstancesApi apiInstance = new Onap3gppServiceInstancesApi(); - QuerySubnetCapability body = ; // QuerySubnetCapability | - String version = version_example; // String | + QuerySubnetCapability body = ; // QuerySubnetCapability | + String version = version_example; // String | try { Object result = apiInstance.querySubnetCapability(body, version); System.out.println(result); @@ -5782,14 +5809,14 @@ public class Onap3gppServiceInstancesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-objc"> - <pre class="prettyprint"><code class="language-cpp">QuerySubnetCapability *body = ; // -String *version = version_example; // + <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-objc"> + <pre class="prettyprint"><code class="language-cpp">QuerySubnetCapability *body = ; // +String *version = version_example; // Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] init]; @@ -5805,16 +5832,16 @@ Onap3gppServiceInstancesApi *apiInstance = [[Onap3gppServiceInstancesApi alloc] } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-javascript"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.Onap3gppServiceInstancesApi() -var body = ; // {QuerySubnetCapability} +var body = ; // {QuerySubnetCapability} -var version = version_example; // {String} +var version = version_example; // {String} var callback = function(error, data, response) { @@ -5826,12 +5853,12 @@ var callback = function(error, data, response) { }; api.querySubnetCapability(body, version, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-angular"> + <!--<div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-csharp"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -5844,10 +5871,10 @@ namespace Example { public void main() { - + var apiInstance = new Onap3gppServiceInstancesApi(); - var body = new QuerySubnetCapability(); // QuerySubnetCapability | - var version = version_example; // String | + var body = new QuerySubnetCapability(); // QuerySubnetCapability | + var version = version_example; // String | try { @@ -5863,15 +5890,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-php"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\Onap3gppServiceInstancesApi(); -$body = ; // QuerySubnetCapability | -$version = version_example; // String | +$body = ; // QuerySubnetCapability | +$version = version_example; // String | try { $result = $api_instance->querySubnetCapability($body, $version); @@ -5880,27 +5907,27 @@ try { echo 'Exception when calling Onap3gppServiceInstancesApi->querySubnetCapability: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-perl"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::Onap3gppServiceInstancesApi; my $api_instance = WWW::SwaggerClient::Onap3gppServiceInstancesApi->new(); -my $body = WWW::SwaggerClient::Object::QuerySubnetCapability->new(); # QuerySubnetCapability | -my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::QuerySubnetCapability->new(); # QuerySubnetCapability | +my $version = version_example; # String | -eval { +eval { my $result = $api_instance->querySubnetCapability(body => $body, version => $version); print Dumper($result); }; if ($@) { warn "Exception when calling Onap3gppServiceInstancesApi->querySubnetCapability: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-python"> + <div class="tab-pane" id="examples-Onap3gppServiceInstances-querySubnetCapability-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -5909,60 +5936,60 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.Onap3gppServiceInstancesApi() -body = # QuerySubnetCapability | -version = version_example # String | +body = # QuerySubnetCapability | +version = version_example # String | -try: +try: # Provides subnet capability based on subnet types api_response = api_instance.query_subnet_capability(body, version) pprint(api_response) except ApiException as e: print("Exception when calling Onap3gppServiceInstancesApi->querySubnetCapability: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_querySubnetCapability_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_querySubnetCapability_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body <span style="color:red;">*</span></td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -5988,28 +6015,28 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_querySubnetCapability_body"></div> -</td> -</tr> + <div id="d2e199_querySubnetCapability_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation with capabilities for the queried subnetTypes </h3> <ul class="nav nav-tabs nav-tabs-examples" > <li class="active"> - <a data-toggle="tab" href="#responses-querySubnetCapability-default-schema">Schema</a> + <a data-toggle="tab" href="#responses-querySubnetCapability-default-schema">Schema</a> </li> </ul> <div class="tab-content" style='margin-bottom: 10px;'> <div class="tab-pane active" id="responses-querySubnetCapability-default-schema"> - <div id='responses-querySubnetCapability-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;"> - <script> + <div id='responses-querySubnetCapability-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;"> + <script> $(document).ready(function() { var schemaWrapper = { "description" : "successful operation with capabilities for the queried subnetTypes", @@ -6035,52 +6062,52 @@ $(document).ready(function() { result.append(view.render()); }); </script> - </div> - <input id='responses-querySubnetCapability-default-schema-data' type='hidden' value=''></input> + </div> + <input id='responses-querySubnetCapability-default-schema-data' type='hidden' value=''></input> </div> </div> </article> - </div> - <hr> - </section> + </div> + <hr> + </section> <section id="api-OnapsoinfracloudResources"> - <h1>OnapsoinfracloudResources</h1> + <h1>OnapsoinfracloudResources</h1> <div id="api-OnapsoinfracloudResources-activateOperationEnvironment"> - <article id="api-OnapsoinfracloudResources-activateOperationEnvironment-0" data-group="User" data-name="activateOperationEnvironment" data-version="0"> - <div class="pull-left"> - <h1>activateOperationEnvironment</h1> - <p>Activate an Operational Environment</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/activate</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/activate"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-java"> + <article id="api-OnapsoinfracloudResources-activateOperationEnvironment-0" data-group="User" data-name="activateOperationEnvironment" data-version="0"> + <div class="pull-left"> + <h1>activateOperationEnvironment</h1> + <p>Activate an Operational Environment</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/activate</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-activateOperationEnvironment-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/activate"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -6092,11 +6119,11 @@ import java.util.*; public class OnapsoinfracloudResourcesApiExample { public static void main(String[] args) { - + OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi(); - String version = version_example; // String | - String operationalEnvironmentId = operationalEnvironmentId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String operationalEnvironmentId = operationalEnvironmentId_example; // String | + String body = body_example; // String | try { apiInstance.activateOperationEnvironment(version, operationalEnvironmentId, body); } catch (ApiException e) { @@ -6105,18 +6132,18 @@ public class OnapsoinfracloudResourcesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-android"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesApi; public class OnapsoinfracloudResourcesApiExample { public static void main(String[] args) { OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi(); - String version = version_example; // String | - String operationalEnvironmentId = operationalEnvironmentId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String operationalEnvironmentId = operationalEnvironmentId_example; // String | + String body = body_example; // String | try { apiInstance.activateOperationEnvironment(version, operationalEnvironmentId, body); } catch (ApiException e) { @@ -6125,14 +6152,14 @@ public class OnapsoinfracloudResourcesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *operationalEnvironmentId = operationalEnvironmentId_example; // + <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *operationalEnvironmentId = operationalEnvironmentId_example; // String *body = body_example; // (optional) OnapsoinfracloudResourcesApi *apiInstance = [[OnapsoinfracloudResourcesApi alloc] init]; @@ -6147,19 +6174,19 @@ OnapsoinfracloudResourcesApi *apiInstance = [[OnapsoinfracloudResourcesApi alloc } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfracloudResourcesApi() -var version = version_example; // {String} +var version = version_example; // {String} -var operationalEnvironmentId = operationalEnvironmentId_example; // {String} +var operationalEnvironmentId = operationalEnvironmentId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -6171,12 +6198,12 @@ var callback = function(error, data, response) { }; api.activateOperationEnvironment(version, operationalEnvironmentId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -6189,11 +6216,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfracloudResourcesApi(); - var version = version_example; // String | - var operationalEnvironmentId = operationalEnvironmentId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var operationalEnvironmentId = operationalEnvironmentId_example; // String | + var body = body_example; // String | (optional) try { @@ -6208,16 +6235,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-php"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesApi(); -$version = version_example; // String | -$operationalEnvironmentId = operationalEnvironmentId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$operationalEnvironmentId = operationalEnvironmentId_example; // String | +$body = body_example; // String | try { $api_instance->activateOperationEnvironment($version, $operationalEnvironmentId, $body); @@ -6225,27 +6252,27 @@ try { echo 'Exception when calling OnapsoinfracloudResourcesApi->activateOperationEnvironment: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfracloudResourcesApi; my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesApi->new(); -my $version = version_example; # String | -my $operationalEnvironmentId = operationalEnvironmentId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $operationalEnvironmentId = operationalEnvironmentId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->activateOperationEnvironment(version => $version, operationalEnvironmentId => $operationalEnvironmentId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfracloudResourcesApi->activateOperationEnvironment: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-python"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-activateOperationEnvironment-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -6254,80 +6281,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfracloudResourcesApi() -version = version_example # String | -operationalEnvironmentId = operationalEnvironmentId_example # String | +version = version_example # String | +operationalEnvironmentId = operationalEnvironmentId_example # String | body = body_example # String | (optional) -try: +try: # Activate an Operational Environment api_instance.activate_operation_environment(version, operationalEnvironmentId, body=body) except ApiException as e: print("Exception when calling OnapsoinfracloudResourcesApi->activateOperationEnvironment: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_activateOperationEnvironment_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_activateOperationEnvironment_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">operationalEnvironmentId*</td> -<td> + <tr><td style="width:150px;">operationalEnvironmentId*</td> + <td> - <div id="d2e199_activateOperationEnvironment_operationalEnvironmentId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_activateOperationEnvironment_operationalEnvironmentId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -6353,15 +6380,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_activateOperationEnvironment_body"></div> -</td> -</tr> + <div id="d2e199_activateOperationEnvironment_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -6371,43 +6398,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfracloudResources-createOperationEnvironment"> - <article id="api-OnapsoinfracloudResources-createOperationEnvironment-0" data-group="User" data-name="createOperationEnvironment" data-version="0"> - <div class="pull-left"> - <h1>createOperationEnvironment</h1> - <p>Create an Operational Environment</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResources/{version}/operationalEnvironments</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResources/{version}/operationalEnvironments"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-java"> + <article id="api-OnapsoinfracloudResources-createOperationEnvironment-0" data-group="User" data-name="createOperationEnvironment" data-version="0"> + <div class="pull-left"> + <h1>createOperationEnvironment</h1> + <p>Create an Operational Environment</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResources/{version}/operationalEnvironments</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-createOperationEnvironment-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResources/{version}/operationalEnvironments"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -6419,10 +6446,10 @@ import java.util.*; public class OnapsoinfracloudResourcesApiExample { public static void main(String[] args) { - + OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi(); - String version = version_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.createOperationEnvironment(version, body); } catch (ApiException e) { @@ -6431,17 +6458,17 @@ public class OnapsoinfracloudResourcesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-android"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesApi; public class OnapsoinfracloudResourcesApiExample { public static void main(String[] args) { OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi(); - String version = version_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.createOperationEnvironment(version, body); } catch (ApiException e) { @@ -6450,13 +6477,13 @@ public class OnapsoinfracloudResourcesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // String *body = body_example; // (optional) OnapsoinfracloudResourcesApi *apiInstance = [[OnapsoinfracloudResourcesApi alloc] init]; @@ -6470,17 +6497,17 @@ OnapsoinfracloudResourcesApi *apiInstance = [[OnapsoinfracloudResourcesApi alloc } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfracloudResourcesApi() -var version = version_example; // {String} +var version = version_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -6492,12 +6519,12 @@ var callback = function(error, data, response) { }; api.createOperationEnvironment(version, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -6510,10 +6537,10 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfracloudResourcesApi(); - var version = version_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var body = body_example; // String | (optional) try { @@ -6528,15 +6555,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-php"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesApi(); -$version = version_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$body = body_example; // String | try { $api_instance->createOperationEnvironment($version, $body); @@ -6544,26 +6571,26 @@ try { echo 'Exception when calling OnapsoinfracloudResourcesApi->createOperationEnvironment: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfracloudResourcesApi; my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesApi->new(); -my $version = version_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->createOperationEnvironment(version => $version, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfracloudResourcesApi->createOperationEnvironment: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-python"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-createOperationEnvironment-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -6572,59 +6599,59 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfracloudResourcesApi() -version = version_example # String | +version = version_example # String | body = body_example # String | (optional) -try: +try: # Create an Operational Environment api_instance.create_operation_environment(version, body=body) except ApiException as e: print("Exception when calling OnapsoinfracloudResourcesApi->createOperationEnvironment: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_createOperationEnvironment_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createOperationEnvironment_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -6650,15 +6677,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_createOperationEnvironment_body"></div> -</td> -</tr> + <div id="d2e199_createOperationEnvironment_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -6668,43 +6695,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfracloudResources-deactivateOperationEnvironment"> - <article id="api-OnapsoinfracloudResources-deactivateOperationEnvironment-0" data-group="User" data-name="deactivateOperationEnvironment" data-version="0"> - <div class="pull-left"> - <h1>deactivateOperationEnvironment</h1> - <p>Deactivate an Operational Environment</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/deactivate</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/deactivate"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-java"> + <article id="api-OnapsoinfracloudResources-deactivateOperationEnvironment-0" data-group="User" data-name="deactivateOperationEnvironment" data-version="0"> + <div class="pull-left"> + <h1>deactivateOperationEnvironment</h1> + <p>Deactivate an Operational Environment</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/deactivate</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResources/{version}/operationalEnvironments/{operationalEnvironmentId}/deactivate"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -6716,11 +6743,11 @@ import java.util.*; public class OnapsoinfracloudResourcesApiExample { public static void main(String[] args) { - + OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi(); - String version = version_example; // String | - String operationalEnvironmentId = operationalEnvironmentId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String operationalEnvironmentId = operationalEnvironmentId_example; // String | + String body = body_example; // String | try { apiInstance.deactivateOperationEnvironment(version, operationalEnvironmentId, body); } catch (ApiException e) { @@ -6729,18 +6756,18 @@ public class OnapsoinfracloudResourcesApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-android"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesApi; public class OnapsoinfracloudResourcesApiExample { public static void main(String[] args) { OnapsoinfracloudResourcesApi apiInstance = new OnapsoinfracloudResourcesApi(); - String version = version_example; // String | - String operationalEnvironmentId = operationalEnvironmentId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String operationalEnvironmentId = operationalEnvironmentId_example; // String | + String body = body_example; // String | try { apiInstance.deactivateOperationEnvironment(version, operationalEnvironmentId, body); } catch (ApiException e) { @@ -6749,14 +6776,14 @@ public class OnapsoinfracloudResourcesApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *operationalEnvironmentId = operationalEnvironmentId_example; // + <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *operationalEnvironmentId = operationalEnvironmentId_example; // String *body = body_example; // (optional) OnapsoinfracloudResourcesApi *apiInstance = [[OnapsoinfracloudResourcesApi alloc] init]; @@ -6771,19 +6798,19 @@ OnapsoinfracloudResourcesApi *apiInstance = [[OnapsoinfracloudResourcesApi alloc } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfracloudResourcesApi() -var version = version_example; // {String} +var version = version_example; // {String} -var operationalEnvironmentId = operationalEnvironmentId_example; // {String} +var operationalEnvironmentId = operationalEnvironmentId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -6795,12 +6822,12 @@ var callback = function(error, data, response) { }; api.deactivateOperationEnvironment(version, operationalEnvironmentId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -6813,11 +6840,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfracloudResourcesApi(); - var version = version_example; // String | - var operationalEnvironmentId = operationalEnvironmentId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var operationalEnvironmentId = operationalEnvironmentId_example; // String | + var body = body_example; // String | (optional) try { @@ -6832,16 +6859,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-php"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesApi(); -$version = version_example; // String | -$operationalEnvironmentId = operationalEnvironmentId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$operationalEnvironmentId = operationalEnvironmentId_example; // String | +$body = body_example; // String | try { $api_instance->deactivateOperationEnvironment($version, $operationalEnvironmentId, $body); @@ -6849,27 +6876,27 @@ try { echo 'Exception when calling OnapsoinfracloudResourcesApi->deactivateOperationEnvironment: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfracloudResourcesApi; my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesApi->new(); -my $version = version_example; # String | -my $operationalEnvironmentId = operationalEnvironmentId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $operationalEnvironmentId = operationalEnvironmentId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->deactivateOperationEnvironment(version => $version, operationalEnvironmentId => $operationalEnvironmentId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfracloudResourcesApi->deactivateOperationEnvironment: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-python"> + <div class="tab-pane" id="examples-OnapsoinfracloudResources-deactivateOperationEnvironment-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -6878,80 +6905,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfracloudResourcesApi() -version = version_example # String | -operationalEnvironmentId = operationalEnvironmentId_example # String | +version = version_example # String | +operationalEnvironmentId = operationalEnvironmentId_example # String | body = body_example # String | (optional) -try: +try: # Deactivate an Operational Environment api_instance.deactivate_operation_environment(version, operationalEnvironmentId, body=body) except ApiException as e: print("Exception when calling OnapsoinfracloudResourcesApi->deactivateOperationEnvironment: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_deactivateOperationEnvironment_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deactivateOperationEnvironment_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">operationalEnvironmentId*</td> -<td> + <tr><td style="width:150px;">operationalEnvironmentId*</td> + <td> - <div id="d2e199_deactivateOperationEnvironment_operationalEnvironmentId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deactivateOperationEnvironment_operationalEnvironmentId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -6977,15 +7004,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_deactivateOperationEnvironment_body"></div> -</td> -</tr> + <div id="d2e199_deactivateOperationEnvironment_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -6995,46 +7022,46 @@ $(document).ready(function() { </div> </article> - </div> - <hr> - </section> + </div> + <hr> + </section> <section id="api-OnapsoinfracloudResourcesRequests"> - <h1>OnapsoinfracloudResourcesRequests</h1> + <h1>OnapsoinfracloudResourcesRequests</h1> <div id="api-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter"> - <article id="api-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0" data-group="User" data-name="getOperationEnvironmentStatusFilter" data-version="0"> - <div class="pull-left"> - <h1>getOperationEnvironmentStatusFilter</h1> - <p>Get status of an Operational Environment based on filter criteria</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/cloudResourcesRequests/{version}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/cloudResourcesRequests/{version}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-java"> + <article id="api-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0" data-group="User" data-name="getOperationEnvironmentStatusFilter" data-version="0"> + <div class="pull-left"> + <h1>getOperationEnvironmentStatusFilter</h1> + <p>Get status of an Operational Environment based on filter criteria</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/cloudResourcesRequests/{version}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/cloudResourcesRequests/{version}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -7046,9 +7073,9 @@ import java.util.*; public class OnapsoinfracloudResourcesRequestsApiExample { public static void main(String[] args) { - + OnapsoinfracloudResourcesRequestsApi apiInstance = new OnapsoinfracloudResourcesRequestsApi(); - String version = version_example; // String | + String version = version_example; // String | try { apiInstance.getOperationEnvironmentStatusFilter(version); } catch (ApiException e) { @@ -7057,16 +7084,16 @@ public class OnapsoinfracloudResourcesRequestsApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-android"> + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesRequestsApi; public class OnapsoinfracloudResourcesRequestsApiExample { public static void main(String[] args) { OnapsoinfracloudResourcesRequestsApi apiInstance = new OnapsoinfracloudResourcesRequestsApi(); - String version = version_example; // String | + String version = version_example; // String | try { apiInstance.getOperationEnvironmentStatusFilter(version); } catch (ApiException e) { @@ -7075,13 +7102,13 @@ public class OnapsoinfracloudResourcesRequestsApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // OnapsoinfracloudResourcesRequestsApi *apiInstance = [[OnapsoinfracloudResourcesRequestsApi alloc] init]; @@ -7093,14 +7120,14 @@ OnapsoinfracloudResourcesRequestsApi *apiInstance = [[OnapsoinfracloudResourcesR } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfracloudResourcesRequestsApi() -var version = version_example; // {String} +var version = version_example; // {String} var callback = function(error, data, response) { @@ -7112,12 +7139,12 @@ var callback = function(error, data, response) { }; api.getOperationEnvironmentStatusFilter(version, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -7130,9 +7157,9 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfracloudResourcesRequestsApi(); - var version = version_example; // String | + var version = version_example; // String | try { @@ -7147,14 +7174,14 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-php"> + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesRequestsApi(); -$version = version_example; // String | +$version = version_example; // String | try { $api_instance->getOperationEnvironmentStatusFilter($version); @@ -7162,25 +7189,25 @@ try { echo 'Exception when calling OnapsoinfracloudResourcesRequestsApi->getOperationEnvironmentStatusFilter: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfracloudResourcesRequestsApi; my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesRequestsApi->new(); -my $version = version_example; # String | +my $version = version_example; # String | -eval { +eval { $api_instance->getOperationEnvironmentStatusFilter(version => $version); }; if ($@) { warn "Exception when calling OnapsoinfracloudResourcesRequestsApi->getOperationEnvironmentStatusFilter: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-python"> + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-getOperationEnvironmentStatusFilter-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -7189,43 +7216,43 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfracloudResourcesRequestsApi() -version = version_example # String | +version = version_example # String | -try: +try: # Get status of an Operational Environment based on filter criteria api_instance.get_operation_environment_status_filter(version) except ApiException as e: print("Exception when calling OnapsoinfracloudResourcesRequestsApi->getOperationEnvironmentStatusFilter: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_getOperationEnvironmentStatusFilter_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_getOperationEnvironmentStatusFilter_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> @@ -7233,7 +7260,7 @@ except ApiException as e: - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -7243,43 +7270,43 @@ except ApiException as e: </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId"> - <article id="api-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0" data-group="User" data-name="unlockOrchestrationRequestForReqId" data-version="0"> - <div class="pull-left"> - <h1>unlockOrchestrationRequestForReqId</h1> - <p>Unlock CloudOrchestration requests for a specified requestId</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResourcesRequests/{version}/{requestId}/unlock</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResourcesRequests/{version}/{requestId}/unlock"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-java"> + <article id="api-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0" data-group="User" data-name="unlockOrchestrationRequestForReqId" data-version="0"> + <div class="pull-left"> + <h1>unlockOrchestrationRequestForReqId</h1> + <p>Unlock CloudOrchestration requests for a specified requestId</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/cloudResourcesRequests/{version}/{requestId}/unlock</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/cloudResourcesRequests/{version}/{requestId}/unlock"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -7291,11 +7318,11 @@ import java.util.*; public class OnapsoinfracloudResourcesRequestsApiExample { public static void main(String[] args) { - + OnapsoinfracloudResourcesRequestsApi apiInstance = new OnapsoinfracloudResourcesRequestsApi(); - String requestId = requestId_example; // String | - String version = version_example; // String | - String body = body_example; // String | + String requestId = requestId_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.unlockOrchestrationRequestForReqId(requestId, version, body); } catch (ApiException e) { @@ -7304,18 +7331,18 @@ public class OnapsoinfracloudResourcesRequestsApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-android"> + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfracloudResourcesRequestsApi; public class OnapsoinfracloudResourcesRequestsApiExample { public static void main(String[] args) { OnapsoinfracloudResourcesRequestsApi apiInstance = new OnapsoinfracloudResourcesRequestsApi(); - String requestId = requestId_example; // String | - String version = version_example; // String | - String body = body_example; // String | + String requestId = requestId_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.unlockOrchestrationRequestForReqId(requestId, version, body); } catch (ApiException e) { @@ -7324,14 +7351,14 @@ public class OnapsoinfracloudResourcesRequestsApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *requestId = requestId_example; // -String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *requestId = requestId_example; // +String *version = version_example; // String *body = body_example; // (optional) OnapsoinfracloudResourcesRequestsApi *apiInstance = [[OnapsoinfracloudResourcesRequestsApi alloc] init]; @@ -7346,19 +7373,19 @@ OnapsoinfracloudResourcesRequestsApi *apiInstance = [[OnapsoinfracloudResourcesR } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfracloudResourcesRequestsApi() -var requestId = requestId_example; // {String} +var requestId = requestId_example; // {String} -var version = version_example; // {String} +var version = version_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -7370,12 +7397,12 @@ var callback = function(error, data, response) { }; api.unlockOrchestrationRequestForReqId(requestId, version, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -7388,11 +7415,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfracloudResourcesRequestsApi(); - var requestId = requestId_example; // String | - var version = version_example; // String | - var body = body_example; // String | (optional) + var requestId = requestId_example; // String | + var version = version_example; // String | + var body = body_example; // String | (optional) try { @@ -7407,16 +7434,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-php"> + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfracloudResourcesRequestsApi(); -$requestId = requestId_example; // String | -$version = version_example; // String | -$body = body_example; // String | +$requestId = requestId_example; // String | +$version = version_example; // String | +$body = body_example; // String | try { $api_instance->unlockOrchestrationRequestForReqId($requestId, $version, $body); @@ -7424,27 +7451,27 @@ try { echo 'Exception when calling OnapsoinfracloudResourcesRequestsApi->unlockOrchestrationRequestForReqId: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfracloudResourcesRequestsApi; my $api_instance = WWW::SwaggerClient::OnapsoinfracloudResourcesRequestsApi->new(); -my $requestId = requestId_example; # String | -my $version = version_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $requestId = requestId_example; # String | +my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->unlockOrchestrationRequestForReqId(requestId => $requestId, version => $version, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfracloudResourcesRequestsApi->unlockOrchestrationRequestForReqId: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-python"> + <div class="tab-pane" id="examples-OnapsoinfracloudResourcesRequests-unlockOrchestrationRequestForReqId-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -7453,80 +7480,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfracloudResourcesRequestsApi() -requestId = requestId_example # String | -version = version_example # String | +requestId = requestId_example # String | +version = version_example # String | body = body_example # String | (optional) -try: +try: # Unlock CloudOrchestration requests for a specified requestId api_instance.unlock_orchestration_request_for_req_id(requestId, version, body=body) except ApiException as e: print("Exception when calling OnapsoinfracloudResourcesRequestsApi->unlockOrchestrationRequestForReqId: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">requestId*</td> -<td> + <tr><td style="width:150px;">requestId*</td> + <td> - <div id="d2e199_unlockOrchestrationRequestForReqId_requestId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_unlockOrchestrationRequestForReqId_requestId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_unlockOrchestrationRequestForReqId_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_unlockOrchestrationRequestForReqId_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -7552,15 +7579,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_unlockOrchestrationRequestForReqId_body"></div> -</td> -</tr> + <div id="d2e199_unlockOrchestrationRequestForReqId_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -7570,46 +7597,433 @@ $(document).ready(function() { </div> </article> - </div> - <hr> - </section> + </div> + <hr> + </section> <section id="api-OnapsoinfrainstanceManagement"> - <h1>OnapsoinfrainstanceManagement</h1> + <h1>OnapsoinfrainstanceManagement</h1> + <div id="api-OnapsoinfrainstanceManagement-executePNFCustomWorkflow"> + <article id="api-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0" data-group="User" data-name="executePNFCustomWorkflow" data-version="0"> + <div class="pull-left"> + <h1>executePNFCustomWorkflow</h1> + <p>Executing download/activate custom workflow</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/instanceManagement/{version}/serviceInstances/{serviceInstanceId}/pnfs/${pnfName}/workflows/${workflow_UUID}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/instanceManagement/{version}/serviceInstances/{serviceInstanceId}/pnfs/${pnfName}/workflows/${workflow_UUID}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-java"> + <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; +import io.swagger.client.auth.*; +import io.swagger.client.model.*; +import io.swagger.client.api.OnapsoinfrainstanceManagementApi; + +import java.io.File; +import java.util.*; + +public class OnapsoinfrainstanceManagementApiExample { + + public static void main(String[] args) { + + OnapsoinfrainstanceManagementApi apiInstance = new OnapsoinfrainstanceManagementApi(); + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String pnfName = pnfName_example; // String | + String workflowUUID = workflowUUID_example; // String | + PNFCustomWorkflowExecution body = ; // PNFCustomWorkflowExecution | + try { + apiInstance.executePNFCustomWorkflow(version, serviceInstanceId, pnfName, workflowUUID, body); + } catch (ApiException e) { + System.err.println("Exception when calling OnapsoinfrainstanceManagementApi#executePNFCustomWorkflow"); + e.printStackTrace(); + } + } +}</code></pre> + </div> + + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-android"> + <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfrainstanceManagementApi; + +public class OnapsoinfrainstanceManagementApiExample { + + public static void main(String[] args) { + OnapsoinfrainstanceManagementApi apiInstance = new OnapsoinfrainstanceManagementApi(); + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String pnfName = pnfName_example; // String | + String workflowUUID = workflowUUID_example; // String | + PNFCustomWorkflowExecution body = ; // PNFCustomWorkflowExecution | + try { + apiInstance.executePNFCustomWorkflow(version, serviceInstanceId, pnfName, workflowUUID, body); + } catch (ApiException e) { + System.err.println("Exception when calling OnapsoinfrainstanceManagementApi#executePNFCustomWorkflow"); + e.printStackTrace(); + } + } +}</code></pre> + </div> + <!-- + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-groovy"> + <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> + </div> --> + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *pnfName = pnfName_example; // +String *workflowUUID = workflowUUID_example; // +PNFCustomWorkflowExecution *body = ; // (optional) + +OnapsoinfrainstanceManagementApi *apiInstance = [[OnapsoinfrainstanceManagementApi alloc] init]; + +// Executing download/activate custom workflow +[apiInstance executePNFCustomWorkflowWith:version + serviceInstanceId:serviceInstanceId + pnfName:pnfName + workflowUUID:workflowUUID + body:body + completionHandler: ^(NSError* error) { + if (error) { + NSLog(@"Error: %@", error); + } + }]; +</code></pre> + </div> + + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-javascript"> + <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); + +var api = new SoGuilinApIs.OnapsoinfrainstanceManagementApi() + +var version = version_example; // {String} + +var serviceInstanceId = serviceInstanceId_example; // {String} + +var pnfName = pnfName_example; // {String} + +var workflowUUID = workflowUUID_example; // {String} + +var opts = { + 'body': // {PNFCustomWorkflowExecution} +}; + +var callback = function(error, data, response) { + if (error) { + console.error(error); + } else { + console.log('API called successfully.'); + } +}; +api.executePNFCustomWorkflow(version, serviceInstanceId, pnfName, workflowUUID, opts, callback); +</code></pre> + </div> + + <!--<div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-angular"> + <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> + </div>--> + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-csharp"> + <pre class="prettyprint"><code class="language-cs">using System; +using System.Diagnostics; +using IO.Swagger.Api; +using IO.Swagger.Client; +using IO.Swagger.Model; + +namespace Example +{ + public class executePNFCustomWorkflowExample + { + public void main() + { + + var apiInstance = new OnapsoinfrainstanceManagementApi(); + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var pnfName = pnfName_example; // String | + var workflowUUID = workflowUUID_example; // String | + var body = new PNFCustomWorkflowExecution(); // PNFCustomWorkflowExecution | (optional) + + try + { + // Executing download/activate custom workflow + apiInstance.executePNFCustomWorkflow(version, serviceInstanceId, pnfName, workflowUUID, body); + } + catch (Exception e) + { + Debug.Print("Exception when calling OnapsoinfrainstanceManagementApi.executePNFCustomWorkflow: " + e.Message ); + } + } + } +} +</code></pre> + </div> + + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-php"> + <pre class="prettyprint"><code class="language-php"><?php +require_once(__DIR__ . '/vendor/autoload.php'); + +$api_instance = new Swagger\Client\Api\OnapsoinfrainstanceManagementApi(); +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$pnfName = pnfName_example; // String | +$workflowUUID = workflowUUID_example; // String | +$body = ; // PNFCustomWorkflowExecution | + +try { + $api_instance->executePNFCustomWorkflow($version, $serviceInstanceId, $pnfName, $workflowUUID, $body); +} catch (Exception $e) { + echo 'Exception when calling OnapsoinfrainstanceManagementApi->executePNFCustomWorkflow: ', $e->getMessage(), PHP_EOL; +} +?></code></pre> + </div> + + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-perl"> + <pre class="prettyprint"><code class="language-perl">use Data::Dumper; +use WWW::SwaggerClient::Configuration; +use WWW::SwaggerClient::OnapsoinfrainstanceManagementApi; + +my $api_instance = WWW::SwaggerClient::OnapsoinfrainstanceManagementApi->new(); +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $pnfName = pnfName_example; # String | +my $workflowUUID = workflowUUID_example; # String | +my $body = WWW::SwaggerClient::Object::PNFCustomWorkflowExecution->new(); # PNFCustomWorkflowExecution | + +eval { + $api_instance->executePNFCustomWorkflow(version => $version, serviceInstanceId => $serviceInstanceId, pnfName => $pnfName, workflowUUID => $workflowUUID, body => $body); +}; +if ($@) { + warn "Exception when calling OnapsoinfrainstanceManagementApi->executePNFCustomWorkflow: $@\n"; +}</code></pre> + </div> + + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executePNFCustomWorkflow-0-python"> + <pre class="prettyprint"><code class="language-python">from __future__ import print_statement +import time +import swagger_client +from swagger_client.rest import ApiException +from pprint import pprint + +# create an instance of the API class +api_instance = swagger_client.OnapsoinfrainstanceManagementApi() +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +pnfName = pnfName_example # String | +workflowUUID = workflowUUID_example # String | +body = # PNFCustomWorkflowExecution | (optional) + +try: + # Executing download/activate custom workflow + api_instance.execute_pnf_custom_workflow(version, serviceInstanceId, pnfName, workflowUUID, body=body) +except ApiException as e: + print("Exception when calling OnapsoinfrainstanceManagementApi->executePNFCustomWorkflow: %s\n" % e)</code></pre> + </div> + </div> + + <h2>Parameters</h2> + + <div class="methodsubtabletitle">Path parameters</div> + <table id="methodsubtable"> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> + <tr><td style="width:150px;">version*</td> + <td> + + + <div id="d2e199_executePNFCustomWorkflow_version"> + <div class="json-schema-view"> + <div class="primitive"> + <span class="type"> + String + </span> + + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> + + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> + + + <div id="d2e199_executePNFCustomWorkflow_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> + <span class="type"> + String + </span> + + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> + + <tr><td style="width:150px;">pnfName*</td> + <td> + + + <div id="d2e199_executePNFCustomWorkflow_pnfName"> + <div class="json-schema-view"> + <div class="primitive"> + <span class="type"> + String + </span> + + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> + + <tr><td style="width:150px;">workflow_UUID*</td> + <td> + + + <div id="d2e199_executePNFCustomWorkflow_workflowUUID"> + <div class="json-schema-view"> + <div class="primitive"> + <span class="type"> + String + </span> + + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> + + </table> + + + <div class="methodsubtabletitle">Body parameters</div> + <table id="methodsubtable"> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> + <tr><td style="width:150px;">body </td> + <td> + + + <script> +$(document).ready(function() { + var schemaWrapper = { + "in" : "body", + "name" : "body", + "required" : false, + "schema" : { + "$ref" : "#/definitions/PNFCustomWorkflowExecution" + } +}; + var schema = schemaWrapper.schema; + if (schema.$ref != null) { + schema = defsParser.$refs.get(schema.$ref); + } else { + schemaWrapper.definitions = Object.assign({}, defs); + $RefParser.dereference(schemaWrapper).catch(function(err) { + console.log(err); + }); + } + + var view = new JSONSchemaView(schema,2,{isBodyParam: true}); + var result = $('#d2e199_executePNFCustomWorkflow_body'); + result.empty(); + result.append(view.render()); +}); +</script> + <div id="d2e199_executePNFCustomWorkflow_body"></div> + </td> + </tr> + + </table> + + + + <h2>Responses</h2> + <h3> Status: default - successful operation </h3> + + <ul class="nav nav-tabs nav-tabs-examples" > + </ul> + + <div class="tab-content" style='margin-bottom: 10px;'> + </div> + + </article> + </div> + <hr> <div id="api-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow"> - <article id="api-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0" data-group="User" data-name="executeServiceLevelCustomWorkflow" data-version="0"> - <div class="pull-left"> - <h1>executeServiceLevelCustomWorkflow</h1> - <p>Executing service level custom workflow</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/instanceManagement/{version}/serviceInstances/{serviceInstanceId}/workflows/{workflow_UUID}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/instanceManagement/{version}/serviceInstances/{serviceInstanceId}/workflows/{workflow_UUID}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-java"> + <article id="api-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0" data-group="User" data-name="executeServiceLevelCustomWorkflow" data-version="0"> + <div class="pull-left"> + <h1>executeServiceLevelCustomWorkflow</h1> + <p>Executing service level custom workflow</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/instanceManagement/{version}/serviceInstances/{serviceInstanceId}/workflows/{workflow_UUID}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/instanceManagement/{version}/serviceInstances/{serviceInstanceId}/workflows/{workflow_UUID}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -7621,12 +8035,12 @@ import java.util.*; public class OnapsoinfrainstanceManagementApiExample { public static void main(String[] args) { - + OnapsoinfrainstanceManagementApi apiInstance = new OnapsoinfrainstanceManagementApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String workflowUUID = workflowUUID_example; // String | - ServiceLevelWorkflowExecution body = ; // ServiceLevelWorkflowExecution | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String workflowUUID = workflowUUID_example; // String | + ServiceLevelWorkflowExecution body = ; // ServiceLevelWorkflowExecution | try { apiInstance.executeServiceLevelCustomWorkflow(version, serviceInstanceId, workflowUUID, body); } catch (ApiException e) { @@ -7635,19 +8049,19 @@ public class OnapsoinfrainstanceManagementApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-android"> + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfrainstanceManagementApi; public class OnapsoinfrainstanceManagementApiExample { public static void main(String[] args) { OnapsoinfrainstanceManagementApi apiInstance = new OnapsoinfrainstanceManagementApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String workflowUUID = workflowUUID_example; // String | - ServiceLevelWorkflowExecution body = ; // ServiceLevelWorkflowExecution | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String workflowUUID = workflowUUID_example; // String | + ServiceLevelWorkflowExecution body = ; // ServiceLevelWorkflowExecution | try { apiInstance.executeServiceLevelCustomWorkflow(version, serviceInstanceId, workflowUUID, body); } catch (ApiException e) { @@ -7656,15 +8070,15 @@ public class OnapsoinfrainstanceManagementApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *workflowUUID = workflowUUID_example; // + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *workflowUUID = workflowUUID_example; // ServiceLevelWorkflowExecution *body = ; // (optional) OnapsoinfrainstanceManagementApi *apiInstance = [[OnapsoinfrainstanceManagementApi alloc] init]; @@ -7680,21 +8094,21 @@ OnapsoinfrainstanceManagementApi *apiInstance = [[OnapsoinfrainstanceManagementA } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfrainstanceManagementApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var workflowUUID = workflowUUID_example; // {String} +var workflowUUID = workflowUUID_example; // {String} -var opts = { - 'body': // {ServiceLevelWorkflowExecution} +var opts = { + 'body': // {ServiceLevelWorkflowExecution} }; var callback = function(error, data, response) { @@ -7706,12 +8120,12 @@ var callback = function(error, data, response) { }; api.executeServiceLevelCustomWorkflow(version, serviceInstanceId, workflowUUID, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -7724,12 +8138,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfrainstanceManagementApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var workflowUUID = workflowUUID_example; // String | - var body = new ServiceLevelWorkflowExecution(); // ServiceLevelWorkflowExecution | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var workflowUUID = workflowUUID_example; // String | + var body = new ServiceLevelWorkflowExecution(); // ServiceLevelWorkflowExecution | (optional) try { @@ -7744,17 +8158,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-php"> + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfrainstanceManagementApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$workflowUUID = workflowUUID_example; // String | -$body = ; // ServiceLevelWorkflowExecution | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$workflowUUID = workflowUUID_example; // String | +$body = ; // ServiceLevelWorkflowExecution | try { $api_instance->executeServiceLevelCustomWorkflow($version, $serviceInstanceId, $workflowUUID, $body); @@ -7762,28 +8176,28 @@ try { echo 'Exception when calling OnapsoinfrainstanceManagementApi->executeServiceLevelCustomWorkflow: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfrainstanceManagementApi; my $api_instance = WWW::SwaggerClient::OnapsoinfrainstanceManagementApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $workflowUUID = workflowUUID_example; # String | -my $body = WWW::SwaggerClient::Object::ServiceLevelWorkflowExecution->new(); # ServiceLevelWorkflowExecution | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $workflowUUID = workflowUUID_example; # String | +my $body = WWW::SwaggerClient::Object::ServiceLevelWorkflowExecution->new(); # ServiceLevelWorkflowExecution | -eval { +eval { $api_instance->executeServiceLevelCustomWorkflow(version => $version, serviceInstanceId => $serviceInstanceId, workflowUUID => $workflowUUID, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfrainstanceManagementApi->executeServiceLevelCustomWorkflow: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-python"> + <div class="tab-pane" id="examples-OnapsoinfrainstanceManagement-executeServiceLevelCustomWorkflow-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -7792,101 +8206,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfrainstanceManagementApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -workflowUUID = workflowUUID_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +workflowUUID = workflowUUID_example # String | body = # ServiceLevelWorkflowExecution | (optional) -try: +try: # Executing service level custom workflow api_instance.execute_service_level_custom_workflow(version, serviceInstanceId, workflowUUID, body=body) except ApiException as e: print("Exception when calling OnapsoinfrainstanceManagementApi->executeServiceLevelCustomWorkflow: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_executeServiceLevelCustomWorkflow_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_executeServiceLevelCustomWorkflow_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_executeServiceLevelCustomWorkflow_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_executeServiceLevelCustomWorkflow_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">workflow_UUID*</td> -<td> + <tr><td style="width:150px;">workflow_UUID*</td> + <td> - <div id="d2e199_executeServiceLevelCustomWorkflow_workflowUUID"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_executeServiceLevelCustomWorkflow_workflowUUID"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -7912,15 +8326,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_executeServiceLevelCustomWorkflow_body"></div> -</td> -</tr> + <div id="d2e199_executeServiceLevelCustomWorkflow_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -7930,46 +8344,46 @@ $(document).ready(function() { </div> </article> - </div> - <hr> - </section> + </div> + <hr> + </section> <section id="api-OnapsoinframodelDistributions"> - <h1>OnapsoinframodelDistributions</h1> + <h1>OnapsoinframodelDistributions</h1> <div id="api-OnapsoinframodelDistributions-updateModelDistributionStatus"> - <article id="api-OnapsoinframodelDistributions-updateModelDistributionStatus-0" data-group="User" data-name="updateModelDistributionStatus" data-version="0"> - <div class="pull-left"> - <h1>updateModelDistributionStatus</h1> - <p>Update model distribution status</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/modelDistributions/{version}/distributions/{distributionId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/modelDistributions/{version}/distributions/{distributionId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-java"> + <article id="api-OnapsoinframodelDistributions-updateModelDistributionStatus-0" data-group="User" data-name="updateModelDistributionStatus" data-version="0"> + <div class="pull-left"> + <h1>updateModelDistributionStatus</h1> + <p>Update model distribution status</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/modelDistributions/{version}/distributions/{distributionId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/modelDistributions/{version}/distributions/{distributionId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -7981,11 +8395,11 @@ import java.util.*; public class OnapsoinframodelDistributionsApiExample { public static void main(String[] args) { - + OnapsoinframodelDistributionsApi apiInstance = new OnapsoinframodelDistributionsApi(); - String version = version_example; // String | - String distributionId = distributionId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String distributionId = distributionId_example; // String | + String body = body_example; // String | try { apiInstance.updateModelDistributionStatus(version, distributionId, body); } catch (ApiException e) { @@ -7994,18 +8408,18 @@ public class OnapsoinframodelDistributionsApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-android"> + <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinframodelDistributionsApi; public class OnapsoinframodelDistributionsApiExample { public static void main(String[] args) { OnapsoinframodelDistributionsApi apiInstance = new OnapsoinframodelDistributionsApi(); - String version = version_example; // String | - String distributionId = distributionId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String distributionId = distributionId_example; // String | + String body = body_example; // String | try { apiInstance.updateModelDistributionStatus(version, distributionId, body); } catch (ApiException e) { @@ -8014,14 +8428,14 @@ public class OnapsoinframodelDistributionsApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *distributionId = distributionId_example; // + <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *distributionId = distributionId_example; // String *body = body_example; // (optional) OnapsoinframodelDistributionsApi *apiInstance = [[OnapsoinframodelDistributionsApi alloc] init]; @@ -8036,19 +8450,19 @@ OnapsoinframodelDistributionsApi *apiInstance = [[OnapsoinframodelDistributionsA } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinframodelDistributionsApi() -var version = version_example; // {String} +var version = version_example; // {String} -var distributionId = distributionId_example; // {String} +var distributionId = distributionId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -8060,12 +8474,12 @@ var callback = function(error, data, response) { }; api.updateModelDistributionStatus(version, distributionId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -8078,11 +8492,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinframodelDistributionsApi(); - var version = version_example; // String | - var distributionId = distributionId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var distributionId = distributionId_example; // String | + var body = body_example; // String | (optional) try { @@ -8097,16 +8511,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-php"> + <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinframodelDistributionsApi(); -$version = version_example; // String | -$distributionId = distributionId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$distributionId = distributionId_example; // String | +$body = body_example; // String | try { $api_instance->updateModelDistributionStatus($version, $distributionId, $body); @@ -8114,27 +8528,27 @@ try { echo 'Exception when calling OnapsoinframodelDistributionsApi->updateModelDistributionStatus: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-perl"> + <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinframodelDistributionsApi; my $api_instance = WWW::SwaggerClient::OnapsoinframodelDistributionsApi->new(); -my $version = version_example; # String | -my $distributionId = distributionId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $distributionId = distributionId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->updateModelDistributionStatus(version => $version, distributionId => $distributionId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinframodelDistributionsApi->updateModelDistributionStatus: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-python"> + <div class="tab-pane" id="examples-OnapsoinframodelDistributions-updateModelDistributionStatus-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -8143,80 +8557,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinframodelDistributionsApi() -version = version_example # String | -distributionId = distributionId_example # String | +version = version_example # String | +distributionId = distributionId_example # String | body = body_example # String | (optional) -try: +try: # Update model distribution status api_instance.update_model_distribution_status(version, distributionId, body=body) except ApiException as e: print("Exception when calling OnapsoinframodelDistributionsApi->updateModelDistributionStatus: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_updateModelDistributionStatus_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateModelDistributionStatus_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">distributionId*</td> -<td> + <tr><td style="width:150px;">distributionId*</td> + <td> - <div id="d2e199_updateModelDistributionStatus_distributionId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateModelDistributionStatus_distributionId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -8242,15 +8656,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_updateModelDistributionStatus_body"></div> -</td> -</tr> + <div id="d2e199_updateModelDistributionStatus_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -8260,46 +8674,46 @@ $(document).ready(function() { </div> </article> - </div> - <hr> - </section> + </div> + <hr> + </section> <section id="api-OnapsoinfraorchestrationRequests"> - <h1>OnapsoinfraorchestrationRequests</h1> + <h1>OnapsoinfraorchestrationRequests</h1> <div id="api-OnapsoinfraorchestrationRequests-getOrchestrationRequest"> - <article id="api-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0" data-group="User" data-name="getOrchestrationRequest" data-version="0"> - <div class="pull-left"> - <h1>getOrchestrationRequest</h1> - <p>Find Orchestrated Requests for a URI Information</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/orchestrationRequests/{version}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/orchestrationRequests/{version}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-java"> + <article id="api-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0" data-group="User" data-name="getOrchestrationRequest" data-version="0"> + <div class="pull-left"> + <h1>getOrchestrationRequest</h1> + <p>Find Orchestrated Requests for a URI Information</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/orchestrationRequests/{version}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/orchestrationRequests/{version}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -8311,9 +8725,9 @@ import java.util.*; public class OnapsoinfraorchestrationRequestsApiExample { public static void main(String[] args) { - + OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi(); - String version = version_example; // String | + String version = version_example; // String | try { apiInstance.getOrchestrationRequest(version); } catch (ApiException e) { @@ -8322,16 +8736,16 @@ public class OnapsoinfraorchestrationRequestsApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi; public class OnapsoinfraorchestrationRequestsApiExample { public static void main(String[] args) { OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi(); - String version = version_example; // String | + String version = version_example; // String | try { apiInstance.getOrchestrationRequest(version); } catch (ApiException e) { @@ -8340,13 +8754,13 @@ public class OnapsoinfraorchestrationRequestsApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // OnapsoinfraorchestrationRequestsApi *apiInstance = [[OnapsoinfraorchestrationRequestsApi alloc] init]; @@ -8358,14 +8772,14 @@ OnapsoinfraorchestrationRequestsApi *apiInstance = [[OnapsoinfraorchestrationReq } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraorchestrationRequestsApi() -var version = version_example; // {String} +var version = version_example; // {String} var callback = function(error, data, response) { @@ -8377,12 +8791,12 @@ var callback = function(error, data, response) { }; api.getOrchestrationRequest(version, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -8395,9 +8809,9 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraorchestrationRequestsApi(); - var version = version_example; // String | + var version = version_example; // String | try { @@ -8412,14 +8826,14 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationRequestsApi(); -$version = version_example; // String | +$version = version_example; // String | try { $api_instance->getOrchestrationRequest($version); @@ -8427,25 +8841,25 @@ try { echo 'Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequest: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi->new(); -my $version = version_example; # String | +my $version = version_example; # String | -eval { +eval { $api_instance->getOrchestrationRequest(version => $version); }; if ($@) { warn "Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequest: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequest-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -8454,43 +8868,43 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraorchestrationRequestsApi() -version = version_example # String | +version = version_example # String | -try: +try: # Find Orchestrated Requests for a URI Information api_instance.get_orchestration_request(version) except ApiException as e: print("Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequest: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_getOrchestrationRequest_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_getOrchestrationRequest_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> @@ -8498,7 +8912,7 @@ except ApiException as e: - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -8508,43 +8922,43 @@ except ApiException as e: </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId"> - <article id="api-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0" data-group="User" data-name="getOrchestrationRequestForReqId" data-version="0"> - <div class="pull-left"> - <h1>getOrchestrationRequestForReqId</h1> - <p>Find Orchestrated Requests for a given requestId</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/orchestrationRequests/{version}/{requestId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/orchestrationRequests/{version}/{requestId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-java"> + <article id="api-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0" data-group="User" data-name="getOrchestrationRequestForReqId" data-version="0"> + <div class="pull-left"> + <h1>getOrchestrationRequestForReqId</h1> + <p>Find Orchestrated Requests for a given requestId</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/orchestrationRequests/{version}/{requestId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/orchestrationRequests/{version}/{requestId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -8556,10 +8970,10 @@ import java.util.*; public class OnapsoinfraorchestrationRequestsApiExample { public static void main(String[] args) { - + OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi(); - String requestId = requestId_example; // String | - String version = version_example; // String | + String requestId = requestId_example; // String | + String version = version_example; // String | try { apiInstance.getOrchestrationRequestForReqId(requestId, version); } catch (ApiException e) { @@ -8568,17 +8982,17 @@ public class OnapsoinfraorchestrationRequestsApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi; public class OnapsoinfraorchestrationRequestsApiExample { public static void main(String[] args) { OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi(); - String requestId = requestId_example; // String | - String version = version_example; // String | + String requestId = requestId_example; // String | + String version = version_example; // String | try { apiInstance.getOrchestrationRequestForReqId(requestId, version); } catch (ApiException e) { @@ -8587,14 +9001,14 @@ public class OnapsoinfraorchestrationRequestsApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *requestId = requestId_example; // -String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *requestId = requestId_example; // +String *version = version_example; // OnapsoinfraorchestrationRequestsApi *apiInstance = [[OnapsoinfraorchestrationRequestsApi alloc] init]; @@ -8607,16 +9021,16 @@ OnapsoinfraorchestrationRequestsApi *apiInstance = [[OnapsoinfraorchestrationReq } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraorchestrationRequestsApi() -var requestId = requestId_example; // {String} +var requestId = requestId_example; // {String} -var version = version_example; // {String} +var version = version_example; // {String} var callback = function(error, data, response) { @@ -8628,12 +9042,12 @@ var callback = function(error, data, response) { }; api.getOrchestrationRequestForReqId(requestId, version, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -8646,10 +9060,10 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraorchestrationRequestsApi(); - var requestId = requestId_example; // String | - var version = version_example; // String | + var requestId = requestId_example; // String | + var version = version_example; // String | try { @@ -8664,15 +9078,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationRequestsApi(); -$requestId = requestId_example; // String | -$version = version_example; // String | +$requestId = requestId_example; // String | +$version = version_example; // String | try { $api_instance->getOrchestrationRequestForReqId($requestId, $version); @@ -8680,26 +9094,26 @@ try { echo 'Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequestForReqId: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi->new(); -my $requestId = requestId_example; # String | -my $version = version_example; # String | +my $requestId = requestId_example; # String | +my $version = version_example; # String | -eval { +eval { $api_instance->getOrchestrationRequestForReqId(requestId => $requestId, version => $version); }; if ($@) { warn "Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequestForReqId: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-getOrchestrationRequestForReqId-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -8708,64 +9122,64 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraorchestrationRequestsApi() -requestId = requestId_example # String | -version = version_example # String | +requestId = requestId_example # String | +version = version_example # String | -try: +try: # Find Orchestrated Requests for a given requestId api_instance.get_orchestration_request_for_req_id(requestId, version) except ApiException as e: print("Exception when calling OnapsoinfraorchestrationRequestsApi->getOrchestrationRequestForReqId: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">requestId*</td> -<td> + <tr><td style="width:150px;">requestId*</td> + <td> - <div id="d2e199_getOrchestrationRequestForReqId_requestId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_getOrchestrationRequestForReqId_requestId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_getOrchestrationRequestForReqId_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_getOrchestrationRequestForReqId_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> @@ -8773,7 +9187,7 @@ except ApiException as e: - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -8783,43 +9197,43 @@ except ApiException as e: </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest"> - <article id="api-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0" data-group="User" data-name="unlockOrchestrationRequest" data-version="0"> - <div class="pull-left"> - <h1>unlockOrchestrationRequest</h1> - <p>Unlock Orchestrated Requests for a given requestId</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/orchestrationRequests/{version}/{requestId}/unlock</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/orchestrationRequests/{version}/{requestId}/unlock"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-java"> + <article id="api-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0" data-group="User" data-name="unlockOrchestrationRequest" data-version="0"> + <div class="pull-left"> + <h1>unlockOrchestrationRequest</h1> + <p>Unlock Orchestrated Requests for a given requestId</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/orchestrationRequests/{version}/{requestId}/unlock</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/orchestrationRequests/{version}/{requestId}/unlock"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -8831,11 +9245,11 @@ import java.util.*; public class OnapsoinfraorchestrationRequestsApiExample { public static void main(String[] args) { - + OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi(); - String requestId = requestId_example; // String | - String version = version_example; // String | - String body = body_example; // String | + String requestId = requestId_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.unlockOrchestrationRequest(requestId, version, body); } catch (ApiException e) { @@ -8844,18 +9258,18 @@ public class OnapsoinfraorchestrationRequestsApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationRequestsApi; public class OnapsoinfraorchestrationRequestsApiExample { public static void main(String[] args) { OnapsoinfraorchestrationRequestsApi apiInstance = new OnapsoinfraorchestrationRequestsApi(); - String requestId = requestId_example; // String | - String version = version_example; // String | - String body = body_example; // String | + String requestId = requestId_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.unlockOrchestrationRequest(requestId, version, body); } catch (ApiException e) { @@ -8864,14 +9278,14 @@ public class OnapsoinfraorchestrationRequestsApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *requestId = requestId_example; // -String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *requestId = requestId_example; // +String *version = version_example; // String *body = body_example; // (optional) OnapsoinfraorchestrationRequestsApi *apiInstance = [[OnapsoinfraorchestrationRequestsApi alloc] init]; @@ -8886,19 +9300,19 @@ OnapsoinfraorchestrationRequestsApi *apiInstance = [[OnapsoinfraorchestrationReq } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraorchestrationRequestsApi() -var requestId = requestId_example; // {String} +var requestId = requestId_example; // {String} -var version = version_example; // {String} +var version = version_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -8910,12 +9324,12 @@ var callback = function(error, data, response) { }; api.unlockOrchestrationRequest(requestId, version, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -8928,11 +9342,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraorchestrationRequestsApi(); - var requestId = requestId_example; // String | - var version = version_example; // String | - var body = body_example; // String | (optional) + var requestId = requestId_example; // String | + var version = version_example; // String | + var body = body_example; // String | (optional) try { @@ -8947,16 +9361,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationRequestsApi(); -$requestId = requestId_example; // String | -$version = version_example; // String | -$body = body_example; // String | +$requestId = requestId_example; // String | +$version = version_example; // String | +$body = body_example; // String | try { $api_instance->unlockOrchestrationRequest($requestId, $version, $body); @@ -8964,27 +9378,27 @@ try { echo 'Exception when calling OnapsoinfraorchestrationRequestsApi->unlockOrchestrationRequest: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationRequestsApi->new(); -my $requestId = requestId_example; # String | -my $version = version_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $requestId = requestId_example; # String | +my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->unlockOrchestrationRequest(requestId => $requestId, version => $version, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraorchestrationRequestsApi->unlockOrchestrationRequest: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationRequests-unlockOrchestrationRequest-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -8993,80 +9407,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraorchestrationRequestsApi() -requestId = requestId_example # String | -version = version_example # String | +requestId = requestId_example # String | +version = version_example # String | body = body_example # String | (optional) -try: +try: # Unlock Orchestrated Requests for a given requestId api_instance.unlock_orchestration_request(requestId, version, body=body) except ApiException as e: print("Exception when calling OnapsoinfraorchestrationRequestsApi->unlockOrchestrationRequest: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">requestId*</td> -<td> + <tr><td style="width:150px;">requestId*</td> + <td> - <div id="d2e199_unlockOrchestrationRequest_requestId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_unlockOrchestrationRequest_requestId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_unlockOrchestrationRequest_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_unlockOrchestrationRequest_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -9092,15 +9506,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_unlockOrchestrationRequest_body"></div> -</td> -</tr> + <div id="d2e199_unlockOrchestrationRequest_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -9110,46 +9524,46 @@ $(document).ready(function() { </div> </article> - </div> - <hr> - </section> + </div> + <hr> + </section> <section id="api-OnapsoinfraorchestrationTasks"> - <h1>OnapsoinfraorchestrationTasks</h1> + <h1>OnapsoinfraorchestrationTasks</h1> <div id="api-OnapsoinfraorchestrationTasks-abortOrchestrationTask"> - <article id="api-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0" data-group="User" data-name="abortOrchestrationTask" data-version="0"> - <div class="pull-left"> - <h1>abortOrchestrationTask</h1> - <p>abort orchestrationTask for a given taskId</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}/abort</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}/abort"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-java"> + <article id="api-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0" data-group="User" data-name="abortOrchestrationTask" data-version="0"> + <div class="pull-left"> + <h1>abortOrchestrationTask</h1> + <p>abort orchestrationTask for a given taskId</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}/abort</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}/abort"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -9161,11 +9575,11 @@ import java.util.*; public class OnapsoinfraorchestrationTasksApiExample { public static void main(String[] args) { - + OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi(); - String taskId = taskId_example; // String | - String version = version_example; // String | - String body = body_example; // String | + String taskId = taskId_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.abortOrchestrationTask(taskId, version, body); } catch (ApiException e) { @@ -9174,18 +9588,18 @@ public class OnapsoinfraorchestrationTasksApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationTasksApi; public class OnapsoinfraorchestrationTasksApiExample { public static void main(String[] args) { OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi(); - String taskId = taskId_example; // String | - String version = version_example; // String | - String body = body_example; // String | + String taskId = taskId_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.abortOrchestrationTask(taskId, version, body); } catch (ApiException e) { @@ -9194,14 +9608,14 @@ public class OnapsoinfraorchestrationTasksApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; // -String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; // +String *version = version_example; // String *body = body_example; // (optional) OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksApi alloc] init]; @@ -9216,19 +9630,19 @@ OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksA } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraorchestrationTasksApi() -var taskId = taskId_example; // {String} +var taskId = taskId_example; // {String} -var version = version_example; // {String} +var version = version_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -9240,12 +9654,12 @@ var callback = function(error, data, response) { }; api.abortOrchestrationTask(taskId, version, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -9258,11 +9672,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraorchestrationTasksApi(); - var taskId = taskId_example; // String | - var version = version_example; // String | - var body = body_example; // String | (optional) + var taskId = taskId_example; // String | + var version = version_example; // String | + var body = body_example; // String | (optional) try { @@ -9277,16 +9691,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationTasksApi(); -$taskId = taskId_example; // String | -$version = version_example; // String | -$body = body_example; // String | +$taskId = taskId_example; // String | +$version = version_example; // String | +$body = body_example; // String | try { $api_instance->abortOrchestrationTask($taskId, $version, $body); @@ -9294,27 +9708,27 @@ try { echo 'Exception when calling OnapsoinfraorchestrationTasksApi->abortOrchestrationTask: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi->new(); -my $taskId = taskId_example; # String | -my $version = version_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $taskId = taskId_example; # String | +my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->abortOrchestrationTask(taskId => $taskId, version => $version, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraorchestrationTasksApi->abortOrchestrationTask: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-abortOrchestrationTask-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -9323,80 +9737,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraorchestrationTasksApi() -taskId = taskId_example # String | -version = version_example # String | +taskId = taskId_example # String | +version = version_example # String | body = body_example # String | (optional) -try: +try: # abort orchestrationTask for a given taskId api_instance.abort_orchestration_task(taskId, version, body=body) except ApiException as e: print("Exception when calling OnapsoinfraorchestrationTasksApi->abortOrchestrationTask: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">taskId*</td> -<td> + <tr><td style="width:150px;">taskId*</td> + <td> - <div id="d2e199_abortOrchestrationTask_taskId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_abortOrchestrationTask_taskId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_abortOrchestrationTask_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_abortOrchestrationTask_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -9422,15 +9836,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_abortOrchestrationTask_body"></div> -</td> -</tr> + <div id="d2e199_abortOrchestrationTask_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -9440,43 +9854,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraorchestrationTasks-commitOrchestrationTask"> - <article id="api-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0" data-group="User" data-name="commitOrchestrationTask" data-version="0"> - <div class="pull-left"> - <h1>commitOrchestrationTask</h1> - <p>commit orchestrationTask for a given taskId</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}/commit</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}/commit"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-java"> + <article id="api-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0" data-group="User" data-name="commitOrchestrationTask" data-version="0"> + <div class="pull-left"> + <h1>commitOrchestrationTask</h1> + <p>commit orchestrationTask for a given taskId</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}/commit</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}/commit"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -9488,11 +9902,11 @@ import java.util.*; public class OnapsoinfraorchestrationTasksApiExample { public static void main(String[] args) { - + OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi(); - String taskId = taskId_example; // String | - String version = version_example; // String | - String body = body_example; // String | + String taskId = taskId_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.commitOrchestrationTask(taskId, version, body); } catch (ApiException e) { @@ -9501,18 +9915,18 @@ public class OnapsoinfraorchestrationTasksApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationTasksApi; public class OnapsoinfraorchestrationTasksApiExample { public static void main(String[] args) { OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi(); - String taskId = taskId_example; // String | - String version = version_example; // String | - String body = body_example; // String | + String taskId = taskId_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.commitOrchestrationTask(taskId, version, body); } catch (ApiException e) { @@ -9521,14 +9935,14 @@ public class OnapsoinfraorchestrationTasksApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; // -String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; // +String *version = version_example; // String *body = body_example; // (optional) OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksApi alloc] init]; @@ -9543,19 +9957,19 @@ OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksA } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraorchestrationTasksApi() -var taskId = taskId_example; // {String} +var taskId = taskId_example; // {String} -var version = version_example; // {String} +var version = version_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -9567,12 +9981,12 @@ var callback = function(error, data, response) { }; api.commitOrchestrationTask(taskId, version, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -9585,11 +9999,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraorchestrationTasksApi(); - var taskId = taskId_example; // String | - var version = version_example; // String | - var body = body_example; // String | (optional) + var taskId = taskId_example; // String | + var version = version_example; // String | + var body = body_example; // String | (optional) try { @@ -9604,16 +10018,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationTasksApi(); -$taskId = taskId_example; // String | -$version = version_example; // String | -$body = body_example; // String | +$taskId = taskId_example; // String | +$version = version_example; // String | +$body = body_example; // String | try { $api_instance->commitOrchestrationTask($taskId, $version, $body); @@ -9621,27 +10035,27 @@ try { echo 'Exception when calling OnapsoinfraorchestrationTasksApi->commitOrchestrationTask: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi->new(); -my $taskId = taskId_example; # String | -my $version = version_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $taskId = taskId_example; # String | +my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->commitOrchestrationTask(taskId => $taskId, version => $version, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraorchestrationTasksApi->commitOrchestrationTask: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-commitOrchestrationTask-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -9650,80 +10064,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraorchestrationTasksApi() -taskId = taskId_example # String | -version = version_example # String | +taskId = taskId_example # String | +version = version_example # String | body = body_example # String | (optional) -try: +try: # commit orchestrationTask for a given taskId api_instance.commit_orchestration_task(taskId, version, body=body) except ApiException as e: print("Exception when calling OnapsoinfraorchestrationTasksApi->commitOrchestrationTask: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">taskId*</td> -<td> + <tr><td style="width:150px;">taskId*</td> + <td> - <div id="d2e199_commitOrchestrationTask_taskId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_commitOrchestrationTask_taskId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_commitOrchestrationTask_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_commitOrchestrationTask_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -9749,15 +10163,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_commitOrchestrationTask_body"></div> -</td> -</tr> + <div id="d2e199_commitOrchestrationTask_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -9767,43 +10181,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraorchestrationTasks-createOrchestrationTask"> - <article id="api-OnapsoinfraorchestrationTasks-createOrchestrationTask-0" data-group="User" data-name="createOrchestrationTask" data-version="0"> - <div class="pull-left"> - <h1>createOrchestrationTask</h1> - <p>Create an orchestrationTask</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/orchestrationTasks/{version}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-java"> + <article id="api-OnapsoinfraorchestrationTasks-createOrchestrationTask-0" data-group="User" data-name="createOrchestrationTask" data-version="0"> + <div class="pull-left"> + <h1>createOrchestrationTask</h1> + <p>Create an orchestrationTask</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/orchestrationTasks/{version}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -9815,10 +10229,10 @@ import java.util.*; public class OnapsoinfraorchestrationTasksApiExample { public static void main(String[] args) { - + OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi(); - String version = version_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.createOrchestrationTask(version, body); } catch (ApiException e) { @@ -9827,17 +10241,17 @@ public class OnapsoinfraorchestrationTasksApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationTasksApi; public class OnapsoinfraorchestrationTasksApiExample { public static void main(String[] args) { OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi(); - String version = version_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.createOrchestrationTask(version, body); } catch (ApiException e) { @@ -9846,13 +10260,13 @@ public class OnapsoinfraorchestrationTasksApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // String *body = body_example; // (optional) OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksApi alloc] init]; @@ -9866,17 +10280,17 @@ OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksA } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraorchestrationTasksApi() -var version = version_example; // {String} +var version = version_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -9888,12 +10302,12 @@ var callback = function(error, data, response) { }; api.createOrchestrationTask(version, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -9906,10 +10320,10 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraorchestrationTasksApi(); - var version = version_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var body = body_example; // String | (optional) try { @@ -9924,15 +10338,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationTasksApi(); -$version = version_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$body = body_example; // String | try { $api_instance->createOrchestrationTask($version, $body); @@ -9940,26 +10354,26 @@ try { echo 'Exception when calling OnapsoinfraorchestrationTasksApi->createOrchestrationTask: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi->new(); -my $version = version_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->createOrchestrationTask(version => $version, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraorchestrationTasksApi->createOrchestrationTask: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-createOrchestrationTask-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -9968,59 +10382,59 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraorchestrationTasksApi() -version = version_example # String | +version = version_example # String | body = body_example # String | (optional) -try: +try: # Create an orchestrationTask api_instance.create_orchestration_task(version, body=body) except ApiException as e: print("Exception when calling OnapsoinfraorchestrationTasksApi->createOrchestrationTask: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_createOrchestrationTask_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createOrchestrationTask_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -10046,15 +10460,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_createOrchestrationTask_body"></div> -</td> -</tr> + <div id="d2e199_createOrchestrationTask_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -10064,43 +10478,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraorchestrationTasks-deleteOrchestrationTask"> - <article id="api-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0" data-group="User" data-name="deleteOrchestrationTask" data-version="0"> - <div class="pull-left"> - <h1>deleteOrchestrationTask</h1> - <p>delete orchestrationTask for a given taskId</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-java"> + <article id="api-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0" data-group="User" data-name="deleteOrchestrationTask" data-version="0"> + <div class="pull-left"> + <h1>deleteOrchestrationTask</h1> + <p>delete orchestrationTask for a given taskId</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -10112,10 +10526,10 @@ import java.util.*; public class OnapsoinfraorchestrationTasksApiExample { public static void main(String[] args) { - + OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi(); - String taskId = taskId_example; // String | - String version = version_example; // String | + String taskId = taskId_example; // String | + String version = version_example; // String | try { apiInstance.deleteOrchestrationTask(taskId, version); } catch (ApiException e) { @@ -10124,17 +10538,17 @@ public class OnapsoinfraorchestrationTasksApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationTasksApi; public class OnapsoinfraorchestrationTasksApiExample { public static void main(String[] args) { OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi(); - String taskId = taskId_example; // String | - String version = version_example; // String | + String taskId = taskId_example; // String | + String version = version_example; // String | try { apiInstance.deleteOrchestrationTask(taskId, version); } catch (ApiException e) { @@ -10143,14 +10557,14 @@ public class OnapsoinfraorchestrationTasksApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; // -String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; // +String *version = version_example; // OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksApi alloc] init]; @@ -10163,16 +10577,16 @@ OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksA } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraorchestrationTasksApi() -var taskId = taskId_example; // {String} +var taskId = taskId_example; // {String} -var version = version_example; // {String} +var version = version_example; // {String} var callback = function(error, data, response) { @@ -10184,12 +10598,12 @@ var callback = function(error, data, response) { }; api.deleteOrchestrationTask(taskId, version, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -10202,10 +10616,10 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraorchestrationTasksApi(); - var taskId = taskId_example; // String | - var version = version_example; // String | + var taskId = taskId_example; // String | + var version = version_example; // String | try { @@ -10220,15 +10634,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationTasksApi(); -$taskId = taskId_example; // String | -$version = version_example; // String | +$taskId = taskId_example; // String | +$version = version_example; // String | try { $api_instance->deleteOrchestrationTask($taskId, $version); @@ -10236,26 +10650,26 @@ try { echo 'Exception when calling OnapsoinfraorchestrationTasksApi->deleteOrchestrationTask: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi->new(); -my $taskId = taskId_example; # String | -my $version = version_example; # String | +my $taskId = taskId_example; # String | +my $version = version_example; # String | -eval { +eval { $api_instance->deleteOrchestrationTask(taskId => $taskId, version => $version); }; if ($@) { warn "Exception when calling OnapsoinfraorchestrationTasksApi->deleteOrchestrationTask: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-deleteOrchestrationTask-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -10264,64 +10678,64 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraorchestrationTasksApi() -taskId = taskId_example # String | -version = version_example # String | +taskId = taskId_example # String | +version = version_example # String | -try: +try: # delete orchestrationTask for a given taskId api_instance.delete_orchestration_task(taskId, version) except ApiException as e: print("Exception when calling OnapsoinfraorchestrationTasksApi->deleteOrchestrationTask: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">taskId*</td> -<td> + <tr><td style="width:150px;">taskId*</td> + <td> - <div id="d2e199_deleteOrchestrationTask_taskId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteOrchestrationTask_taskId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_deleteOrchestrationTask_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteOrchestrationTask_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> @@ -10329,7 +10743,7 @@ except ApiException as e: - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -10339,43 +10753,43 @@ except ApiException as e: </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks"> - <article id="api-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0" data-group="User" data-name="getAllOrchestrationTasks" data-version="0"> - <div class="pull-left"> - <h1>getAllOrchestrationTasks</h1> - <p>Get all orchestrationTasks</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/orchestrationTasks/{version}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-java"> + <article id="api-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0" data-group="User" data-name="getAllOrchestrationTasks" data-version="0"> + <div class="pull-left"> + <h1>getAllOrchestrationTasks</h1> + <p>Get all orchestrationTasks</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/orchestrationTasks/{version}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -10387,9 +10801,9 @@ import java.util.*; public class OnapsoinfraorchestrationTasksApiExample { public static void main(String[] args) { - + OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi(); - String version = version_example; // String | + String version = version_example; // String | try { apiInstance.getAllOrchestrationTasks(version); } catch (ApiException e) { @@ -10398,16 +10812,16 @@ public class OnapsoinfraorchestrationTasksApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationTasksApi; public class OnapsoinfraorchestrationTasksApiExample { public static void main(String[] args) { OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi(); - String version = version_example; // String | + String version = version_example; // String | try { apiInstance.getAllOrchestrationTasks(version); } catch (ApiException e) { @@ -10416,13 +10830,13 @@ public class OnapsoinfraorchestrationTasksApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksApi alloc] init]; @@ -10434,14 +10848,14 @@ OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksA } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraorchestrationTasksApi() -var version = version_example; // {String} +var version = version_example; // {String} var callback = function(error, data, response) { @@ -10453,12 +10867,12 @@ var callback = function(error, data, response) { }; api.getAllOrchestrationTasks(version, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -10471,9 +10885,9 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraorchestrationTasksApi(); - var version = version_example; // String | + var version = version_example; // String | try { @@ -10488,14 +10902,14 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationTasksApi(); -$version = version_example; // String | +$version = version_example; // String | try { $api_instance->getAllOrchestrationTasks($version); @@ -10503,25 +10917,25 @@ try { echo 'Exception when calling OnapsoinfraorchestrationTasksApi->getAllOrchestrationTasks: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi->new(); -my $version = version_example; # String | +my $version = version_example; # String | -eval { +eval { $api_instance->getAllOrchestrationTasks(version => $version); }; if ($@) { warn "Exception when calling OnapsoinfraorchestrationTasksApi->getAllOrchestrationTasks: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getAllOrchestrationTasks-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -10530,43 +10944,43 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraorchestrationTasksApi() -version = version_example # String | +version = version_example # String | -try: +try: # Get all orchestrationTasks api_instance.get_all_orchestration_tasks(version) except ApiException as e: print("Exception when calling OnapsoinfraorchestrationTasksApi->getAllOrchestrationTasks: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_getAllOrchestrationTasks_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_getAllOrchestrationTasks_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> @@ -10574,7 +10988,7 @@ except ApiException as e: - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -10584,43 +10998,43 @@ except ApiException as e: </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraorchestrationTasks-getOrchestrationTask"> - <article id="api-OnapsoinfraorchestrationTasks-getOrchestrationTask-0" data-group="User" data-name="getOrchestrationTask" data-version="0"> - <div class="pull-left"> - <h1>getOrchestrationTask</h1> - <p>Get orchestrationTask for a given taskId</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-java"> + <article id="api-OnapsoinfraorchestrationTasks-getOrchestrationTask-0" data-group="User" data-name="getOrchestrationTask" data-version="0"> + <div class="pull-left"> + <h1>getOrchestrationTask</h1> + <p>Get orchestrationTask for a given taskId</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -10632,10 +11046,10 @@ import java.util.*; public class OnapsoinfraorchestrationTasksApiExample { public static void main(String[] args) { - + OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi(); - String taskId = taskId_example; // String | - String version = version_example; // String | + String taskId = taskId_example; // String | + String version = version_example; // String | try { apiInstance.getOrchestrationTask(taskId, version); } catch (ApiException e) { @@ -10644,17 +11058,17 @@ public class OnapsoinfraorchestrationTasksApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationTasksApi; public class OnapsoinfraorchestrationTasksApiExample { public static void main(String[] args) { OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi(); - String taskId = taskId_example; // String | - String version = version_example; // String | + String taskId = taskId_example; // String | + String version = version_example; // String | try { apiInstance.getOrchestrationTask(taskId, version); } catch (ApiException e) { @@ -10663,14 +11077,14 @@ public class OnapsoinfraorchestrationTasksApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; // -String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; // +String *version = version_example; // OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksApi alloc] init]; @@ -10683,16 +11097,16 @@ OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksA } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraorchestrationTasksApi() -var taskId = taskId_example; // {String} +var taskId = taskId_example; // {String} -var version = version_example; // {String} +var version = version_example; // {String} var callback = function(error, data, response) { @@ -10704,12 +11118,12 @@ var callback = function(error, data, response) { }; api.getOrchestrationTask(taskId, version, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -10722,10 +11136,10 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraorchestrationTasksApi(); - var taskId = taskId_example; // String | - var version = version_example; // String | + var taskId = taskId_example; // String | + var version = version_example; // String | try { @@ -10740,15 +11154,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationTasksApi(); -$taskId = taskId_example; // String | -$version = version_example; // String | +$taskId = taskId_example; // String | +$version = version_example; // String | try { $api_instance->getOrchestrationTask($taskId, $version); @@ -10756,26 +11170,26 @@ try { echo 'Exception when calling OnapsoinfraorchestrationTasksApi->getOrchestrationTask: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi->new(); -my $taskId = taskId_example; # String | -my $version = version_example; # String | +my $taskId = taskId_example; # String | +my $version = version_example; # String | -eval { +eval { $api_instance->getOrchestrationTask(taskId => $taskId, version => $version); }; if ($@) { warn "Exception when calling OnapsoinfraorchestrationTasksApi->getOrchestrationTask: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-getOrchestrationTask-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -10784,64 +11198,64 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraorchestrationTasksApi() -taskId = taskId_example # String | -version = version_example # String | +taskId = taskId_example # String | +version = version_example # String | -try: +try: # Get orchestrationTask for a given taskId api_instance.get_orchestration_task(taskId, version) except ApiException as e: print("Exception when calling OnapsoinfraorchestrationTasksApi->getOrchestrationTask: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">taskId*</td> -<td> + <tr><td style="width:150px;">taskId*</td> + <td> - <div id="d2e199_getOrchestrationTask_taskId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_getOrchestrationTask_taskId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_getOrchestrationTask_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_getOrchestrationTask_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> @@ -10849,7 +11263,7 @@ except ApiException as e: - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -10859,43 +11273,43 @@ except ApiException as e: </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraorchestrationTasks-updateOrchestrationTask"> - <article id="api-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0" data-group="User" data-name="updateOrchestrationTask" data-version="0"> - <div class="pull-left"> - <h1>updateOrchestrationTask</h1> - <p>update orchestrationTask for a given taskId</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-java"> + <article id="api-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0" data-group="User" data-name="updateOrchestrationTask" data-version="0"> + <div class="pull-left"> + <h1>updateOrchestrationTask</h1> + <p>update orchestrationTask for a given taskId</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/orchestrationTasks/{version}/{taskId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/orchestrationTasks/{version}/{taskId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -10907,11 +11321,11 @@ import java.util.*; public class OnapsoinfraorchestrationTasksApiExample { public static void main(String[] args) { - + OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi(); - String taskId = taskId_example; // String | - String version = version_example; // String | - String body = body_example; // String | + String taskId = taskId_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.updateOrchestrationTask(taskId, version, body); } catch (ApiException e) { @@ -10920,18 +11334,18 @@ public class OnapsoinfraorchestrationTasksApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraorchestrationTasksApi; public class OnapsoinfraorchestrationTasksApiExample { public static void main(String[] args) { OnapsoinfraorchestrationTasksApi apiInstance = new OnapsoinfraorchestrationTasksApi(); - String taskId = taskId_example; // String | - String version = version_example; // String | - String body = body_example; // String | + String taskId = taskId_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.updateOrchestrationTask(taskId, version, body); } catch (ApiException e) { @@ -10940,14 +11354,14 @@ public class OnapsoinfraorchestrationTasksApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; // -String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *taskId = taskId_example; // +String *version = version_example; // String *body = body_example; // (optional) OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksApi alloc] init]; @@ -10962,19 +11376,19 @@ OnapsoinfraorchestrationTasksApi *apiInstance = [[OnapsoinfraorchestrationTasksA } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraorchestrationTasksApi() -var taskId = taskId_example; // {String} +var taskId = taskId_example; // {String} -var version = version_example; // {String} +var version = version_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -10986,12 +11400,12 @@ var callback = function(error, data, response) { }; api.updateOrchestrationTask(taskId, version, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -11004,11 +11418,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraorchestrationTasksApi(); - var taskId = taskId_example; // String | - var version = version_example; // String | - var body = body_example; // String | (optional) + var taskId = taskId_example; // String | + var version = version_example; // String | + var body = body_example; // String | (optional) try { @@ -11023,16 +11437,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraorchestrationTasksApi(); -$taskId = taskId_example; // String | -$version = version_example; // String | -$body = body_example; // String | +$taskId = taskId_example; // String | +$version = version_example; // String | +$body = body_example; // String | try { $api_instance->updateOrchestrationTask($taskId, $version, $body); @@ -11040,27 +11454,27 @@ try { echo 'Exception when calling OnapsoinfraorchestrationTasksApi->updateOrchestrationTask: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraorchestrationTasksApi->new(); -my $taskId = taskId_example; # String | -my $version = version_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $taskId = taskId_example; # String | +my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->updateOrchestrationTask(taskId => $taskId, version => $version, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraorchestrationTasksApi->updateOrchestrationTask: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraorchestrationTasks-updateOrchestrationTask-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -11069,80 +11483,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraorchestrationTasksApi() -taskId = taskId_example # String | -version = version_example # String | +taskId = taskId_example # String | +version = version_example # String | body = body_example # String | (optional) -try: +try: # update orchestrationTask for a given taskId api_instance.update_orchestration_task(taskId, version, body=body) except ApiException as e: print("Exception when calling OnapsoinfraorchestrationTasksApi->updateOrchestrationTask: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">taskId*</td> -<td> + <tr><td style="width:150px;">taskId*</td> + <td> - <div id="d2e199_updateOrchestrationTask_taskId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateOrchestrationTask_taskId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_updateOrchestrationTask_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateOrchestrationTask_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -11168,15 +11582,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_updateOrchestrationTask_body"></div> -</td> -</tr> + <div id="d2e199_updateOrchestrationTask_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -11186,46 +11600,46 @@ $(document).ready(function() { </div> </article> - </div> - <hr> - </section> + </div> + <hr> + </section> <section id="api-OnapsoinfraserviceInstantiation"> - <h1>OnapsoinfraserviceInstantiation</h1> + <h1>OnapsoinfraserviceInstantiation</h1> <div id="api-OnapsoinfraserviceInstantiation-activatePort"> - <article id="api-OnapsoinfraserviceInstantiation-activatePort-0" data-group="User" data-name="activatePort" data-version="0"> - <div class="pull-left"> - <h1>activatePort</h1> - <p>Activate Port Mirroring</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-activatePort-0" data-group="User" data-name="activatePort" data-version="0"> + <div class="pull-left"> + <h1>activatePort</h1> + <p>Activate Port Mirroring</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activatePort-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/activate"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -11237,12 +11651,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String configurationInstanceId = configurationInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String configurationInstanceId = configurationInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.activatePort(version, serviceInstanceId, configurationInstanceId, body); } catch (ApiException e) { @@ -11251,19 +11665,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String configurationInstanceId = configurationInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String configurationInstanceId = configurationInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.activatePort(version, serviceInstanceId, configurationInstanceId, body); } catch (ApiException e) { @@ -11272,15 +11686,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *configurationInstanceId = configurationInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *configurationInstanceId = configurationInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -11296,21 +11710,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var configurationInstanceId = configurationInstanceId_example; // {String} +var configurationInstanceId = configurationInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -11322,12 +11736,12 @@ var callback = function(error, data, response) { }; api.activatePort(version, serviceInstanceId, configurationInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -11340,12 +11754,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var configurationInstanceId = configurationInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var configurationInstanceId = configurationInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -11360,17 +11774,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$configurationInstanceId = configurationInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$configurationInstanceId = configurationInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->activatePort($version, $serviceInstanceId, $configurationInstanceId, $body); @@ -11378,28 +11792,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->activatePort: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $configurationInstanceId = configurationInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $configurationInstanceId = configurationInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->activatePort(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->activatePort: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activatePort-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -11408,101 +11822,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -configurationInstanceId = configurationInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +configurationInstanceId = configurationInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Activate Port Mirroring api_instance.activate_port(version, serviceInstanceId, configurationInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->activatePort: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_activatePort_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_activatePort_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_activatePort_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_activatePort_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">configurationInstanceId*</td> -<td> + <tr><td style="width:150px;">configurationInstanceId*</td> + <td> - <div id="d2e199_activatePort_configurationInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_activatePort_configurationInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -11528,15 +11942,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_activatePort_body"></div> -</td> -</tr> + <div id="d2e199_activatePort_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -11546,43 +11960,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-activateServiceInstance"> - <article id="api-OnapsoinfraserviceInstantiation-activateServiceInstance-0" data-group="User" data-name="activateServiceInstance" data-version="0"> - <div class="pull-left"> - <h1>activateServiceInstance</h1> - <p>Activate provided Service Instance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/activate</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/activate"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-activateServiceInstance-0" data-group="User" data-name="activateServiceInstance" data-version="0"> + <div class="pull-left"> + <h1>activateServiceInstance</h1> + <p>Activate provided Service Instance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/activate</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/activate"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -11594,11 +12008,11 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.activateServiceInstance(version, serviceInstanceId, body); } catch (ApiException e) { @@ -11607,18 +12021,18 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.activateServiceInstance(version, serviceInstanceId, body); } catch (ApiException e) { @@ -11627,14 +12041,14 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -11649,19 +12063,19 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -11673,12 +12087,12 @@ var callback = function(error, data, response) { }; api.activateServiceInstance(version, serviceInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -11691,11 +12105,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -11710,16 +12124,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->activateServiceInstance($version, $serviceInstanceId, $body); @@ -11727,27 +12141,27 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->activateServiceInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->activateServiceInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->activateServiceInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-activateServiceInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -11756,80 +12170,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Activate provided Service Instance api_instance.activate_service_instance(version, serviceInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->activateServiceInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_activateServiceInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_activateServiceInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_activateServiceInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_activateServiceInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -11855,15 +12269,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_activateServiceInstance_body"></div> -</td> -</tr> + <div id="d2e199_activateServiceInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -11873,43 +12287,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-addRelationships"> - <article id="api-OnapsoinfraserviceInstantiation-addRelationships-0" data-group="User" data-name="addRelationships" data-version="0"> - <div class="pull-left"> - <h1>addRelationships</h1> - <p>Add Relationships to a Service Instance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/addRelationships</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/addRelationships"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-addRelationships-0" data-group="User" data-name="addRelationships" data-version="0"> + <div class="pull-left"> + <h1>addRelationships</h1> + <p>Add Relationships to a Service Instance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/addRelationships</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-addRelationships-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/addRelationships"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -11921,11 +12335,11 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.addRelationships(version, serviceInstanceId, body); } catch (ApiException e) { @@ -11934,18 +12348,18 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.addRelationships(version, serviceInstanceId, body); } catch (ApiException e) { @@ -11954,14 +12368,14 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -11976,19 +12390,19 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -12000,12 +12414,12 @@ var callback = function(error, data, response) { }; api.addRelationships(version, serviceInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -12018,11 +12432,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -12037,16 +12451,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->addRelationships($version, $serviceInstanceId, $body); @@ -12054,27 +12468,27 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->addRelationships: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->addRelationships(version => $version, serviceInstanceId => $serviceInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->addRelationships: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-addRelationships-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -12083,80 +12497,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Add Relationships to a Service Instance api_instance.add_relationships(version, serviceInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->addRelationships: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_addRelationships_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_addRelationships_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_addRelationships_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_addRelationships_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -12182,15 +12596,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_addRelationships_body"></div> -</td> -</tr> + <div id="d2e199_addRelationships_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -12200,43 +12614,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-applyUpdatedConfig"> - <article id="api-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0" data-group="User" data-name="applyUpdatedConfig" data-version="0"> - <div class="pull-left"> - <h1>applyUpdatedConfig</h1> - <p>Apply updated configuration</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0" data-group="User" data-name="applyUpdatedConfig" data-version="0"> + <div class="pull-left"> + <h1>applyUpdatedConfig</h1> + <p>Apply updated configuration</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/applyUpdatedConfig"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -12248,12 +12662,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.applyUpdatedConfig(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -12262,19 +12676,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.applyUpdatedConfig(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -12283,15 +12697,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *vnfInstanceId = vnfInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *vnfInstanceId = vnfInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -12307,21 +12721,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var vnfInstanceId = vnfInstanceId_example; // {String} +var vnfInstanceId = vnfInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -12333,12 +12747,12 @@ var callback = function(error, data, response) { }; api.applyUpdatedConfig(version, serviceInstanceId, vnfInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -12351,12 +12765,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var vnfInstanceId = vnfInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var vnfInstanceId = vnfInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -12371,17 +12785,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$vnfInstanceId = vnfInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$vnfInstanceId = vnfInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->applyUpdatedConfig($version, $serviceInstanceId, $vnfInstanceId, $body); @@ -12389,28 +12803,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->applyUpdatedConfig: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $vnfInstanceId = vnfInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $vnfInstanceId = vnfInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->applyUpdatedConfig(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->applyUpdatedConfig: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-applyUpdatedConfig-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -12419,101 +12833,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -vnfInstanceId = vnfInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +vnfInstanceId = vnfInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Apply updated configuration api_instance.apply_updated_config(version, serviceInstanceId, vnfInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->applyUpdatedConfig: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_applyUpdatedConfig_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_applyUpdatedConfig_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_applyUpdatedConfig_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_applyUpdatedConfig_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vnfInstanceId*</td> -<td> + <tr><td style="width:150px;">vnfInstanceId*</td> + <td> - <div id="d2e199_applyUpdatedConfig_vnfInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_applyUpdatedConfig_vnfInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -12539,15 +12953,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_applyUpdatedConfig_body"></div> -</td> -</tr> + <div id="d2e199_applyUpdatedConfig_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -12557,43 +12971,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-assignServiceInstance"> - <article id="api-OnapsoinfraserviceInstantiation-assignServiceInstance-0" data-group="User" data-name="assignServiceInstance" data-version="0"> - <div class="pull-left"> - <h1>assignServiceInstance</h1> - <p>Assign Service Instance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/assign</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/assign"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-assignServiceInstance-0" data-group="User" data-name="assignServiceInstance" data-version="0"> + <div class="pull-left"> + <h1>assignServiceInstance</h1> + <p>Assign Service Instance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/assign</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/assign"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -12605,10 +13019,10 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.assignServiceInstance(version, body); } catch (ApiException e) { @@ -12617,17 +13031,17 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.assignServiceInstance(version, body); } catch (ApiException e) { @@ -12636,13 +13050,13 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -12656,17 +13070,17 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -12678,12 +13092,12 @@ var callback = function(error, data, response) { }; api.assignServiceInstance(version, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -12696,10 +13110,10 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var body = body_example; // String | (optional) try { @@ -12714,15 +13128,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$body = body_example; // String | try { $api_instance->assignServiceInstance($version, $body); @@ -12730,26 +13144,26 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->assignServiceInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->assignServiceInstance(version => $version, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->assignServiceInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-assignServiceInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -12758,59 +13172,59 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | +version = version_example # String | body = body_example # String | (optional) -try: +try: # Assign Service Instance api_instance.assign_service_instance(version, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->assignServiceInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_assignServiceInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_assignServiceInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -12836,15 +13250,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_assignServiceInstance_body"></div> -</td> -</tr> + <div id="d2e199_assignServiceInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -12854,43 +13268,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-createNetworkInstance"> - <article id="api-OnapsoinfraserviceInstantiation-createNetworkInstance-0" data-group="User" data-name="createNetworkInstance" data-version="0"> - <div class="pull-left"> - <h1>createNetworkInstance</h1> - <p>Create NetworkInstance on a specified version and serviceInstance </p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-createNetworkInstance-0" data-group="User" data-name="createNetworkInstance" data-version="0"> + <div class="pull-left"> + <h1>createNetworkInstance</h1> + <p>Create NetworkInstance on a specified version and serviceInstance </p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -12902,11 +13316,11 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.createNetworkInstance(version, serviceInstanceId, body); } catch (ApiException e) { @@ -12915,18 +13329,18 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.createNetworkInstance(version, serviceInstanceId, body); } catch (ApiException e) { @@ -12935,19 +13349,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; -// Create NetworkInstance on a specified version and serviceInstance +// Create NetworkInstance on a specified version and serviceInstance [apiInstance createNetworkInstanceWith:version serviceInstanceId:serviceInstanceId body:body @@ -12957,19 +13371,19 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -12981,12 +13395,12 @@ var callback = function(error, data, response) { }; api.createNetworkInstance(version, serviceInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -12999,15 +13413,15 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var body = body_example; // String | (optional) try { - // Create NetworkInstance on a specified version and serviceInstance + // Create NetworkInstance on a specified version and serviceInstance apiInstance.createNetworkInstance(version, serviceInstanceId, body); } catch (Exception e) @@ -13018,16 +13432,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->createNetworkInstance($version, $serviceInstanceId, $body); @@ -13035,27 +13449,27 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createNetworkInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->createNetworkInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->createNetworkInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createNetworkInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -13064,80 +13478,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | body = body_example # String | (optional) -try: - # Create NetworkInstance on a specified version and serviceInstance +try: + # Create NetworkInstance on a specified version and serviceInstance api_instance.create_network_instance(version, serviceInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->createNetworkInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_createNetworkInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createNetworkInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_createNetworkInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createNetworkInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -13163,15 +13577,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_createNetworkInstance_body"></div> -</td> -</tr> + <div id="d2e199_createNetworkInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -13181,43 +13595,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-createPortConfiguration"> - <article id="api-OnapsoinfraserviceInstantiation-createPortConfiguration-0" data-group="User" data-name="createPortConfiguration" data-version="0"> - <div class="pull-left"> - <h1>createPortConfiguration</h1> - <p>Create Port Mirroring Configuration</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-createPortConfiguration-0" data-group="User" data-name="createPortConfiguration" data-version="0"> + <div class="pull-left"> + <h1>createPortConfiguration</h1> + <p>Create Port Mirroring Configuration</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -13229,11 +13643,11 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.createPortConfiguration(version, serviceInstanceId, body); } catch (ApiException e) { @@ -13242,18 +13656,18 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.createPortConfiguration(version, serviceInstanceId, body); } catch (ApiException e) { @@ -13262,14 +13676,14 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -13284,19 +13698,19 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -13308,12 +13722,12 @@ var callback = function(error, data, response) { }; api.createPortConfiguration(version, serviceInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -13326,11 +13740,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -13345,16 +13759,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->createPortConfiguration($version, $serviceInstanceId, $body); @@ -13362,27 +13776,27 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createPortConfiguration: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->createPortConfiguration(version => $version, serviceInstanceId => $serviceInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->createPortConfiguration: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createPortConfiguration-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -13391,80 +13805,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Create Port Mirroring Configuration api_instance.create_port_configuration(version, serviceInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->createPortConfiguration: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_createPortConfiguration_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createPortConfiguration_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_createPortConfiguration_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createPortConfiguration_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -13490,15 +13904,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_createPortConfiguration_body"></div> -</td> -</tr> + <div id="d2e199_createPortConfiguration_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -13508,43 +13922,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-createServiceInstance"> - <article id="api-OnapsoinfraserviceInstantiation-createServiceInstance-0" data-group="User" data-name="createServiceInstance" data-version="0"> - <div class="pull-left"> - <h1>createServiceInstance</h1> - <p>Create a Service Instance on a version provided</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-createServiceInstance-0" data-group="User" data-name="createServiceInstance" data-version="0"> + <div class="pull-left"> + <h1>createServiceInstance</h1> + <p>Create a Service Instance on a version provided</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -13556,10 +13970,10 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.createServiceInstance(version, body); } catch (ApiException e) { @@ -13568,17 +13982,17 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String body = body_example; // String | try { apiInstance.createServiceInstance(version, body); } catch (ApiException e) { @@ -13587,13 +14001,13 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -13607,17 +14021,17 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -13629,12 +14043,12 @@ var callback = function(error, data, response) { }; api.createServiceInstance(version, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -13647,10 +14061,10 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var body = body_example; // String | (optional) try { @@ -13665,15 +14079,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$body = body_example; // String | try { $api_instance->createServiceInstance($version, $body); @@ -13681,26 +14095,26 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createServiceInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->createServiceInstance(version => $version, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->createServiceInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createServiceInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -13709,59 +14123,59 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | +version = version_example # String | body = body_example # String | (optional) -try: +try: # Create a Service Instance on a version provided api_instance.create_service_instance(version, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->createServiceInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_createServiceInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createServiceInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -13787,15 +14201,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_createServiceInstance_body"></div> -</td> -</tr> + <div id="d2e199_createServiceInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -13805,43 +14219,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-createVfModuleInstance"> - <article id="api-OnapsoinfraserviceInstantiation-createVfModuleInstance-0" data-group="User" data-name="createVfModuleInstance" data-version="0"> - <div class="pull-left"> - <h1>createVfModuleInstance</h1> - <p>Create VfModule on a specified version, serviceInstance and vnfInstance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-createVfModuleInstance-0" data-group="User" data-name="createVfModuleInstance" data-version="0"> + <div class="pull-left"> + <h1>createVfModuleInstance</h1> + <p>Create VfModule on a specified version, serviceInstance and vnfInstance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -13853,12 +14267,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.createVfModuleInstance(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -13867,19 +14281,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.createVfModuleInstance(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -13888,15 +14302,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *vnfInstanceId = vnfInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *vnfInstanceId = vnfInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -13912,21 +14326,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var vnfInstanceId = vnfInstanceId_example; // {String} +var vnfInstanceId = vnfInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -13938,12 +14352,12 @@ var callback = function(error, data, response) { }; api.createVfModuleInstance(version, serviceInstanceId, vnfInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -13956,12 +14370,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var vnfInstanceId = vnfInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var vnfInstanceId = vnfInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -13976,17 +14390,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$vnfInstanceId = vnfInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$vnfInstanceId = vnfInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->createVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $body); @@ -13994,28 +14408,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createVfModuleInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $vnfInstanceId = vnfInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $vnfInstanceId = vnfInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->createVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->createVfModuleInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVfModuleInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -14024,101 +14438,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -vnfInstanceId = vnfInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +vnfInstanceId = vnfInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Create VfModule on a specified version, serviceInstance and vnfInstance api_instance.create_vf_module_instance(version, serviceInstanceId, vnfInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->createVfModuleInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_createVfModuleInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createVfModuleInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_createVfModuleInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createVfModuleInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vnfInstanceId*</td> -<td> + <tr><td style="width:150px;">vnfInstanceId*</td> + <td> - <div id="d2e199_createVfModuleInstance_vnfInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createVfModuleInstance_vnfInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -14144,15 +14558,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_createVfModuleInstance_body"></div> -</td> -</tr> + <div id="d2e199_createVfModuleInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -14162,43 +14576,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-createVnfInstance"> - <article id="api-OnapsoinfraserviceInstantiation-createVnfInstance-0" data-group="User" data-name="createVnfInstance" data-version="0"> - <div class="pull-left"> - <h1>createVnfInstance</h1> - <p>Create VNF on a specified version and serviceInstance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-createVnfInstance-0" data-group="User" data-name="createVnfInstance" data-version="0"> + <div class="pull-left"> + <h1>createVnfInstance</h1> + <p>Create VNF on a specified version and serviceInstance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -14210,11 +14624,11 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.createVnfInstance(version, serviceInstanceId, body); } catch (ApiException e) { @@ -14223,18 +14637,18 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.createVnfInstance(version, serviceInstanceId, body); } catch (ApiException e) { @@ -14243,14 +14657,14 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -14265,19 +14679,19 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -14289,12 +14703,12 @@ var callback = function(error, data, response) { }; api.createVnfInstance(version, serviceInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -14307,11 +14721,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -14326,16 +14740,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->createVnfInstance($version, $serviceInstanceId, $body); @@ -14343,27 +14757,27 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createVnfInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->createVnfInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->createVnfInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVnfInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -14372,80 +14786,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Create VNF on a specified version and serviceInstance api_instance.create_vnf_instance(version, serviceInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->createVnfInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_createVnfInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createVnfInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_createVnfInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createVnfInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -14471,15 +14885,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_createVnfInstance_body"></div> -</td> -</tr> + <div id="d2e199_createVnfInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -14489,43 +14903,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-createVolumeGroupInstance"> - <article id="api-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0" data-group="User" data-name="createVolumeGroupInstance" data-version="0"> - <div class="pull-left"> - <h1>createVolumeGroupInstance</h1> - <p>Create VolumeGroup on a specified version, serviceInstance, vnfInstance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0" data-group="User" data-name="createVolumeGroupInstance" data-version="0"> + <div class="pull-left"> + <h1>createVolumeGroupInstance</h1> + <p>Create VolumeGroup on a specified version, serviceInstance, vnfInstance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -14537,12 +14951,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.createVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -14551,19 +14965,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.createVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -14572,15 +14986,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *vnfInstanceId = vnfInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *vnfInstanceId = vnfInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -14596,21 +15010,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var vnfInstanceId = vnfInstanceId_example; // {String} +var vnfInstanceId = vnfInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -14622,12 +15036,12 @@ var callback = function(error, data, response) { }; api.createVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -14640,12 +15054,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var vnfInstanceId = vnfInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var vnfInstanceId = vnfInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -14660,17 +15074,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$vnfInstanceId = vnfInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$vnfInstanceId = vnfInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->createVolumeGroupInstance($version, $serviceInstanceId, $vnfInstanceId, $body); @@ -14678,28 +15092,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->createVolumeGroupInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $vnfInstanceId = vnfInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $vnfInstanceId = vnfInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->createVolumeGroupInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->createVolumeGroupInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-createVolumeGroupInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -14708,101 +15122,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -vnfInstanceId = vnfInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +vnfInstanceId = vnfInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Create VolumeGroup on a specified version, serviceInstance, vnfInstance api_instance.create_volume_group_instance(version, serviceInstanceId, vnfInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->createVolumeGroupInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_createVolumeGroupInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createVolumeGroupInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_createVolumeGroupInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createVolumeGroupInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vnfInstanceId*</td> -<td> + <tr><td style="width:150px;">vnfInstanceId*</td> + <td> - <div id="d2e199_createVolumeGroupInstance_vnfInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_createVolumeGroupInstance_vnfInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -14828,15 +15242,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_createVolumeGroupInstance_body"></div> -</td> -</tr> + <div id="d2e199_createVolumeGroupInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -14846,43 +15260,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance"> - <article id="api-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0" data-group="User" data-name="deactivateAndCloudDeleteVfModuleInstance" data-version="0"> - <div class="pull-left"> - <h1>deactivateAndCloudDeleteVfModuleInstance</h1> - <p>Deactivate and Cloud Delete VfModule instance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0" data-group="User" data-name="deactivateAndCloudDeleteVfModuleInstance" data-version="0"> + <div class="pull-left"> + <h1>deactivateAndCloudDeleteVfModuleInstance</h1> + <p>Deactivate and Cloud Delete VfModule instance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/deactivateAndCloudDelete"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -14894,13 +15308,13 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deactivateAndCloudDeleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body); } catch (ApiException e) { @@ -14909,20 +15323,20 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deactivateAndCloudDeleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body); } catch (ApiException e) { @@ -14931,16 +15345,16 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *vnfInstanceId = vnfInstanceId_example; // -String *vfmoduleInstanceId = vfmoduleInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *vnfInstanceId = vnfInstanceId_example; // +String *vfmoduleInstanceId = vfmoduleInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -14957,23 +15371,23 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var vnfInstanceId = vnfInstanceId_example; // {String} +var vnfInstanceId = vnfInstanceId_example; // {String} -var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String} +var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -14985,12 +15399,12 @@ var callback = function(error, data, response) { }; api.deactivateAndCloudDeleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -15003,13 +15417,13 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var vnfInstanceId = vnfInstanceId_example; // String | - var vfmoduleInstanceId = vfmoduleInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var vnfInstanceId = vnfInstanceId_example; // String | + var vfmoduleInstanceId = vfmoduleInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -15024,18 +15438,18 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$vnfInstanceId = vnfInstanceId_example; // String | -$vfmoduleInstanceId = vfmoduleInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$vnfInstanceId = vnfInstanceId_example; // String | +$vfmoduleInstanceId = vfmoduleInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->deactivateAndCloudDeleteVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $vfmoduleInstanceId, $body); @@ -15043,29 +15457,29 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deactivateAndCloudDeleteVfModuleInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $vnfInstanceId = vnfInstanceId_example; # String | -my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $vnfInstanceId = vnfInstanceId_example; # String | +my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->deactivateAndCloudDeleteVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, vfmoduleInstanceId => $vfmoduleInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->deactivateAndCloudDeleteVfModuleInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateAndCloudDeleteVfModuleInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -15074,122 +15488,122 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -vnfInstanceId = vnfInstanceId_example # String | -vfmoduleInstanceId = vfmoduleInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +vnfInstanceId = vnfInstanceId_example # String | +vfmoduleInstanceId = vfmoduleInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Deactivate and Cloud Delete VfModule instance api_instance.deactivate_and_cloud_delete_vf_module_instance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->deactivateAndCloudDeleteVfModuleInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vnfInstanceId*</td> -<td> + <tr><td style="width:150px;">vnfInstanceId*</td> + <td> - <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_vnfInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_vnfInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vfmoduleInstanceId*</td> -<td> + <tr><td style="width:150px;">vfmoduleInstanceId*</td> + <td> - <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_vfmoduleInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_vfmoduleInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -15215,15 +15629,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_body"></div> -</td> -</tr> + <div id="d2e199_deactivateAndCloudDeleteVfModuleInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -15233,43 +15647,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-deactivatePort"> - <article id="api-OnapsoinfraserviceInstantiation-deactivatePort-0" data-group="User" data-name="deactivatePort" data-version="0"> - <div class="pull-left"> - <h1>deactivatePort</h1> - <p>Deactivate Port Mirroring</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-deactivatePort-0" data-group="User" data-name="deactivatePort" data-version="0"> + <div class="pull-left"> + <h1>deactivatePort</h1> + <p>Deactivate Port Mirroring</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivatePort-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/deactivate"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -15281,12 +15695,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String configurationInstanceId = configurationInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String configurationInstanceId = configurationInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deactivatePort(version, serviceInstanceId, configurationInstanceId, body); } catch (ApiException e) { @@ -15295,19 +15709,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String configurationInstanceId = configurationInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String configurationInstanceId = configurationInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deactivatePort(version, serviceInstanceId, configurationInstanceId, body); } catch (ApiException e) { @@ -15316,15 +15730,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *configurationInstanceId = configurationInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *configurationInstanceId = configurationInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -15340,21 +15754,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var configurationInstanceId = configurationInstanceId_example; // {String} +var configurationInstanceId = configurationInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -15366,12 +15780,12 @@ var callback = function(error, data, response) { }; api.deactivatePort(version, serviceInstanceId, configurationInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -15384,12 +15798,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var configurationInstanceId = configurationInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var configurationInstanceId = configurationInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -15404,17 +15818,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$configurationInstanceId = configurationInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$configurationInstanceId = configurationInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->deactivatePort($version, $serviceInstanceId, $configurationInstanceId, $body); @@ -15422,28 +15836,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deactivatePort: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $configurationInstanceId = configurationInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $configurationInstanceId = configurationInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->deactivatePort(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->deactivatePort: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivatePort-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -15452,101 +15866,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -configurationInstanceId = configurationInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +configurationInstanceId = configurationInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Deactivate Port Mirroring api_instance.deactivate_port(version, serviceInstanceId, configurationInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->deactivatePort: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_deactivatePort_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deactivatePort_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_deactivatePort_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deactivatePort_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">configurationInstanceId*</td> -<td> + <tr><td style="width:150px;">configurationInstanceId*</td> + <td> - <div id="d2e199_deactivatePort_configurationInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deactivatePort_configurationInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -15572,15 +15986,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_deactivatePort_body"></div> -</td> -</tr> + <div id="d2e199_deactivatePort_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -15590,43 +16004,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-deactivateServiceInstance"> - <article id="api-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0" data-group="User" data-name="deactivateServiceInstance" data-version="0"> - <div class="pull-left"> - <h1>deactivateServiceInstance</h1> - <p>Deactivate provided Service Instance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/deactivate</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/deactivate"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0" data-group="User" data-name="deactivateServiceInstance" data-version="0"> + <div class="pull-left"> + <h1>deactivateServiceInstance</h1> + <p>Deactivate provided Service Instance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/deactivate</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/deactivate"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -15638,11 +16052,11 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deactivateServiceInstance(version, serviceInstanceId, body); } catch (ApiException e) { @@ -15651,18 +16065,18 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deactivateServiceInstance(version, serviceInstanceId, body); } catch (ApiException e) { @@ -15671,14 +16085,14 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -15693,19 +16107,19 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -15717,12 +16131,12 @@ var callback = function(error, data, response) { }; api.deactivateServiceInstance(version, serviceInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -15735,11 +16149,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -15754,16 +16168,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->deactivateServiceInstance($version, $serviceInstanceId, $body); @@ -15771,27 +16185,27 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deactivateServiceInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->deactivateServiceInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->deactivateServiceInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deactivateServiceInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -15800,80 +16214,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Deactivate provided Service Instance api_instance.deactivate_service_instance(version, serviceInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->deactivateServiceInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_deactivateServiceInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deactivateServiceInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_deactivateServiceInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deactivateServiceInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -15899,15 +16313,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_deactivateServiceInstance_body"></div> -</td> -</tr> + <div id="d2e199_deactivateServiceInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -15917,43 +16331,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-deleteNetworkInstance"> - <article id="api-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0" data-group="User" data-name="deleteNetworkInstance" data-version="0"> - <div class="pull-left"> - <h1>deleteNetworkInstance</h1> - <p>Delete provided Network instance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0" data-group="User" data-name="deleteNetworkInstance" data-version="0"> + <div class="pull-left"> + <h1>deleteNetworkInstance</h1> + <p>Delete provided Network instance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -15965,12 +16379,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String networkInstanceId = networkInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String networkInstanceId = networkInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deleteNetworkInstance(version, serviceInstanceId, networkInstanceId, body); } catch (ApiException e) { @@ -15979,19 +16393,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String networkInstanceId = networkInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String networkInstanceId = networkInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deleteNetworkInstance(version, serviceInstanceId, networkInstanceId, body); } catch (ApiException e) { @@ -16000,15 +16414,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *networkInstanceId = networkInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *networkInstanceId = networkInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -16024,21 +16438,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var networkInstanceId = networkInstanceId_example; // {String} +var networkInstanceId = networkInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -16050,12 +16464,12 @@ var callback = function(error, data, response) { }; api.deleteNetworkInstance(version, serviceInstanceId, networkInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -16068,12 +16482,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var networkInstanceId = networkInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var networkInstanceId = networkInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -16088,17 +16502,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$networkInstanceId = networkInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$networkInstanceId = networkInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->deleteNetworkInstance($version, $serviceInstanceId, $networkInstanceId, $body); @@ -16106,28 +16520,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteNetworkInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $networkInstanceId = networkInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $networkInstanceId = networkInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->deleteNetworkInstance(version => $version, serviceInstanceId => $serviceInstanceId, networkInstanceId => $networkInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteNetworkInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteNetworkInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -16136,101 +16550,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -networkInstanceId = networkInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +networkInstanceId = networkInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Delete provided Network instance api_instance.delete_network_instance(version, serviceInstanceId, networkInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteNetworkInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_deleteNetworkInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteNetworkInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_deleteNetworkInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteNetworkInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">networkInstanceId*</td> -<td> + <tr><td style="width:150px;">networkInstanceId*</td> + <td> - <div id="d2e199_deleteNetworkInstance_networkInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteNetworkInstance_networkInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -16256,15 +16670,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_deleteNetworkInstance_body"></div> -</td> -</tr> + <div id="d2e199_deleteNetworkInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -16274,43 +16688,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-deletePortConfiguration"> - <article id="api-OnapsoinfraserviceInstantiation-deletePortConfiguration-0" data-group="User" data-name="deletePortConfiguration" data-version="0"> - <div class="pull-left"> - <h1>deletePortConfiguration</h1> - <p>Delete provided Port</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-deletePortConfiguration-0" data-group="User" data-name="deletePortConfiguration" data-version="0"> + <div class="pull-left"> + <h1>deletePortConfiguration</h1> + <p>Delete provided Port</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -16322,12 +16736,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String configurationInstanceId = configurationInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String configurationInstanceId = configurationInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deletePortConfiguration(version, serviceInstanceId, configurationInstanceId, body); } catch (ApiException e) { @@ -16336,19 +16750,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String configurationInstanceId = configurationInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String configurationInstanceId = configurationInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deletePortConfiguration(version, serviceInstanceId, configurationInstanceId, body); } catch (ApiException e) { @@ -16357,15 +16771,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *configurationInstanceId = configurationInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *configurationInstanceId = configurationInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -16381,21 +16795,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var configurationInstanceId = configurationInstanceId_example; // {String} +var configurationInstanceId = configurationInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -16407,12 +16821,12 @@ var callback = function(error, data, response) { }; api.deletePortConfiguration(version, serviceInstanceId, configurationInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -16425,12 +16839,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var configurationInstanceId = configurationInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var configurationInstanceId = configurationInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -16445,17 +16859,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$configurationInstanceId = configurationInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$configurationInstanceId = configurationInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->deletePortConfiguration($version, $serviceInstanceId, $configurationInstanceId, $body); @@ -16463,28 +16877,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deletePortConfiguration: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $configurationInstanceId = configurationInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $configurationInstanceId = configurationInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->deletePortConfiguration(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->deletePortConfiguration: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deletePortConfiguration-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -16493,101 +16907,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -configurationInstanceId = configurationInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +configurationInstanceId = configurationInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Delete provided Port api_instance.delete_port_configuration(version, serviceInstanceId, configurationInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->deletePortConfiguration: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_deletePortConfiguration_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deletePortConfiguration_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_deletePortConfiguration_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deletePortConfiguration_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">configurationInstanceId*</td> -<td> + <tr><td style="width:150px;">configurationInstanceId*</td> + <td> - <div id="d2e199_deletePortConfiguration_configurationInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deletePortConfiguration_configurationInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -16613,15 +17027,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_deletePortConfiguration_body"></div> -</td> -</tr> + <div id="d2e199_deletePortConfiguration_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -16631,43 +17045,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-deleteServiceInstance"> - <article id="api-OnapsoinfraserviceInstantiation-deleteServiceInstance-0" data-group="User" data-name="deleteServiceInstance" data-version="0"> - <div class="pull-left"> - <h1>deleteServiceInstance</h1> - <p>Delete provided Service Instance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-deleteServiceInstance-0" data-group="User" data-name="deleteServiceInstance" data-version="0"> + <div class="pull-left"> + <h1>deleteServiceInstance</h1> + <p>Delete provided Service Instance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -16679,11 +17093,11 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deleteServiceInstance(version, serviceInstanceId, body); } catch (ApiException e) { @@ -16692,18 +17106,18 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deleteServiceInstance(version, serviceInstanceId, body); } catch (ApiException e) { @@ -16712,14 +17126,14 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -16734,19 +17148,19 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -16758,12 +17172,12 @@ var callback = function(error, data, response) { }; api.deleteServiceInstance(version, serviceInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -16776,11 +17190,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -16795,16 +17209,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->deleteServiceInstance($version, $serviceInstanceId, $body); @@ -16812,27 +17226,27 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteServiceInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->deleteServiceInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteServiceInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteServiceInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -16841,80 +17255,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Delete provided Service Instance api_instance.delete_service_instance(version, serviceInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteServiceInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_deleteServiceInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteServiceInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_deleteServiceInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteServiceInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -16940,15 +17354,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_deleteServiceInstance_body"></div> -</td> -</tr> + <div id="d2e199_deleteServiceInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -16958,43 +17372,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-deleteVfModuleInstance"> - <article id="api-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0" data-group="User" data-name="deleteVfModuleInstance" data-version="0"> - <div class="pull-left"> - <h1>deleteVfModuleInstance</h1> - <p>Delete provided VfModule instance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0" data-group="User" data-name="deleteVfModuleInstance" data-version="0"> + <div class="pull-left"> + <h1>deleteVfModuleInstance</h1> + <p>Delete provided VfModule instance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -17006,13 +17420,13 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body); } catch (ApiException e) { @@ -17021,20 +17435,20 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body); } catch (ApiException e) { @@ -17043,16 +17457,16 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *vnfInstanceId = vnfInstanceId_example; // -String *vfmoduleInstanceId = vfmoduleInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *vnfInstanceId = vnfInstanceId_example; // +String *vfmoduleInstanceId = vfmoduleInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -17069,23 +17483,23 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var vnfInstanceId = vnfInstanceId_example; // {String} +var vnfInstanceId = vnfInstanceId_example; // {String} -var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String} +var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -17097,12 +17511,12 @@ var callback = function(error, data, response) { }; api.deleteVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -17115,13 +17529,13 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var vnfInstanceId = vnfInstanceId_example; // String | - var vfmoduleInstanceId = vfmoduleInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var vnfInstanceId = vnfInstanceId_example; // String | + var vfmoduleInstanceId = vfmoduleInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -17136,18 +17550,18 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$vnfInstanceId = vnfInstanceId_example; // String | -$vfmoduleInstanceId = vfmoduleInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$vnfInstanceId = vnfInstanceId_example; // String | +$vfmoduleInstanceId = vfmoduleInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->deleteVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $vfmoduleInstanceId, $body); @@ -17155,29 +17569,29 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteVfModuleInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $vnfInstanceId = vnfInstanceId_example; # String | -my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $vnfInstanceId = vnfInstanceId_example; # String | +my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->deleteVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, vfmoduleInstanceId => $vfmoduleInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteVfModuleInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVfModuleInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -17186,122 +17600,122 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -vnfInstanceId = vnfInstanceId_example # String | -vfmoduleInstanceId = vfmoduleInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +vnfInstanceId = vnfInstanceId_example # String | +vfmoduleInstanceId = vfmoduleInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Delete provided VfModule instance api_instance.delete_vf_module_instance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteVfModuleInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_deleteVfModuleInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteVfModuleInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_deleteVfModuleInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteVfModuleInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vnfInstanceId*</td> -<td> + <tr><td style="width:150px;">vnfInstanceId*</td> + <td> - <div id="d2e199_deleteVfModuleInstance_vnfInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteVfModuleInstance_vnfInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vfmoduleInstanceId*</td> -<td> + <tr><td style="width:150px;">vfmoduleInstanceId*</td> + <td> - <div id="d2e199_deleteVfModuleInstance_vfmoduleInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteVfModuleInstance_vfmoduleInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -17327,15 +17741,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_deleteVfModuleInstance_body"></div> -</td> -</tr> + <div id="d2e199_deleteVfModuleInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -17345,43 +17759,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-deleteVnfInstance"> - <article id="api-OnapsoinfraserviceInstantiation-deleteVnfInstance-0" data-group="User" data-name="deleteVnfInstance" data-version="0"> - <div class="pull-left"> - <h1>deleteVnfInstance</h1> - <p>Delete provided VNF instance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-deleteVnfInstance-0" data-group="User" data-name="deleteVnfInstance" data-version="0"> + <div class="pull-left"> + <h1>deleteVnfInstance</h1> + <p>Delete provided VNF instance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -17393,12 +17807,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deleteVnfInstance(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -17407,19 +17821,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deleteVnfInstance(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -17428,15 +17842,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *vnfInstanceId = vnfInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *vnfInstanceId = vnfInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -17452,21 +17866,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var vnfInstanceId = vnfInstanceId_example; // {String} +var vnfInstanceId = vnfInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -17478,12 +17892,12 @@ var callback = function(error, data, response) { }; api.deleteVnfInstance(version, serviceInstanceId, vnfInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -17496,12 +17910,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var vnfInstanceId = vnfInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var vnfInstanceId = vnfInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -17516,17 +17930,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$vnfInstanceId = vnfInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$vnfInstanceId = vnfInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->deleteVnfInstance($version, $serviceInstanceId, $vnfInstanceId, $body); @@ -17534,28 +17948,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteVnfInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $vnfInstanceId = vnfInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $vnfInstanceId = vnfInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->deleteVnfInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteVnfInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVnfInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -17564,101 +17978,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -vnfInstanceId = vnfInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +vnfInstanceId = vnfInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Delete provided VNF instance api_instance.delete_vnf_instance(version, serviceInstanceId, vnfInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteVnfInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_deleteVnfInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteVnfInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_deleteVnfInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteVnfInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vnfInstanceId*</td> -<td> + <tr><td style="width:150px;">vnfInstanceId*</td> + <td> - <div id="d2e199_deleteVnfInstance_vnfInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteVnfInstance_vnfInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -17684,15 +18098,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_deleteVnfInstance_body"></div> -</td> -</tr> + <div id="d2e199_deleteVnfInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -17702,43 +18116,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance"> - <article id="api-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0" data-group="User" data-name="deleteVolumeGroupInstance" data-version="0"> - <div class="pull-left"> - <h1>deleteVolumeGroupInstance</h1> - <p>Delete provided VolumeGroup instance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0" data-group="User" data-name="deleteVolumeGroupInstance" data-version="0"> + <div class="pull-left"> + <h1>deleteVolumeGroupInstance</h1> + <p>Delete provided VolumeGroup instance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="delete"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X DELETE "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -17750,13 +18164,13 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String volumeGroupInstanceId = volumeGroupInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String volumeGroupInstanceId = volumeGroupInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deleteVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body); } catch (ApiException e) { @@ -17765,20 +18179,20 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String volumeGroupInstanceId = volumeGroupInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String volumeGroupInstanceId = volumeGroupInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.deleteVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body); } catch (ApiException e) { @@ -17787,16 +18201,16 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *vnfInstanceId = vnfInstanceId_example; // -String *volumeGroupInstanceId = volumeGroupInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *vnfInstanceId = vnfInstanceId_example; // +String *volumeGroupInstanceId = volumeGroupInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -17813,23 +18227,23 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var vnfInstanceId = vnfInstanceId_example; // {String} +var vnfInstanceId = vnfInstanceId_example; // {String} -var volumeGroupInstanceId = volumeGroupInstanceId_example; // {String} +var volumeGroupInstanceId = volumeGroupInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -17841,12 +18255,12 @@ var callback = function(error, data, response) { }; api.deleteVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -17859,13 +18273,13 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var vnfInstanceId = vnfInstanceId_example; // String | - var volumeGroupInstanceId = volumeGroupInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var vnfInstanceId = vnfInstanceId_example; // String | + var volumeGroupInstanceId = volumeGroupInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -17880,18 +18294,18 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$vnfInstanceId = vnfInstanceId_example; // String | -$volumeGroupInstanceId = volumeGroupInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$vnfInstanceId = vnfInstanceId_example; // String | +$volumeGroupInstanceId = volumeGroupInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->deleteVolumeGroupInstance($version, $serviceInstanceId, $vnfInstanceId, $volumeGroupInstanceId, $body); @@ -17899,29 +18313,29 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->deleteVolumeGroupInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $vnfInstanceId = vnfInstanceId_example; # String | -my $volumeGroupInstanceId = volumeGroupInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $vnfInstanceId = vnfInstanceId_example; # String | +my $volumeGroupInstanceId = volumeGroupInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->deleteVolumeGroupInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, volumeGroupInstanceId => $volumeGroupInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->deleteVolumeGroupInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-deleteVolumeGroupInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -17930,122 +18344,122 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -vnfInstanceId = vnfInstanceId_example # String | -volumeGroupInstanceId = volumeGroupInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +vnfInstanceId = vnfInstanceId_example # String | +volumeGroupInstanceId = volumeGroupInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Delete provided VolumeGroup instance api_instance.delete_volume_group_instance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->deleteVolumeGroupInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_deleteVolumeGroupInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteVolumeGroupInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_deleteVolumeGroupInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteVolumeGroupInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vnfInstanceId*</td> -<td> + <tr><td style="width:150px;">vnfInstanceId*</td> + <td> - <div id="d2e199_deleteVolumeGroupInstance_vnfInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteVolumeGroupInstance_vnfInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">volumeGroupInstanceId*</td> -<td> + <tr><td style="width:150px;">volumeGroupInstanceId*</td> + <td> - <div id="d2e199_deleteVolumeGroupInstance_volumeGroupInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_deleteVolumeGroupInstance_volumeGroupInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -18071,15 +18485,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_deleteVolumeGroupInstance_body"></div> -</td> -</tr> + <div id="d2e199_deleteVolumeGroupInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -18089,43 +18503,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-disablePort"> - <article id="api-OnapsoinfraserviceInstantiation-disablePort-0" data-group="User" data-name="disablePort" data-version="0"> - <div class="pull-left"> - <h1>disablePort</h1> - <p>Disable Port Mirroring</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-disablePort-0" data-group="User" data-name="disablePort" data-version="0"> + <div class="pull-left"> + <h1>disablePort</h1> + <p>Disable Port Mirroring</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-disablePort-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/disablePort"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -18137,12 +18551,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String configurationInstanceId = configurationInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String configurationInstanceId = configurationInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.disablePort(version, serviceInstanceId, configurationInstanceId, body); } catch (ApiException e) { @@ -18151,19 +18565,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String configurationInstanceId = configurationInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String configurationInstanceId = configurationInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.disablePort(version, serviceInstanceId, configurationInstanceId, body); } catch (ApiException e) { @@ -18172,15 +18586,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *configurationInstanceId = configurationInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *configurationInstanceId = configurationInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -18196,21 +18610,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var configurationInstanceId = configurationInstanceId_example; // {String} +var configurationInstanceId = configurationInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -18222,12 +18636,12 @@ var callback = function(error, data, response) { }; api.disablePort(version, serviceInstanceId, configurationInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -18240,12 +18654,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var configurationInstanceId = configurationInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var configurationInstanceId = configurationInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -18260,17 +18674,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$configurationInstanceId = configurationInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$configurationInstanceId = configurationInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->disablePort($version, $serviceInstanceId, $configurationInstanceId, $body); @@ -18278,28 +18692,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->disablePort: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $configurationInstanceId = configurationInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $configurationInstanceId = configurationInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->disablePort(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->disablePort: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-disablePort-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -18308,101 +18722,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -configurationInstanceId = configurationInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +configurationInstanceId = configurationInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Disable Port Mirroring api_instance.disable_port(version, serviceInstanceId, configurationInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->disablePort: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_disablePort_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_disablePort_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_disablePort_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_disablePort_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">configurationInstanceId*</td> -<td> + <tr><td style="width:150px;">configurationInstanceId*</td> + <td> - <div id="d2e199_disablePort_configurationInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_disablePort_configurationInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -18428,15 +18842,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_disablePort_body"></div> -</td> -</tr> + <div id="d2e199_disablePort_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -18446,43 +18860,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-enablePort"> - <article id="api-OnapsoinfraserviceInstantiation-enablePort-0" data-group="User" data-name="enablePort" data-version="0"> - <div class="pull-left"> - <h1>enablePort</h1> - <p>Enable Port Mirroring</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-enablePort-0" data-group="User" data-name="enablePort" data-version="0"> + <div class="pull-left"> + <h1>enablePort</h1> + <p>Enable Port Mirroring</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-enablePort-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/configurations/{configurationInstanceId}/enablePort"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -18494,12 +18908,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String configurationInstanceId = configurationInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String configurationInstanceId = configurationInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.enablePort(version, serviceInstanceId, configurationInstanceId, body); } catch (ApiException e) { @@ -18508,19 +18922,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String configurationInstanceId = configurationInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String configurationInstanceId = configurationInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.enablePort(version, serviceInstanceId, configurationInstanceId, body); } catch (ApiException e) { @@ -18529,15 +18943,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *configurationInstanceId = configurationInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *configurationInstanceId = configurationInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -18553,21 +18967,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var configurationInstanceId = configurationInstanceId_example; // {String} +var configurationInstanceId = configurationInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -18579,12 +18993,12 @@ var callback = function(error, data, response) { }; api.enablePort(version, serviceInstanceId, configurationInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -18597,12 +19011,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var configurationInstanceId = configurationInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var configurationInstanceId = configurationInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -18617,17 +19031,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$configurationInstanceId = configurationInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$configurationInstanceId = configurationInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->enablePort($version, $serviceInstanceId, $configurationInstanceId, $body); @@ -18635,28 +19049,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->enablePort: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $configurationInstanceId = configurationInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $configurationInstanceId = configurationInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->enablePort(version => $version, serviceInstanceId => $serviceInstanceId, configurationInstanceId => $configurationInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->enablePort: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-enablePort-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -18665,101 +19079,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -configurationInstanceId = configurationInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +configurationInstanceId = configurationInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Enable Port Mirroring api_instance.enable_port(version, serviceInstanceId, configurationInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->enablePort: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_enablePort_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_enablePort_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_enablePort_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_enablePort_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">configurationInstanceId*</td> -<td> + <tr><td style="width:150px;">configurationInstanceId*</td> + <td> - <div id="d2e199_enablePort_configurationInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_enablePort_configurationInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -18785,15 +19199,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_enablePort_body"></div> -</td> -</tr> + <div id="d2e199_enablePort_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -18803,43 +19217,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate"> - <article id="api-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0" data-group="User" data-name="inPlaceSoftwareUpdate" data-version="0"> - <div class="pull-left"> - <h1>inPlaceSoftwareUpdate</h1> - <p>Perform VNF software update</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0" data-group="User" data-name="inPlaceSoftwareUpdate" data-version="0"> + <div class="pull-left"> + <h1>inPlaceSoftwareUpdate</h1> + <p>Perform VNF software update</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/inPlaceSoftwareUpdate"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -18851,12 +19265,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.inPlaceSoftwareUpdate(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -18865,19 +19279,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.inPlaceSoftwareUpdate(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -18886,15 +19300,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *vnfInstanceId = vnfInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *vnfInstanceId = vnfInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -18910,21 +19324,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var vnfInstanceId = vnfInstanceId_example; // {String} +var vnfInstanceId = vnfInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -18936,12 +19350,12 @@ var callback = function(error, data, response) { }; api.inPlaceSoftwareUpdate(version, serviceInstanceId, vnfInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -18954,12 +19368,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var vnfInstanceId = vnfInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var vnfInstanceId = vnfInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -18974,17 +19388,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$vnfInstanceId = vnfInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$vnfInstanceId = vnfInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->inPlaceSoftwareUpdate($version, $serviceInstanceId, $vnfInstanceId, $body); @@ -18992,28 +19406,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->inPlaceSoftwareUpdate: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $vnfInstanceId = vnfInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $vnfInstanceId = vnfInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->inPlaceSoftwareUpdate(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->inPlaceSoftwareUpdate: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-inPlaceSoftwareUpdate-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -19022,101 +19436,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -vnfInstanceId = vnfInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +vnfInstanceId = vnfInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Perform VNF software update api_instance.in_place_software_update(version, serviceInstanceId, vnfInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->inPlaceSoftwareUpdate: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_inPlaceSoftwareUpdate_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_inPlaceSoftwareUpdate_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_inPlaceSoftwareUpdate_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_inPlaceSoftwareUpdate_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vnfInstanceId*</td> -<td> + <tr><td style="width:150px;">vnfInstanceId*</td> + <td> - <div id="d2e199_inPlaceSoftwareUpdate_vnfInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_inPlaceSoftwareUpdate_vnfInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -19142,15 +19556,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_inPlaceSoftwareUpdate_body"></div> -</td> -</tr> + <div id="d2e199_inPlaceSoftwareUpdate_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -19160,43 +19574,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-removeRelationships"> - <article id="api-OnapsoinfraserviceInstantiation-removeRelationships-0" data-group="User" data-name="removeRelationships" data-version="0"> - <div class="pull-left"> - <h1>removeRelationships</h1> - <p>Remove Relationships from Service Instance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/removeRelationships</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/removeRelationships"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-removeRelationships-0" data-group="User" data-name="removeRelationships" data-version="0"> + <div class="pull-left"> + <h1>removeRelationships</h1> + <p>Remove Relationships from Service Instance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/removeRelationships</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-removeRelationships-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/removeRelationships"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -19208,11 +19622,11 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.removeRelationships(version, serviceInstanceId, body); } catch (ApiException e) { @@ -19221,18 +19635,18 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.removeRelationships(version, serviceInstanceId, body); } catch (ApiException e) { @@ -19241,14 +19655,14 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -19263,19 +19677,19 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -19287,12 +19701,12 @@ var callback = function(error, data, response) { }; api.removeRelationships(version, serviceInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -19305,11 +19719,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -19324,16 +19738,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->removeRelationships($version, $serviceInstanceId, $body); @@ -19341,27 +19755,27 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->removeRelationships: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->removeRelationships(version => $version, serviceInstanceId => $serviceInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->removeRelationships: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-removeRelationships-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -19370,80 +19784,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Remove Relationships from Service Instance api_instance.remove_relationships(version, serviceInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->removeRelationships: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_removeRelationships_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_removeRelationships_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_removeRelationships_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_removeRelationships_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -19469,15 +19883,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_removeRelationships_body"></div> -</td> -</tr> + <div id="d2e199_removeRelationships_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -19487,43 +19901,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-replaceVfModuleInstance"> - <article id="api-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0" data-group="User" data-name="replaceVfModuleInstance" data-version="0"> - <div class="pull-left"> - <h1>replaceVfModuleInstance</h1> - <p>Create VfModule on a specified version, serviceInstance and vnfInstance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0" data-group="User" data-name="replaceVfModuleInstance" data-version="0"> + <div class="pull-left"> + <h1>replaceVfModuleInstance</h1> + <p>Create VfModule on a specified version, serviceInstance and vnfInstance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}/replace"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -19535,13 +19949,13 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.replaceVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body); } catch (ApiException e) { @@ -19550,20 +19964,20 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.replaceVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body); } catch (ApiException e) { @@ -19572,16 +19986,16 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *vnfInstanceId = vnfInstanceId_example; // -String *vfmoduleInstanceId = vfmoduleInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *vnfInstanceId = vnfInstanceId_example; // +String *vfmoduleInstanceId = vfmoduleInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -19598,23 +20012,23 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var vnfInstanceId = vnfInstanceId_example; // {String} +var vnfInstanceId = vnfInstanceId_example; // {String} -var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String} +var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -19626,12 +20040,12 @@ var callback = function(error, data, response) { }; api.replaceVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -19644,13 +20058,13 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var vnfInstanceId = vnfInstanceId_example; // String | - var vfmoduleInstanceId = vfmoduleInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var vnfInstanceId = vnfInstanceId_example; // String | + var vfmoduleInstanceId = vfmoduleInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -19665,18 +20079,18 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$vnfInstanceId = vnfInstanceId_example; // String | -$vfmoduleInstanceId = vfmoduleInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$vnfInstanceId = vnfInstanceId_example; // String | +$vfmoduleInstanceId = vfmoduleInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->replaceVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $vfmoduleInstanceId, $body); @@ -19684,29 +20098,29 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->replaceVfModuleInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $vnfInstanceId = vnfInstanceId_example; # String | -my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $vnfInstanceId = vnfInstanceId_example; # String | +my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->replaceVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, vfmoduleInstanceId => $vfmoduleInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->replaceVfModuleInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVfModuleInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -19715,122 +20129,122 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -vnfInstanceId = vnfInstanceId_example # String | -vfmoduleInstanceId = vfmoduleInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +vnfInstanceId = vnfInstanceId_example # String | +vfmoduleInstanceId = vfmoduleInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Create VfModule on a specified version, serviceInstance and vnfInstance api_instance.replace_vf_module_instance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->replaceVfModuleInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_replaceVfModuleInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_replaceVfModuleInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_replaceVfModuleInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_replaceVfModuleInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vnfInstanceId*</td> -<td> + <tr><td style="width:150px;">vnfInstanceId*</td> + <td> - <div id="d2e199_replaceVfModuleInstance_vnfInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_replaceVfModuleInstance_vnfInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vfmoduleInstanceId*</td> -<td> + <tr><td style="width:150px;">vfmoduleInstanceId*</td> + <td> - <div id="d2e199_replaceVfModuleInstance_vfmoduleInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_replaceVfModuleInstance_vfmoduleInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -19856,15 +20270,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_replaceVfModuleInstance_body"></div> -</td> -</tr> + <div id="d2e199_replaceVfModuleInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -19874,43 +20288,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-replaceVnfInstance"> - <article id="api-OnapsoinfraserviceInstantiation-replaceVnfInstance-0" data-group="User" data-name="replaceVnfInstance" data-version="0"> - <div class="pull-left"> - <h1>replaceVnfInstance</h1> - <p>Replace provided VNF instance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-replaceVnfInstance-0" data-group="User" data-name="replaceVnfInstance" data-version="0"> + <div class="pull-left"> + <h1>replaceVnfInstance</h1> + <p>Replace provided VNF instance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/replace"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -19922,12 +20336,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.replaceVnfInstance(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -19936,19 +20350,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.replaceVnfInstance(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -19957,15 +20371,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *vnfInstanceId = vnfInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *vnfInstanceId = vnfInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -19981,21 +20395,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var vnfInstanceId = vnfInstanceId_example; // {String} +var vnfInstanceId = vnfInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -20007,12 +20421,12 @@ var callback = function(error, data, response) { }; api.replaceVnfInstance(version, serviceInstanceId, vnfInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -20025,12 +20439,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var vnfInstanceId = vnfInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var vnfInstanceId = vnfInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -20045,17 +20459,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$vnfInstanceId = vnfInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$vnfInstanceId = vnfInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->replaceVnfInstance($version, $serviceInstanceId, $vnfInstanceId, $body); @@ -20063,28 +20477,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->replaceVnfInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $vnfInstanceId = vnfInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $vnfInstanceId = vnfInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->replaceVnfInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->replaceVnfInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-replaceVnfInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -20093,101 +20507,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -vnfInstanceId = vnfInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +vnfInstanceId = vnfInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Replace provided VNF instance api_instance.replace_vnf_instance(version, serviceInstanceId, vnfInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->replaceVnfInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_replaceVnfInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_replaceVnfInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_replaceVnfInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_replaceVnfInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vnfInstanceId*</td> -<td> + <tr><td style="width:150px;">vnfInstanceId*</td> + <td> - <div id="d2e199_replaceVnfInstance_vnfInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_replaceVnfInstance_vnfInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -20213,15 +20627,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_replaceVnfInstance_body"></div> -</td> -</tr> + <div id="d2e199_replaceVnfInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -20231,43 +20645,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-scaleOutVfModule"> - <article id="api-OnapsoinfraserviceInstantiation-scaleOutVfModule-0" data-group="User" data-name="scaleOutVfModule" data-version="0"> - <div class="pull-left"> - <h1>scaleOutVfModule</h1> - <p>VF Auto Scale Out</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-scaleOutVfModule-0" data-group="User" data-name="scaleOutVfModule" data-version="0"> + <div class="pull-left"> + <h1>scaleOutVfModule</h1> + <p>VF Auto Scale Out</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/scaleOut"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -20279,12 +20693,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.scaleOutVfModule(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -20293,19 +20707,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.scaleOutVfModule(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -20314,15 +20728,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *vnfInstanceId = vnfInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *vnfInstanceId = vnfInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -20338,21 +20752,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var vnfInstanceId = vnfInstanceId_example; // {String} +var vnfInstanceId = vnfInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -20364,12 +20778,12 @@ var callback = function(error, data, response) { }; api.scaleOutVfModule(version, serviceInstanceId, vnfInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -20382,12 +20796,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var vnfInstanceId = vnfInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var vnfInstanceId = vnfInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -20402,17 +20816,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$vnfInstanceId = vnfInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$vnfInstanceId = vnfInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->scaleOutVfModule($version, $serviceInstanceId, $vnfInstanceId, $body); @@ -20420,28 +20834,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->scaleOutVfModule: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $vnfInstanceId = vnfInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $vnfInstanceId = vnfInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->scaleOutVfModule(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->scaleOutVfModule: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-scaleOutVfModule-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -20450,101 +20864,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -vnfInstanceId = vnfInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +vnfInstanceId = vnfInstanceId_example # String | body = body_example # String | (optional) -try: +try: # VF Auto Scale Out api_instance.scale_out_vf_module(version, serviceInstanceId, vnfInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->scaleOutVfModule: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_scaleOutVfModule_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_scaleOutVfModule_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_scaleOutVfModule_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_scaleOutVfModule_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vnfInstanceId*</td> -<td> + <tr><td style="width:150px;">vnfInstanceId*</td> + <td> - <div id="d2e199_scaleOutVfModule_vnfInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_scaleOutVfModule_vnfInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -20570,15 +20984,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_scaleOutVfModule_body"></div> -</td> -</tr> + <div id="d2e199_scaleOutVfModule_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -20588,43 +21002,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-unassignServiceInstance"> - <article id="api-OnapsoinfraserviceInstantiation-unassignServiceInstance-0" data-group="User" data-name="unassignServiceInstance" data-version="0"> - <div class="pull-left"> - <h1>unassignServiceInstance</h1> - <p>Unassign Service Instance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/unassign</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/unassign"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-unassignServiceInstance-0" data-group="User" data-name="unassignServiceInstance" data-version="0"> + <div class="pull-left"> + <h1>unassignServiceInstance</h1> + <p>Unassign Service Instance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="post"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/unassign</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X POST "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/unassign"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -20636,11 +21050,11 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.unassignServiceInstance(version, serviceInstanceId, body); } catch (ApiException e) { @@ -20649,18 +21063,18 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.unassignServiceInstance(version, serviceInstanceId, body); } catch (ApiException e) { @@ -20669,14 +21083,14 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -20691,19 +21105,19 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -20715,12 +21129,12 @@ var callback = function(error, data, response) { }; api.unassignServiceInstance(version, serviceInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -20733,11 +21147,11 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -20752,16 +21166,16 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->unassignServiceInstance($version, $serviceInstanceId, $body); @@ -20769,27 +21183,27 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->unassignServiceInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->unassignServiceInstance(version => $version, serviceInstanceId => $serviceInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->unassignServiceInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-unassignServiceInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -20798,80 +21212,80 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Unassign Service Instance api_instance.unassign_service_instance(version, serviceInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->unassignServiceInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_unassignServiceInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_unassignServiceInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_unassignServiceInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_unassignServiceInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -20897,15 +21311,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_unassignServiceInstance_body"></div> -</td> -</tr> + <div id="d2e199_unassignServiceInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -20915,43 +21329,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-updateNetworkInstance"> - <article id="api-OnapsoinfraserviceInstantiation-updateNetworkInstance-0" data-group="User" data-name="updateNetworkInstance" data-version="0"> - <div class="pull-left"> - <h1>updateNetworkInstance</h1> - <p>Update VolumeGroup on a specified version, serviceInstance, networkInstance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-updateNetworkInstance-0" data-group="User" data-name="updateNetworkInstance" data-version="0"> + <div class="pull-left"> + <h1>updateNetworkInstance</h1> + <p>Update VolumeGroup on a specified version, serviceInstance, networkInstance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/networks/{networkInstanceId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -20963,12 +21377,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String networkInstanceId = networkInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String networkInstanceId = networkInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.updateNetworkInstance(version, serviceInstanceId, networkInstanceId, body); } catch (ApiException e) { @@ -20977,19 +21391,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String networkInstanceId = networkInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String networkInstanceId = networkInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.updateNetworkInstance(version, serviceInstanceId, networkInstanceId, body); } catch (ApiException e) { @@ -20998,15 +21412,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *networkInstanceId = networkInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *networkInstanceId = networkInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -21022,21 +21436,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var networkInstanceId = networkInstanceId_example; // {String} +var networkInstanceId = networkInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -21048,12 +21462,12 @@ var callback = function(error, data, response) { }; api.updateNetworkInstance(version, serviceInstanceId, networkInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -21066,12 +21480,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var networkInstanceId = networkInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var networkInstanceId = networkInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -21086,17 +21500,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$networkInstanceId = networkInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$networkInstanceId = networkInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->updateNetworkInstance($version, $serviceInstanceId, $networkInstanceId, $body); @@ -21104,28 +21518,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->updateNetworkInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $networkInstanceId = networkInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $networkInstanceId = networkInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->updateNetworkInstance(version => $version, serviceInstanceId => $serviceInstanceId, networkInstanceId => $networkInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->updateNetworkInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateNetworkInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -21134,101 +21548,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -networkInstanceId = networkInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +networkInstanceId = networkInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Update VolumeGroup on a specified version, serviceInstance, networkInstance api_instance.update_network_instance(version, serviceInstanceId, networkInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->updateNetworkInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_updateNetworkInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateNetworkInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_updateNetworkInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateNetworkInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">networkInstanceId*</td> -<td> + <tr><td style="width:150px;">networkInstanceId*</td> + <td> - <div id="d2e199_updateNetworkInstance_networkInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateNetworkInstance_networkInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -21254,15 +21668,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_updateNetworkInstance_body"></div> -</td> -</tr> + <div id="d2e199_updateNetworkInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -21272,43 +21686,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-updateVfModuleInstance"> - <article id="api-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0" data-group="User" data-name="updateVfModuleInstance" data-version="0"> - <div class="pull-left"> - <h1>updateVfModuleInstance</h1> - <p>Update VfModule on a specified version, serviceInstance, vnfInstance and vfModule</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0" data-group="User" data-name="updateVfModuleInstance" data-version="0"> + <div class="pull-left"> + <h1>updateVfModuleInstance</h1> + <p>Update VfModule on a specified version, serviceInstance, vnfInstance and vfModule</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/vfModules/{vfmoduleInstanceId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -21320,13 +21734,13 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.updateVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body); } catch (ApiException e) { @@ -21335,20 +21749,20 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String vfmoduleInstanceId = vfmoduleInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.updateVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body); } catch (ApiException e) { @@ -21357,16 +21771,16 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *vnfInstanceId = vnfInstanceId_example; // -String *vfmoduleInstanceId = vfmoduleInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *vnfInstanceId = vnfInstanceId_example; // +String *vfmoduleInstanceId = vfmoduleInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -21383,23 +21797,23 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var vnfInstanceId = vnfInstanceId_example; // {String} +var vnfInstanceId = vnfInstanceId_example; // {String} -var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String} +var vfmoduleInstanceId = vfmoduleInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -21411,12 +21825,12 @@ var callback = function(error, data, response) { }; api.updateVfModuleInstance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -21429,13 +21843,13 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var vnfInstanceId = vnfInstanceId_example; // String | - var vfmoduleInstanceId = vfmoduleInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var vnfInstanceId = vnfInstanceId_example; // String | + var vfmoduleInstanceId = vfmoduleInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -21450,18 +21864,18 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$vnfInstanceId = vnfInstanceId_example; // String | -$vfmoduleInstanceId = vfmoduleInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$vnfInstanceId = vnfInstanceId_example; // String | +$vfmoduleInstanceId = vfmoduleInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->updateVfModuleInstance($version, $serviceInstanceId, $vnfInstanceId, $vfmoduleInstanceId, $body); @@ -21469,29 +21883,29 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->updateVfModuleInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $vnfInstanceId = vnfInstanceId_example; # String | -my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $vnfInstanceId = vnfInstanceId_example; # String | +my $vfmoduleInstanceId = vfmoduleInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->updateVfModuleInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, vfmoduleInstanceId => $vfmoduleInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->updateVfModuleInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVfModuleInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -21500,122 +21914,122 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -vnfInstanceId = vnfInstanceId_example # String | -vfmoduleInstanceId = vfmoduleInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +vnfInstanceId = vnfInstanceId_example # String | +vfmoduleInstanceId = vfmoduleInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Update VfModule on a specified version, serviceInstance, vnfInstance and vfModule api_instance.update_vf_module_instance(version, serviceInstanceId, vnfInstanceId, vfmoduleInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->updateVfModuleInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_updateVfModuleInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateVfModuleInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_updateVfModuleInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateVfModuleInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vnfInstanceId*</td> -<td> + <tr><td style="width:150px;">vnfInstanceId*</td> + <td> - <div id="d2e199_updateVfModuleInstance_vnfInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateVfModuleInstance_vnfInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vfmoduleInstanceId*</td> -<td> + <tr><td style="width:150px;">vfmoduleInstanceId*</td> + <td> - <div id="d2e199_updateVfModuleInstance_vfmoduleInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateVfModuleInstance_vfmoduleInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -21641,15 +22055,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_updateVfModuleInstance_body"></div> -</td> -</tr> + <div id="d2e199_updateVfModuleInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -21659,43 +22073,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-updateVnfInstance"> - <article id="api-OnapsoinfraserviceInstantiation-updateVnfInstance-0" data-group="User" data-name="updateVnfInstance" data-version="0"> - <div class="pull-left"> - <h1>updateVnfInstance</h1> - <p>Update VNF on a specified version, serviceInstance and vnfInstance</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-updateVnfInstance-0" data-group="User" data-name="updateVnfInstance" data-version="0"> + <div class="pull-left"> + <h1>updateVnfInstance</h1> + <p>Update VNF on a specified version, serviceInstance and vnfInstance</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -21707,12 +22121,12 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.updateVnfInstance(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -21721,19 +22135,19 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.updateVnfInstance(version, serviceInstanceId, vnfInstanceId, body); } catch (ApiException e) { @@ -21742,15 +22156,15 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *vnfInstanceId = vnfInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *vnfInstanceId = vnfInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -21766,21 +22180,21 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var vnfInstanceId = vnfInstanceId_example; // {String} +var vnfInstanceId = vnfInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -21792,12 +22206,12 @@ var callback = function(error, data, response) { }; api.updateVnfInstance(version, serviceInstanceId, vnfInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -21810,12 +22224,12 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var vnfInstanceId = vnfInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var vnfInstanceId = vnfInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -21830,17 +22244,17 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$vnfInstanceId = vnfInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$vnfInstanceId = vnfInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->updateVnfInstance($version, $serviceInstanceId, $vnfInstanceId, $body); @@ -21848,28 +22262,28 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->updateVnfInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $vnfInstanceId = vnfInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $vnfInstanceId = vnfInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->updateVnfInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->updateVnfInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVnfInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -21878,101 +22292,101 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -vnfInstanceId = vnfInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +vnfInstanceId = vnfInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Update VNF on a specified version, serviceInstance and vnfInstance api_instance.update_vnf_instance(version, serviceInstanceId, vnfInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->updateVnfInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_updateVnfInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateVnfInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_updateVnfInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateVnfInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vnfInstanceId*</td> -<td> + <tr><td style="width:150px;">vnfInstanceId*</td> + <td> - <div id="d2e199_updateVnfInstance_vnfInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateVnfInstance_vnfInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -21998,15 +22412,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_updateVnfInstance_body"></div> -</td> -</tr> + <div id="d2e199_updateVnfInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -22016,43 +22430,43 @@ $(document).ready(function() { </div> </article> - </div> - <hr> + </div> + <hr> <div id="api-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance"> - <article id="api-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0" data-group="User" data-name="updateVolumeGroupInstance" data-version="0"> - <div class="pull-left"> - <h1>updateVolumeGroupInstance</h1> - <p>Update VolumeGroup on a specified version, serviceInstance, vnfInstance and volumeGroup</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}"</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-java"> + <article id="api-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0" data-group="User" data-name="updateVolumeGroupInstance" data-version="0"> + <div class="pull-left"> + <h1>updateVolumeGroupInstance</h1> + <p>Update VolumeGroup on a specified version, serviceInstance, vnfInstance and volumeGroup</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="put"><code><span class="pln">/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X PUT "http://localhost/onap/so/infra/serviceInstantiation/{version}/serviceInstances/{serviceInstanceId}/vnfs/{vnfInstanceId}/volumeGroups/{volumeGroupInstanceId}"</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -22064,13 +22478,13 @@ import java.util.*; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { - + OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String volumeGroupInstanceId = volumeGroupInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String volumeGroupInstanceId = volumeGroupInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.updateVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body); } catch (ApiException e) { @@ -22079,20 +22493,20 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraserviceInstantiationApi; public class OnapsoinfraserviceInstantiationApiExample { public static void main(String[] args) { OnapsoinfraserviceInstantiationApi apiInstance = new OnapsoinfraserviceInstantiationApi(); - String version = version_example; // String | - String serviceInstanceId = serviceInstanceId_example; // String | - String vnfInstanceId = vnfInstanceId_example; // String | - String volumeGroupInstanceId = volumeGroupInstanceId_example; // String | - String body = body_example; // String | + String version = version_example; // String | + String serviceInstanceId = serviceInstanceId_example; // String | + String vnfInstanceId = vnfInstanceId_example; // String | + String volumeGroupInstanceId = volumeGroupInstanceId_example; // String | + String body = body_example; // String | try { apiInstance.updateVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body); } catch (ApiException e) { @@ -22101,16 +22515,16 @@ public class OnapsoinfraserviceInstantiationApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // -String *serviceInstanceId = serviceInstanceId_example; // -String *vnfInstanceId = vnfInstanceId_example; // -String *volumeGroupInstanceId = volumeGroupInstanceId_example; // + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // +String *serviceInstanceId = serviceInstanceId_example; // +String *vnfInstanceId = vnfInstanceId_example; // +String *volumeGroupInstanceId = volumeGroupInstanceId_example; // String *body = body_example; // (optional) OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiationApi alloc] init]; @@ -22127,23 +22541,23 @@ OnapsoinfraserviceInstantiationApi *apiInstance = [[OnapsoinfraserviceInstantiat } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraserviceInstantiationApi() -var version = version_example; // {String} +var version = version_example; // {String} -var serviceInstanceId = serviceInstanceId_example; // {String} +var serviceInstanceId = serviceInstanceId_example; // {String} -var vnfInstanceId = vnfInstanceId_example; // {String} +var vnfInstanceId = vnfInstanceId_example; // {String} -var volumeGroupInstanceId = volumeGroupInstanceId_example; // {String} +var volumeGroupInstanceId = volumeGroupInstanceId_example; // {String} -var opts = { - 'body': body_example // {String} +var opts = { + 'body': body_example // {String} }; var callback = function(error, data, response) { @@ -22155,12 +22569,12 @@ var callback = function(error, data, response) { }; api.updateVolumeGroupInstance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -22173,13 +22587,13 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraserviceInstantiationApi(); - var version = version_example; // String | - var serviceInstanceId = serviceInstanceId_example; // String | - var vnfInstanceId = vnfInstanceId_example; // String | - var volumeGroupInstanceId = volumeGroupInstanceId_example; // String | - var body = body_example; // String | (optional) + var version = version_example; // String | + var serviceInstanceId = serviceInstanceId_example; // String | + var vnfInstanceId = vnfInstanceId_example; // String | + var volumeGroupInstanceId = volumeGroupInstanceId_example; // String | + var body = body_example; // String | (optional) try { @@ -22194,18 +22608,18 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraserviceInstantiationApi(); -$version = version_example; // String | -$serviceInstanceId = serviceInstanceId_example; // String | -$vnfInstanceId = vnfInstanceId_example; // String | -$volumeGroupInstanceId = volumeGroupInstanceId_example; // String | -$body = body_example; // String | +$version = version_example; // String | +$serviceInstanceId = serviceInstanceId_example; // String | +$vnfInstanceId = vnfInstanceId_example; // String | +$volumeGroupInstanceId = volumeGroupInstanceId_example; // String | +$body = body_example; // String | try { $api_instance->updateVolumeGroupInstance($version, $serviceInstanceId, $vnfInstanceId, $volumeGroupInstanceId, $body); @@ -22213,29 +22627,29 @@ try { echo 'Exception when calling OnapsoinfraserviceInstantiationApi->updateVolumeGroupInstance: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraserviceInstantiationApi->new(); -my $version = version_example; # String | -my $serviceInstanceId = serviceInstanceId_example; # String | -my $vnfInstanceId = vnfInstanceId_example; # String | -my $volumeGroupInstanceId = volumeGroupInstanceId_example; # String | -my $body = WWW::SwaggerClient::Object::String->new(); # String | +my $version = version_example; # String | +my $serviceInstanceId = serviceInstanceId_example; # String | +my $vnfInstanceId = vnfInstanceId_example; # String | +my $volumeGroupInstanceId = volumeGroupInstanceId_example; # String | +my $body = WWW::SwaggerClient::Object::String->new(); # String | -eval { +eval { $api_instance->updateVolumeGroupInstance(version => $version, serviceInstanceId => $serviceInstanceId, vnfInstanceId => $vnfInstanceId, volumeGroupInstanceId => $volumeGroupInstanceId, body => $body); }; if ($@) { warn "Exception when calling OnapsoinfraserviceInstantiationApi->updateVolumeGroupInstance: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraserviceInstantiation-updateVolumeGroupInstance-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -22244,122 +22658,122 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraserviceInstantiationApi() -version = version_example # String | -serviceInstanceId = serviceInstanceId_example # String | -vnfInstanceId = vnfInstanceId_example # String | -volumeGroupInstanceId = volumeGroupInstanceId_example # String | +version = version_example # String | +serviceInstanceId = serviceInstanceId_example # String | +vnfInstanceId = vnfInstanceId_example # String | +volumeGroupInstanceId = volumeGroupInstanceId_example # String | body = body_example # String | (optional) -try: +try: # Update VolumeGroup on a specified version, serviceInstance, vnfInstance and volumeGroup api_instance.update_volume_group_instance(version, serviceInstanceId, vnfInstanceId, volumeGroupInstanceId, body=body) except ApiException as e: print("Exception when calling OnapsoinfraserviceInstantiationApi->updateVolumeGroupInstance: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_updateVolumeGroupInstance_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateVolumeGroupInstance_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">serviceInstanceId*</td> -<td> + <tr><td style="width:150px;">serviceInstanceId*</td> + <td> - <div id="d2e199_updateVolumeGroupInstance_serviceInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateVolumeGroupInstance_serviceInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">vnfInstanceId*</td> -<td> + <tr><td style="width:150px;">vnfInstanceId*</td> + <td> - <div id="d2e199_updateVolumeGroupInstance_vnfInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateVolumeGroupInstance_vnfInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> - <tr><td style="width:150px;">volumeGroupInstanceId*</td> -<td> + <tr><td style="width:150px;">volumeGroupInstanceId*</td> + <td> - <div id="d2e199_updateVolumeGroupInstance_volumeGroupInstanceId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_updateVolumeGroupInstance_volumeGroupInstanceId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> <div class="methodsubtabletitle">Body parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">body </td> -<td> + <td> -<script> + <script> $(document).ready(function() { var schemaWrapper = { "in" : "body", @@ -22385,15 +22799,15 @@ $(document).ready(function() { result.append(view.render()); }); </script> -<div id="d2e199_updateVolumeGroupInstance_body"></div> -</td> -</tr> + <div id="d2e199_updateVolumeGroupInstance_body"></div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -22403,46 +22817,46 @@ $(document).ready(function() { </div> </article> - </div> - <hr> - </section> + </div> + <hr> + </section> <section id="api-Onapsoinfratasks"> - <h1>Onapsoinfratasks</h1> + <h1>Onapsoinfratasks</h1> <div id="api-Onapsoinfratasks-queryFilters"> - <article id="api-Onapsoinfratasks-queryFilters-0" data-group="User" data-name="queryFilters" data-version="0"> - <div class="pull-left"> - <h1>queryFilters</h1> - <p>Finds Manual Tasks</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/tasks/{version}</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-Onapsoinfratasks-queryFilters-0-curl">Curl</a></li> - <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-java">Java</a></li> - <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-android">Android</a></li> - <!--<li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-csharp">C#</a></li> - <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-php">PHP</a></li> - <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-perl">Perl</a></li> - <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-Onapsoinfratasks-queryFilters-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/tasks/{version}?taskId=&originalRequestId=&subscriptionServiceType=&nfRole=&buildingBlockName=&originalRequestDate=&originalRequestorId="</code></pre> - </div> - <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-java"> + <article id="api-Onapsoinfratasks-queryFilters-0" data-group="User" data-name="queryFilters" data-version="0"> + <div class="pull-left"> + <h1>queryFilters</h1> + <p>Finds Manual Tasks</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/tasks/{version}</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-Onapsoinfratasks-queryFilters-0-curl">Curl</a></li> + <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-java">Java</a></li> + <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-android">Android</a></li> + <!--<li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-csharp">C#</a></li> + <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-php">PHP</a></li> + <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-perl">Perl</a></li> + <li class=""><a href="#examples-Onapsoinfratasks-queryFilters-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-Onapsoinfratasks-queryFilters-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/tasks/{version}?taskId=&originalRequestId=&subscriptionServiceType=&nfRole=&buildingBlockName=&originalRequestDate=&originalRequestorId="</code></pre> + </div> + <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -22454,16 +22868,16 @@ import java.util.*; public class OnapsoinfratasksApiExample { public static void main(String[] args) { - + OnapsoinfratasksApi apiInstance = new OnapsoinfratasksApi(); - String version = version_example; // String | - String taskId = taskId_example; // String | - String originalRequestId = originalRequestId_example; // String | - String subscriptionServiceType = subscriptionServiceType_example; // String | - String nfRole = nfRole_example; // String | - String buildingBlockName = buildingBlockName_example; // String | - String originalRequestDate = originalRequestDate_example; // String | - String originalRequestorId = originalRequestorId_example; // String | + String version = version_example; // String | + String taskId = taskId_example; // String | + String originalRequestId = originalRequestId_example; // String | + String subscriptionServiceType = subscriptionServiceType_example; // String | + String nfRole = nfRole_example; // String | + String buildingBlockName = buildingBlockName_example; // String | + String originalRequestDate = originalRequestDate_example; // String | + String originalRequestorId = originalRequestorId_example; // String | try { apiInstance.queryFilters(version, taskId, originalRequestId, subscriptionServiceType, nfRole, buildingBlockName, originalRequestDate, originalRequestorId); } catch (ApiException e) { @@ -22472,23 +22886,23 @@ public class OnapsoinfratasksApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-android"> + <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfratasksApi; public class OnapsoinfratasksApiExample { public static void main(String[] args) { OnapsoinfratasksApi apiInstance = new OnapsoinfratasksApi(); - String version = version_example; // String | - String taskId = taskId_example; // String | - String originalRequestId = originalRequestId_example; // String | - String subscriptionServiceType = subscriptionServiceType_example; // String | - String nfRole = nfRole_example; // String | - String buildingBlockName = buildingBlockName_example; // String | - String originalRequestDate = originalRequestDate_example; // String | - String originalRequestorId = originalRequestorId_example; // String | + String version = version_example; // String | + String taskId = taskId_example; // String | + String originalRequestId = originalRequestId_example; // String | + String subscriptionServiceType = subscriptionServiceType_example; // String | + String nfRole = nfRole_example; // String | + String buildingBlockName = buildingBlockName_example; // String | + String originalRequestDate = originalRequestDate_example; // String | + String originalRequestorId = originalRequestorId_example; // String | try { apiInstance.queryFilters(version, taskId, originalRequestId, subscriptionServiceType, nfRole, buildingBlockName, originalRequestDate, originalRequestorId); } catch (ApiException e) { @@ -22497,13 +22911,13 @@ public class OnapsoinfratasksApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // + <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // String *taskId = taskId_example; // (optional) String *originalRequestId = originalRequestId_example; // (optional) String *subscriptionServiceType = subscriptionServiceType_example; // (optional) @@ -22529,23 +22943,23 @@ OnapsoinfratasksApi *apiInstance = [[OnapsoinfratasksApi alloc] init]; } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-javascript"> + <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfratasksApi() -var version = version_example; // {String} +var version = version_example; // {String} -var opts = { - 'taskId': taskId_example, // {String} - 'originalRequestId': originalRequestId_example, // {String} - 'subscriptionServiceType': subscriptionServiceType_example, // {String} - 'nfRole': nfRole_example, // {String} - 'buildingBlockName': buildingBlockName_example, // {String} - 'originalRequestDate': originalRequestDate_example, // {String} - 'originalRequestorId': originalRequestorId_example // {String} +var opts = { + 'taskId': taskId_example, // {String} + 'originalRequestId': originalRequestId_example, // {String} + 'subscriptionServiceType': subscriptionServiceType_example, // {String} + 'nfRole': nfRole_example, // {String} + 'buildingBlockName': buildingBlockName_example, // {String} + 'originalRequestDate': originalRequestDate_example, // {String} + 'originalRequestorId': originalRequestorId_example // {String} }; var callback = function(error, data, response) { @@ -22557,12 +22971,12 @@ var callback = function(error, data, response) { }; api.queryFilters(version, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-angular"> + <!--<div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-csharp"> + <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -22575,16 +22989,16 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfratasksApi(); - var version = version_example; // String | - var taskId = taskId_example; // String | (optional) - var originalRequestId = originalRequestId_example; // String | (optional) - var subscriptionServiceType = subscriptionServiceType_example; // String | (optional) - var nfRole = nfRole_example; // String | (optional) - var buildingBlockName = buildingBlockName_example; // String | (optional) - var originalRequestDate = originalRequestDate_example; // String | (optional) - var originalRequestorId = originalRequestorId_example; // String | (optional) + var version = version_example; // String | + var taskId = taskId_example; // String | (optional) + var originalRequestId = originalRequestId_example; // String | (optional) + var subscriptionServiceType = subscriptionServiceType_example; // String | (optional) + var nfRole = nfRole_example; // String | (optional) + var buildingBlockName = buildingBlockName_example; // String | (optional) + var originalRequestDate = originalRequestDate_example; // String | (optional) + var originalRequestorId = originalRequestorId_example; // String | (optional) try { @@ -22599,21 +23013,21 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-php"> + <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfratasksApi(); -$version = version_example; // String | -$taskId = taskId_example; // String | -$originalRequestId = originalRequestId_example; // String | -$subscriptionServiceType = subscriptionServiceType_example; // String | -$nfRole = nfRole_example; // String | -$buildingBlockName = buildingBlockName_example; // String | -$originalRequestDate = originalRequestDate_example; // String | -$originalRequestorId = originalRequestorId_example; // String | +$version = version_example; // String | +$taskId = taskId_example; // String | +$originalRequestId = originalRequestId_example; // String | +$subscriptionServiceType = subscriptionServiceType_example; // String | +$nfRole = nfRole_example; // String | +$buildingBlockName = buildingBlockName_example; // String | +$originalRequestDate = originalRequestDate_example; // String | +$originalRequestorId = originalRequestorId_example; // String | try { $api_instance->queryFilters($version, $taskId, $originalRequestId, $subscriptionServiceType, $nfRole, $buildingBlockName, $originalRequestDate, $originalRequestorId); @@ -22621,32 +23035,32 @@ try { echo 'Exception when calling OnapsoinfratasksApi->queryFilters: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-perl"> + <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfratasksApi; my $api_instance = WWW::SwaggerClient::OnapsoinfratasksApi->new(); -my $version = version_example; # String | -my $taskId = taskId_example; # String | -my $originalRequestId = originalRequestId_example; # String | -my $subscriptionServiceType = subscriptionServiceType_example; # String | -my $nfRole = nfRole_example; # String | -my $buildingBlockName = buildingBlockName_example; # String | -my $originalRequestDate = originalRequestDate_example; # String | -my $originalRequestorId = originalRequestorId_example; # String | - -eval { +my $version = version_example; # String | +my $taskId = taskId_example; # String | +my $originalRequestId = originalRequestId_example; # String | +my $subscriptionServiceType = subscriptionServiceType_example; # String | +my $nfRole = nfRole_example; # String | +my $buildingBlockName = buildingBlockName_example; # String | +my $originalRequestDate = originalRequestDate_example; # String | +my $originalRequestorId = originalRequestorId_example; # String | + +eval { $api_instance->queryFilters(version => $version, taskId => $taskId, originalRequestId => $originalRequestId, subscriptionServiceType => $subscriptionServiceType, nfRole => $nfRole, buildingBlockName => $buildingBlockName, originalRequestDate => $originalRequestDate, originalRequestorId => $originalRequestorId); }; if ($@) { warn "Exception when calling OnapsoinfratasksApi->queryFilters: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-python"> + <div class="tab-pane" id="examples-Onapsoinfratasks-queryFilters-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -22655,7 +23069,7 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfratasksApi() -version = version_example # String | +version = version_example # String | taskId = taskId_example # String | (optional) originalRequestId = originalRequestId_example # String | (optional) subscriptionServiceType = subscriptionServiceType_example # String | (optional) @@ -22664,41 +23078,41 @@ buildingBlockName = buildingBlockName_example # String | (optional) originalRequestDate = originalRequestDate_example # String | (optional) originalRequestorId = originalRequestorId_example # String | (optional) -try: +try: # Finds Manual Tasks api_instance.query_filters(version, taskId=taskId, originalRequestId=originalRequestId, subscriptionServiceType=subscriptionServiceType, nfRole=nfRole, buildingBlockName=buildingBlockName, originalRequestDate=originalRequestDate, originalRequestorId=originalRequestorId) except ApiException as e: print("Exception when calling OnapsoinfratasksApi->queryFilters: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_queryFilters_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_queryFilters_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> @@ -22707,132 +23121,132 @@ except ApiException as e: <div class="methodsubtabletitle">Query parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">taskId</td> -<td> + <td> - <div id="d2e199_queryFilters_taskId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_queryFilters_taskId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - </div> - </div> -</td> -</tr> + </div> + </div> + </div> + </td> + </tr> <tr><td style="width:150px;">originalRequestId</td> -<td> + <td> - <div id="d2e199_queryFilters_originalRequestId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_queryFilters_originalRequestId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - </div> - </div> -</td> -</tr> + </div> + </div> + </div> + </td> + </tr> <tr><td style="width:150px;">subscriptionServiceType</td> -<td> + <td> - <div id="d2e199_queryFilters_subscriptionServiceType"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_queryFilters_subscriptionServiceType"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - </div> - </div> -</td> -</tr> + </div> + </div> + </div> + </td> + </tr> <tr><td style="width:150px;">nfRole</td> -<td> + <td> - <div id="d2e199_queryFilters_nfRole"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_queryFilters_nfRole"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - </div> - </div> -</td> -</tr> + </div> + </div> + </div> + </td> + </tr> <tr><td style="width:150px;">buildingBlockName</td> -<td> + <td> - <div id="d2e199_queryFilters_buildingBlockName"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_queryFilters_buildingBlockName"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - </div> - </div> -</td> -</tr> + </div> + </div> + </div> + </td> + </tr> <tr><td style="width:150px;">originalRequestDate</td> -<td> + <td> - <div id="d2e199_queryFilters_originalRequestDate"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_queryFilters_originalRequestDate"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - </div> - </div> -</td> -</tr> + </div> + </div> + </div> + </td> + </tr> <tr><td style="width:150px;">originalRequestorId</td> -<td> + <td> - <div id="d2e199_queryFilters_originalRequestorId"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_queryFilters_originalRequestorId"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - </div> - </div> -</td> -</tr> + </div> + </div> + </div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > @@ -22842,46 +23256,46 @@ except ApiException as e: </div> </article> - </div> - <hr> - </section> + </div> + <hr> + </section> <section id="api-OnapsoinfraworkflowSpecifications"> - <h1>OnapsoinfraworkflowSpecifications</h1> + <h1>OnapsoinfraworkflowSpecifications</h1> <div id="api-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications"> - <article id="api-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0" data-group="User" data-name="queryWorkflowSpecifications" data-version="0"> - <div class="pull-left"> - <h1>queryWorkflowSpecifications</h1> - <p>Retrieve Workflow details based on the filter criteria</p> - </div> - <div class="pull-right"></div> - <div class="clearfix"></div> - <p></p> - <p class="marked"></p> - <p></p> - <br /> - <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/workflowSpecifications/{version}/workflows</span></code></pre> - <p> - <h3>Usage and SDK Samples</h3> - </p> - <ul class="nav nav-tabs nav-tabs-examples"> - <li class="active"><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-curl">Curl</a></li> - <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-java">Java</a></li> - <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-android">Android</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-groovy">Groovy</a></li>--> - <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-objc">Obj-C</a></li> - <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-javascript">JavaScript</a></li> - <!--<li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-angular">Angular</a></li>--> - <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-csharp">C#</a></li> - <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-php">PHP</a></li> - <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-perl">Perl</a></li> - <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-python">Python</a></li> - </ul> - - <div class="tab-content"> - <div class="tab-pane active" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-curl"> - <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/workflowSpecifications/{version}/workflows?resourceTarget="</code></pre> - </div> - <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-java"> + <article id="api-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0" data-group="User" data-name="queryWorkflowSpecifications" data-version="0"> + <div class="pull-left"> + <h1>queryWorkflowSpecifications</h1> + <p>Retrieve Workflow details based on the filter criteria</p> + </div> + <div class="pull-right"></div> + <div class="clearfix"></div> + <p></p> + <p class="marked"></p> + <p></p> + <br /> + <pre class="prettyprint language-html prettyprinted" data-type="get"><code><span class="pln">/onap/so/infra/workflowSpecifications/{version}/workflows</span></code></pre> + <p> + <h3>Usage and SDK Samples</h3> + </p> + <ul class="nav nav-tabs nav-tabs-examples"> + <li class="active"><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-curl">Curl</a></li> + <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-java">Java</a></li> + <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-android">Android</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-groovy">Groovy</a></li>--> + <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-objc">Obj-C</a></li> + <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-javascript">JavaScript</a></li> + <!--<li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-angular">Angular</a></li>--> + <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-csharp">C#</a></li> + <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-php">PHP</a></li> + <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-perl">Perl</a></li> + <li class=""><a href="#examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-python">Python</a></li> + </ul> + + <div class="tab-content"> + <div class="tab-pane active" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-curl"> + <pre class="prettyprint"><code class="language-bsh">curl -X GET "http://localhost/onap/so/infra/workflowSpecifications/{version}/workflows?resourceTarget="</code></pre> + </div> + <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-java"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.*; import io.swagger.client.auth.*; import io.swagger.client.model.*; @@ -22893,10 +23307,10 @@ import java.util.*; public class OnapsoinfraworkflowSpecificationsApiExample { public static void main(String[] args) { - + OnapsoinfraworkflowSpecificationsApi apiInstance = new OnapsoinfraworkflowSpecificationsApi(); - String version = version_example; // String | - String resourceTarget = resourceTarget_example; // String | + String version = version_example; // String | + String resourceTarget = resourceTarget_example; // String | try { RetrievingWorkflowResponse result = apiInstance.queryWorkflowSpecifications(version, resourceTarget); System.out.println(result); @@ -22906,17 +23320,17 @@ public class OnapsoinfraworkflowSpecificationsApiExample { } } }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-android"> + <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-android"> <pre class="prettyprint"><code class="language-java">import io.swagger.client.api.OnapsoinfraworkflowSpecificationsApi; public class OnapsoinfraworkflowSpecificationsApiExample { public static void main(String[] args) { OnapsoinfraworkflowSpecificationsApi apiInstance = new OnapsoinfraworkflowSpecificationsApi(); - String version = version_example; // String | - String resourceTarget = resourceTarget_example; // String | + String version = version_example; // String | + String resourceTarget = resourceTarget_example; // String | try { RetrievingWorkflowResponse result = apiInstance.queryWorkflowSpecifications(version, resourceTarget); System.out.println(result); @@ -22926,13 +23340,13 @@ public class OnapsoinfraworkflowSpecificationsApiExample { } } }</code></pre> - </div> - <!-- + </div> + <!-- <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-groovy"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div> --> - <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-objc"> - <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // + <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-objc"> + <pre class="prettyprint"><code class="language-cpp">String *version = version_example; // String *resourceTarget = resourceTarget_example; // (optional) OnapsoinfraworkflowSpecificationsApi *apiInstance = [[OnapsoinfraworkflowSpecificationsApi alloc] init]; @@ -22949,17 +23363,17 @@ OnapsoinfraworkflowSpecificationsApi *apiInstance = [[OnapsoinfraworkflowSpecifi } }]; </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-javascript"> + <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-javascript"> <pre class="prettyprint"><code class="language-js">var SoGuilinApIs = require('so_guilin_ap_is'); var api = new SoGuilinApIs.OnapsoinfraworkflowSpecificationsApi() -var version = version_example; // {String} +var version = version_example; // {String} -var opts = { - 'resourceTarget': resourceTarget_example // {String} +var opts = { + 'resourceTarget': resourceTarget_example // {String} }; var callback = function(error, data, response) { @@ -22971,12 +23385,12 @@ var callback = function(error, data, response) { }; api.queryWorkflowSpecifications(version, opts, callback); </code></pre> - </div> + </div> - <!--<div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-angular"> + <!--<div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-angular"> <pre class="prettyprint language-json prettyprinted" data-type="json"><code>Coming Soon!</code></pre> </div>--> - <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-csharp"> + <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-csharp"> <pre class="prettyprint"><code class="language-cs">using System; using System.Diagnostics; using IO.Swagger.Api; @@ -22989,10 +23403,10 @@ namespace Example { public void main() { - + var apiInstance = new OnapsoinfraworkflowSpecificationsApi(); - var version = version_example; // String | - var resourceTarget = resourceTarget_example; // String | (optional) + var version = version_example; // String | + var resourceTarget = resourceTarget_example; // String | (optional) try { @@ -23008,15 +23422,15 @@ namespace Example } } </code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-php"> + <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-php"> <pre class="prettyprint"><code class="language-php"><?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\Api\OnapsoinfraworkflowSpecificationsApi(); -$version = version_example; // String | -$resourceTarget = resourceTarget_example; // String | +$version = version_example; // String | +$resourceTarget = resourceTarget_example; // String | try { $result = $api_instance->queryWorkflowSpecifications($version, $resourceTarget); @@ -23025,27 +23439,27 @@ try { echo 'Exception when calling OnapsoinfraworkflowSpecificationsApi->queryWorkflowSpecifications: ', $e->getMessage(), PHP_EOL; } ?></code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-perl"> + <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-perl"> <pre class="prettyprint"><code class="language-perl">use Data::Dumper; use WWW::SwaggerClient::Configuration; use WWW::SwaggerClient::OnapsoinfraworkflowSpecificationsApi; my $api_instance = WWW::SwaggerClient::OnapsoinfraworkflowSpecificationsApi->new(); -my $version = version_example; # String | -my $resourceTarget = resourceTarget_example; # String | +my $version = version_example; # String | +my $resourceTarget = resourceTarget_example; # String | -eval { +eval { my $result = $api_instance->queryWorkflowSpecifications(version => $version, resourceTarget => $resourceTarget); print Dumper($result); }; if ($@) { warn "Exception when calling OnapsoinfraworkflowSpecificationsApi->queryWorkflowSpecifications: $@\n"; }</code></pre> - </div> + </div> - <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-python"> + <div class="tab-pane" id="examples-OnapsoinfraworkflowSpecifications-queryWorkflowSpecifications-0-python"> <pre class="prettyprint"><code class="language-python">from __future__ import print_statement import time import swagger_client @@ -23054,45 +23468,45 @@ from pprint import pprint # create an instance of the API class api_instance = swagger_client.OnapsoinfraworkflowSpecificationsApi() -version = version_example # String | +version = version_example # String | resourceTarget = resourceTarget_example # String | (optional) -try: +try: # Retrieve Workflow details based on the filter criteria api_response = api_instance.query_workflow_specifications(version, resourceTarget=resourceTarget) pprint(api_response) except ApiException as e: print("Exception when calling OnapsoinfraworkflowSpecificationsApi->queryWorkflowSpecifications: %s\n" % e)</code></pre> + </div> </div> - </div> - <h2>Parameters</h2> + <h2>Parameters</h2> <div class="methodsubtabletitle">Path parameters</div> <table id="methodsubtable"> <tr> - <th width="150px">Name</th> - <th>Description</th> + <th width="150px">Name</th> + <th>Description</th> </tr> - <tr><td style="width:150px;">version*</td> -<td> + <tr><td style="width:150px;">version*</td> + <td> - <div id="d2e199_queryWorkflowSpecifications_version"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_queryWorkflowSpecifications_version"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - <div class="inner required"> - Required - </div> - </div> - </div> -</td> -</tr> + </div> + <div class="inner required"> + Required + </div> + </div> + </div> + </td> + </tr> </table> @@ -23101,43 +23515,43 @@ except ApiException as e: <div class="methodsubtabletitle">Query parameters</div> <table id="methodsubtable"> - <tr> - <th width="150px">Name</th> - <th>Description</th> - </tr> + <tr> + <th width="150px">Name</th> + <th>Description</th> + </tr> <tr><td style="width:150px;">resourceTarget</td> -<td> + <td> - <div id="d2e199_queryWorkflowSpecifications_resourceTarget"> - <div class="json-schema-view"> - <div class="primitive"> + <div id="d2e199_queryWorkflowSpecifications_resourceTarget"> + <div class="json-schema-view"> + <div class="primitive"> <span class="type"> String </span> - </div> - </div> - </div> -</td> -</tr> + </div> + </div> + </div> + </td> + </tr> </table> - <h2>Responses</h2> + <h2>Responses</h2> <h3> Status: default - List of workflow specifications on successful operation </h3> <ul class="nav nav-tabs nav-tabs-examples" > <li class="active"> - <a data-toggle="tab" href="#responses-queryWorkflowSpecifications-default-schema">Schema</a> + <a data-toggle="tab" href="#responses-queryWorkflowSpecifications-default-schema">Schema</a> </li> </ul> <div class="tab-content" style='margin-bottom: 10px;'> <div class="tab-pane active" id="responses-queryWorkflowSpecifications-default-schema"> - <div id='responses-queryWorkflowSpecifications-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;"> - <script> + <div id='responses-queryWorkflowSpecifications-default-schema-default' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;"> + <script> $(document).ready(function() { var schemaWrapper = { "description" : "List of workflow specifications on successful operation", @@ -23163,30 +23577,30 @@ except ApiException as e: result.append(view.render()); }); </script> - </div> - <input id='responses-queryWorkflowSpecifications-default-schema-data' type='hidden' value=''></input> + </div> + <input id='responses-queryWorkflowSpecifications-default-schema-data' type='hidden' value=''></input> </div> </div> </article> - </div> - <hr> - </section> - </div> - <div id="footer"> - <div id="api-_footer"> - <p>Suggestions, contact, support and error reporting; - <div class="app-desc">Information URL: <a href="https://helloreverb.com">https://helloreverb.com</a></div> - <div class="app-desc">Contact Info: <a href="hello@helloreverb.com">hello@helloreverb.com</a></div> - </p> - <div class="license-info">All rights reserved</div> - <div class="license-url">http://apache.org/licenses/LICENSE-2.0.html</div> + </div> + <hr> + </section> + </div> + <div id="footer"> + <div id="api-_footer"> + <p>Suggestions, contact, support and error reporting; + <div class="app-desc">Information URL: <a href="https://helloreverb.com">https://helloreverb.com</a></div> + <div class="app-desc">Contact Info: <a href="hello@helloreverb.com">hello@helloreverb.com</a></div> + </p> + <div class="license-info">All rights reserved</div> + <div class="license-url">http://apache.org/licenses/LICENSE-2.0.html</div> + </div> </div> - </div> - </div> + </div> </div> - </div> - <script> +</div> +<script> (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); @@ -23685,7 +24099,7 @@ return /******/ (function(modules) { // webpackBootstrap /***/ function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag - + // load the styles var content = __webpack_require__(3); if(typeof content === 'string') content = [[module.id, content, '']]; @@ -23712,11 +24126,11 @@ return /******/ (function(modules) { // webpackBootstrap exports = module.exports = __webpack_require__(4)(); // imports - - + + // module exports.push([module.id, ".json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-row,\n.json-formatter-row a,\n.json-formatter-row a:hover {\n color: black;\n text-decoration: none;\n}\n.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-row .json-formatter-string {\n color: green;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-row .json-formatter-number {\n color: blue;\n}\n.json-formatter-row .json-formatter-boolean {\n color: red;\n}\n.json-formatter-row .json-formatter-null {\n color: #855A00;\n}\n.json-formatter-row .json-formatter-undefined {\n color: #ca0b69;\n}\n.json-formatter-row .json-formatter-function {\n color: #FF20ED;\n}\n.json-formatter-row .json-formatter-date {\n background-color: rgba(0, 0, 0, 0.05);\n}\n.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: blue;\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-bracket {\n color: blue;\n}\n.json-formatter-row .json-formatter-key {\n color: #00008B;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"\\25BA\";\n}\n.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n.json-formatter-dark.json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-dark.json-formatter-row,\n.json-formatter-dark.json-formatter-row a,\n.json-formatter-dark.json-formatter-row a:hover {\n color: white;\n text-decoration: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-string {\n color: #31F031;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-number {\n color: #66C2FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-boolean {\n color: #EC4242;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-null {\n color: #EEC97D;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-undefined {\n color: #ef8fbe;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-function {\n color: #FD48CB;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-date {\n background-color: rgba(255, 255, 255, 0.05);\n}\n.json-formatter-dark.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: #027BFF;\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-bracket {\n color: #9494FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-key {\n color: #23A0DB;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"\\25BA\";\n}\n.json-formatter-dark.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-dark.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n", "", {"version":3,"sources":["/./src/style.less","/./src/style.less"],"names":[],"mappings":"AA0GA;EA3FE,uBAAA;CCbD;ADcC;;;EACE,aAAA;EACA,sBAAA;CCVH;ADkGD;EApFI,kBAAA;CCXH;ADeG;EACE,aAAA;EACA,kBAAA;CCbL;ADeK;EAAU,cAAA;CCZf;ADaK;EAAgC,yBAAA;CCVrC;ADWK;EAA+B,cAAA;CCRpC;ADkFD;EArEI,aAAA;EACA,iBAAA;EACA,sBAAA;CCVH;AD6ED;EAjE2B,YAAA;CCT1B;AD0ED;EAhE4B,WAAA;CCP3B;ADuED;EA/DyB,eAAA;CCLxB;ADoED;EA9D8B,eAAA;CCH7B;ADiED;EA7D6B,eAAA;CCD5B;AD8DD;EA5DyB,sCAAA;CCCxB;AD2DD;EA1DI,2BAAA;EACA,YAAA;EACA,gBAAA;CCEH;ADsDD;EArD4B,YAAA;CCE3B;ADmDD;EAnDI,eAAA;EACA,gBAAA;EACA,sBAAA;CCGH;AD8CD;EA9CI,gBAAA;CCGH;AD2CD;EA1CI,oBAAA;EACA,kBAAA;EACA,uBAAA;EACA,aAAA;EACA,gBAAA;EACA,sBAAA;CCEH;ADAG;EACE,sBAAA;EACA,oCAAA;EACA,iBAAA;CCEL;AD8BD;EA1BI,WAAA;EACA,kCAAA;EACA,mBAAA;CCDH;ADGC;EACE,aAAA;CCDH;ADKC;EAEI,yBAAA;CCJL;ADEC;EAKI,sBAAA;CCJL;ADDC;EAQI,cAAA;CCJL;ADMG;EACE,eAAA;CCJL;ADeD;EAhGE,uBAAA;CCoFD;ADnFC;;;EACE,aAAA;EACA,sBAAA;CCuFH;ADMD;EAzFI,kBAAA;CCsFH;ADlFG;EACE,aAAA;EACA,kBAAA;CCoFL;ADlFK;EAAU,cAAA;CCqFf;ADpFK;EAAgC,yBAAA;CCuFrC;ADtFK;EAA+B,cAAA;CCyFpC;ADVD;EA1EI,eAAA;EACA,iBAAA;EACA,sBAAA;CCuFH;ADfD;EAtE2B,eAAA;CCwF1B;ADlBD;EArE4B,eAAA;CC0F3B;ADrBD;EApEyB,eAAA;CC4FxB;ADxBD;EAnE8B,eAAA;CC8F7B;AD3BD;EAlE6B,eAAA;CCgG5B;AD9BD;EAjEyB,4CAAA;CCkGxB;ADjCD;EA/DI,2BAAA;EACA,eAAA;EACA,gBAAA;CCmGH;ADtCD;EA1D4B,eAAA;CCmG3B;ADzCD;EAxDI,eAAA;EACA,gBAAA;EACA,sBAAA;CCoGH;AD9CD;EAnDI,gBAAA;CCoGH;ADjDD;EA/CI,oBAAA;EACA,kBAAA;EACA,uBAAA;EACA,aAAA;EACA,gBAAA;EACA,sBAAA;CCmGH;ADjGG;EACE,sBAAA;EACA,oCAAA;EACA,iBAAA;CCmGL;AD9DD;EA/BI,WAAA;EACA,kCAAA;EACA,mBAAA;CCgGH;AD9FC;EACE,aAAA;CCgGH;AD5FC;EAEI,yBAAA;CC6FL;AD/FC;EAKI,sBAAA;CC6FL;ADlGC;EAQI,cAAA;CC6FL;AD3FG;EACE,eAAA;CC6FL","file":"style.less","sourcesContent":[".theme(\n @default-color: black,\n @string-color: green,\n @number-color: blue,\n @boolean-color: red,\n @null-color: #855A00,\n @undefined-color: rgb(202, 11, 105),\n @function-color: #FF20ED,\n @rotate-time: 100ms,\n @toggler-opacity: 0.6,\n @toggler-color: #45376F,\n @bracket-color: blue,\n @key-color: #00008B,\n @url-color: blue ){\n\n font-family: monospace;\n &, a, a:hover {\n color: @default-color;\n text-decoration: none;\n }\n\n .json-formatter-row {\n margin-left: 1rem;\n }\n\n .json-formatter-children {\n &.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n\n &:after { display: none; }\n &.json-formatter-object:after { content: \"No properties\"; }\n &.json-formatter-array:after { content: \"[]\"; }\n }\n }\n\n .json-formatter-string {\n color: @string-color;\n white-space: pre;\n word-wrap: break-word;\n }\n .json-formatter-number { color: @number-color; }\n .json-formatter-boolean { color: @boolean-color; }\n .json-formatter-null { color: @null-color; }\n .json-formatter-undefined { color: @undefined-color; }\n .json-formatter-function { color: @function-color; }\n .json-formatter-date { background-color: fade(@default-color, 5%); }\n .json-formatter-url {\n text-decoration: underline;\n color: @url-color;\n cursor: pointer;\n }\n\n .json-formatter-bracket { color: @bracket-color; }\n .json-formatter-key {\n color: @key-color;\n cursor: pointer;\n padding-right: 0.2rem;\n }\n .json-formatter-constructor-name {\n cursor: pointer;\n }\n\n .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: @toggler-opacity;\n cursor: pointer;\n padding-right: 0.2rem;\n\n &:after {\n display: inline-block;\n transition: transform @rotate-time ease-in;\n content: \"►\";\n }\n }\n\n // Inline preview on hover (optional)\n > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity .15s ease-in;\n font-style: italic;\n }\n &:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n }\n\n // Open state\n &.json-formatter-open {\n > .json-formatter-toggler-link .json-formatter-toggler:after{\n transform: rotate(90deg);\n }\n > .json-formatter-children:after {\n display: inline-block;\n }\n > a > .json-formatter-preview-text {\n display: none;\n }\n &.json-formatter-empty:after {\n display: block;\n }\n }\n}\n\n// Default theme\n.json-formatter-row {\n .theme();\n}\n\n// Dark theme\n.json-formatter-dark.json-formatter-row {\n .theme(\n @default-color: white,\n @string-color: #31F031,\n @number-color: #66C2FF,\n @boolean-color: #EC4242,\n @null-color: #EEC97D,\n @undefined-color: rgb(239, 143, 190),\n @function-color: #FD48CB,\n @rotate-time: 100ms,\n @toggler-opacity: 0.6,\n @toggler-color: #45376F,\n @bracket-color: #9494FF,\n @key-color: #23A0DB,\n @url-color: #027BFF);\n}\n",".json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-row,\n.json-formatter-row a,\n.json-formatter-row a:hover {\n color: black;\n text-decoration: none;\n}\n.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-row .json-formatter-string {\n color: green;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-row .json-formatter-number {\n color: blue;\n}\n.json-formatter-row .json-formatter-boolean {\n color: red;\n}\n.json-formatter-row .json-formatter-null {\n color: #855A00;\n}\n.json-formatter-row .json-formatter-undefined {\n color: #ca0b69;\n}\n.json-formatter-row .json-formatter-function {\n color: #FF20ED;\n}\n.json-formatter-row .json-formatter-date {\n background-color: rgba(0, 0, 0, 0.05);\n}\n.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: blue;\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-bracket {\n color: blue;\n}\n.json-formatter-row .json-formatter-key {\n color: #00008B;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"►\";\n}\n.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n.json-formatter-dark.json-formatter-row {\n font-family: monospace;\n}\n.json-formatter-dark.json-formatter-row,\n.json-formatter-dark.json-formatter-row a,\n.json-formatter-dark.json-formatter-row a:hover {\n color: white;\n text-decoration: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-row {\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty {\n opacity: 0.5;\n margin-left: 1rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty:after {\n display: none;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {\n content: \"No properties\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {\n content: \"[]\";\n}\n.json-formatter-dark.json-formatter-row .json-formatter-string {\n color: #31F031;\n white-space: pre;\n word-wrap: break-word;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-number {\n color: #66C2FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-boolean {\n color: #EC4242;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-null {\n color: #EEC97D;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-undefined {\n color: #ef8fbe;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-function {\n color: #FD48CB;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-date {\n background-color: rgba(255, 255, 255, 0.05);\n}\n.json-formatter-dark.json-formatter-row .json-formatter-url {\n text-decoration: underline;\n color: #027BFF;\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-bracket {\n color: #9494FF;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-key {\n color: #23A0DB;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-constructor-name {\n cursor: pointer;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler {\n line-height: 1.2rem;\n font-size: 0.7rem;\n vertical-align: middle;\n opacity: 0.6;\n cursor: pointer;\n padding-right: 0.2rem;\n}\n.json-formatter-dark.json-formatter-row .json-formatter-toggler:after {\n display: inline-block;\n transition: transform 100ms ease-in;\n content: \"►\";\n}\n.json-formatter-dark.json-formatter-row > a > .json-formatter-preview-text {\n opacity: 0;\n transition: opacity 0.15s ease-in;\n font-style: italic;\n}\n.json-formatter-dark.json-formatter-row:hover > a > .json-formatter-preview-text {\n opacity: 0.6;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {\n transform: rotate(90deg);\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > .json-formatter-children:after {\n display: inline-block;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {\n display: none;\n}\n.json-formatter-dark.json-formatter-row.json-formatter-open.json-formatter-empty:after {\n display: block;\n}\n"],"sourceRoot":"webpack://"}]); - + // exports @@ -23731,7 +24145,7 @@ return /******/ (function(modules) { // webpackBootstrap // css base code, injected by the css-loader module.exports = function() { var list = []; - + // return the list of modules as css string list.toString = function toString() { var result = []; @@ -23745,7 +24159,7 @@ return /******/ (function(modules) { // webpackBootstrap } return result.join(""); }; - + // import a list of modules into the list list.i = function(modules, mediaQuery) { if(typeof modules === "string") @@ -23801,23 +24215,23 @@ return /******/ (function(modules) { // webpackBootstrap singletonElement = null, singletonCounter = 0, styleElementsInsertedAtTop = []; - + module.exports = function(list, options) { if(false) { if(typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment"); } - + options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style> // tags it will allow on a page if (typeof options.singleton === "undefined") options.singleton = isOldIE(); - + // By default, add <style> tags to the bottom of <head>. if (typeof options.insertAt === "undefined") options.insertAt = "bottom"; - + var styles = listToStyles(list); addStylesToDom(styles, options); - + return function update(newList) { var mayRemove = []; for(var i = 0; i < styles.length; i++) { @@ -23840,7 +24254,7 @@ return /******/ (function(modules) { // webpackBootstrap } }; } - + function addStylesToDom(styles, options) { for(var i = 0; i < styles.length; i++) { var item = styles[i]; @@ -23862,7 +24276,7 @@ return /******/ (function(modules) { // webpackBootstrap } } } - + function listToStyles(list) { var styles = []; var newStyles = {}; @@ -23880,7 +24294,7 @@ return /******/ (function(modules) { // webpackBootstrap } return styles; } - + function insertStyleElement(options, styleElement) { var head = getHeadElement(); var lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1]; @@ -23899,7 +24313,7 @@ return /******/ (function(modules) { // webpackBootstrap throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'."); } } - + function removeStyleElement(styleElement) { styleElement.parentNode.removeChild(styleElement); var idx = styleElementsInsertedAtTop.indexOf(styleElement); @@ -23907,24 +24321,24 @@ return /******/ (function(modules) { // webpackBootstrap styleElementsInsertedAtTop.splice(idx, 1); } } - + function createStyleElement(options) { var styleElement = document.createElement("style"); styleElement.type = "text/css"; insertStyleElement(options, styleElement); return styleElement; } - + function createLinkElement(options) { var linkElement = document.createElement("link"); linkElement.rel = "stylesheet"; insertStyleElement(options, linkElement); return linkElement; } - + function addStyle(obj, options) { var styleElement, update, remove; - + if (options.singleton) { var styleIndex = singletonCounter++; styleElement = singletonElement || (singletonElement = createStyleElement(options)); @@ -23950,9 +24364,9 @@ return /******/ (function(modules) { // webpackBootstrap removeStyleElement(styleElement); }; } - + update(obj); - + return function updateStyle(newObj) { if(newObj) { if(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) @@ -23963,19 +24377,19 @@ return /******/ (function(modules) { // webpackBootstrap } }; } - + var replaceText = (function () { var textStore = []; - + return function (index, replacement) { textStore[index] = replacement; return textStore.filter(Boolean).join('\n'); }; })(); - + function applyToSingletonTag(styleElement, index, remove, obj) { var css = remove ? "" : obj.css; - + if (styleElement.styleSheet) { styleElement.styleSheet.cssText = replaceText(index, css); } else { @@ -23989,15 +24403,15 @@ return /******/ (function(modules) { // webpackBootstrap } } } - + function applyToTag(styleElement, obj) { var css = obj.css; var media = obj.media; - + if(media) { styleElement.setAttribute("media", media) } - + if(styleElement.styleSheet) { styleElement.styleSheet.cssText = css; } else { @@ -24007,22 +24421,22 @@ return /******/ (function(modules) { // webpackBootstrap styleElement.appendChild(document.createTextNode(css)); } } - + function updateLink(linkElement, obj) { var css = obj.css; var sourceMap = obj.sourceMap; - + if(sourceMap) { // https://developer.mozilla.org/en/docs/Web/API/WindowBase64/Base64_encoding_and_decoding css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */"; } - + var blob = new Blob([css], { type: "text/css" }); - + var oldSrc = linkElement.href; - + linkElement.href = URL.createObjectURL(blob); - + if(oldSrc) URL.revokeObjectURL(oldSrc); } @@ -24150,7 +24564,7 @@ return /******/ (function(modules) { // webpackBootstrap </script> - <script> +<script> (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.JSONSchemaView = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ 'use strict'; @@ -24470,7 +24884,7 @@ module.exports = exports['default']; </script> - <script> +<script> (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.$RefParser = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ /** ! * JSON Schema $Ref Parser v3.1.2 @@ -24859,7 +25273,7 @@ function extend(){for(var r={},e=0;e<arguments.length;e++){var t=arguments[e];fo }); </script> - <script> +<script> // https://github.com/isaacs/json-stringify-safe v5.0.1 function stringify(obj, replacer, spaces, cycleReplacer) { return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces) @@ -24887,7 +25301,7 @@ function serializer(replacer, cycleReplacer) { } </script> - <script> +<script> /* Web Font Loader v1.6.24 - (c) Adobe Systems, Google. License: Apache 2.0 */ (function(){function aa(a,b,d){return a.call.apply(a.bind,arguments)}function ba(a,b,d){if(!a)throw Error();if(2<arguments.length){var c=Array.prototype.slice.call(arguments,2);return function(){var d=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(d,c);return a.apply(b,d)}}return function(){return a.apply(b,arguments)}}function p(a,b,d){p=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?aa:ba;return p.apply(null,arguments)}var q=Date.now||function(){return+new Date};function ca(a,b){this.a=a;this.m=b||a;this.c=this.m.document}var da=!!window.FontFace;function t(a,b,d,c){b=a.c.createElement(b);if(d)for(var e in d)d.hasOwnProperty(e)&&("style"==e?b.style.cssText=d[e]:b.setAttribute(e,d[e]));c&&b.appendChild(a.c.createTextNode(c));return b}function u(a,b,d){a=a.c.getElementsByTagName(b)[0];a||(a=document.documentElement);a.insertBefore(d,a.lastChild)}function v(a){a.parentNode&&a.parentNode.removeChild(a)} function w(a,b,d){b=b||[];d=d||[];for(var c=a.className.split(/\s+/),e=0;e<b.length;e+=1){for(var f=!1,g=0;g<c.length;g+=1)if(b[e]===c[g]){f=!0;break}f||c.push(b[e])}b=[];for(e=0;e<c.length;e+=1){f=!1;for(g=0;g<d.length;g+=1)if(c[e]===d[g]){f=!0;break}f||b.push(c[e])}a.className=b.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function y(a,b){for(var d=a.className.split(/\s+/),c=0,e=d.length;c<e;c++)if(d[c]==b)return!0;return!1} @@ -24907,7 +25321,7 @@ function Ea(a){for(var b=a.f.length,d=0;d<b;d++){var c=a.f[d].split(":"),e=c[0]. g,0<c.length&&(c=Aa[c[0]])&&(a.c[e]=c))}a.c[e]||(c=Aa[e])&&(a.c[e]=c);for(c=0;c<f.length;c+=1)a.a.push(new H(e,f[c]))}};function Fa(a,b){this.c=a;this.a=b}var Ga={Arimo:!0,Cousine:!0,Tinos:!0};Fa.prototype.load=function(a){var b=new C,d=this.c,c=new va(this.a.api,z(d),this.a.text),e=this.a.families;xa(c,e);var f=new za(e);Ea(f);A(d,ya(c),D(b));F(b,function(){a(f.a,f.c,Ga)})};function Ha(a,b){this.c=a;this.a=b}Ha.prototype.load=function(a){var b=this.a.id,d=this.c.m;b?B(this.c,(this.a.api||"https://use.typekit.net")+"/"+b+".js",function(b){if(b)a([]);else if(d.Typekit&&d.Typekit.config&&d.Typekit.config.fn){b=d.Typekit.config.fn;for(var e=[],f=0;f<b.length;f+=2)for(var g=b[f],k=b[f+1],h=0;h<k.length;h++)e.push(new H(g,k[h]));try{d.Typekit.load({events:!1,classes:!1,async:!0})}catch(m){}a(e)}},2E3):a([])};function Ia(a,b){this.c=a;this.f=b;this.a=[]}Ia.prototype.load=function(a){var b=this.f.id,d=this.c.m,c=this;b?(d.__webfontfontdeckmodule__||(d.__webfontfontdeckmodule__={}),d.__webfontfontdeckmodule__[b]=function(b,d){for(var g=0,k=d.fonts.length;g<k;++g){var h=d.fonts[g];c.a.push(new H(h.name,ga("font-weight:"+h.weight+";font-style:"+h.style)))}a(c.a)},B(this.c,z(this.c)+(this.f.api||"//f.fontdeck.com/s/css/js/")+ea(this.c)+"/"+b+".js",function(b){b&&a([])})):a([])};var Y=new pa(window);Y.a.c.custom=function(a,b){return new ua(b,a)};Y.a.c.fontdeck=function(a,b){return new Ia(b,a)};Y.a.c.monotype=function(a,b){return new sa(b,a)};Y.a.c.typekit=function(a,b){return new Ha(b,a)};Y.a.c.google=function(a,b){return new Fa(b,a)};var Z={load:p(Y.load,Y)};"function"===typeof define&&define.amd?define(function(){return Z}):"undefined"!==typeof module&&module.exports?module.exports=Z:(window.WebFont=Z,window.WebFontConfig&&Y.load(window.WebFontConfig));}()); </script> - <script> +<script> var schemaWrapper = {}; schemaWrapper.definitions = defs; defsParser = new $RefParser(); @@ -24915,11 +25329,11 @@ g,0<c.length&&(c=Aa[c[0]])&&(a.c[e]=c))}a.c[e]||(c=Aa[e])&&(a.c[e]=c);for(c=0;c< console.log(err); }); </script> - <script> +<script> $(document).ready(function () { $('.nav-tabs-examples').find('a:first').tab('show'); $(this).scrollspy({ target: '#scrollingNav', offset: 18 }); }); </script> </body> -</html> +</html>
\ No newline at end of file diff --git a/docs/api/swagger/swagger.json b/docs/api/swagger/swagger.json index 4ec404e0bd..0f2bd535b6 100644 --- a/docs/api/swagger/swagger.json +++ b/docs/api/swagger/swagger.json @@ -2940,6 +2940,62 @@ } } } + }, + "/onap/so/infra/instanceManagement/{version}/serviceInstances/{serviceInstanceId}/pnfs/${pnfName}/workflows/${workflow_UUID}": { + "post": { + "tags": [ + "onapsoinfrainstanceManagement" + ], + "summary": "Executing download/activate custom workflow", + "description": "", + "operationId": "executePNFCustomWorkflow", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "body", + "name": "body", + "required": false, + "schema": { + "$ref": "#/definitions/PNFCustomWorkflowExecution" + } + }, + { + "name": "version", + "in": "path", + "required": true, + "type": "string", + "pattern": "[vV][1]" + }, + { + "name": "serviceInstanceId", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "pnfName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflow_UUID", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "default": { + "description": "successful operation" + } + } + } } }, "definitions": { @@ -3256,6 +3312,105 @@ } } + }, + "PNFCustomWorkflowExecution": { + "description": "This describes the request body of PNF custom workflow execution", + "type": "object", + "properties": { + "requestInfo": { + "description": "Request object contains source information", + "type": "object", + "properties": { + "source": { + "description": "Name of the sender", + "type": "string" + }, + "suppressRollback": { + "description": "Enable/disable rollback suppression", + "type": "boolean" + }, + "requestorId": { + "description": "Id of the sender", + "type": "string" + } + } + }, + "modelInfo": { + "description": "Parameters related to the service model", + "type": "object", + "properties": { + "modelType": { + "description": "Type of the model to be executed", + "type": "string" + }, + "modelInvariantUuid": { + "description": "Model invariant id corresponding to the service", + "type": "string" + }, + "modelUuid": { + "description": "Model uuid corresponding to the service", + "type": "string" + }, + "modelVersionId": { + "description": "Model version of the service instance", + "type": "string" + }, + "modelName": { + "description": "Name of the service", + "type": "string" + }, + "modelVersion": { + "description": "Version of the service instance", + "type": "string" + } + } + }, + "requestParameters": { + "description": "User parameter object", + "type": "object", + "properties": { + "subscriptionServiceType": { + "description": "Type of service subscription", + "type": "string" + } + } + }, + "subscriberInfo": { + "description": "Subscriber id information", + "type": "object", + "properties": { + "globalSubscriberId": { + "description": "Id of the subscriber sending the request", + "type": "string" + } + } + }, + "project": { + "description": "Information about the target project name", + "type": "object", + "properties": { + "projectName":{ + "description": "Name of the target project", + "type": "string" + } + } + }, + "owningEntity": { + "description": "Object describes the entity details", + "type": "object", + "properties": { + "owningEntityId": { + "description": "Id of the owning Entity", + "type": "string" + }, + "owningEntityName": { + "description": "Name of the owning Entity", + "type": "string" + } + } + } + + } } } }
\ No newline at end of file diff --git a/docs/api/swagger/swagger.yaml b/docs/api/swagger/swagger.yaml index 181a8df756..585a4f4ac0 100644 --- a/docs/api/swagger/swagger.yaml +++ b/docs/api/swagger/swagger.yaml @@ -1942,6 +1942,43 @@ paths: responses: default: description: successful operation + '/onap/so/infra/instanceManagement/{version}/serviceInstances/{serviceInstanceId}/pnfs/${pnfName}/workflows/${workflow_UUID}': + post: + tags: + - onapsoinfrainstanceManagement + summary: Executing download/activate custom workflow + description: '' + operationId: executePNFCustomWorkflow + consumes: + - application/json + produces: + - application/json + parameters: + - in: body + name: body + required: false + schema: + $ref: '#/definitions/PNFCustomWorkflowExecution' + - name: version + in: path + required: true + type: string + pattern: '[vV][1]' + - name: serviceInstanceId + in: path + required: true + type: string + - name: pnfName + in: path + required: true + type: string + - name: workflow_UUID + in: path + required: true + type: string + responses: + default: + description: successful operation definitions: Allocate3gppService: description: This describes the request body for 3gpp service allocation @@ -2175,3 +2212,73 @@ definitions: owningEntityName: description: Name of the owning Entity type: string + PNFCustomWorkflowExecution: + description: This describes the request body of PNF custom workflow execution + type: object + properties: + requestInfo: + description: Request object contains source information + type: object + properties: + source: + description: Name of the sender + type: string + suppressRollback: + description: Enable/disable rollback suppression + type: boolean + requestorId: + description: Id of the sender + type: string + modelInfo: + description: Parameters related to the service model + type: object + properties: + modelType: + description: Type of the model to be executed + type: string + modelInvariantUuid: + description: Model invariant id corresponding to the service + type: string + modelUuid: + description: Model uuid corresponding to the service + type: string + modelVersionId: + description: Model version of the service instance + type: string + modelName: + description: Name of the service + type: string + modelVersion: + description: Version of the service instance + type: string + requestParameters: + description: User parameter object + type: object + properties: + subscriptionServiceType: + description: Type of service subscription + type: string + subscriberInfo: + description: Subscriber id information + type: object + properties: + globalSubscriberId: + description: Id of the subscriber sending the request + type: string + project: + description: Information about the target project name + type: object + properties: + projectName: + description: Name of the target project + type: string + owningEntity: + description: Object describes the entity details + type: object + properties: + owningEntityId: + description: Id of the owning Entity + type: string + owningEntityName: + description: Name of the owning Entity + type: string
\ No newline at end of file diff --git a/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/AAIDSLQueryClient.java b/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/AAIDSLQueryClient.java index 378db87d9b..8b8707e533 100644 --- a/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/AAIDSLQueryClient.java +++ b/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/aai/AAIDSLQueryClient.java @@ -25,6 +25,7 @@ import org.onap.aaiclient.client.aai.entities.uri.AAIFluentTypeReverseLookup; import org.onap.aaiclient.client.aai.entities.uri.AAIUriFactory; import org.onap.aaiclient.client.graphinventory.GraphInventoryQueryClient; import org.onap.aaiclient.client.graphinventory.entities.DSLQuery; +import org.onap.aaiclient.client.graphinventory.entities.uri.Depth; import org.onap.aaiclient.client.graphinventory.entities.uri.GraphInventoryUri; import com.google.common.collect.ImmutableMap; @@ -41,7 +42,7 @@ public class AAIDSLQueryClient @Override protected GraphInventoryUri getQueryUri() { - return AAIUriFactory.createResourceUri(AAIObjectType.DSL); + return AAIUriFactory.createResourceUri(AAIObjectType.DSL).depth(Depth.ZERO); } diff --git a/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/graphinventory/GraphInventoryQueryClient.java b/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/graphinventory/GraphInventoryQueryClient.java index a192e3828a..1438dbe51a 100644 --- a/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/graphinventory/GraphInventoryQueryClient.java +++ b/graph-inventory/aai-client/src/main/java/org/onap/aaiclient/client/graphinventory/GraphInventoryQueryClient.java @@ -32,6 +32,7 @@ import org.onap.aaiclient.client.aai.entities.Results; import org.onap.aaiclient.client.graphinventory.entities.GraphInventoryResultWrapper; import org.onap.aaiclient.client.graphinventory.entities.Pathed; import org.onap.aaiclient.client.graphinventory.entities.ResourceAndUrl; +import org.onap.aaiclient.client.graphinventory.entities.uri.Depth; import org.onap.aaiclient.client.graphinventory.entities.uri.GraphInventoryUri; import com.fasterxml.jackson.annotation.JsonTypeInfo.Id; import com.fasterxml.jackson.core.type.TypeReference; @@ -39,7 +40,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; public abstract class GraphInventoryQueryClient<S, I, Wrapper extends GraphInventoryResultWrapper<?>, Type extends GraphInventoryObjectType> { - private Optional<String> depth = Optional.empty(); + private Optional<Depth> depth = Optional.empty(); private boolean nodesOnly = false; private Optional<GraphInventorySubgraphType> subgraph = Optional.empty(); private GraphInventoryClient client; @@ -108,7 +109,7 @@ public abstract class GraphInventoryQueryClient<S, I, Wrapper extends GraphInven public abstract Type createType(String name, String uri); - public S depth(String depth) { + public S depth(Depth depth) { this.depth = Optional.of(depth); return (S) this; } @@ -128,7 +129,7 @@ public abstract class GraphInventoryQueryClient<S, I, Wrapper extends GraphInven protected GraphInventoryUri setupQueryParams(GraphInventoryUri uri) { GraphInventoryUri clone = uri.clone(); if (this.depth.isPresent()) { - clone.queryParam("depth", depth.get()); + clone.queryParam("depth", depth.get().toString()); } if (this.nodesOnly) { clone.queryParam("nodesOnly", ""); diff --git a/graph-inventory/aai-client/src/test/java/org/onap/aaiclient/client/aai/AAIQueryClientTest.java b/graph-inventory/aai-client/src/test/java/org/onap/aaiclient/client/aai/AAIQueryClientTest.java index 29d862478c..a3b026a420 100644 --- a/graph-inventory/aai-client/src/test/java/org/onap/aaiclient/client/aai/AAIQueryClientTest.java +++ b/graph-inventory/aai-client/src/test/java/org/onap/aaiclient/client/aai/AAIQueryClientTest.java @@ -54,6 +54,7 @@ import org.onap.aaiclient.client.graphinventory.GraphInventoryClient; import org.onap.aaiclient.client.graphinventory.GraphInventorySubgraphType; import org.onap.aaiclient.client.graphinventory.entities.Pathed; import org.onap.aaiclient.client.graphinventory.entities.ResourceAndUrl; +import org.onap.aaiclient.client.graphinventory.entities.uri.Depth; import org.onap.so.client.RestClient; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; @@ -92,7 +93,7 @@ public class AAIQueryClientTest { @Test public void testCreateClient() { - String depth = "testDepth"; + Depth depth = Depth.ZERO; GraphInventorySubgraphType subgraph = GraphInventorySubgraphType.STAR; aaiQueryClient.depth(depth); @@ -103,7 +104,7 @@ public class AAIQueryClientTest { doReturn(aaiUri).when(aaiUri).clone(); aaiQueryClient.setupQueryParams(aaiUri); - verify(aaiUri, times(1)).queryParam("depth", depth); + verify(aaiUri, times(1)).queryParam("depth", "0"); verify(aaiUri, times(1)).queryParam("nodesOnly", ""); verify(aaiUri, times(1)).queryParam("subgraph", subgraph.toString()); } diff --git a/mso-api-handlers/mso-api-handler-infra/pom.xml b/mso-api-handlers/mso-api-handler-infra/pom.xml index 542b8db932..678de23db5 100644 --- a/mso-api-handlers/mso-api-handler-infra/pom.xml +++ b/mso-api-handlers/mso-api-handler-infra/pom.xml @@ -236,9 +236,12 @@ <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-cadi-client</artifactId> + </dependency> + <dependency> <groupId>org.onap.aaf.authz</groupId> <artifactId>aaf-cadi-aaf</artifactId> - <version>${aaf.cadi.version}</version> <exclusions> <exclusion> <groupId>javax.servlet</groupId> @@ -251,6 +254,21 @@ </exclusions> </dependency> <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-auth-client</artifactId> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-misc-env</artifactId> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-misc-rosetta</artifactId> + <scope>runtime</scope> + </dependency> + <dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api</artifactId> <version>2.3.0</version> diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/OrchestrationRequests.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/OrchestrationRequests.java index acd3a8321e..99c0fc23fa 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/OrchestrationRequests.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/OrchestrationRequests.java @@ -46,6 +46,7 @@ import org.apache.commons.lang.StringUtils; import org.apache.commons.lang3.EnumUtils; import org.apache.http.HttpStatus; import org.onap.logging.ref.slf4j.ONAPLogConstants; +import org.onap.logging.filter.base.ErrorCode; import org.onap.so.apihandler.common.ErrorNumbers; import org.onap.so.apihandler.common.ResponseBuilder; import org.onap.so.apihandlerinfra.exceptions.ApiException; @@ -57,7 +58,6 @@ import org.onap.so.db.request.beans.InfraActiveRequests; import org.onap.so.db.request.beans.RequestProcessingData; import org.onap.so.db.request.client.RequestsDbClient; import org.onap.so.exceptions.ValidationException; -import org.onap.logging.filter.base.ErrorCode; import org.onap.so.logger.MessageEnum; import org.onap.so.serviceinstancebeans.CloudRequestData; import org.onap.so.serviceinstancebeans.GetOrchestrationListResponse; @@ -213,7 +213,7 @@ public class OrchestrationRequests { if (isRequestProcessingDataRequired(format)) { List<RequestProcessingData> requestProcessingData = - requestsDbClient.getRequestProcessingDataBySoRequestId(infraActive.getRequestId()); + requestsDbClient.getExternalRequestProcessingDataBySoRequestId(infraActive.getRequestId()); if (null != requestProcessingData && !requestProcessingData.isEmpty()) { request.setRequestProcessingData(mapRequestProcessingData(requestProcessingData)); } diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/OrchestrationRequestsTest.java b/mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/OrchestrationRequestsTest.java index 1f944da7ba..259ce418c6 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/OrchestrationRequestsTest.java +++ b/mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/OrchestrationRequestsTest.java @@ -486,8 +486,8 @@ public class OrchestrationRequestsTest extends BaseTest { .withBody(new String(Files.readAllBytes( Paths.get("src/test/resources/OrchestrationRequest/getOrchestrationRequest.json")))) .withStatus(HttpStatus.SC_OK))); - wireMockServer - .stubFor(get(urlPathEqualTo("/requestProcessingData/search/findBySoRequestIdOrderByGroupingIdDesc/")) + wireMockServer.stubFor(get(urlPathEqualTo( + "/requestProcessingData/search/findBySoRequestIdAndIsDataInternalOrderByGroupingIdDesc/")) .withQueryParam("SO_REQUEST_ID", equalTo("00032ab7-1a18-42e5-965d-8ea592502018")) .willReturn(aResponse().withHeader(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON) .withBody(new String(Files.readAllBytes(Paths @@ -502,9 +502,10 @@ public class OrchestrationRequestsTest extends BaseTest { .withBody(new String(Files.readAllBytes(Paths.get( "src/test/resources/OrchestrationRequest/getOrchestrationRequestInstanceGroup.json")))) .withStatus(HttpStatus.SC_OK))); - wireMockServer - .stubFor(get(urlPathEqualTo("/requestProcessingData/search/findBySoRequestIdOrderByGroupingIdDesc/")) + wireMockServer.stubFor(get(urlPathEqualTo( + "/requestProcessingData/search/findBySoRequestIdAndIsDataInternalOrderByGroupingIdDesc/")) .withQueryParam("SO_REQUEST_ID", equalTo("00032ab7-1a18-42e5-965d-8ea592502018")) + .withQueryParam("IS_INTERNAL_DATA", equalTo("false")) .willReturn(aResponse().withHeader(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON) .withBody(new String(Files.readAllBytes(Paths .get("src/test/resources/OrchestrationRequest/getRequestProcessingData.json")))) diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/OrchestrationRequest/OrchestrationFilterResponse.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/OrchestrationRequest/OrchestrationFilterResponse.json index 3b2eca7ce2..319e6a9949 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/test/resources/OrchestrationRequest/OrchestrationFilterResponse.json +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/OrchestrationRequest/OrchestrationFilterResponse.json @@ -64,7 +64,17 @@ "statusMessage": "STATUS: Vf Module has been deleted successfully. FLOW STATUS: Building blocks 1 of 3 completed. ROLLBACK STATUS: Rollback has been completed successfully.", "percentProgress": 100, "timestamp": "Thu, 22 Dec 2016 08:30:28 GMT" - } + }, + "requestProcessingData": [ + { + "groupingId": "7d2e8c07-4d10-456d-bddc-37abf38ca714", + "dataPairs": [ + { + "requestAction": "assign" + } + ] + } + ] } }, { diff --git a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/VnfResourceCustomization.java b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/VnfResourceCustomization.java index 3e7995417d..1b1df2117e 100644 --- a/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/VnfResourceCustomization.java +++ b/mso-catalog-db/src/main/java/org/onap/so/db/catalog/beans/VnfResourceCustomization.java @@ -118,7 +118,7 @@ public class VnfResourceCustomization implements Serializable { private String blueprintVersion; @Column(name = "SKIP_POST_INSTANTIATION_CONFIGURATION") - private boolean skipPostInstConf; + private Boolean skipPostInstConf = true; @Column(name = "VNFCINSTANCEGROUP_ORDER") private String vnfcInstanceGroupOrder; @@ -327,11 +327,11 @@ public class VnfResourceCustomization implements Serializable { this.blueprintVersion = blueprintVersion; } - public boolean isSkipPostInstConf() { + public Boolean isSkipPostInstConf() { return skipPostInstConf; } - public void setSkipPostInstConf(boolean skipPostInstConf) { + public void setSkipPostInstConf(Boolean skipPostInstConf) { this.skipPostInstConf = skipPostInstConf; } @@ -51,7 +51,6 @@ <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> <sonar.projectVersion>${project.version}</sonar.projectVersion> <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions> - <jacoco.version>0.8.5</jacoco.version> <org.apache.maven.user-settings /> <openstack.version>1.7.1</openstack.version> <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format> @@ -71,6 +70,7 @@ <cxf.version>3.3.3</cxf.version> <jax.ws.rs>2.1</jax.ws.rs> <springboot.version>2.1.5.RELEASE</springboot.version> + <aaf.version>2.1.21</aaf.version> <camunda.springboot.version>3.2.0</camunda.springboot.version> <format.skipValidate>false</format.skipValidate> <format.skipExecute>true</format.skipExecute> @@ -341,7 +341,6 @@ <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> - <version>${jacoco.version}</version> <executions> <execution> <id>prepare-agent</id> @@ -875,17 +874,17 @@ <dependency> <groupId>org.onap.logging-analytics</groupId> <artifactId>logging-slf4j</artifactId> - <version>1.6.7</version> + <version>1.6.9-SNAPSHOT</version> </dependency> <dependency> <groupId>org.onap.logging-analytics</groupId> <artifactId>logging-filter-base</artifactId> - <version>1.6.7</version> + <version>1.6.9-SNAPSHOT</version> </dependency> <dependency> <groupId>org.onap.logging-analytics</groupId> <artifactId>logging-filter-spring</artifactId> - <version>1.6.7</version> + <version>1.6.9-SNAPSHOT</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> @@ -1030,6 +1029,44 @@ </exclusion> </exclusions> </dependency> + <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-cadi-client</artifactId> + <version>${aaf.version}</version> + </dependency> + <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-cadi-aaf</artifactId> + <version>${aaf.version}</version> + <exclusions> + <exclusion> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + </exclusion> + <exclusion> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-auth-client</artifactId> + <version>${aaf.version}</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-misc-env</artifactId> + <version>${aaf.version}</version> + <scope>runtime</scope> + </dependency> + <dependency> + <groupId>org.onap.aaf.authz</groupId> + <artifactId>aaf-misc-rosetta</artifactId> + <version>${aaf.version}</version> + <scope>runtime</scope> + </dependency> </dependencies> </dependencyManagement> <profiles> |