diff options
Diffstat (limited to 'ui-ci/src/main/resources/ci')
26 files changed, 0 insertions, 920 deletions
diff --git a/ui-ci/src/main/resources/ci/conf/attsdc-packages.yaml b/ui-ci/src/main/resources/ci/conf/attsdc-packages.yaml deleted file mode 100644 index dcb78eefc1..0000000000 --- a/ui-ci/src/main/resources/ci/conf/attsdc-packages.yaml +++ /dev/null @@ -1,2 +0,0 @@ -packages: - - org.openecomp.sdc.ci.tests.execute.resourceui
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/conf/attsdc.yaml b/ui-ci/src/main/resources/ci/conf/attsdc.yaml deleted file mode 100644 index e7dfa39570..0000000000 --- a/ui-ci/src/main/resources/ci/conf/attsdc.yaml +++ /dev/null @@ -1,69 +0,0 @@ -outputFolder: target -reportName: index.html -catalogBeHost: localhost -esHost: eshost -disributionClientHost: disClient -catalogFePort: 8181 -catalogBePort: 8284 -disributionClientPort: 8181 -esPort: 9200 -neoHost: neoHost -neoPort: 7474 -neoDBusername: neo4j -neoDBpassword: 123456 -url: http://localhost:8285/sdc1 -#url: https://www.e-access.att.com/QA-AUTOMATE1/sdc1/portal -#url: https://www.e-access.att.com/AA-IFT-testing/sdc1/portal -#url: https://www.e-access.att.com/QA-SCRUM1/sdc1/portal -remoteTestingMachineIP: 0.0.0.0 -remoteTestingMachinePort: 5566 -remoteTesting: false -resourceConfigDir: src/test/resources/CI/tests -componentsConfigDir: src/test/resources/CI/components -importResourceConfigDir: src/test/resources/CI/importResource -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 -browser: FireFox -windowsDownloadDirectory: "c:\\apache-ftpserver-1.1.0\\res\\home\\" -systemUnderDebug: true -reportDBhost: dbhost -reportDBport: 27017 -sdcHttpMethod: http -localDataCenter: DC-Automate01 - -useBrowserMobProxy: false -captureTraffic: false - -janusGraphPropertiesFile: src/main/resources/ci/conf/janusgraph.properties - -stopOnClassFailure: false -#todo -onboardingBeHost: localhost -onboardingBePort: 8283 -#List of non-abstract resources to keep during JanusGraph cleanup between tests -#Only 1.0 version will be kept -resourcesNotToDelete: - - tosca.nodes.Compute - - tosca.nodes.Database - - tosca.nodes.ObjectStorage - - tosca.nodes.BlockStorage - - tosca.nodes.LoadBalancer - - org.openecomp.resource.cp.Port - - org.openecomp.resource.vl.Network - -#Resource categories to keep (including all their subcategories) -resourceCategoriesNotToDelete: - - Generic - - Network L2-3 - - Network L4+ - - Application L4+ - - Network Connectivity - -#Service categories to keep -serviceCategoriesNotToDelete: - - Mobility - - Network L1-3 - - Network L4 - - VoIP Call Control
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/conf/extent-config.xml b/ui-ci/src/main/resources/ci/conf/extent-config.xml deleted file mode 100644 index 4eb7f681aa..0000000000 --- a/ui-ci/src/main/resources/ci/conf/extent-config.xml +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<extentreports> - <configuration> - <!-- report theme --> - <!-- standard, dark --> - <theme>standard</theme> - - <!-- document encoding --> - <!-- defaults to UTF-8 --> - <encoding>UTF-8</encoding> - - <!-- protocol for script and stylesheets --> - <!-- defaults to https --> - <protocol>https</protocol> - - <!-- title of the document --> - <documentTitle>ASDC Automation Report</documentTitle> - - <!-- report name - displayed at top-nav --> - <reportName> ASDC Automation Report </reportName> - - <!-- report headline - displayed at top-nav, after reportHeadline --> - <reportHeadline></reportHeadline> - - <!-- global date format override --> - <!-- defaults to yyyy-MM-dd --> - <dateFormat>yyyy-MM-dd</dateFormat> - - <!-- global time format override --> - <!-- defaults to HH:mm:ss --> - <timeFormat>HH:mm:ss</timeFormat> - - <!-- custom javascript --> - <scripts> - <![CDATA[ - $(document).ready(function() { - $('.logo-content' ).remove(); - $('.charts div:nth-child(2)').remove(); - }); - ]]> - </scripts> - - <!-- custom styles --> - <styles> - <![CDATA[ - .report-name {padding-top: 1px; font-size: 15px; font-weight: bold;} - ]]> - </styles> - </configuration> -</extentreports>
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/conf/janusgraph.properties b/ui-ci/src/main/resources/ci/conf/janusgraph.properties deleted file mode 100644 index 9d67ed2f2f..0000000000 --- a/ui-ci/src/main/resources/ci/conf/janusgraph.properties +++ /dev/null @@ -1,7 +0,0 @@ -storage.backend=cql -storage.hostname=cassandrahost -storage.port=9042 - -cache.db-cache-clean-wait = 20 -cache.db-cache-time = 180000 -cache.db-cache-size = 0.5
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/conf/log4j2.properties b/ui-ci/src/main/resources/ci/conf/log4j2.properties deleted file mode 100644 index ec22601d6a..0000000000 --- a/ui-ci/src/main/resources/ci/conf/log4j2.properties +++ /dev/null @@ -1,49 +0,0 @@ -status = error -dest = err -name = PropertiesConfig - -property.filename = ${targetlog}logs/ci-log.out - -#filter.threshold.type = ThresholdFilter -#filter.threshold.level = debug - -appender.rolling.type = RollingFile -appender.rolling.name = RollingFile -appender.rolling.fileName = ${filename} -appender.rolling.filePattern = ${targetlog}logs/ci-%d{MM-dd-yy-HH-mm-ss}-%i.log.gz -appender.rolling.layout.type = PatternLayout -appender.rolling.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %5p [%10c] : %m%n -appender.rolling.policies.type = Policies -appender.rolling.policies.size.type = SizeBasedTriggeringPolicy -appender.rolling.policies.size.size=5MB -appender.rolling.strategy.type = DefaultRolloverStrategy -appender.rolling.strategy.max = 10 - -appender.console.type = Console -appender.console.name = STDOUT -appender.console.layout.type = PatternLayout -appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %5p %10c:%L - %m%n -appender.console.filter.threshold.type = ThresholdFilter -appender.console.filter.threshold.level = info - -loggers=org.apache.cassandra.service.StorageProxy,org.janusgraph.diskstorage.cassandra.CassandraTransaction,org.openecomp.sdc.ci.tests.utils - -logger.org.apache.cassandra.service.StorageProxy.name = org.apache.cassandra.service.StorageProxy -logger.org.apache.cassandra.service.StorageProxy.level=info -logger.org.apache.cassandra.service.StorageProxy.appendRef.rolling.ref = RollingFile -logger.org.apache.cassandra.service.StorageProxy.appendRef.stdout.ref = STDOUT - -logger.org.janusgraph.diskstorage.cassandra.CassandraTransaction.name = org.janusgraph.diskstorage.cassandra.CassandraTransaction -logger.org.janusgraph.diskstorage.cassandra.CassandraTransaction.level =info -logger.org.janusgraph.diskstorage.cassandra.CassandraTransaction.appendRef.rolling.ref = RollingFile -logger.org.janusgraph.diskstorage.cassandra.CassandraTransaction.appendRef.stdout.ref = STDOUT - -logger.org.openecomp.sdc.ci.tests.utils.name = org.openecomp.sdc.ci.tests.utils -logger.org.openecomp.sdc.ci.tests.utils.level = info -logger.org.openecomp.sdc.ci.tests.utils.appendRef.rolling.ref = RollingFile -logger.org.openecomp.sdc.ci.tests.utils.appendRef.stdout.ref = STDOUT -logger.org.openecomp.sdc.ci.tests.utils.additivity = false - -rootLogger.level = info -rootLogger.appenderRef.stdout.ref = STDOUT -rootLogger.appenderRef.rolling.ref = RollingFile
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/scripts/addUsersFromList_new.sh b/ui-ci/src/main/resources/ci/scripts/addUsersFromList_new.sh deleted file mode 100644 index e695db26b2..0000000000 --- a/ui-ci/src/main/resources/ci/scripts/addUsersFromList_new.sh +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/bash - -function help_usage () -{ - echo "$0 -ip <ip> -f <userToAdd_file>" - echo "for example: -ip 127.0.0.1 -f /var/tmp/userToAdd.txt" - exit -} - -function check_file_existance () -{ -echo "check_file_existance $1" -if [ $1 == "" ]; then - echo "Please provide full path to user file" - exit; -elif [ -f $1 ]; then - source $1 - USERS=("${USER_LIST[@]}") - echo "file exist" $1 -else - echo "Provided user file does not exist" - exit -fi -} - -function check_ip_existance () -{ -if [ $1 == "" ]; then - echo "Please provide ip address" - exit; -fi -} - -function addUser () -{ - #for user in "${USER_LIST[@]}"; do - for user in "${USERS[@]}"; do - PING=`ping -c 1 $IP > /var/tmp/ping.log` - pattern1='100% packet loss' - pattern2='Host Unreachable' - COUNT=`egrep -c "$pattern1|$pattern2" /var/tmp/ping.log` - if [ $COUNT -eq 0 ]; then - # curl -i -X post -d '{ "userId" : "kk1123", "role" : "ADMIN" }' -H "Content-Type: application/json" -H "USER_ID: jh0003" http://192.168.111.9:8080/sdc2/rest/v1/user - userId=`echo $user|awk '{print $1}'` - role=`echo $user|awk '{print $2}'` - firstName=`echo $user|awk '{print $3}'` - lastName=`echo $user|awk '{print $4}'` - email=`echo $user|awk '{print $5}'` - curl --noproxy '*' -i -X post -d '{ "userId" : "'${userId}'", "role" : "'${role}'", "firstName" : "'${firstName}'", "lastName" : "'${lastName}'", "email" : "'${email}'" }' -H "Content-Type: application/json" -H "USER_ID: jh0003" https://${IP}:8443/sdc2/rest/v1/user - else - echo "Host" $IP "Is Unreachable" - fi - done -curl --noproxy '*' -i -X post -d '{"consumerName": "ci","consumerSalt": "2a1f887d607d4515d4066fe0f5452a50","consumerPassword": "0a0dc557c3bf594b1a48030e3e99227580168b21f44e285c69740b8d5b13e33b"}' -H "Content-Type: application/json" -H "USER_ID: jh0003" -H "Authorization:Basic Y2k6MTIzNDU2" https://${IP}:8443/sdc2/rest/v1/consumers - -} - -#main -[ $# -eq 0 ] && help_usage -while [ $# -ne 0 ]; do - case $1 in - "-f") - USER_FILE=$2 - shift 1 - shift 1 - ;; - -ip) - IP=$2 - shift 1 - shift 1 - ;; - *) -# help_usage - ;; - esac -done - -check_file_existance $USER_FILE -check_ip_existance $IP -addUser diff --git a/ui-ci/src/main/resources/ci/scripts/copyToStorage.sh b/ui-ci/src/main/resources/ci/scripts/copyToStorage.sh deleted file mode 100644 index a113c54e60..0000000000 --- a/ui-ci/src/main/resources/ci/scripts/copyToStorage.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/bash - -REPORT_NAME=$1 -VERSION=$2 -ENV=$3 - - -if [ -z "$REPORT_NAME" ] - then - source ExtentReport/versions.info - now=$(date +'%Y-%m-%d_%H_%M') - REPORT_NAME="${now}" - VERSION="${osVersion}" - if [[ $env == *"DEV20"* ]] - then - ENV="Nightly" - else - ENV="" - fi - - fi - -source conf/attInternal.info -IP=$automationResutlsRepo -PASS=$automationResutlsRepoPass - -/usr/bin/expect << EOF -spawn ssh admin@${IP} mkdir -p -m 775 /home/admin/reports/${ENV}/${VERSION}/UI/ - -expect { - -re ".*es.*o.*" { - exp_send "yes\r" - exp_continue - } - -re ".*sword.*" { - exp_send ${PASS}\r - } -} - -expect eof - -spawn scp -pr ExtentReport admin@${IP}:/home/admin/reports/${ENV}/${VERSION}/UI/${REPORT_NAME}/ - -expect { - -re ".*es.*o.*" { - exp_send "yes\r" - exp_continue - } - -re ".*sword.*" { - exp_send ${PASS}\r - } -} - -expect eof -EOF diff --git a/ui-ci/src/main/resources/ci/scripts/sendMail.sh b/ui-ci/src/main/resources/ci/scripts/sendMail.sh deleted file mode 100644 index 932b624a33..0000000000 --- a/ui-ci/src/main/resources/ci/scripts/sendMail.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash - -now=$(date +'%Y%-m%d%H%M') - -REPORT_NAME=$1 -VERSION=$2 -ENV=$3 - -RECIPIENTS1="md9897@att.com,NETCOM_ASDC_DEV@att.com,IL-D2-QA-Alex@att.com,bs5719@att.com,yg356h@att.com,yr9970@att.com,sl615n@att.com,yn813h@att.com,as221v@att.com,ms172g@att.com,ma2244@att.com,el489u@att.com,gg980r@att.com,ak991p@att.com,bv095y@att.com,ms656r@att.com,df502y@att.com,bt750h@att.com,ln699k@att.com,hm104p@att.com" -#RECIPIENTS2="dl-asdcqa@att.com" -RECIPIENTS2="md9897@att.com,NETCOM_ASDC_DEV@att.com,IL-D2-QA-Alex@att.com,bs5719@att.com,yg356h@att.com,yr9970@att.com,sl615n@att.com,yn813h@att.com,as221v@att.com,ms172g@att.com,ma2244@att.com,el489u@att.com,gg980r@att.com,ak991p@att.com,bv095y@att.com,ms656r@att.com,df502y@att.com,bt750h@att.com,ln699k@att.com,hm104p@att.com" - -source ExtentReport/versions.info -if [ -z "$REPORT_NAME" ] - then - source ExtentReport/versions.info - now=$(date +'%Y-%m-%d_%H_%M') - REPORT_NAME="${now}" - VERSION="${osVersion}" - - -fi - -if [[ $env == *"DEV20"* ]] - then - ENV="Nightly" - RECIPIENTS=$RECIPIENTS1 - else - ENV="" - RECIPIENTS=$RECIPIENTS2 -fi - -#REPORT_ZIP_FILE=ExtentReport_${now}.zip -REPORT_FOLDER='ExtentReport' -REPORT_HTML_FILE=${REPORT_FOLDER}/*Report.html -BODY_MESSAGE='Hello, \n\n Please find automation results on following link: \n\n http://asdc-srv-210-45.tlv.intl.att.com/'${ENV}'/'${VERSION}'/UI/'${REPORT_NAME}'/SDC_UI_Extent_Report.html \n\nThanks, \nASDC QA Team\n\n ' - -#OLD_FILE=$(find ./ -type f -name ${REPORT_ZIP_FILE} -print) -#if [ ! -z ${OLD_FILE} ] -#then -# rm -f ${REPORT_ZIP_FILE} -# echo "Removing old zip file............" -#fi - -#echo "Creating new zip file" -#zip -r ${REPORT_ZIP_FILE} ./${REPORT_FOLDER} - - - -echo -e ${BODY_MESSAGE} | mail -s 'E2E Automation '$ENV' results - SDC '$VERSION -r 'ASDC@Automation.team' $RECIPIENTS diff --git a/ui-ci/src/main/resources/ci/scripts/startTest.sh b/ui-ci/src/main/resources/ci/scripts/startTest.sh deleted file mode 100644 index 20afd86414..0000000000 --- a/ui-ci/src/main/resources/ci/scripts/startTest.sh +++ /dev/null @@ -1,181 +0,0 @@ -#!/bin/bash -REMOTE_DEBUG=false -RERUN=true -JAVA_OPTION="" -debug_port=8000 -TEST_SUITES=testSuites -fileName=testng-failed.xml - -function help_usage () -{ - echo - echo "$0 (<jar_file_name> <suite file name>) [-r/rerun <true/false> -d/debug <true/false>]" - echo "nohup ./startTest.sh ui-ci-1707.0.5-SNAPSHOT-jar-with-dependencies.jar extendedSanity.xml -r false -d true &" - echo "by default rerun is true and remote debug is false." - echo - exit 2 -} - -function isBoolean () -{ - PARAM_NAME=$1 - VALUE=$2 - if [[ ${VALUE} != "true" ]] && [[ ${VALUE} != "false" ]]; then - echo "Valid parameter" ${PARAM_NAME} "values are: true/false" - help_usage - fi -} - -function prepareFailedXmlFile () -{ - echo "1="$1 "2="$2 "fileName="${fileName} - PATTERN=`grep -w "test name=" ${FULL_PATH}/${TEST_SUITES}/$2 | awk -F'"' '{print $2}'` - sed '/<test name="'${PATTERN}'"/,/<!-- '${PATTERN}' --/d' $1 > ${FULL_PATH}/${TEST_SUITES}/${fileName} - sed -i 's/thread-count="[0-9]\+"/thread-count="1"/g' ${FULL_PATH}/${TEST_SUITES}/${fileName} - if [ -s "ExtentReport/ShortReport.csv" ] - then - SKIP_TESTS_LIST=$(cat ExtentReport/ShortReport.csv |awk -F, '{print $2}' | sed 's/&.*//g' | uniq) - for SKIP_TEST in ${SKIP_TESTS_LIST}; do - sed -i "s/.*\"${SKIP_TEST}\".*//g" ${FULL_PATH}/${TEST_SUITES}/${fileName}; - done; - fi -} - -function setUpdatedTimeToReport () -{ - LINE_NUMBER_OF_START_REPORT_DATE=`grep -A1 -nw "Start" ExtentReport/SDC_UI_Extent_Report.html | tail -1 | awk '{print $1}' | tr -d -` - END_REPORT_DATE=`grep -A1 -nw "End" ExtentReport/SDC_UI_Extent_Report.html | tail -1 | awk -F'[>|<]' '{print $3}'` - EPOCH_START_REPORT_DATE=`date --date="${1}" +%s` - EPOCH_END_REPORT_DATE=`date --date="${END_REPORT_DATE}" +%s` - let DIFF_EPOCH_TIME=${EPOCH_END_REPORT_DATE}-${EPOCH_START_REPORT_DATE} - TAKEN_TIME_IN_MINUTES=`echo $((${DIFF_EPOCH_TIME}/60))` - LINE_NUMBER_OF_TAKEN_REPORT_TIME=`grep -A1 -nw "Time Taken" ExtentReport/SDC_UI_Extent_Report.html | tail -1 | awk '{print $1}' | tr -d -` - PATTERN="div class='panel-lead'>"; - sed -i "${LINE_NUMBER_OF_START_REPORT_DATE}s/${PATTERN}.*\</${PATTERN}$1\<\//1" ExtentReport/SDC_UI_Extent_Report.html - sed -i "${LINE_NUMBER_OF_TAKEN_REPORT_TIME}s/${PATTERN}.*\</${PATTERN}${TAKEN_TIME_IN_MINUTES} min\<\//1" ExtentReport/SDC_UI_Extent_Report.html -} - -#main -[ $# -lt 2 ] && help_usage - -JAR_FILE=$1 -SUITE_FILE=$2 - -while [ $# -ne 0 ]; do - case $1 in - -r|rerun) - RERUN=$2 - isBoolean $1 ${RERUN} - shift 1 - shift 1 - ;; - -d|debug) - REMOTE_DEBUG=$2 - isBoolean $1 ${REMOTE_DEBUG} - shift 1 - shift 1 - ;; - *) - shift 1 - ;; - esac -done - -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/log4j2.properties -############################################# -TARGET_DIR=${FULL_PATH}/target -CONF_FILE=${FULL_PATH}/conf/attsdc.yaml - -DEBUG=true -MainClass=org.openecomp.sdc.ci.tests.run.StartTest - -TESTS_DIR=/opt/app/sdc/ci/resources/tests -COMPONENTS_DIR=/opt/app/sdc/ci/resources/components - - -TARGET_LOG_DIR="${TARGET_DIR}/" - - -######ADD USERS################ - -BE_IP=`cat conf/attsdc.yaml | grep catalogBeHost| awk '{print $2}'` - -ADD_USERS_SCRIPT="addUsersFromList_new.sh" -USER_LIST="conf/userList.txt" -chmod +x ${ADD_USERS_SCRIPT} -echo "add users..." -./${ADD_USERS_SCRIPT} -ip ${BE_IP} -f ${USER_LIST} - - - - -if [ ${REMOTE_DEBUG} == "true" ]; then - echo "Debug mode, Listen on port $debug_port"; - JAVA_OPTION="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=${debug_port}" ; -fi - -cmd="java -Xmx2048m -Xms1024m $JAVA_OPTION -DdisplayException=true -Dtargetlog=${TARGET_LOG_DIR} -DfilePath=${FILES_TEST} -Dconfig.resource=${CONF_FILE} -Ddebug=${DEBUG} -Dlog4j.configuration=${LOGS_PROP_FILE} -Dorg.freemarker.loggerLibrary=none -cp $JAR_FILE ${MainClass} $SUITE_FILE &" - - -if [ $DEBUG == "true" ] -then - $cmd -else - $cmd >> /dev/null -fi - -if [ ${RERUN} == "true" ]; then - if [ -f ${TARGET_DIR}/${fileName} ]; then - echo "Prepare" ${TARGET_DIR}/${fileName} "file to rerun all failed tests ..."; - prepareFailedXmlFile ${TARGET_DIR}/${fileName} $SUITE_FILE; - SUITE_FILE=${fileName}; - cmd="java -Xmx2048m -Xms1024m $JAVA_OPTION -DdisplayException=true -Dtargetlog=${TARGET_LOG_DIR} -DfilePath=${FILES_TEST} -Dconfig.resource=${CONF_FILE} -Ddebug=${DEBUG} -Dlog4j.configuration=${LOGS_PROP_FILE} -Dorg.freemarker.loggerLibrary=none -cp $JAR_FILE ${MainClass} $SUITE_FILE &" - $cmd; - fi -fi - -status=`echo $?` - -source ExtentReport/versions.info -now=$(date +'%Y-%m-%d_%H_%M') -REPORT_NAME=${now} -VERSION=${osVersion} -REPORT_START_DATE=${reportStartTime} - -if [ ${RERUN} == "true" ]; then - setUpdatedTimeToReport "${REPORT_START_DATE}"; -fi - -if [[ $env == *"DEV20"* ]] -then - MYENV="Nightly" -else - MYENV="" -fi - -COPY_REPORT_SCRIPT="copyToStorage.sh" -chmod +x ${COPY_REPORT_SCRIPT} -echo "copy report to storage..." -( ./${COPY_REPORT_SCRIPT} ${REPORT_NAME} ${VERSION} ${MYENV} ) - - -MAILING_SCRIPT_NAME="sendMail.sh" -chmod +x ${MAILING_SCRIPT_NAME} -echo "Sending report via mail..." -`./${MAILING_SCRIPT_NAME} ${REPORT_NAME} ${VERSION} ${MYENV}` - - -echo "##################################################" -echo "################# status is ${status} #################" -echo "##################################################" - -exit $status diff --git a/ui-ci/src/main/resources/ci/testSuites/PortMirroring.xml b/ui-ci/src/main/resources/ci/testSuites/PortMirroring.xml deleted file mode 100644 index da03e8285e..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/PortMirroring.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> -<suite name="uitests" configfailurepolicy="continue" parallel="methods" thread-count="2"> - <test name="PortMirroringTests"> - <classes> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.PortMirroring"/> - </classes> - </test> -</suite>
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/testSuites/andreyPara.xml b/ui-ci/src/main/resources/ci/testSuites/andreyPara.xml deleted file mode 100644 index 3e3efdd9cd..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/andreyPara.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> - <suite name="uitests" configfailurepolicy="continue" parallel="methods" thread-count="2" data-provider-thread-count="2"> - -<listeners> - <listener class-name="com.att.automation.common.report_portal_integration.listeners.ReportPortalListener"/> -</listeners> - - <test name="VF1"> - <classes> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Vf"> - <methods> - <include name="updateVF"/> - </methods> - </class> - - </classes> - </test> <!-- uitests --> - - <test name="VF2"> - <classes> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Vf"> - <methods> - <include name="addUpdateDeleteDeploymentArtifactToVfTest"/> - <include name="addPropertiesToVfcInstanceInVfTest"/> - </methods> - </class> - - </classes> - </test> <!-- uitests --> -</suite> <!-- uisuite -->
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/testSuites/archiveRestoreSanity.xml b/ui-ci/src/main/resources/ci/testSuites/archiveRestoreSanity.xml deleted file mode 100644 index e712730d59..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/archiveRestoreSanity.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="uitests" configfailurepolicy="continue" parallel="methods" thread-count="4" data-provider-thread-count="2"> - <parameter name="makeDistribution" value="true"/> - - <test name="uiSanity"> - <classes> - - <class name="org.openecomp.sdc.ci.tests.execute.sanity.ArchiveRestoreTest"/> - <!-- <class name="org.openecomp.sdc.ci.tests.execute.sanity.Product"/> --> - - - </classes> - </test> <!-- uitests --> -</suite> <!-- uisuite -->
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/testSuites/arifactsSanity.xml b/ui-ci/src/main/resources/ci/testSuites/arifactsSanity.xml deleted file mode 100644 index 3a637065ca..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/arifactsSanity.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="uitests" configfailurepolicy="continue" parallel="methods" thread-count="4" data-provider-thread-count="2"> - <parameter name="makeDistribution" value="true"/> - - <test name="uiSanity"> - <classes> - - <class name="org.openecomp.sdc.ci.tests.execute.sanity.VFCArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.VfArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.VfDeploymentInformationalArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.US.ImportUpdateInformationalDeploymentArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.US.MIBsArtifactsOnResourceInstance"/> - <class name="org.openecomp.sdc.ci.tests.US.NewArtifactTypeGuide"/> - <class name="org.openecomp.sdc.ci.tests.US.RemoveRestrictionOfDeploymentArtifacts"/> - - </classes> - </test> <!-- uitests --> -</suite> <!-- uisuite -->
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/testSuites/complexServiceSanity.xml b/ui-ci/src/main/resources/ci/testSuites/complexServiceSanity.xml deleted file mode 100644 index 02eb27f9a8..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/complexServiceSanity.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> -<suite name="systemtests" configfailurepolicy="continue" parallel="methods" thread-count="2" data-provider-thread-count="2"> - <parameter name="makeDistribution" value="true"/> - <test name="complexServiceSanity"> - <classes> - <class name="org.openecomp.sdc.ci.tests.execute.AmdocsComplexService.CreatePath"/> - </classes> - </test> <!-- uitests --> -</suite> <!-- uisuite -->
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/testSuites/devOnboardE2EOneFileSanity.xml b/ui-ci/src/main/resources/ci/testSuites/devOnboardE2EOneFileSanity.xml deleted file mode 100644 index acf4be4be3..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/devOnboardE2EOneFileSanity.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="uitests" configfailurepolicy="continue"> - <test name="uitests"> - <classes> - <!--onboard--> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.OnboardingFlowsUi"> - <methods> - <include name="onboardVNFTestSanityOneFile"/> - </methods> - </class> - </classes> - </test> <!-- uitests --> -</suite> <!-- uisuite -->
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/testSuites/extendedSanity.xml b/ui-ci/src/main/resources/ci/testSuites/extendedSanity.xml deleted file mode 100644 index 00b98c9f23..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/extendedSanity.xml +++ /dev/null @@ -1,52 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> -<suite name="uitests" configfailurepolicy="continue" parallel="methods" thread-count="4" data-provider-thread-count="2"> - <parameter name="makeDistribution" value="true"/> - - <test name="uiSanity"> - <classes> - - <class name="org.openecomp.sdc.ci.tests.execute.sanity.ToscaValidationTest"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.OnboardingFlowsUi"> - <methods> - <exclude name="onboardVNFTestSanity"/> - <exclude name="onboardVNFShotFlow"/> - <exclude name="onboardVNFTest"/> - <exclude name="onboardVNFTestSanityOneFile"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.CatalogLeftPanelTest"/> - <!--<class name="org.openecomp.sdc.ci.tests.execute.sanity.Vf"/>--> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.VfAPI"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Service"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.ImportVFCAsset"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.ImportDCAE"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.DeploymentViewTests"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.VFCArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.VfArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.VfDeploymentInformationalArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.AdminUserManagment"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.PNF"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.PropertiesAssignment"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.PropertiesAssignmentUpdateFlow"> - <methods> - <exclude name="updatePropertyChangeVfiVersionTest"/> - <exclude name="deletePropertyChangeVfiVersionTest"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.ArchiveRestoreTest"/> - <!-- <class name="org.openecomp.sdc.ci.tests.execute.sanity.Product"/> --> - - <class name="org.openecomp.sdc.ci.tests.US.ImportUpdateInformationalDeploymentArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.US.MIBsArtifactsOnResourceInstance"/> - <class name="org.openecomp.sdc.ci.tests.US.NewArtifactTypeGuide"/> - <class name="org.openecomp.sdc.ci.tests.US.RemoveRestrictionOfDeploymentArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.OnboardingFlowsThroughAPI"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.PortMirroring"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Annotation"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.UpgradeServices"/> - <!-- <class name="org.openecomp.sdc.ci.tests.US.AddComponentInstancesArtifactsInCsar"/> --> - - </classes> - </test> <!-- uitests --> -</suite> <!-- uisuite -->
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/testSuites/fullCI.xml b/ui-ci/src/main/resources/ci/testSuites/fullCI.xml deleted file mode 100644 index 940026d30c..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/fullCI.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> -<suite name="uitests" configfailurepolicy="continue" parallel="methods" thread-count="2" data-provider-thread-count="2"> - <test name="uiSanity"> - <classes> - - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Onboard"> - <methods> - <exclude name="onboardVNFTestSanity"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.CatalogLeftPanelTest"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Vf"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Service"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.ImportVFCAsset"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.ImportDCAE"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.DeploymentViewTests"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.VFCArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.VfArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.VfDeploymentInformationalArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Product"/> - - <class name="org.openecomp.sdc.ci.tests.US.ImportUpdateInformationalDeploymentArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.US.MIBsArtifactsOnResourceInstance"/> - <class name="org.openecomp.sdc.ci.tests.US.NewArtifactTypeGuide"/> - <class name="org.openecomp.sdc.ci.tests.US.RemoveRestrictionOfDeploymentArtifacts"/> - - - - - - </classes> - </test> <!-- uitests --> -</suite> <!-- uisuite -->
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/testSuites/gabSanity.xml b/ui-ci/src/main/resources/ci/testSuites/gabSanity.xml deleted file mode 100644 index 035bf695ea..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/gabSanity.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> -<suite name="uitests" configfailurepolicy="continue" parallel="methods" thread-count="1" - data-provider-thread-count="1"> - - <parameter name="makeDistribution" value="false"/> - - <test name="uiSanity"> - <classes> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.GAB"/> - </classes> - </test> -</suite> diff --git a/ui-ci/src/main/resources/ci/testSuites/onapUiSanity.xml b/ui-ci/src/main/resources/ci/testSuites/onapUiSanity.xml deleted file mode 100644 index 546f26981e..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/onapUiSanity.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> -<suite name="uitests" configfailurepolicy="continue" parallel="methods" thread-count="1" - data-provider-thread-count="1"> - - <parameter name="makeDistribution" value="false"/> - - <test name="uiSanity"> - <classes> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Vf"> - <methods> - <include name="changeInstanceNameInVfTest"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Service"> - <methods> - <include name="updateService"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.OnboardingFlowsUi"> - <methods> - <include name="onapOnboardVNFflow"/> - <include name="onapOnboardVSPValidationsSanityFlow"/> - <include name="onboardPNFSoftwareInformationFlow"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.GAB"/> - </classes> - </test> -</suite> diff --git a/ui-ci/src/main/resources/ci/testSuites/onboardVNFWithoutDistribution.xml b/ui-ci/src/main/resources/ci/testSuites/onboardVNFWithoutDistribution.xml deleted file mode 100644 index 54c4ea854b..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/onboardVNFWithoutDistribution.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> -<suite name="uitests" configfailurepolicy="continue" parallel="methods" thread-count="1" data-provider-thread-count="1"> - <parameter name="makeDistribution" value="false"/> - <parameter name="eraseAfterTests" value="false"/> - - <test name="uiSanity"> - <classes> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Onboard"> - <methods> - <include name="onboardVNFTestSanity"/> - </methods> - </class> - </classes> - </test> <!-- uitests --> -</suite> <!-- uisuite -->
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/testSuites/onboardingVNFs.xml b/ui-ci/src/main/resources/ci/testSuites/onboardingVNFs.xml deleted file mode 100644 index c55da4274c..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/onboardingVNFs.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> -<suite name="uitests" configfailurepolicy="continue" parallel="methods" thread-count="2" data-provider-thread-count="2"> - <parameter name="makeDistribution" value="true"/> - - <test name="uiSanity"> - <classes> - - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Onboard"> - <methods> - <exclude name="onboardVNFTestSanity"/> - <exclude name="onboardVNFShotFlow"/> - <exclude name="onboardRandomVNFsTest"/> - </methods> - </class> - - - </classes> - </test> <!-- uitests --> -</suite> <!-- uisuite -->
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/testSuites/onboardingVNFsShortFlow.xml b/ui-ci/src/main/resources/ci/testSuites/onboardingVNFsShortFlow.xml deleted file mode 100644 index 4a4628a9ed..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/onboardingVNFsShortFlow.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="uitests" configfailurepolicy="continue" parallel="methods" thread-count="2" data-provider-thread-count="2"> - <parameter name="makeDistribution" value="true"/> - - <test name="uiSanity"> - <classes> - - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Onboard"> - <methods> - <include name="onboardVNFShotFlow"/> - </methods> - </class> - - - </classes> - </test> <!-- uitests --> -</suite> <!-- uisuite -->
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/testSuites/propertyAssignmentSanity.xml b/ui-ci/src/main/resources/ci/testSuites/propertyAssignmentSanity.xml deleted file mode 100644 index 0a7e30edf7..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/propertyAssignmentSanity.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="uitests" configfailurepolicy="continue" parallel="methods" thread-count="1" data-provider-thread-count="1"> - <parameter name="makeDistribution" value="true"/> - - <test name="uiSanity"> - <classes> - - <class name="org.openecomp.sdc.ci.tests.execute.sanity.PropertiesAssignment"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.PropertiesAssignmentUpdateFlow"> - <methods> - <exclude name="updatePropertyChangeVfiVersionTest"/> - <exclude name="deletePropertyChangeVfiVersionTest"/> - </methods> - </class> - - </classes> - </test> <!-- uitests --> -</suite> <!-- uisuite -->
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/testSuites/sanity.xml b/ui-ci/src/main/resources/ci/testSuites/sanity.xml deleted file mode 100644 index c8fd8f14b1..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/sanity.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> -<suite name="uitests" configfailurepolicy="continue" parallel="methods" thread-count="4" data-provider-thread-count="2"> - <test name="uiSanity"> - <classes> - - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Onboard"> - <methods> - <include name="onboardVNFTestSanity"/> - </methods> - </class> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.CatalogLeftPanelTest"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Vf"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.Service"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.ImportVFCAsset"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.ImportDCAE"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.DeploymentViewTests"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.VFCArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.VfArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.VfDeploymentInformationalArtifacts"/> - <class name="org.openecomp.sdc.ci.tests.execute.sanity.AdminUserManagment"/> - <!-- <class name="org.openecomp.sdc.ci.tests.execute.sanity.Product"/> --> - - - - - - </classes> - </test> <!-- uitests --> -</suite> <!-- uisuite -->
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/testSuites/toscaValidationSuite.xml b/ui-ci/src/main/resources/ci/testSuites/toscaValidationSuite.xml deleted file mode 100644 index 96c538dfc9..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/toscaValidationSuite.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> -<suite name="uitests" configfailurepolicy="continue" parallel="methods" thread-count="2" data-provider-thread-count="2"> - <parameter name="makeDistribution" value="false"/> - - <test name="OnbordingDataProviders"> - <classes> - - <class name="org.openecomp.sdc.ci.tests.dataProvider.OnbordingDataProviders"> - <methods> - <include name="OnbordingDataProviders"/> - <!-- <exclude name="onboardVNFShotFlow"/> - <exclude name="onboardRandomVNFsTest"/> --> - </methods> - </class> - <!-- <class name="org.openecomp.sdc.ci.tests.execute.sanity.Onboard"> - <methods> - <include name="onboardRandomVNFsTest"/> - </methods> - </class> --> - - </classes> - </test> <!-- uitests --> -</suite> <!-- uisuite -->
\ No newline at end of file diff --git a/ui-ci/src/main/resources/ci/testSuites/vspValidationAllFlows.xml b/ui-ci/src/main/resources/ci/testSuites/vspValidationAllFlows.xml deleted file mode 100644 index 71677a95a5..0000000000 --- a/ui-ci/src/main/resources/ci/testSuites/vspValidationAllFlows.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="uitests" configfailurepolicy="continue" parallel="methods" thread-count="1" data-provider-thread-count="1"> - - <parameter name="makeDistribution" value="false"/> - - <test name="vspValidationAllFlows"> - <classes> - - <class name="org.openecomp.sdc.ci.tests.execute.sanity.OnboardingFlowsUi"> - <methods> - <include name="onapOnboardVSPValidationsSanityFlow"/> - <include name="onapOnboardVSPValidationsConfigurationChangeCheck"/> - <include name="onapOnboardVSPCertificationQueryFlow"/> - <include name="onapOnboardVSPComplianceCheckFlow"/> - <include name="onapOnboardVSPComplianceCheckOperations"/> - <include name="onapOnboardVSPCertificationQueryOperations"/> - </methods> - </class> - - </classes> - </test> <!-- uitests --> -</suite> <!-- uisuite -->
\ No newline at end of file |