diff options
author | Michael Lando <ml636r@att.com> | 2017-06-11 14:22:02 +0300 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2017-06-11 17:48:32 +0300 |
commit | b3d4898d9e8452ea0b8d848c048e712d43b8d9a3 (patch) | |
tree | 0609319203be13f6c29ccbe24cb39c9d64f90095 /test-apis-ci/src/main/resources | |
parent | af9929df75604ce407d0ca542b200630164e0ae6 (diff) |
[SDC-29] rebase continue work to align source
Change-Id: I218f1c5ee23fb2c8314f1c70921d3ad8682c10f4
Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'test-apis-ci/src/main/resources')
32 files changed, 1916 insertions, 0 deletions
diff --git a/test-apis-ci/src/main/resources/ci/conf/attsdc-packages.yaml b/test-apis-ci/src/main/resources/ci/conf/attsdc-packages.yaml new file mode 100644 index 0000000000..5d1a3e1537 --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/conf/attsdc-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/test-apis-ci/src/main/resources/ci/conf/attsdc.yaml b/test-apis-ci/src/main/resources/ci/conf/attsdc.yaml new file mode 100644 index 0000000000..7273344672 --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/conf/attsdc.yaml @@ -0,0 +1,93 @@ +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 +windowsDownloadDirectory: "c:\\apache-ftpserver-1.1.0\\res\\home" + +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 +url: http://localhost:8181/sdc1/proxy-designer1#/dashboard + + +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
\ No newline at end of file diff --git a/test-apis-ci/src/main/resources/ci/conf/extent-config.xml b/test-apis-ci/src/main/resources/ci/conf/extent-config.xml new file mode 100644 index 0000000000..ab04b2678a --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/conf/extent-config.xml @@ -0,0 +1,51 @@ +<?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-container').prepend("<span><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQ4AAAB7CAYAAACFKW5jAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAABaAAAAWgBwI7h9AAAAB3RJTUUH3wwXFAQf1clFIAAANNxJREFUeNrtnXeYXVXV/z+n3To101ImvZFGQiCANKUoSBEFebEj1hcb2MWC+lpAbGD5CaKoiL2ggIgoRUIgQAohJCG9TTLJ9Dszt52y9++PfSeZTO6duXfmTkk4n+eZJ5Nbztn7zNnrrL32Wt8NPj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+Pj4+PgOjjXYDhpX7WgkZMD2qY2qQFtDlSkSvjlsaGJpGUIeQAS1pyb60hMurRrv1Pj5jFnO0G1As9PvbmBi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WdodAAyNjLFg9PDAAAAF3RFWHRUaHVtYjo6SW1hZ2U6OldpZHRoADU3Mz0hlMwAAAAZdEVYdFRodW1iOjpNaW1ldHlwZQBpbWFnZS9zdme/73BOAAAAF3RFWHRUaHVtYjo6TVRpbWUAMTQ1MDkwMTA3McPsyX0AAAAPdEVYdFRodW1iOjpTaXplADBCQpSiPuwAAABIdEVYdFRodW1iOjpVUkkAZmlsZTovLy90bXAvdmlnbmV0dGUvYzFkNDRkZjYtYzVkNi00OTAwLThkMGEtZDQ5ZWYzMGJkYTcxLnN2Z4N+SbEAAAAASUVORK5CYII=' style='display: block; margin-left: auto; margin-right: auto; margin-top: 7px; width: 70%; height: 70%;'/></span>"); + $('.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/test-apis-ci/src/main/resources/ci/conf/log4j.properties b/test-apis-ci/src/main/resources/ci/conf/log4j.properties new file mode 100644 index 0000000000..d313e92b55 --- /dev/null +++ b/test-apis-ci/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/test-apis-ci/src/main/resources/ci/conf/log4j.xml b/test-apis-ci/src/main/resources/ci/conf/log4j.xml new file mode 100644 index 0000000000..6db233a1da --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/conf/log4j.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> + +<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" + debug="false"> + + <appender name="fileAppender" class="org.apache.log4j.FileAppender"> + + <param name="Threshold" value="INFO" /> + + <param name="File" value="logfile.log" /> + + <layout class="org.apache.log4j.PatternLayout"> + + <param name="ConversionPattern" value="%d %-5p [%c{1}] %m %n" /> + + </layout> + + </appender> + + <root> + + <level value="INFO" /> + + <appender-ref ref="fileAppender" /> + + </root> + + + +</log4j:configuration> diff --git a/test-apis-ci/src/main/resources/ci/conf/testngLifeCycle.xml b/test-apis-ci/src/main/resources/ci/conf/testngLifeCycle.xml new file mode 100644 index 0000000000..aa390dc213 --- /dev/null +++ b/test-apis-ci/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/test-apis-ci/src/main/resources/ci/conf/titan.properties b/test-apis-ci/src/main/resources/ci/conf/titan.properties new file mode 100644 index 0000000000..42e1998f89 --- /dev/null +++ b/test-apis-ci/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/test-apis-ci/src/main/resources/ci/conf/truststore b/test-apis-ci/src/main/resources/ci/conf/truststore Binary files differnew file mode 100644 index 0000000000..bdec93d862 --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/conf/truststore diff --git a/test-apis-ci/src/main/resources/ci/scripts/addUsersFromList_new.sh b/test-apis-ci/src/main/resources/ci/scripts/addUsersFromList_new.sh new file mode 100644 index 0000000000..0d494d919d --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/scripts/addUsersFromList_new.sh @@ -0,0 +1,75 @@ +#!/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}'` + curl -i -X post -d '{ "userId" : "'${userId}'", "role" : "'${role}'" }' -H "Content-Type: application/json" -H "USER_ID: jh0003" http://${IP}:8080/sdc2/rest/v1/user + else + echo "Host" $IP "Is Unreachable" + fi + done +} + +#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/test-apis-ci/src/main/resources/ci/scripts/copyToStorage.sh b/test-apis-ci/src/main/resources/ci/scripts/copyToStorage.sh new file mode 100644 index 0000000000..30094fe235 --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/scripts/copyToStorage.sh @@ -0,0 +1,66 @@ +#!/bin/bash + +REPORT_NAME=$1 +VERSION=$2 +ENV=$3 +IP=$4 + +if [ -z "$REPORT_NAME" ] + then + source ExtentReport/versions.info + now=$(date -d '+7 hour' "+%Y-%m-%d_%H_%M") + REPORT_NAME="${now}" + VERSION="${osVersion}" + if [[ $env == *"DEV20"* ]] + then + ENV="Nightly" + else + ENV="" + fi + + fi + +/usr/bin/expect << EOF +spawn ssh admin@${IP} mkdir -p -m 775 /home/admin/reports/${ENV}/${VERSION}/APIs/ + +expect { + -re ".*es.*o.*" { + exp_send "yes\r" + exp_continue + } + -re ".*sword.*" { + exp_send "Aa123456\r" + } +} + +expect eof + +spawn scp -r ExtentReport admin@${IP}:/home/admin/reports/${ENV}/${VERSION}/APIs/${REPORT_NAME}/ + +expect { + -re ".*es.*o.*" { + exp_send "yes\r" + exp_continue + } + -re ".*sword.*" { + exp_send "Aa123456\r" + } +} + +expect eof + +spawn ssh admin@${IP} chmod -R 775 /home/admin/reports/${ENV}/${VERSION}/APIs/${REPORT_NAME}/ + +expect { + -re ".*es.*o.*" { + exp_send "yes\r" + exp_continue + } + -re ".*sword.*" { + exp_send "Aa123456\r" + } +} + +expect eof + +EOF diff --git a/test-apis-ci/src/main/resources/ci/scripts/sendMail.sh b/test-apis-ci/src/main/resources/ci/scripts/sendMail.sh new file mode 100644 index 0000000000..4c23a7973e --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/scripts/sendMail.sh @@ -0,0 +1,46 @@ +#!/bin/bash + +now=$(date +'%Y%-m%d%H%M') + +REPORT_NAME=$1 +VERSION=$2 +ENV=$3 + +RECIPIENTS1="dl-sdcqa@intl.att.com,ml636r@intl.att.com,bl5783intl.att.com,ak314p@intl.att.com,el489u@intl.att.com,hk096q@intl.att.com,bs5719@intl.att.com" +RECIPIENTS2="dl-asdcqa@intl.att.com" + +source ExtentReport/versions.info +if [ -z "$REPORT_NAME" ] + then + now=$(date -d '+7 hour' "+%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}'/APIs/'${REPORT_NAME}'/SDC_CI_Extent_Report.html \n\nThanks, \nSDC 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 'External APIs Automation '$ENV' results - ASDC '$VERSION -r 'ASDC@Automation.team' $RECIPIENTS diff --git a/test-apis-ci/src/main/resources/ci/scripts/startTest.sh b/test-apis-ci/src/main/resources/ci/scripts/startTest.sh new file mode 100644 index 0000000000..d3c15026cd --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/scripts/startTest.sh @@ -0,0 +1,153 @@ +#!/bin/bash +REMOTE_DEBUG=false +RERUN=false +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} +} + +#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/log4j.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="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} -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} -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} + +if [[ $env == *"DEV20"* ]] +then + MYENV="Nightly" +else + MYENV="" +fi + +COPY_REPORT_SCRIPT="copyToStorage.sh" +chmod +x ${COPY_REPORT_SCRIPT} +echo "copy report to storage..." +sh ./${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/test-apis-ci/src/main/resources/ci/scripts/userList.txt b/test-apis-ci/src/main/resources/ci/scripts/userList.txt new file mode 100644 index 0000000000..a1326599dc --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/scripts/userList.txt @@ -0,0 +1 @@ +export USER_LIST=( "m99121 DESIGNER" "cs0008 DESIGNER" "kb0004 TESTER" "af0006 OPS" "ah0002 GOVERNOR" "m08740 DESIGNER" "m99124 TESTER" "m08743 TESTER" "m99123 OPS" "m08742 OPS" "m99125 GOVERNOR" "m08744 GOVERNOR" "m99122 ADMIN" "m08741 ADMIN" "m99126 PRODUCT_STRATEGIST" "m08745 PRODUCT_STRATEGIST" "m99127 PRODUCT_MANAGER" "m08746 PRODUCT_MANAGER" "md9897 DESIGNER" "m08748 DESIGNER" "m08749 TESTER" "be0695 DESIGNER" "er434w DESIGNER" "ya107f DESIGNER" "ds200p DESIGNER" "ak0333 ADMIN" "th0695 DESIGNER" "al714h DESIGNER" "ys9693 DESIGNER" "ss8214 DESIGNER" "bt750h DESIGNER" "rp955r DESIGNER" "ez6451 DESIGNER" "ia901h DESIGNER" "ah7840 DESIGNER" "ea394r DESIGNER" "ms656r DESIGNER" "ml636r DESIGNER" "it1721 DESIGNER" "sg473v DESIGNER" "sa997j DESIGNER" "az2497 DESIGNER" "ys189e DESIGNER" "ig642y DESIGNER" ) diff --git a/test-apis-ci/src/main/resources/ci/testSuites/CRUDArtifacts.xml b/test-apis-ci/src/main/resources/ci/testSuites/CRUDArtifacts.xml new file mode 100644 index 0000000000..e53da8da8a --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/testSuites/CRUDArtifacts.xml @@ -0,0 +1,40 @@ +<?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/test-apis-ci/src/main/resources/ci/testSuites/SearchExternalAPI.xml b/test-apis-ci/src/main/resources/ci/testSuites/SearchExternalAPI.xml new file mode 100644 index 0000000000..40c462a4cb --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/testSuites/SearchExternalAPI.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> +<suite name="CRUDArtifacts" configfailurepolicy="continue" verbose="2" parallel="tests" thread-count="10"> + + <test name="Test"> + <classes> + <class + name="org.openecomp.sdc.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/test-apis-ci/src/main/resources/ci/testSuites/artifacts.xml b/test-apis-ci/src/main/resources/ci/testSuites/artifacts.xml new file mode 100644 index 0000000000..24229b8586 --- /dev/null +++ b/test-apis-ci/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/test-apis-ci/src/main/resources/ci/testSuites/category.xml b/test-apis-ci/src/main/resources/ci/testSuites/category.xml new file mode 100644 index 0000000000..f2a0b3790c --- /dev/null +++ b/test-apis-ci/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/test-apis-ci/src/main/resources/ci/testSuites/ciFull.xml b/test-apis-ci/src/main/resources/ci/testSuites/ciFull.xml new file mode 100644 index 0000000000..26a85fd9c6 --- /dev/null +++ b/test-apis-ci/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="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/test-apis-ci/src/main/resources/ci/testSuites/externalAPIs.xml b/test-apis-ci/src/main/resources/ci/testSuites/externalAPIs.xml new file mode 100644 index 0000000000..3505dad3c4 --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/testSuites/externalAPIs.xml @@ -0,0 +1,31 @@ +<?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.VFCMTExternalAPI"/> + <class name="org.openecomp.sdc.externalApis.CRUDExternalAPI"/> + <class name="org.openecomp.sdc.externalApis.DeploymentValiditaion"/> + <class name="org.openecomp.sdc.externalApis.GetAssetServlet"/> + <class name="org.openecomp.sdc.externalApis.GetCSARofVF"/> + <class name="org.openecomp.sdc.externalApis.GetFilteredAssetServlet"/> + <class name="org.openecomp.sdc.externalApis.GetSpecificAssetMetadataServlet"/> + <class name="org.openecomp.sdc.externalApis.SearchFilterCategoryExternalAPI"/> + <class name="org.openecomp.sdc.externalApis.AssetLifeCycle"/> + <class name="org.openecomp.sdc.externalApis.UserAPIs"/> + + +<!-- <class name="org.openecomp.sdc.ci.tests.execute.product.ChangeServiceInstanceVersionTest"/> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckinTest"/> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckoutTest"/> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductComponentInstanceCRUDTest"/> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCreateWithValidationsTest"/> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCrudTest"/> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductGetFollowedTest"/> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductUndoCheckoutTest"/> --> + + + </classes> + </test> +</suite>
\ No newline at end of file diff --git a/test-apis-ci/src/main/resources/ci/testSuites/general.xml b/test-apis-ci/src/main/resources/ci/testSuites/general.xml new file mode 100644 index 0000000000..bd7e6b6650 --- /dev/null +++ b/test-apis-ci/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/test-apis-ci/src/main/resources/ci/testSuites/imports.xml b/test-apis-ci/src/main/resources/ci/testSuites/imports.xml new file mode 100644 index 0000000000..ae4a5bc1f8 --- /dev/null +++ b/test-apis-ci/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/test-apis-ci/src/main/resources/ci/testSuites/product.xml b/test-apis-ci/src/main/resources/ci/testSuites/product.xml new file mode 100644 index 0000000000..4ea495d0d7 --- /dev/null +++ b/test-apis-ci/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/test-apis-ci/src/main/resources/ci/testSuites/productAPIs.xml b/test-apis-ci/src/main/resources/ci/testSuites/productAPIs.xml new file mode 100644 index 0000000000..61950e9de7 --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/testSuites/productAPIs.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> +<suite name="productAPIs" configfailurepolicy="continue" verbose="2" parallel="tests" thread-count="6"> + + <test name="Test"> + <classes> + + <class name="org.openecomp.sdc.ci.tests.execute.product.ChangeServiceInstanceVersionTest"/> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckinTest"/> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCheckoutTest"/> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductComponentInstanceCRUDTest"/> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCreateWithValidationsTest"/> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductCrudTest"/> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductGetFollowedTest"/> + <class name="org.openecomp.sdc.ci.tests.execute.product.ProductUndoCheckoutTest"/> + + + </classes> + </test> <!-- Test --> +</suite> <!-- Suite -->
\ No newline at end of file diff --git a/test-apis-ci/src/main/resources/ci/testSuites/property.xml b/test-apis-ci/src/main/resources/ci/testSuites/property.xml new file mode 100644 index 0000000000..f94f89737a --- /dev/null +++ b/test-apis-ci/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/test-apis-ci/src/main/resources/ci/testSuites/resource.xml b/test-apis-ci/src/main/resources/ci/testSuites/resource.xml new file mode 100644 index 0000000000..803fb01e70 --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/testSuites/resource.xml @@ -0,0 +1,360 @@ +<?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> + + <!-- 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/test-apis-ci/src/main/resources/ci/testSuites/sanity.xml b/test-apis-ci/src/main/resources/ci/testSuites/sanity.xml new file mode 100644 index 0000000000..f642170b34 --- /dev/null +++ b/test-apis-ci/src/main/resources/ci/testSuites/sanity.xml @@ -0,0 +1,394 @@ +<?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.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.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" /> + <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/test-apis-ci/src/main/resources/ci/testSuites/service.xml b/test-apis-ci/src/main/resources/ci/testSuites/service.xml new file mode 100644 index 0000000000..18d5630c4e --- /dev/null +++ b/test-apis-ci/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/test-apis-ci/src/main/resources/ci/testSuites/testngLifeCycle.xml b/test-apis-ci/src/main/resources/ci/testSuites/testngLifeCycle.xml new file mode 100644 index 0000000000..54f1868470 --- /dev/null +++ b/test-apis-ci/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/test-apis-ci/src/main/resources/ci/testSuites/user.xml b/test-apis-ci/src/main/resources/ci/testSuites/user.xml new file mode 100644 index 0000000000..948993c144 --- /dev/null +++ b/test-apis-ci/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 --> diff --git a/test-apis-ci/src/main/resources/log4j.properties b/test-apis-ci/src/main/resources/log4j.properties new file mode 100644 index 0000000000..d313e92b55 --- /dev/null +++ b/test-apis-ci/src/main/resources/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/test-apis-ci/src/main/resources/log4j.xml b/test-apis-ci/src/main/resources/log4j.xml new file mode 100644 index 0000000000..6db233a1da --- /dev/null +++ b/test-apis-ci/src/main/resources/log4j.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> + +<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" + debug="false"> + + <appender name="fileAppender" class="org.apache.log4j.FileAppender"> + + <param name="Threshold" value="INFO" /> + + <param name="File" value="logfile.log" /> + + <layout class="org.apache.log4j.PatternLayout"> + + <param name="ConversionPattern" value="%d %-5p [%c{1}] %m %n" /> + + </layout> + + </appender> + + <root> + + <level value="INFO" /> + + <appender-ref ref="fileAppender" /> + + </root> + + + +</log4j:configuration> diff --git a/test-apis-ci/src/main/resources/logback.xml b/test-apis-ci/src/main/resources/logback.xml new file mode 100644 index 0000000000..4723bc24cb --- /dev/null +++ b/test-apis-ci/src/main/resources/logback.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<configuration> + + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <pattern>%d{yyyy-MM-dd HH:mm:ss} | %-5p | [%thread] %logger{5}:%L - %msg%n</pattern> + </encoder> + </appender> + + <appender name="FILE" class="ch.qos.logback.core.FileAppender"> + <file>logFile.log</file> + <append>true</append> + <encoder> + <pattern>%d{yyyy-MM-dd HH:mm:ss} | %-5p | [%thread] %logger{5}:%L - %msg%n</pattern> + </encoder> + </appender> + + <logger name="com.memorynotfound" level="TRACE"/> + + <root level="DEBUG"> + <appender-ref ref="STDOUT" /> + <appender-ref ref="FILE" /> + </root> + +</configuration>
\ No newline at end of file |