summaryrefslogtreecommitdiffstats
path: root/integration-tests/src/test/resources/ci/testSuites
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/src/test/resources/ci/testSuites')
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/CRUDArtifacts.xml42
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/ExternalApiSanity.xml68
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/SearchExternalAPI.xml23
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/artifacts.xml11
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/cap_req.xml10
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/category.xml10
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/ciFull.xml97
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/externalAPIs.xml33
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/general.xml9
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/imports.xml9
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/normatives.xml25
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/onapApiSanity.xml11
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/pass.xml18
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/product.xml12
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/productAPIs.xml15
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/property.xml10
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/resource.xml123
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/sanity.xml228
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/service.xml18
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/testngLifeCycle.xml9
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/user.xml9
21 files changed, 790 insertions, 0 deletions
diff --git a/integration-tests/src/test/resources/ci/testSuites/CRUDArtifacts.xml b/integration-tests/src/test/resources/ci/testSuites/CRUDArtifacts.xml
new file mode 100644
index 0000000000..923777542c
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/CRUDArtifacts.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="CRUDArtifacts" configfailurepolicy="continue" verbose="2" parallel="tests" thread-count="10">
+
+ <test name="Test">
+ <classes>
+ <class
+ name="org.openecomp.sdc.externalApis.CRUDExternalAPI">
+ <methods>
+ <!-- <include name="uploadArtifactOnVFViaExternalAPI" />
+ <include name="uploadArtifactOnServiceViaExternalAPI" />
+ <include name="uploadArtifactOnRIViaExternalAPI" />
+ <include name="uploadInvalidArtifactTypeExtensionLabelDescriptionCheckSumDuplicateLabelViaExternalAPI" />
+ <include name="uploadArtifactOnVFViaExternalAPIByDiffrentUserThenCreatorOfAsset" />
+ <include name="uploadArtifactOnAssetWhichNotExist" />
+ <include name="uploadArtifactOnAssetWhichInInvalidStateForUploading" />
+
+
+ <include name="updateArtifactForServiceViaExternalAPI" />
+ <include name="updateArtifactForVFViaExternalAPI" />
+ <include name="updateArtifactOnRIViaExternalAPI" />
+ <include name="updateArtifactOnVFViaExternalAPIByDiffrentUserThenCreatorOfAsset" />
+ <include name="updateArtifactOnAssetWhichNotExist" />
+ <include name="updateArtifactOnAssetWhichInInvalidStateForUploading" />
+ <include name="updateInvalidArtifactTypeExtensionLabelDescriptionCheckSumDuplicateLabelViaExternalAPI" />
+
+
+ <include name="deleteArtifactForServiceViaExternalAPI" />
+ <include name="deleteArtifactForVFViaExternalAPI" />
+ <include name="deleteArtifactOnRIViaExternalAPI" />
+ <include name="deleteArtifactOnVFViaExternalAPIByDiffrentUserThenCreatorOfAsset" />
+ <include name="deleteArtifactOnAssetWhichNotExist" />
+ <include name="deleteArtifactOnAssetWhichInInvalidStateForUploading" /> -->
+
+ <include name="deleteArtifactForServiceViaExternalAPI" />
+ </methods>
+
+ </class>
+
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- Suite --> \ No newline at end of file
diff --git a/integration-tests/src/test/resources/ci/testSuites/ExternalApiSanity.xml b/integration-tests/src/test/resources/ci/testSuites/ExternalApiSanity.xml
new file mode 100644
index 0000000000..02594526cb
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/ExternalApiSanity.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="CRUDArtifacts" configfailurepolicy="continue" verbose="2" parallel="methods" thread-count="2" data-provider-thread-count="2">
+
+ <test name="Test">
+ <classes>
+ <class name="org.openecomp.sdc.externalApis.CRUDExternalAPI">
+ <methods>
+ <include name="uploadArtifactOnVfcVlCpViaExternalAPI" invocation-numbers="0" />
+ <include name="uploadArtifactOnVFViaExternalAPI" invocation-numbers="0" />
+ <include name="uploadArtifactOnServiceViaExternalAPI" invocation-numbers="0" />
+ <include name="uploadArtifactOnRIViaExternalAPI" invocation-numbers="0" />
+ <include name="uploadArtifactOnVfcVlCpRIViaExternalAPI" invocation-numbers="0" />
+ <include name="updateArtifactForServiceViaExternalAPI" invocation-numbers="0" />
+ <include name="updateArtifactForVFViaExternalAPI" invocation-numbers="0" />
+ <include name="updateArtifactForVfcVlCpViaExternalAPI" invocation-numbers="0" />
+ <include name="updateArtifactOfVfcVlCpForVfciVliCpiViaExternalAPI" invocation-numbers="0" />
+ <include name="updateArtifactOnRIViaExternalAPI" invocation-numbers="0" />
+ <include name="updateArtifactOnVfcVlCpRIViaExternalAPI" invocation-numbers="0" />
+ <include name="deleteArtifactForServiceViaExternalAPI" invocation-numbers="0" />
+ <include name="deleteArtifactForVFViaExternalAPI" invocation-numbers="0" />
+ <include name="deleteArtifactOnRIViaExternalAPI" invocation-numbers="0" />
+ <include name="deleteArtifactOnVfcVlCpRIViaExternalAPI" invocation-numbers="0" />
+ <include name="deleteArtifactOnAssetWhichNotExist" />
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.DownloadComponentArt">
+ <methods>
+ <include name="downloadArtifactOfComponentInstanceFromServiceViaExternalAPI"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.externalApis.GetFilteredAssetServlet">
+ <methods>
+ <include name="getResourceAssetBySpecifiedCategory"/>
+ <include name="getServiceAssetBySpecifiedCategory"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.externalApis.SearchFilterCategoryExternalAPI">
+ <methods>
+ <include name="normativeResourceCategory" invocation-numbers="0"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.externalApis.GetCSARofVF">
+ <methods>
+ <include name="getServiceToscaModelCheckInState"/>
+ <include name="getRsourceToscaModelCertifyState"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.externalApis.GetFilteredAssetServlet">
+ <methods>
+ <include name="getResourceAssetBySpecifiedCategory"/>
+ <include name="getServiceAssetBySpecifiedCategory"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.externalApis.GetSpecificAssetMetadataServlet">
+ <methods>
+ <include name="getResourceAssetMetadataSuccess"/>
+ <include name="getServiceAssetMetadataWithResourceInstancesSuccess"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.externalApis.AssetLifeCycle">
+ <methods>
+ <include name="theFlow"/>
+ </methods>
+ </class>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- Suite --> \ No newline at end of file
diff --git a/integration-tests/src/test/resources/ci/testSuites/SearchExternalAPI.xml b/integration-tests/src/test/resources/ci/testSuites/SearchExternalAPI.xml
new file mode 100644
index 0000000000..8d21be4381
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/SearchExternalAPI.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="CRUDArtifacts" configfailurepolicy="continue" verbose="2" parallel="tests" thread-count="10">
+
+ <test name="Test">
+ <classes>
+ <class
+ name="org.openecomp.sdc.externalApis.SearchFilterCategoryExternalAPI">
+ <methods>
+
+ <include name="searchWithInvalidFilter" />
+ <include name="searchForResourceTypeNegativeTest" />
+ <include name="searchingForResouceFilterIncorrectResouceTypeUsingExternalAPI" />
+ <include name="searchingForSeveralResouceTypesUsingExternalAPI" />
+ <include name="searchingForSeveralResourcesOfTypeVFCMTUsingExternalAPI" />
+ <include name="normativeResourceCategory" />
+ </methods>
+
+ </class>
+
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- Suite --> \ No newline at end of file
diff --git a/integration-tests/src/test/resources/ci/testSuites/artifacts.xml b/integration-tests/src/test/resources/ci/testSuites/artifacts.xml
new file mode 100644
index 0000000000..1352e75d58
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/artifacts.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="Artifacts">
+ <test name="Artifacts">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.DownloadComponentArt"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.ValidateHeatArtFieldsTypes"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.PlaceHolderValidations"/>
+ </classes>
+ </test>
+</suite> <!-- Artifacts -->
diff --git a/integration-tests/src/test/resources/ci/testSuites/cap_req.xml b/integration-tests/src/test/resources/ci/testSuites/cap_req.xml
new file mode 100644
index 0000000000..8298af2da5
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/cap_req.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="Cap_Req" >
+ <test name="Cap_Req">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.requirements.RequirementsTest"/>
+ <class name="org.openecomp.sdc.ci.tests.capability.CapabilitiesTest"/>
+ </classes>
+ </test>
+</suite> <!-- Artifacts -->
diff --git a/integration-tests/src/test/resources/ci/testSuites/category.xml b/integration-tests/src/test/resources/ci/testSuites/category.xml
new file mode 100644
index 0000000000..3de83431e8
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/category.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="category">
+ <test name="Test">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.category.GroupingTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.category.SubCategoriesTest"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- category -->
diff --git a/integration-tests/src/test/resources/ci/testSuites/ciFull.xml b/integration-tests/src/test/resources/ci/testSuites/ciFull.xml
new file mode 100644
index 0000000000..7a9558ed7a
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/ciFull.xml
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="ciFull" configfailurepolicy="continue" verbose="2">
+ <test name="Category">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.category.CatalogDataApiTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.category.GroupingTest">
+ <methods>
+ <exclude name="createProductGroupForNonExistingCategory"/>
+ <exclude name="createProductGroupForNonExistingSunCategory"/>
+ <exclude name="getProductCategoryHierarchySuccessFlow"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.category.SubCategoriesTest">
+ <methods>
+ <exclude name="createProductSubCategoryForNonExistingCategory"/>
+ <exclude name="createResourceSubCategoryForNonExistingCategory"/>
+ <exclude name="getResourceCategoryHierarchySuccessFlow"/>
+ </methods>
+ </class>
+ </classes>
+ </test> <!-- Test -->
+ <test name="Distribution">
+ <classes>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.distribution.AuthanticationTests"/>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.distribution.DistributionDownloadArtifactTest">
+ <methods>
+ <exclude name="downloadServiceArtifact_ServiceVersionNotFound"/>
+ </methods>
+ </class>
+ </classes>
+ </test> <!-- Test -->
+ <test name="General">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.general.FeProxyTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.general.UuidTest"/>
+ </classes>
+ </test>
+ <test name="Resource">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.resource.SimultaneousApiTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.resource.UpdateResourceMetadataTest">
+ <methods>
+ <exclude name="UpdateResourceCategory_negativeFlow"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.ci.tests.execute.resource.VFResourceInstanceNameCRUD"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.resource.ResourceApiTest"/>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.resource.ValidateExtendedVfData"/>
+ </classes>
+ </test>
+ <test name="Product">
+ <classes>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.product.ProductUndoCheckoutTest">
+ <methods>
+ <exclude name="undoCheckOutNotExist"/>
+ </methods>
+ </class>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.product.ProductGetFollowedTest"/>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.product.ProductToscaYamlGenerationTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckinTest">
+ <methods>
+ <exclude name="checkInProductNotExist"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckoutTest"/>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.product.ProductCreateWithValidationsTest">
+ <methods>
+ <exclude name="createProductDescriptionRemoveSpacesFromBeginning"/>
+ <exclude name="createProductDescriptionRemoveSpacesFromTheEnd"/>
+ <exclude name="createProductDescriptionValidCharacters01"/>
+ <exclude name="createProductDescriptionValidCharacters02"/>
+ </methods>
+ </class>
+ </classes>
+ </test>
+ <test name="Service">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.service.GetAllServiceVersions"/>
+ </classes>
+ </test>
+ <test name="Artifacts">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.DownloadComponentArt"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.ValidateHeatArtFieldsTypes"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.PlaceHolderValidations"/>
+ </classes>
+ </test>
+</suite> \ No newline at end of file
diff --git a/integration-tests/src/test/resources/ci/testSuites/externalAPIs.xml b/integration-tests/src/test/resources/ci/testSuites/externalAPIs.xml
new file mode 100644
index 0000000000..7c9d6d9d9c
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/externalAPIs.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="externalApis" configfailurepolicy="continue" verbose="2" parallel="methods" thread-count="1" data-provider-thread-count="8">
+ <test name="ExternalApis">
+ <classes>
+
+ <class name="org.openecomp.sdc.externalApis.VFCMTExternalAPI"/>
+ <class name="org.openecomp.sdc.externalApis.CRUDExternalAPI"/>
+ <class name="org.openecomp.sdc.externalApis.DeploymentValiditaion"/>
+ <class name="org.openecomp.sdc.externalApis.GetAssetServlet"/>
+ <class name="org.openecomp.sdc.externalApis.GetCSARofVF"/>
+ <class name="org.openecomp.sdc.externalApis.GetFilteredAssetServlet"/>
+ <class name="org.openecomp.sdc.externalApis.GetSpecificAssetMetadataServlet"/>
+ <class name="org.openecomp.sdc.externalApis.SearchFilterCategoryExternalAPI"/>
+ <class name="org.openecomp.sdc.externalApis.AssetLifeCycle"/>
+ <class name="org.openecomp.sdc.externalApis.UserAPIs"/>
+
+ <class name="org.openecomp.sdc.internalApis.annotations.AnnotationsTest"/>
+
+
+<!-- <class name="org.openecomp.sdc.ci.tests.execute.product.ChangeServiceInstanceVersionTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckinTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckoutTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductComponentInstanceCRUDTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCreateWithValidationsTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCrudTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductGetFollowedTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductUndoCheckoutTest"/> -->
+
+
+ </classes>
+ </test>
+</suite> \ No newline at end of file
diff --git a/integration-tests/src/test/resources/ci/testSuites/general.xml b/integration-tests/src/test/resources/ci/testSuites/general.xml
new file mode 100644
index 0000000000..a63f36423e
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/general.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="General">
+ <test name="Test">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.general.UuidTest"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- General -->
diff --git a/integration-tests/src/test/resources/ci/testSuites/imports.xml b/integration-tests/src/test/resources/ci/testSuites/imports.xml
new file mode 100644
index 0000000000..b9374cf47a
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/imports.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="Imports">
+ <test name="Imports">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.imports.ImportGenericResourceCITest"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- Imports -->
diff --git a/integration-tests/src/test/resources/ci/testSuites/normatives.xml b/integration-tests/src/test/resources/ci/testSuites/normatives.xml
new file mode 100644
index 0000000000..02da714578
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/normatives.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Copyright © 2018 European Support Limited
+ ~
+ ~ 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.
+ -->
+
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="normatives" >
+ <test name="InterfaceLifecycleTypes">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.globaltypes.InterfaceLifecycleTypesTest"/>
+ </classes>
+ </test>
+</suite> \ No newline at end of file
diff --git a/integration-tests/src/test/resources/ci/testSuites/onapApiSanity.xml b/integration-tests/src/test/resources/ci/testSuites/onapApiSanity.xml
new file mode 100644
index 0000000000..9fcd043cd3
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/onapApiSanity.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="externalApis" configfailurepolicy="continue" verbose="2" parallel="methods" thread-count="1" data-provider-thread-count="1">
+ <parameter name="makeDistribution" value="false"/>
+ <parameter name="makeToscaValidation" value="true"/>
+ <test name="ExternalApis">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.sanity.Onboard"/>
+ </classes>
+ </test>
+</suite> \ No newline at end of file
diff --git a/integration-tests/src/test/resources/ci/testSuites/pass.xml b/integration-tests/src/test/resources/ci/testSuites/pass.xml
new file mode 100644
index 0000000000..731d73675c
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/pass.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="externalApis" configfailurepolicy="continue" verbose="2" parallel="methods" thread-count="1" data-provider-thread-count="1">
+ <parameter name="makeDistribution" value="false"/>
+ <parameter name="makeToscaValidation" value="true"/>
+ <test name="passTest">
+
+ <classes>
+ <class
+ name="org.openecomp.sdc.ci.tests.sanity.Onboard">
+ <methods>
+ <include name="passTest" />
+ </methods>
+ </class>
+
+ </classes>
+ </test>
+</suite> \ No newline at end of file
diff --git a/integration-tests/src/test/resources/ci/testSuites/product.xml b/integration-tests/src/test/resources/ci/testSuites/product.xml
new file mode 100644
index 0000000000..101b94a6bb
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/product.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="Product">
+ <test name="Test">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductLifecycleTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductUndoCheckoutTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckinTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckoutTest"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- Product -->
diff --git a/integration-tests/src/test/resources/ci/testSuites/productAPIs.xml b/integration-tests/src/test/resources/ci/testSuites/productAPIs.xml
new file mode 100644
index 0000000000..df9aa9f152
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/productAPIs.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="productAPIs" configfailurepolicy="continue" verbose="2" parallel="tests"
+ thread-count="6">
+
+ <test name="Test">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckinTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckoutTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCreateWithValidationsTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductGetFollowedTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductUndoCheckoutTest"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- Suite --> \ No newline at end of file
diff --git a/integration-tests/src/test/resources/ci/testSuites/property.xml b/integration-tests/src/test/resources/ci/testSuites/property.xml
new file mode 100644
index 0000000000..b7dba95f16
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/property.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="Property" >
+ <test name="Test">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.property.PropertyApisTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.property.AdditionalInformationServletTest"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- Property -->
diff --git a/integration-tests/src/test/resources/ci/testSuites/resource.xml b/integration-tests/src/test/resources/ci/testSuites/resource.xml
new file mode 100644
index 0000000000..4fd0e43a02
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/resource.xml
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="Sanity" configfailurepolicy="continue">
+
+ <test verbose="2" name="Sanity">
+ <classes>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.category.CatalogDataApiTest"/>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.distribution.AuthanticationTests">
+ <methods>
+ <include name="downloadServiceArtifactSuccessWithAutantication"/>
+ </methods>
+ </class>
+
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.distribution.DistributionDownloadArtifactTest">
+ <methods>
+ <include name="downloadResourceArtifactSuccess"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.general.FeProxyTest"/>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.general.UuidTest">
+ <methods>
+ <include name="testE2EUuidHeaderReturnedAndPreserved"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.imports.ImportGenericResourceCITest">
+ <methods>
+ <include name="importAllTestResources"/>
+ <include name="testImportCheckoutAndUpdateUserResource"/>
+ <include name="testImportWithUpdateNormativeType"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.property.AdditionalInformationServletTest">
+ <methods>
+ <include name="createResourceAdditionalInformationTestDuringLifecycle"/>
+ <include name="updateResourceAdditionalInformationTest"/>
+ <include name="deleteResourceAdditionalInformationTest"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.property.PropertyApisTest">
+ <methods>
+ <include name="testPropertyApis"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.resource.GetAllResourceVersions">
+ <methods>
+ <include name="getResourceAllVersions_version15"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.resource.ResourceApiTest">
+ <methods>
+ <include name="updateResourceMetadataSuccess"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.resource.UpdateResourceMetadataTest">
+ <methods>
+ <include name="UpdateDerivedFromSuccess"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.service.GetComponentAuditApiTest">
+ <methods>
+ <include name="testServiceAuditCertifiedVersion"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.user.ActivateDeActivateDeleteUser">
+ <methods>
+ <include name="authorizeDeActivatedUser"/>
+ </methods>
+ </class>
+
+ <!-- Product tests start-->
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckinTest">
+ <methods>
+ <include name="checkInProductByCreator"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckoutTest">
+ <methods>
+ <include name="checkOutProductByPmNotInContacts"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductGetFollowedTest">
+ <methods>
+ <include name="followedPageTest"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductUndoCheckoutTest">
+ <methods>
+ <include name="undoCheckOutProductByPm"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.ci.tests.execute.interfaceoperation.InterfaceOperationsTest">
+ <methods>
+ <include name="addInterfaceOperationsOfGlobalTypeOnResource"/>
+ <include name="addInterfaceOperationsOnResource"/>
+ <include name="getInterfaceOperationsFromResource"/>
+ <include name="updateInterfaceOperationsOnResource"/>
+ <include name="deleteInterfaceOperationsFromResource"/>
+ <include name="addInterfaceOperationsOfGlobalTypeOnPNFResource"/>
+ <include name="addInterfaceOperationsOnPNFResource"/>
+ <include name="getInterfaceOperationsFromPNFResource"/>
+ <include name="updateInterfaceOperationsOnPNFResource"/>
+ <include name="deleteInterfaceOperationsFromPNFResource"/>
+ </methods>
+ </class>
+ <!-- Product tests end-->
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- Sanity -->
diff --git a/integration-tests/src/test/resources/ci/testSuites/sanity.xml b/integration-tests/src/test/resources/ci/testSuites/sanity.xml
new file mode 100644
index 0000000000..320c3ccd43
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/sanity.xml
@@ -0,0 +1,228 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="Sanity" configfailurepolicy="continue" verbose="2">
+
+ <test name="sanityE2Eflows">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.sanity.CrudE2E"/>
+ </classes>
+ </test>
+
+ <test name="General">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.general.FeProxyTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.general.UuidTest">
+ <methods>
+ <include name="testE2EUuidHeaderReturnedAndPreserved"/>
+ </methods>
+ </class>
+ </classes>
+ </test>
+
+ <test name="ArtifactOnInstance">
+ <classes>
+ </classes>
+ </test>
+
+ <test name="Artifact">
+ <classes>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.artifacts.DownloadComponentArt">
+ <methods>
+ <include name="downloadArtifactFromResourceTest"/>
+ <include name="downloadArtifactFromServiceTest"/>
+ </methods>
+ </class>
+ </classes>
+ </test>
+
+ <test name="Service">
+ <classes>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.service.GetComponentAuditApiTest">
+ <methods>
+ <include name="testServiceAuditCertifiedVersion"/>
+ </methods>
+ </class>
+
+ </classes>
+ </test>
+
+ <test name="Resource">
+ <classes>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.resource.GetAllResourceVersions">
+ <methods>
+ <include name="getResourceAllVersions_version15"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.resource.ResourceApiTest">
+ <methods>
+ <include name="updateResourceMetadataSuccess"/>
+ </methods>
+ </class>
+
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.resource.UpdateResourceMetadataTest">
+ <methods>
+ <include name="UpdateDerivedFromSuccess"/>
+ </methods>
+ </class>
+ </classes>
+ </test>
+ <test name="Product">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckinTest">
+ <methods>
+ <include name="checkInProductByCreator"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckoutTest">
+ <methods>
+ <include name="checkOutProductByPmNotInContacts"/>
+ </methods>
+ </class>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.product.ProductGetFollowedTest">
+ <methods>
+ <include name="followedPageTest"/>
+ </methods>
+ </class>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.product.ProductUndoCheckoutTest">
+ <methods>
+ <include name="undoCheckOutProductByPm"/>
+ </methods>
+ </class>
+ <!-- Product tests end -->
+ </classes>
+ </test>
+ <test name="Catalog">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.category.CatalogDataApiTest"/>
+ </classes>
+ </test>
+
+ <test name="distribution">
+ <classes>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.distribution.AuthanticationTests">
+ <methods>
+ <include name="downloadServiceArtifactSuccessWithAutantication"/>
+ </methods>
+ </class>
+
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.distribution.DistributionDownloadArtifactTest">
+ <methods>
+ <include name="downloadResourceArtifactSuccess"/>
+ </methods>
+ </class>
+ </classes>
+ </test>
+
+ <test name="Category">
+ <classes>
+ </classes>
+ </test>
+
+ <test name="Imports">
+ <classes>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.imports.ImportGenericResourceCITest">
+ <methods>
+ <include name="importAllTestResources"/>
+ <include name="testImportCheckoutAndUpdateUserResource"/>
+ <include name="testImportWithUpdateNormativeType"/>
+ </methods>
+ </class>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.imports.ImportToscaCapabilitiesWithProperties">
+ <methods>
+ <include name="importNodeTypeWithCapabilityWithPropertiesFromYmlSucceed"/>
+ <include
+ name="importResourceWithCapabilityWithPropertiesOverridingCapTypePropertiesSucceed"/>
+ </methods>
+ </class>
+ </classes>
+ </test> <!-- Test -->
+
+ <test name="attribute">
+ <classes>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.attribute.ComponentInstanceAttributeTest">
+ <methods>
+ <include name="testUpdateAttributeOnResourceInstance"/>
+ </methods>
+ </class>
+ </classes>
+ </test>
+
+ <test name="inputs">
+ <classes>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.inputs.InputsApiTests">
+ <methods>
+ <include name="testInputsMainFunctionality"/>
+ </methods>
+ </class>
+ </classes>
+ </test>
+
+ <test name="property">
+ <classes>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.property.AdditionalInformationServletTest">
+ <methods>
+ <include name="createResourceAdditionalInformationTestDuringLifecycle"/>
+ <include name="updateResourceAdditionalInformationTest"/>
+ <include name="deleteResourceAdditionalInformationTest"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.property.PropertyApisTest">
+ <methods>
+ <include name="testPropertyApis"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.ci.tests.execute.property.ComponentInstancePropertyTest">
+ <methods>
+ <include name="nestedVfResourceProperty3Levels"/>
+ </methods>
+ </class>
+
+ </classes>
+ </test>
+
+ <test name="User">
+ <classes>
+
+ </classes>
+ </test>
+
+ <test name="ExternalApis">
+ <classes>
+ <class name="org.openecomp.sdc.externalApis.GetAssetServlet">
+ <methods>
+ <include name="getResourceAssetSuccess"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.externalApis.GetFilteredAssetServlet">
+ <methods>
+ <include name="getResourceAssetBySpecifiedCategoryAndSubCategory"/>
+ <include name="getServiceAssetBySpecifiedCategoryAndDistributionStatus"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.externalApis.GetSpecificAssetMetadataServlet">
+ <methods>
+ <include name="getResourceAssetMetadataWithResourceInstancesSuccess"/>
+ <include
+ name="getServiceAssetMetadataWithCertifiedResourceInstancesAndArtifactsOnRIsAndServiceSuccess"/>
+ </methods>
+ </class>
+ </classes>
+ </test>
+
+
+</suite> \ No newline at end of file
diff --git a/integration-tests/src/test/resources/ci/testSuites/service.xml b/integration-tests/src/test/resources/ci/testSuites/service.xml
new file mode 100644
index 0000000000..9c662764ea
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/service.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="Service">
+ <test name="Service">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.service.GetAllServiceVersions"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.interfaceoperation.InterfaceOperationsTest">
+ <methods>
+ <include name="addInterfaceOperationsOnService"/>
+ <include name="getInterfaceOperationsFromService"/>
+ <include name="updateInterfaceOperationsOnService"/>
+ <include name="deleteInterfaceOperationsFromService"/>
+ <include name="testCreateOperationWithLocalInterfaceAndDownloadArtifact"/>
+ </methods>
+ </class>
+ </classes>
+ </test>
+</suite> <!-- Service -->
diff --git a/integration-tests/src/test/resources/ci/testSuites/testngLifeCycle.xml b/integration-tests/src/test/resources/ci/testSuites/testngLifeCycle.xml
new file mode 100644
index 0000000000..7f1cba4d9c
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/testngLifeCycle.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="lifeCycle">
+ <test name="Test">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCSbaseTest"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- lifeCycle -->
diff --git a/integration-tests/src/test/resources/ci/testSuites/user.xml b/integration-tests/src/test/resources/ci/testSuites/user.xml
new file mode 100644
index 0000000000..3ab1f971fb
--- /dev/null
+++ b/integration-tests/src/test/resources/ci/testSuites/user.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="User">
+ <test name="Test">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.user.ActivateDeActivateDeleteUser"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- User -->