aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'asdc-tests/src/main/resources')
-rw-r--r--asdc-tests/src/main/resources/ci/conf/log4j.properties34
-rw-r--r--asdc-tests/src/main/resources/ci/conf/sdc-packages.yaml12
-rw-r--r--asdc-tests/src/main/resources/ci/conf/sdc.yaml88
-rw-r--r--asdc-tests/src/main/resources/ci/conf/testngLifeCycle.xml27
-rw-r--r--asdc-tests/src/main/resources/ci/conf/titan.properties8
-rw-r--r--asdc-tests/src/main/resources/ci/conf/truststorebin0 -> 971 bytes
-rw-r--r--asdc-tests/src/main/resources/ci/scripts/startTest.sh88
-rw-r--r--asdc-tests/src/main/resources/ci/testSuites/artifacts.xml19
-rw-r--r--asdc-tests/src/main/resources/ci/testSuites/category.xml11
-rw-r--r--asdc-tests/src/main/resources/ci/testSuites/ciFull.xml221
-rw-r--r--asdc-tests/src/main/resources/ci/testSuites/externalApis.xml11
-rw-r--r--asdc-tests/src/main/resources/ci/testSuites/general.xml11
-rw-r--r--asdc-tests/src/main/resources/ci/testSuites/imports.xml12
-rw-r--r--asdc-tests/src/main/resources/ci/testSuites/product.xml14
-rw-r--r--asdc-tests/src/main/resources/ci/testSuites/property.xml11
-rw-r--r--asdc-tests/src/main/resources/ci/testSuites/resource.xml336
-rw-r--r--asdc-tests/src/main/resources/ci/testSuites/sanity.xml389
-rw-r--r--asdc-tests/src/main/resources/ci/testSuites/service.xml15
-rw-r--r--asdc-tests/src/main/resources/ci/testSuites/testngLifeCycle.xml27
-rw-r--r--asdc-tests/src/main/resources/ci/testSuites/user.xml18
20 files changed, 1352 insertions, 0 deletions
diff --git a/asdc-tests/src/main/resources/ci/conf/log4j.properties b/asdc-tests/src/main/resources/ci/conf/log4j.properties
new file mode 100644
index 0000000000..d313e92b55
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/conf/log4j.properties
@@ -0,0 +1,34 @@
+# Define the root logger with appender file
+log4j.rootLogger = INFO, FILE, stdout
+
+# Define the file appender
+log4j.appender.FILE=org.apache.log4j.RollingFileAppender
+log4j.appender.FILE.File=${targetlog}logs/ci-log.out
+
+# Define the layout for file appender
+log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
+log4j.appender.FILE.layout.conversionPattern=%d{yyyy-MM-dd HH:mm:ss} %5p [%10c] : %m%n
+
+# Set the maximum file size before rollover
+log4j.appender.FILE.maxFileSize=5MB
+
+# Set the the backup index
+log4j.appender.FILE.maxBackupIndex=10
+
+
+#############################################################
+
+# Direct log messages to stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.Target=System.out
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+#log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
+log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %5p %10c:%L - %m%n
+
+log4j.logger.org.apache.cassandra.service.StorageProxy=INFO
+log4j.logger.com.thinkaurelius.titan.diskstorage.cassandra.CassandraTransaction=INFO, FILE, stdout
+
+log4j.logger.org.openecomp.sdc.ci.tests.utils=INFO, FILE, stdout
+log4j.additivity.org.openecomp.sdc.ci.tests.utils=false
+
+
diff --git a/asdc-tests/src/main/resources/ci/conf/sdc-packages.yaml b/asdc-tests/src/main/resources/ci/conf/sdc-packages.yaml
new file mode 100644
index 0000000000..5d1a3e1537
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/conf/sdc-packages.yaml
@@ -0,0 +1,12 @@
+packages:
+ - org.openecomp.sdc.ci.tests.execute.general
+ - org.openecomp.sdc.ci.tests.execute.user
+ - org.openecomp.sdc.ci.tests.execute.property
+ - org.openecomp.sdc.ci.tests.execute.lifecycle
+ - org.openecomp.sdc.ci.tests.execute.resource
+ - org.openecomp.sdc.ci.tests.execute.service
+ - org.openecomp.sdc.ci.tests.execute.artifacts
+ - org.openecomp.sdc.ci.tests.execute.imports
+ - org.openecomp.sdc.ci.tests.execute.category
+ - org.openecomp.sdc.ci.tests.execute.distribution
+ - org.openecomp.sdc.ci.tests.execute.product \ No newline at end of file
diff --git a/asdc-tests/src/main/resources/ci/conf/sdc.yaml b/asdc-tests/src/main/resources/ci/conf/sdc.yaml
new file mode 100644
index 0000000000..c9730811b3
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/conf/sdc.yaml
@@ -0,0 +1,88 @@
+outputFolder: target
+reportName: index.html
+catalogBeHost: behost
+catalogFeHost: fehost
+esHost: eshost
+disributionClientHost: disClient
+catalogFePort: 8181
+catalogBePort: 8080
+disributionClientPort: 8181
+esPort: 9200
+neoHost: neoHost
+neoPort: 7474
+neoDBusername: neo4j
+neoDBpassword: 123456
+
+resourceConfigDir: src/test/resources/CI/tests
+componentsConfigDir: src/test/resources/CI/components
+importResourceConfigDir: ../catalog-be/src/main/resources/import/tosca/capability-types
+importResourceTestsConfigDir: src/test/resources/CI/importResourceTests
+errorConfigurationFile: ../catalog-be/src/main/resources/config/error-configuration.yaml
+configurationFile: ../catalog-be/src/main/resources/config/configuration.yaml
+importTypesConfigDir: src/test/resources/CI/importTypesTest
+
+
+titanPropertiesFile: src/main/resources/ci/conf/titan.properties
+cassandraHost: 127.0.0.1
+cassandraAuthenticate: false
+cassandraUsername: koko
+cassandraPassword: bobo
+cassandraSsl: false
+cassandraTruststorePath : /path/path
+cassandraTruststorePassword : 123123
+cassandraAuditKeySpace: sdcAudit
+cassandraArtifactKeySpace: sdcArtifact
+
+
+stopOnClassFailure: false
+
+#List of non-abstract resources to keep during titan cleanup between tests
+#Only 1.0 version will be kept
+resourcesNotToDelete:
+ - Compute
+ - Database
+ - ObjectStorage
+ - BlockStorage
+ - LoadBalancer
+ - Port
+ - Network
+ - Root
+ - ContainerApplication
+ - ContainerRuntime
+ - DBMS
+ - SoftwareComponent
+ - WebApplication
+ - WebServer
+ - CinderVolume
+ - ContrailVirtualNetwork
+ - NeutronNet
+ - NeutronPort
+ - NovaServer
+ - AbstractSubstitute
+ - ContrailAbstractSubstitute
+ - ContrailCompute
+ - ContrailNetworkRules
+ - ContrailPort
+ - ContrailV2NetworkRules
+ - ContrailV2VirtualMachineInterface
+ - ContrailV2VirtualNetwork
+ - ContrailVirtualNetwork
+ - VL ELINE
+ - SecurityRules
+ - VL
+
+#Resource categories to keep (including all their subcategories)
+resourceCategoriesNotToDelete:
+ - Generic
+ - Network L2-3
+ - Network L4+
+ - Application L4+
+ - Network Connectivity
+ - DcaeComponent
+
+#Service categories to keep
+serviceCategoriesNotToDelete:
+ - Mobility
+ - Network L1-3
+ - Network L4+
+ - VoIP Call Control \ No newline at end of file
diff --git a/asdc-tests/src/main/resources/ci/conf/testngLifeCycle.xml b/asdc-tests/src/main/resources/ci/conf/testngLifeCycle.xml
new file mode 100644
index 0000000000..aa390dc213
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/conf/testngLifeCycle.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="lifeCycle" parallel="none">
+ <test name="Test">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceLCS_cerificationCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceResourceLCSTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCS_UndoCheckOutCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceLCS_UndoCheckOutCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCS_StartCertificationCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceLCS_CheckinCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCS_CheckOutCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceCertWithResourceInstances"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.CrossCheckOutTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.CertifyVFWithNotCertRIs"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCS_request4CerCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.CleanupIntermediateReources"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceLCS_CheckOutCIT"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCS_cerificationCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.CertifyServiceWithNotCertRI"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCS_CheckInCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceLCS_request4CerCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCSbaseTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceLCS_StartCertificationCITest"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- lifeCycle -->
diff --git a/asdc-tests/src/main/resources/ci/conf/titan.properties b/asdc-tests/src/main/resources/ci/conf/titan.properties
new file mode 100644
index 0000000000..42e1998f89
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/conf/titan.properties
@@ -0,0 +1,8 @@
+storage.backend=cassandra
+#storage.hostname=cassandrahost
+storage.hostname=localhost
+storage.port=9160
+
+cache.db-cache = false
+
+
diff --git a/asdc-tests/src/main/resources/ci/conf/truststore b/asdc-tests/src/main/resources/ci/conf/truststore
new file mode 100644
index 0000000000..bdec93d862
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/conf/truststore
Binary files differ
diff --git a/asdc-tests/src/main/resources/ci/scripts/startTest.sh b/asdc-tests/src/main/resources/ci/scripts/startTest.sh
new file mode 100644
index 0000000000..ca3add59c5
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/scripts/startTest.sh
@@ -0,0 +1,88 @@
+#!/bin/bash
+
+function usage {
+ echo "Usage: $0 <jar file>"
+}
+
+function exitOnError() {
+ if [ $1 -ne 0 ]
+ then
+ echo "Failed running task $2"
+ exit 2
+ fi
+}
+
+if [ $# -lt 1 ]
+then
+ usage
+ exit 2
+fi
+
+CURRENT_DIR=`pwd`
+BASEDIR=$(dirname $0)
+
+if [ ${BASEDIR:0:1} = "/" ]
+then
+ FULL_PATH=$BASEDIR
+else
+ FULL_PATH=$CURRENT_DIR/$BASEDIR
+fi
+
+LOGS_PROP_FILE=file:${FULL_PATH}/conf/log4j.properties
+#############################################
+TARGET_DIR=${FULL_PATH}/target
+CONF_FILE=${FULL_PATH}/conf/sdc.yaml
+DEBUG=true
+MainClass=org.openecomp.sdc.ci.tests.run.StartTest
+
+JAR_FILE=$1
+SUITE_FILE=$2
+
+#TARGET_DIR=`echo ${TARGET_DIR} | sed 's/\//\//g'`
+#echo $TARGET_DIR
+
+TESTS_DIR=/opt/app/sdc/ci/resources/tests
+COMPONENTS_DIR=/opt/app/sdc/ci/resources/components
+
+#sed -i 's#\(outputFolder:\).*#\1 '${TARGET_DIR}'#g' $CONF_FILE
+#sed -i 's#\(resourceConfigDir:\).*#\1 '${TESTS_DIR}'#g' $CONF_FILE
+#sed -i 's#\(componentsConfigDir:\).*#\1 '${COMPONENTS_DIR}'#g' $CONF_FILE
+TARGET_LOG_DIR="${TARGET_DIR}/"
+
+# mkdir -p ${TARGET_DIR}
+#if [ -d ${TARGET_DIR} ]
+#then
+# rm -rf ${TARGET_DIR}/*
+#exitOnError $? "Failed_to_delete_target_dir"
+#fi
+
+debug_port=8800
+#JAVA_OPTION="-javaagent:/var/tmp/jacoco/lib/jacocoagent.jar=destfile=jacoco-it.exec"
+JAVA_OPTION=""
+case "$2" in
+ -debug) echo "Debug mode, Listen on port $debug_port"; JAVA_OPTION="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=${debug_port}" ;;
+ "") echo "Standard mode";;
+ *) echo "USAGE: startTest.sh [-debug]";;
+esac
+
+cmd="java $JAVA_OPTION -DdisplayException=true -Dtargetlog=${TARGET_LOG_DIR} -Dconfig.resource=${CONF_FILE} -Ddebug=${DEBUG} -Dlog4j.configuration=${LOGS_PROP_FILE} -cp $JAR_FILE ${MainClass} $SUITE_FILE"
+
+#echo $cmd
+#console=`$cmd`
+
+if [ $DEBUG == "true" ]
+then
+ $cmd
+else
+ $cmd >> /dev/null
+fi
+status=`echo $?`
+
+
+
+echo "##################################################"
+echo "################# status is ${status} #################"
+echo "##################################################"
+
+exit $status
+
diff --git a/asdc-tests/src/main/resources/ci/testSuites/artifacts.xml b/asdc-tests/src/main/resources/ci/testSuites/artifacts.xml
new file mode 100644
index 0000000000..24229b8586
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/testSuites/artifacts.xml
@@ -0,0 +1,19 @@
+<?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.ArtifactServletTest" />
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.artifacts.ValidateHeatArtFieldsTypes" />
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.artifacts.PlaceHolderValidations" />
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.artifacts.ValidateArtResponse" />
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.CrudArt" />
+ </classes>
+ </test>
+</suite> <!-- Artifacts -->
diff --git a/asdc-tests/src/main/resources/ci/testSuites/category.xml b/asdc-tests/src/main/resources/ci/testSuites/category.xml
new file mode 100644
index 0000000000..f2a0b3790c
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/testSuites/category.xml
@@ -0,0 +1,11 @@
+<?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.CategoriesTests"/>
+ <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/asdc-tests/src/main/resources/ci/testSuites/ciFull.xml b/asdc-tests/src/main/resources/ci/testSuites/ciFull.xml
new file mode 100644
index 0000000000..9877670a90
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/testSuites/ciFull.xml
@@ -0,0 +1,221 @@
+<?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.ElementsApiTest" />
+ <class name="org.openecomp.sdc.ci.tests.execute.category.CategoriesTests">
+ <methods>
+ <exclude name="importCategories" />
+ <exclude name="getServiceCategoryHierarchySuccessFlow" />
+ </methods>
+ </class>
+ <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.ManageEcompConsumerCredentials">
+ <methods>
+ <exclude name="createEcompCredentialsByNoExistingIUser" />
+ </methods>
+ </class>
+ <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.ComponentRelationshipInVfTest">
+ <methods>
+ <exclude name="associateOneOfTwoCPsToVl_ThenDiscocciate" />
+ <exclude name="disassociateRelationInVfNotFound" />
+ </methods>
+ </class>
+ <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.VfComponentInstanceCRUDTest">
+ <methods>
+ <exclude name="createAllAtomicInstancesTestGetReqCapAPI_suc" />
+ <exclude name="createVfcInstance_UserIdIsEmpty" />
+ </methods>
+ </class>
+ <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.ProductComponentInstanceCRUDTest">
+ <methods>
+ <exclude name="createServiceInstanceNameIsNull" />
+ </methods>
+ </class>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.product.ChangeServiceInstanceVersionTest">
+ <methods>
+ <exclude name="changeServiceInstanceVersionToNonExisitingServiceVersion" />
+ </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.ProductCrudTest">
+ <methods>
+ <exclude name="updateProductDescriptionRemoveSpacesFromBeginning" />
+ <exclude name="updateProductDescriptionRemoveSpacesFromTheEnd" />
+ <exclude name="updateProductDescriptionValidCharacters02" />
+ </methods>
+ </class>
+ <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.GetServiceLatestVersionTest" />
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.service.CreateServiceMetadataApiTest" />
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.service.ReqCapOccurrencesTest" />
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.service.ChangeServiceDistributionStatusApiTest">
+ <methods>
+ <exclude name="approveCertifiedService_byDesigner" />
+ <exclude name="approveCertifiedService_byOps" />
+ <exclude name="approveCertifiedService_byTester" />
+ <exclude
+ name="distributionStatusChange_approve_Reject_AprroveBysdncAdminDetails" />
+ <exclude name="rejectCertifiedService_byDesigner" />
+ <exclude name="rejectCertifiedService_byOps" />
+ <exclude name="rejectCertifiedService_byTester" />
+ <exclude name="rejectCertifiedService_bysdncAdminDetails" />
+ <exclude name="rejectCertifiedService_bysdncGovernorDeatails" />
+ <exclude name="rejectNotCertifiedService_checkedin" />
+ <exclude name="rejectNotCertifiedService_checkeout" />
+ <exclude name="rejectNotCertifiedService_inProgress" />
+ <exclude name="rejectNotCertifiedService_readyForCer" />
+ <exclude name="rejectServiceNotFound" />
+ </methods>
+ </class>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.service.ServiceComponentInstanceCRUDTest">
+ <methods>
+ <exclude name="associateAfterCheckoutAllInstancesTest" />
+ <exclude name="associateAfterDeletingResourceTest" />
+ <exclude name="associateDissociateTwoVFs" />
+ <exclude name="associateInstancesInTwoServiceVersionsTest" />
+ <exclude name="associateNotCompitableReqCapTest" />
+ <exclude name="associateOnceAgainExistingRelationTest" />
+ <exclude name="associateResourceInstanceToResourceInstanceNotFoundTest" />
+ <exclude
+ name="associateTwoRelations_CheckinCheckout_DissoicateOneRelationInSecondVersion" />
+ <exclude name="createResourceInstanceWithEmptyUserIdTest" />
+ <exclude name="deleteNotFoundResourceInstanceTest" />
+ <exclude name="deleteResourceInstanceWithEmptyUserIdTest" />
+ <exclude name="dissociateOnceAgainTest" />
+ <exclude name="dissociateRelationNotFoundTest" />
+ <exclude name="dissoicateRelationWhileInstanceNotFound" />
+ <exclude name="dissoicateWithEmptyUserIdsHeaderTest" />
+ <exclude name="relationDeletedAfterDeletingResourceInstanceTest" />
+ </methods>
+ </class>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.service.UpdateServiceMetadataTest">
+ <methods>
+ <exclude name="categoryValidationTest6" />
+ <exclude name="categoryValidationTest7" />
+ <exclude name="descriptionValidationTest11" />
+ <exclude name="descriptionValidationTest12" />
+ <exclude name="descriptionValidationTest13" />
+ <exclude name="descriptionValidationTest7" />
+ <exclude name="serviceNameValidationTest17" />
+ <exclude name="updateCertifiedService" />
+ <exclude name="updateCheckoutCertifiedService" />
+ <exclude name="updateServiceByMethod_delete" />
+ <exclude name="updateServiceByMethod_get" />
+ <exclude name="updateServiceByMethod_post" />
+ <exclude name="updateServiceNotExist" />
+ </methods>
+ </class>
+ <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.ArtifactServletTest" />
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.artifacts.ValidateHeatArtFieldsTypes" />
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.artifacts.PlaceHolderValidations" />
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.artifacts.ValidateArtResponse" />
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.CrudArt" />
+ </classes>
+ </test>
+</suite> \ No newline at end of file
diff --git a/asdc-tests/src/main/resources/ci/testSuites/externalApis.xml b/asdc-tests/src/main/resources/ci/testSuites/externalApis.xml
new file mode 100644
index 0000000000..5db368ecf4
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/testSuites/externalApis.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">
+ <test name="ExternalApis">
+ <classes>
+ <class name="org.openecomp.sdc.externalApis.GetAssetServlet" />
+ <class name="org.openecomp.sdc.externalApis.GetFilteredAssetServlet"/>
+ <class name="org.openecomp.sdc.externalApis.GetSpecificAssetMetadataServlet"/>
+ </classes>
+ </test>
+</suite> \ No newline at end of file
diff --git a/asdc-tests/src/main/resources/ci/testSuites/general.xml b/asdc-tests/src/main/resources/ci/testSuites/general.xml
new file mode 100644
index 0000000000..bd7e6b6650
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/testSuites/general.xml
@@ -0,0 +1,11 @@
+<?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.SampleTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.general.ManageEcompConsumerCredentials"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.general.UuidTest"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- General -->
diff --git a/asdc-tests/src/main/resources/ci/testSuites/imports.xml b/asdc-tests/src/main/resources/ci/testSuites/imports.xml
new file mode 100644
index 0000000000..ae4a5bc1f8
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/testSuites/imports.xml
@@ -0,0 +1,12 @@
+<?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"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.imports.ImportCsarResourceTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.imports.ImportNewResourceCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.imports.ImportToscaResourceTest"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- Imports -->
diff --git a/asdc-tests/src/main/resources/ci/testSuites/product.xml b/asdc-tests/src/main/resources/ci/testSuites/product.xml
new file mode 100644
index 0000000000..4ea495d0d7
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/testSuites/product.xml
@@ -0,0 +1,14 @@
+<?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"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCrudTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductComponentInstanceCRUDTest"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- Product -->
diff --git a/asdc-tests/src/main/resources/ci/testSuites/property.xml b/asdc-tests/src/main/resources/ci/testSuites/property.xml
new file mode 100644
index 0000000000..f94f89737a
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/testSuites/property.xml
@@ -0,0 +1,11 @@
+<?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.PropertyServletTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.property.AdditionalInformationServletTest"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- Property -->
diff --git a/asdc-tests/src/main/resources/ci/testSuites/resource.xml b/asdc-tests/src/main/resources/ci/testSuites/resource.xml
new file mode 100644
index 0000000000..5f23325790
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/testSuites/resource.xml
@@ -0,0 +1,336 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="Sanity" configfailurepolicy="continue" >
+
+ <!--
+ <listeners>
+ <listener class-name="org.openecomp.sdc.ci.tests.config.InvokedMethodListener" />
+ </listeners>
+ -->
+
+
+ <test verbose="2" name="Sanity">
+ <classes>
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.ArtifactServletTest">
+ <methods>
+ <include name="upadteArtifactWithPayLoadToResourcseTest"/>
+ <include name="createAndUpdateArtifactToInterface"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.CrudArt">
+ <methods>
+ <include name="addHeatArtifactToResourceAndCertify"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.LCS_Artifacts">
+ <methods>
+ <include name="LCS_inherit_artifact"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.ValidateArtResponse"/>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.category.CatalogDataApiTest"/>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.category.ElementsApiTest">
+ <methods>
+ <include name="getAllArtifactTypes"/>
+ <include name="getConfiguration"/>
+ <include name="getAllPropertyScopesSuccess"/>
+ </methods>
+ </class>
+ <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.BasicHttpAuthenticationTest">
+ <methods>
+ <include name="sendAuthenticatedRequestTest_success"/>
+ </methods>
+ </class>
+
+
+
+ <class name="org.openecomp.sdc.ci.tests.execute.general.FeProxyTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.general.ManageEcompConsumerCredentials">
+ <methods>
+ <include name="deleteEcompCredentialsMethodDelete"/>
+ </methods>
+ </class>
+ <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.imports.ImportNewResourceCITest">
+ <methods>
+ <include name="importAllTestResources_toValidateNewAPI"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.imports.ImportToscaResourceTest">
+ <methods>
+ <include name="importToscaResource"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.CleanupIntermediateReources">
+ <methods>
+ <include name="test28"/>
+ <include name="test29"/>
+ <include name="test30"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.CleanupIntermediateServicesTest">
+ <methods>
+ <include name="testCleanupIntermediateServices"/>
+ </methods>
+ </class>
+
+
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ResourceLCS_cerificationCITest">
+ <methods>
+ <include name="verifyAllPrevVerDeleted"/>
+ <include name="verifyStartWithDesignerCertByAdmin"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ResourceLCS_CheckInCITest">
+ <methods>
+ <include name="checkInTest_suc"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ResourceLCS_CheckOutCITest">
+ <methods>
+ <include name="checkOutTest_currState_READY_FOR_CERTIFICATION_ownerDSIGNER_performByADMIN_suc"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ResourceLCS_request4CerCITest">
+ <methods>
+ <include name="req4cer_fromCheckOut_designer_admin"/>
+ </methods>
+ </class>
+
+
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ResourceLCS_StartCertificationCITest">
+ <methods>
+ <include name="startCer_suc"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ResourceLCS_UndoCheckOutCITest">
+ <methods>
+ <include name="undoCheckOutTest_import_outAdmin_undoOut_designer"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceCertWithMandatoryArt">
+ <methods>
+ <include name="CertServiceWithHeatDeployArtOnResource"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceCertWithResourceInstances">
+ <methods>
+ <include name="certServiceWithCertResource"/>
+ </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.property.PropertyServletTest">
+ <methods>
+ <include name="createCascadeVfResource"/>
+ <include name="createPropertyTestSetClearDefaultValueInetegr"/>
+ </methods>
+ </class>
+
+
+ <class name="org.openecomp.sdc.ci.tests.execute.resource.GetAllLatestVersionNonAbstarctResources">
+ <methods>
+ <include name="resourceCertifiedTwiceCoutCinCout"/>
+ </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.GetFollwedElementsTest">
+ <methods>
+ <include name="getResourcesListBolongsToSpecificDesigner"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.resource.GetResourceAbstractApiTest">
+ <methods>
+ <include name="getAbstractResourceList"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.resource.GetResourceNotAbstractApiTest">
+ <methods>
+ <include name="getNotAbstractResourceList"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.resource.GetResourceTagsApiTest">
+ <methods>
+ <include name="getModifiedResourceTagsList"/>
+ </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.ResourceInstanceNameCRUD">
+ <methods>
+ <include name="updateResourceInstanceNameAfterServiceCertification"/>
+ </methods>
+ </class>
+ -->
+<!-- <class name="org.openecomp.sdc.ci.tests.execute.resource.ResourceInstanceServletTest">
+ <methods>
+ <include name="updateRI_suc"/>
+ </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.service.ServiceApiTest">
+ <methods>
+ <include name="createServiceTest"/>
+ <include name="getFollowedServicesTester"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.service.ServiceInformationalArtifactApiTest">
+ <methods>
+ <include name="addArtifactSuccessfuly"/>
+ <include name="deleteArtifact"/>
+ <include name="updateArtifactMetadataSuccessfully"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.service.UpdateServiceMetadataTest">
+ <methods>
+ <include name="updateServiceSuccessfully"/>
+ </methods>
+ </class>
+
+
+ <class name="org.openecomp.sdc.ci.tests.execute.user.ActivateDeActivateDeleteUser">
+ <methods>
+ <include name="authorizeDeActivatedUser"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.user.CreateUserApiTest">
+ <methods>
+ <include name="createUser"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.user.GovernorWorkspaceApiTest">
+ <methods>
+ <include name="governorList_AllCertifiedVersionsOfService"/>
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.user.OpsWorkspaceApiTest">
+ <methods>
+ <include name="opsList_AllCertifiedVersionsOfServiceApproved"/>
+ </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.ChangeServiceInstanceVersionTest">
+ <methods>
+ <include name="changeServiceInstanceVersionByPm"/>
+ </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.ProductComponentInstanceCRUDTest">
+ <methods>
+ <include name="createServiceInstanceTest"/>
+ <include name="deleteServiceInstanceByPm"/>
+ <include name="updateServiceInstanceNameByPm"/>
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCrudTest">
+ <methods>
+ <include name="createManyGroupingsDiffCategories"/>
+ </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 -->
+</suite> <!-- Sanity -->
diff --git a/asdc-tests/src/main/resources/ci/testSuites/sanity.xml b/asdc-tests/src/main/resources/ci/testSuites/sanity.xml
new file mode 100644
index 0000000000..11b4b79fc4
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/testSuites/sanity.xml
@@ -0,0 +1,389 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
+<suite name="Sanity" configfailurepolicy="continue" verbose="2">
+
+ <listeners>
+ <listener class-name="org.openecomp.sdc.ci.tests.run.ExtentReporterNG" />
+ </listeners>
+
+ <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.BasicHttpAuthenticationTest">
+ <methods>
+ <include name="sendAuthenticatedRequestTest_success" />
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.ci.tests.execute.general.FeProxyTest" />
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.general.ManageEcompConsumerCredentials">
+ <methods>
+ <include name="deleteEcompCredentialsMethodDelete" />
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.ci.tests.execute.general.UuidTest">
+ <methods>
+ <include name="testE2EUuidHeaderReturnedAndPreserved" />
+ </methods>
+ </class>
+ </classes>
+ </test>
+
+ <test name="ArtifactOnInstance">
+ <classes>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.artifacts.CrudArt">
+ <methods>
+ <include name="addDcaeInventoryToscaArtifactToResourceInstanceAndCertify" />
+ <include name="addDcaeInventoryJsonArtifactToResourceInstanceAndCertify" />
+ <include name="addDcaeInventoryPolicyArtifactToResourceInstanceAndCertify" />
+ <include name="addDcaeInventoryDocArtifactToResourceInstanceAndCertify" />
+ <include name="addDcaeInventoryBluePrintArtifactToResourceInstanceAndCertify" />
+ <include name="addDcaeInventoryEventArtifactToResourceInstanceAndCertify" />
+ <include name="updateArtifactDescriptionToResourceInstance" />
+ <include name="deleteArtifactToResourceInstance" />
+ </methods>
+ </class>
+ </classes>
+ </test>
+
+ <test name="Artifact">
+ <classes>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.artifacts.ArtifactServletTest">
+ <methods>
+ <include name="upadteArtifactWithPayLoadToResourcseTest" />
+ <include name="createAndUpdateArtifactToInterface" />
+ </methods>
+ </class>
+
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.CrudArt">
+ <methods>
+ <include name="addHeatArtifactToResourceAndCertify" />
+ </methods>
+ </class>
+
+
+
+ <class name="org.openecomp.sdc.ci.tests.execute.artifacts.ValidateArtResponse" />
+
+
+ <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>
+
+ <!-- <class name="org.openecomp.sdc.ci.tests.execute.service.ServiceApiTest">
+ <methods> <include name="createServiceTest" /> <include name="getFollowedServicesTester"
+ /> </methods> </class> -->
+
+ <!-- <class name="org.openecomp.sdc.ci.tests.execute.service.ServiceInformationalArtifactApiTest">
+ <methods> <include name="addArtifactSuccessfuly" /> <include name="deleteArtifact"
+ /> <include name="updateArtifactMetadataSuccessfully" /> </methods> </class> -->
+
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.service.UpdateServiceMetadataTest">
+ <methods>
+ <include name="updateServiceSuccessfully" />
+ </methods>
+ </class>
+ </classes>
+ </test>
+
+ <test name="Resource">
+ <classes>
+ <!-- <class name="org.openecomp.sdc.ci.tests.execute.resource.GetAllLatestVersionNonAbstarctResources">
+ <methods> <include name="resourceCertifiedTwiceCoutCinCout" /> </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.GetFollwedElementsTest">
+ <methods> <include name="getResourcesListBolongsToSpecificDesigner" /> </methods>
+ </class> -->
+
+ <!-- <class name="org.openecomp.sdc.ci.tests.execute.resource.GetResourceAbstractApiTest">
+ <methods> <include name="getAbstractResourceList" /> </methods> </class> -->
+
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.resource.GetResourceNotAbstractApiTest">
+ <methods>
+ <include name="getNotAbstractResourceList" />
+ </methods>
+ </class>
+
+ <!-- <class name="org.openecomp.sdc.ci.tests.execute.resource.GetResourceTagsApiTest">
+ <methods> <include name="getModifiedResourceTagsList" /> </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.ResourceInstanceNameCRUD">
+ <methods> <include name="updateResourceInstanceNameAfterServiceCertification"/>
+ </methods> </class> -->
+ <!-- <class name="org.openecomp.sdc.ci.tests.execute.resource.ResourceInstanceServletTest">
+ <methods> <include name="updateRI_suc"/> </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.ChangeServiceInstanceVersionTest">
+ <methods>
+ <include name="changeServiceInstanceVersionByPm" />
+ </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.ProductComponentInstanceCRUDTest">
+ <methods>
+ <include name="createServiceInstanceTest" />
+ <include name="deleteServiceInstanceByPm" />
+ <include name="updateServiceInstanceNameByPm" />
+ </methods>
+ </class>
+ <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCrudTest">
+ <methods>
+ <include name="createManyGroupingsDiffCategories" />
+ </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>
+ <class name="org.openecomp.sdc.ci.tests.execute.category.ElementsApiTest">
+ <methods>
+ <include name="getAllArtifactTypes" />
+ <include name="getConfiguration" />
+ <include name="getAllPropertyScopesSuccess" />
+ </methods>
+ </class>
+ </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.ImportNewResourceCITest">
+ <methods>
+ <include name="importAllTestResources_toValidateNewAPI" />
+ </methods>
+ </class>
+
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.imports.ImportToscaResourceTest">
+ <methods>
+ <include name="importToscaResource" />
+ </methods>
+ </class>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.imports.ImportToscaCapabilitiesWithProperties">
+ <methods>
+ <include name="importNodeTypeWithCapabilityWithPropertiesFromYmlSucceed" />
+ <!--
+ This test require the onboarding simulator.
+ <include name="importResourceWithCapabilityWithPropertiesOverridingCapTypePropertiesSucceed" />
+ -->
+ </methods>
+ </class>
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.imports.CsarUtilsTest">
+ </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>
+
+
+
+ <!-- <class name="org.openecomp.sdc.ci.tests.execute.property.PropertyServletTest">
+ <methods> <include name="createCascadeVfResource" /> <include name="createPropertyTestSetClearDefaultValueInetegr"
+ /> </methods> </class> -->
+ </classes>
+ </test>
+
+ <test name="User">
+ <classes>
+
+ <!-- class
+ name="org.openecomp.sdc.ci.tests.execute.user.ActivateDeActivateDeleteUser">
+ <methods>
+ <include name="authorizeDeActivatedUser" />
+ </methods>
+ </class-->
+
+ <class name="org.openecomp.sdc.ci.tests.execute.user.CreateUserApiTest">
+ <methods>
+ <include name="createUser" />
+ </methods>
+ </class>
+
+ <class
+ name="org.openecomp.sdc.ci.tests.execute.user.GovernorWorkspaceApiTest">
+ <methods>
+ <include name="governorList_AllCertifiedVersionsOfService" />
+ </methods>
+ </class>
+
+ </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/asdc-tests/src/main/resources/ci/testSuites/service.xml b/asdc-tests/src/main/resources/ci/testSuites/service.xml
new file mode 100644
index 0000000000..18d5630c4e
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/testSuites/service.xml
@@ -0,0 +1,15 @@
+<?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.GetServiceLatestVersionTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.service.CreateServiceMetadataApiTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.service.ReqCapOccurrencesTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.service.ChangeServiceDistributionStatusApiTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.service.ServiceComponentInstanceCRUDTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.service.UpdateServiceMetadataTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.service.GetAllServiceVersions"/>
+ </classes>
+ </test>
+</suite> <!-- Service -->
diff --git a/asdc-tests/src/main/resources/ci/testSuites/testngLifeCycle.xml b/asdc-tests/src/main/resources/ci/testSuites/testngLifeCycle.xml
new file mode 100644
index 0000000000..54f1868470
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/testSuites/testngLifeCycle.xml
@@ -0,0 +1,27 @@
+<?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.ServiceLCS_cerificationCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceResourceLCSTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCS_UndoCheckOutCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceLCS_UndoCheckOutCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCS_StartCertificationCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceLCS_CheckinCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCS_CheckOutCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceCertWithResourceInstances"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.CrossCheckOutTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.CertifyVFWithNotCertRIs"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCS_request4CerCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.CleanupIntermediateReources"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceLCS_CheckOutCIT"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCS_cerificationCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.CertifyServiceWithNotCertRI"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCS_CheckInCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceLCS_request4CerCITest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.LCSbaseTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.lifecycle.ServiceLCS_StartCertificationCITest"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- lifeCycle -->
diff --git a/asdc-tests/src/main/resources/ci/testSuites/user.xml b/asdc-tests/src/main/resources/ci/testSuites/user.xml
new file mode 100644
index 0000000000..948993c144
--- /dev/null
+++ b/asdc-tests/src/main/resources/ci/testSuites/user.xml
@@ -0,0 +1,18 @@
+<?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.AuthorizedUserApiTest_extend"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.user.AuthorizedUserApiTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.user.OpsWorkspaceApiTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.user.UserApiTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.user.GetAllAdminUsersApiTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.user.CRUDUserTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.user.CreateUserApiTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.user.GovernorWorkspaceApiTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.user.GetListsOfTesterUserApiTest"/>
+ <class name="org.openecomp.sdc.ci.tests.execute.user.ActivateDeActivateDeleteUser"/>
+ </classes>
+ </test> <!-- Test -->
+</suite> <!-- User -->