diff options
author | Michael Lando <ml636r@att.com> | 2018-03-04 14:53:33 +0200 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2018-03-07 13:19:05 +0000 |
commit | a5445100050e49e83f73424198d73cd72d672a4d (patch) | |
tree | cacf4df817df31be23e4e790d1dda857bdae061e /asdc-tests/src/main/resources/ci | |
parent | 51157f92c21976cba4914c378aaa3cba49826931 (diff) |
Sync Integ to Master
Change-Id: I71e3acc26fa612127756ac04073a522b9cc6cd74
Issue-ID: SDC-977
Signed-off-by: Gitelman, Tal (tg851x) <tg851x@intl.att.com>
Diffstat (limited to 'asdc-tests/src/main/resources/ci')
21 files changed, 0 insertions, 1284 deletions
diff --git a/asdc-tests/src/main/resources/ci/conf/attsdc-packages.yaml b/asdc-tests/src/main/resources/ci/conf/attsdc-packages.yaml deleted file mode 100644 index fae7ab7ece..0000000000 --- a/asdc-tests/src/main/resources/ci/conf/attsdc-packages.yaml +++ /dev/null @@ -1,11 +0,0 @@ -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
\ No newline at end of file diff --git a/asdc-tests/src/main/resources/ci/conf/attsdc.yaml b/asdc-tests/src/main/resources/ci/conf/attsdc.yaml deleted file mode 100644 index 10bf38f89d..0000000000 --- a/asdc-tests/src/main/resources/ci/conf/attsdc.yaml +++ /dev/null @@ -1,91 +0,0 @@ -outputFolder: target -reportName: index.html -catalogBeHost: behost -catalogFeHost: fehost -esHost: eshost -disributionClientHost: disClient -catalogFePort: 8181 -catalogBePort: 8080 -disributionClientPort: 8181 -isDistributionClientRunning: true -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 - - DCAE Component - - Template - - Allotted Resource - -#Service categories to keep -serviceCategoriesNotToDelete: - - Mobility - - Network L1-3 - - Network L4+ - - VoIP Call Control diff --git a/asdc-tests/src/main/resources/ci/conf/log4j.properties b/asdc-tests/src/main/resources/ci/conf/log4j.properties deleted file mode 100644 index d313e92b55..0000000000 --- a/asdc-tests/src/main/resources/ci/conf/log4j.properties +++ /dev/null @@ -1,34 +0,0 @@ -# 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/testngLifeCycle.xml b/asdc-tests/src/main/resources/ci/conf/testngLifeCycle.xml deleted file mode 100644 index aa390dc213..0000000000 --- a/asdc-tests/src/main/resources/ci/conf/testngLifeCycle.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?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 deleted file mode 100644 index 0fe7888b9e..0000000000 --- a/asdc-tests/src/main/resources/ci/conf/titan.properties +++ /dev/null @@ -1,8 +0,0 @@ -storage.backend=cassandra -#storage.hostname=cassandrahost -storage.hostname=localhost -storage.port=9160 - -cache.db-cache = false -storage.cassandra.keyspace=sdctitan - diff --git a/asdc-tests/src/main/resources/ci/conf/truststore b/asdc-tests/src/main/resources/ci/conf/truststore Binary files differdeleted file mode 100644 index bdec93d862..0000000000 --- a/asdc-tests/src/main/resources/ci/conf/truststore +++ /dev/null diff --git a/asdc-tests/src/main/resources/ci/scripts/startTest.sh b/asdc-tests/src/main/resources/ci/scripts/startTest.sh deleted file mode 100644 index 01b8979781..0000000000 --- a/asdc-tests/src/main/resources/ci/scripts/startTest.sh +++ /dev/null @@ -1,88 +0,0 @@ -#!/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/attsdc.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/CRUDArtifacts.xml b/asdc-tests/src/main/resources/ci/testSuites/CRUDArtifacts.xml deleted file mode 100644 index e53da8da8a..0000000000 --- a/asdc-tests/src/main/resources/ci/testSuites/CRUDArtifacts.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?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.ci.tests.execute.devCI.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" /> - </methods> - - </class> - - </classes> - </test> <!-- Test --> -</suite> <!-- Suite -->
\ No newline at end of file diff --git a/asdc-tests/src/main/resources/ci/testSuites/SearchExternalAPI.xml b/asdc-tests/src/main/resources/ci/testSuites/SearchExternalAPI.xml deleted file mode 100644 index 40c462a4cb..0000000000 --- a/asdc-tests/src/main/resources/ci/testSuites/SearchExternalAPI.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?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.ci.tests.execute.devCI.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/asdc-tests/src/main/resources/ci/testSuites/artifacts.xml b/asdc-tests/src/main/resources/ci/testSuites/artifacts.xml deleted file mode 100644 index 24229b8586..0000000000 --- a/asdc-tests/src/main/resources/ci/testSuites/artifacts.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?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 deleted file mode 100644 index f2a0b3790c..0000000000 --- a/asdc-tests/src/main/resources/ci/testSuites/category.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?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 deleted file mode 100644 index 1d81e0f689..0000000000 --- a/asdc-tests/src/main/resources/ci/testSuites/ciFull.xml +++ /dev/null @@ -1,174 +0,0 @@ -<?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="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="dissoicateWithEmptyUserIdHeaderTest" /> - <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 deleted file mode 100644 index 393d3b1a3e..0000000000 --- a/asdc-tests/src/main/resources/ci/testSuites/externalApis.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?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"/> - <class name="org.openecomp.sdc.ci.tests.execute.devCI.CRUDExternalAPI"/> - <class name="org.openecomp.sdc.ci.tests.execute.devCI.SearchFilterCategoryExternalAPI"/> - <class name="org.openecomp.sdc.ci.tests.execute.externalapi.UserAPIs"/> - </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 deleted file mode 100644 index bd7e6b6650..0000000000 --- a/asdc-tests/src/main/resources/ci/testSuites/general.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?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 deleted file mode 100644 index ae4a5bc1f8..0000000000 --- a/asdc-tests/src/main/resources/ci/testSuites/imports.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?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/property.xml b/asdc-tests/src/main/resources/ci/testSuites/property.xml deleted file mode 100644 index f94f89737a..0000000000 --- a/asdc-tests/src/main/resources/ci/testSuites/property.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?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 deleted file mode 100644 index 64f4377420..0000000000 --- a/asdc-tests/src/main/resources/ci/testSuites/resource.xml +++ /dev/null @@ -1,320 +0,0 @@ -<?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.InformationalArt"> - <methods> - <include name="UpdateAllResourceMandatoryArtifacts"/> - <include name="updateInformationalArtifactMetadataOfResource"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.artifacts.InformationalArtCloudQuestionnaire"> - <methods> - <include name="updateMandatoryInformationalArtifact_CloudQuestionnaire"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.artifacts.ServiceApiArtifactTest"> - <methods> - <include name="uploadServiceApiArtifactSuccessfullyTest"/> - <include name="updateApiArtifactSuccessfullyTest"/> - <include name="deleteApiArtifactSuccessfully"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.artifacts.ServiceInformationalArtifact"> - <methods> - <include name="updateMandatoryInformationalArtifact_ServiceQuestionnaire"/> - </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> - </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 deleted file mode 100644 index 21b7043ad3..0000000000 --- a/asdc-tests/src/main/resources/ci/testSuites/sanity.xml +++ /dev/null @@ -1,330 +0,0 @@ -<?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.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 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" /> - <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> - - - - <!-- <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 deleted file mode 100644 index 18d5630c4e..0000000000 --- a/asdc-tests/src/main/resources/ci/testSuites/service.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?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 deleted file mode 100644 index 54f1868470..0000000000 --- a/asdc-tests/src/main/resources/ci/testSuites/testngLifeCycle.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?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 deleted file mode 100644 index 948993c144..0000000000 --- a/asdc-tests/src/main/resources/ci/testSuites/user.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?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 --> |