summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-11-04 15:24:22 +0000
committerGerrit Code Review <gerrit@onap.org>2019-11-04 15:24:22 +0000
commitedee21ec5dcab14d4aad21894aef6a0366e82074 (patch)
treeb07c66573b1bdea0219164ebb6d915f4fa3f9bb3
parent43b1593e3c2a250535bfadcc6829be9873a98259 (diff)
parent3f4f46580533a65d458b1af32c28b61c1ed7a3aa (diff)
Merge "remove internal urls"
-rw-r--r--epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp37
-rw-r--r--vid-app-common/src/test/resources/WEB-INF/conf/asdc.properties17
-rw-r--r--vid-app-common/src/test/resources/WEB-INF/conf/raptor_app_fusion.properties4
-rw-r--r--vid-app-common/src/test/resources/WEB-INF/conf/system.properties34
-rw-r--r--vid-app-common/src/test/resources/WEB-INF/conf/system.properties.cml93
-rw-r--r--vid-app-common/src/test/resources/WEB-INF/fusion/jsp/ds2/left-menu.jsp37
-rw-r--r--vid-app-common/src/test/resources/WEB-INF/fusion/jsp/ebz/ebz_header.jsp37
-rw-r--r--vid-automation/src/main/resources/ci/scripts/copyToStorage.sh50
-rw-r--r--vid-automation/src/main/resources/ci/scripts/sendMail.sh49
-rw-r--r--vid-automation/src/main/resources/ci/scripts/startTest.sh141
-rw-r--r--vid-ext-services-simulator/README.txt1
11 files changed, 10 insertions, 490 deletions
diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp b/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp
index 4808ccd43..50a10d607 100644
--- a/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp
+++ b/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp
@@ -644,28 +644,7 @@
}
$scope.createFavoriteErrorMenu=function() {
- $scope.favoritesMenuItems = [
-// {
-// "menuId": "93",
-// "text": "JSONLint",
-// "url": "http://http://jsonlint.com"
-// },
-// {
-// "menuId": "22",
-// "text": "ECOMP Wasteland",
-// "url": "https://ecomp.homer.att.com/ecompportal/applicationsHome"
-// },
-// {
-// "menuId": "94",
-// "text": "HROneStop",
-// "url": "http://ebiz.sbc.com/hronestop"
-// },
-// {
-// "menuId": "91",
-// "text": "Andy and his Astrophotgraphy",
-// "url": "https://ecomp.homer.att.com/ecompportal/applicationsHome"
-// }
- ];
+ $scope.favoritesMenuItems = [];
$scope.favoriteItemsCount = Object.keys($scope.favoritesMenuItems).length;
$log.info('number of favorite menus: ' + $scope.favoriteItemsCount);
}
@@ -737,20 +716,6 @@
"url": "http://http://jsonlint.com"
},
{
- "menuId": 94,
- "column": 2,
- "text": "HROneStop",
- "parentMenuId": 4,
- "url": "http://ebiz.sbc.com/hronestop"
- },
- {
- "menuId": 95,
- "column": 2,
- "text": "4th Level App4a R16",
- "parentMenuId": 4,
- "url": "http://www.e-access.att.com/ecomp_portal_ist/ecompportal/widgets"
- },
- {
"menuId": 96,
"column": 3,
"text": "3rd Level App1c R200",
diff --git a/vid-app-common/src/test/resources/WEB-INF/conf/asdc.properties b/vid-app-common/src/test/resources/WEB-INF/conf/asdc.properties
deleted file mode 100644
index c16d3f5d3..000000000
--- a/vid-app-common/src/test/resources/WEB-INF/conf/asdc.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-asdc.client.type=REST
-#
-#asdc.client.rest.protocol=http
-#asdc.client.rest.host=135.21.125.36
-#asdc.client.rest.port=8080
-#asdc.client.rest.auth=Basic VklEOnZpbjNSaXBlbmVkSnVtYjBKZXRTcHJpbmtsZXM=
-#
-#dev
-#asdc.client.rest.protocol=http
-#asdc.client.rest.host=135.21.125.105
-#asdc.client.rest.port=8080
-#asdc.client.rest.auth=Basic VGVzdDoxMjM0NTY=
-#IST
-asdc.client.rest.protocol=https
-asdc.client.rest.host=asdcbe.mtsnjpw1.aic.cip.att.com
-asdc.client.rest.port=8443
-asdc.client.rest.auth=Basic dmlkOnZpZGlzdA==
diff --git a/vid-app-common/src/test/resources/WEB-INF/conf/raptor_app_fusion.properties b/vid-app-common/src/test/resources/WEB-INF/conf/raptor_app_fusion.properties
index 4006c166d..b5ee2710e 100644
--- a/vid-app-common/src/test/resources/WEB-INF/conf/raptor_app_fusion.properties
+++ b/vid-app-common/src/test/resources/WEB-INF/conf/raptor_app_fusion.properties
@@ -3,8 +3,8 @@ upload_folder_path=/demeter/WebApps/dev/ECOMP_PORTAL/files/
excel_template_path=/demeter/WebApps/dev/ECOMP_PORTAL/files/raptor_template/
temp_folder_url=temp/
upload_folder_url=upload/
-smtp_server=zeus.homer.att.com
-default_email_sender=dev-local@homer.att.com
+smtp_server=todo.smtp.server
+default_email_sender=email-name@email.com
error_page=error_page.jsp
jsp_context_path=raptor/
img_folder_url=static/fusion/raptor/images/
diff --git a/vid-app-common/src/test/resources/WEB-INF/conf/system.properties b/vid-app-common/src/test/resources/WEB-INF/conf/system.properties
index 0fb8b1ca7..9c73e4cdd 100644
--- a/vid-app-common/src/test/resources/WEB-INF/conf/system.properties
+++ b/vid-app-common/src/test/resources/WEB-INF/conf/system.properties
@@ -19,7 +19,6 @@
#Mysql
db.driver = com.mysql.jdbc.Driver
-#db.connectionURL = jdbc:mysql://demeter.homer.att.com:3306/ecomp_sdk_1707_att
db.connectionURL = jdbc:mysql://localhost:3306/vid_portal
db.userName = euser
db.password = euser
@@ -100,14 +99,14 @@ mylogins_feed_cron = 0 0/60 * * * ?;
my_login_feed_output_dir = /tmp/MyLogins
# ECOMP Portal Shared Context REST API URL
-ecomp_shared_context_rest_url= https://www.ecomp.att.com:8080/ecompportal/context
+ecomp_shared_context_rest_url= https://shared.context.rest.url:8080/ecompportal/context
# Link shown in Help menu
-contact_us_link = https://wiki.web.att.com/display/EcompPortal/ECOMP+Portal+Home
+contact_us_link = https://todo.contact.us.link
homepage_contact_us_url = mailto:portal@lists.onap.org
# Camunda cockpit link
-camunda_cockpit_link = https://cloopwf.client.research.att.com:8443/camunda/app/cockpit/default/#/dashboard
+camunda_cockpit_link = https://camunda.cockpit.link/
# An Unique 128-bit value defined to identify a specific version
# of an application deployed on a specific virtual machine.
# This value must be generated and updated by the application
@@ -116,16 +115,7 @@ camunda_cockpit_link = https://cloopwf.client.research.att.com:8443/camunda/app/
instance_uuid=8da691c9-987d-43ed-a358-00ac2f35685d
# R Cloud feature
-guard_notebook_url=https://rcloud.research.att.com/mini.html?notebook=a06a9cf14211012e221bf842c168849d&
-
-#ECOMP redirect url
-#ecomp_redirect_url = https://webtest.csp.att.com/ecomp_portal_dev_n1/ecompui/process_csp
-#ecomp_rest_url = https://webtest.csp.att.com/ecomp_portal_dev_n1/ecompui/auxapi
-# Replace these default values with the ones for your specific App. Ecomp Portal admin obtains from EP website.
-#ueb_app_mailbox_name = ECOMP-PORTAL-OUTBOX-90
-#ueb_app_key = sYH0NJnsKmJC1B2A
-#ueb_app_secret = YOtknsT2wVFz9WISlSPDaAtd
-
+guard_notebook_url=https://todo.guard.notebook.url
#Policy related properties
#simulator
@@ -140,14 +130,6 @@ policy.Authorization=
policy.environment=
#MSO related properties
-#simulator
-#mso.server.url=http://localhost:8089
-#mso.server.url=https://msoapih-app.mtsnj.aic.cip.att.com:8443/ecomp/mso/infra
-#dev2dev
-#good
-#dev
-#mso.server.url=http://mtanjv9moah10-eth0.aic.cip.att.com:8080/ecomp/mso/infra
-#istScrum-Master
mso.restapi.svc.e2einstance=/e2eServiceInstances/v3
mso.client.type=LOCAL
mso.server.url=http://vm1.mso.simpledemo.openecomp.org:8080
@@ -203,9 +185,7 @@ scheduler.get.time.slots=/v1/ChangeManagement/schedules/
scheduler.get.schedules=/v1/ChangeManagement/schedules/scheduleDetails/
vid.truststore.passwd.x=OBF:1wgg1wfq1uus1uui1x131x0r1x1v1x1j1uvo1uve1wg81wfi
-#mso.dme2.server.url=http://mso-api-handler-anap-v1.mso.ecomp.att.com/services/ecomp/mso?
-mso.dme2.server.url=http://mso-api-handler-anap-v1.mso.ecomp.att.com/services/ecomp/mso?version=1607&envContext=TEST&routeOffer=st_mtsnj
-#mso.dme2.server.url=https://ActiveAndAvailableInventory-CloudNetwork-v1.aai.att.com/aai?version=1&envContext=DEV&routeOffer=devINT1
+mso.dme2.server.url=http://mso.dme2.server.url/services/ecomp/mso?version=1607&envContext=TEST&routeOffer=st_mtsnj
mso.dme2.enabled=false
asdc.model.namespace=org.openecomp.
sdc.svc.api.path=sdc/v1/catalog/services
@@ -215,10 +195,6 @@ sdc.resource.api.path=sdc/v1/catalog/resource
mso.maxOpenedInstantiationRequests=200
mso.asyncPollingIntervalSeconds=0
-# Application base URL has the host and app context only; a proper prefix of the on-boarded URL.
-# Only required for applications using WebJunction or FE/BE separation. For example:
-# app_base_url = https://www.e-access.att.com/app_junction/app_context/
-
features.set.filename=onap.features.properties
vid.asyncJob.howLongToKeepOldJobsInDays=7
diff --git a/vid-app-common/src/test/resources/WEB-INF/conf/system.properties.cml b/vid-app-common/src/test/resources/WEB-INF/conf/system.properties.cml
deleted file mode 100644
index 9c8b03caf..000000000
--- a/vid-app-common/src/test/resources/WEB-INF/conf/system.properties.cml
+++ /dev/null
@@ -1,93 +0,0 @@
-# Properties read by ECOMP Core library, epsdk-core.jar
-
-##########################################################################
-# The following properties should NOT be changed by partner applications.
-##########################################################################
-
-application_user_id = 30000
-post_default_role_id = 16
-clustered = true
-
-#Enable Fusion Mobile capabilities for the application
-mobile_enable = false
-
-# Cache config file is needed on the classpath
-cache_config_file_path = /WEB-INF/classes/cache.ccf
-cache_switch = 199
-cache_load_on_startup = false
-
-user_name = fullName
-decryption_key = AGLDdG4D04BKm2IxIWEr8o==
-
-##########################################################################
-# The following properties REQUIRE changes by partner applications.
-##########################################################################
-
-#Oracle
-#db.userName=quantumbd
-#db.password=c1syn2yhmr
-#db.connectionURL=jdbc:oracle:thin:@dbhost.yourcompany.com:1527:mod112a
-#db.hib.dialect=org.hibernate.dialect.Oracle10gDialect
-#db.driver=oracle.jdbc.driver.OracleDriver
-#Hibernate
-#hb.dialect=org.hibernate.dialect.Oracle10gDialect
-#hb.show_sql=true
-
-#Postgres
-#db.userName=quantumbd
-#db.password=c1syn2yhmr
-#db.connectionURL=jdbc:postgresql://dbhost.yourcompany.com:61382/quantum
-#db.hib.dialect=org.hibernate.dialect.PostgreSQLDialect
-#db.driver=org.postgresql.Driver
-#hb.dialect=org.hibernate.dialect.PostgreSQLDialect
-#hb.show_sql=true
-
-
-
-#Mysql
-db.driver = org.mariadb.jdbc.Driver
-#db.connectionURL = jdbc:mariadb://localhost:3306/vid_openecomp_epsdk
-#db.userName = ecomp_sdk_user
-#db.password = ecomp_sdk_pass
-db.hib.dialect = org.hibernate.dialect.MySQLDialect
-db.min_pool_size = 5
-db.max_pool_size = 10
-hb.dialect = org.hibernate.dialect.MySQLDialect
-# SQL statements are logged to stdout
-hb.show_sql = true
-hb.idle_connection_test_period = 3600
-
-app_display_name = EPSDK App ATT
-# license file area
-files_path = /tmp
-
-#element map files
-element_map_file_path = app/fusionapp/files/
-element_map_icon_path = app/fusionapp/icons/
-
-#Cron Schedules have 6 required fields and 1 optional field:
-# Seconds Minutes Hours Day-of-Month Month Day-of-Week Year
-log_cron = 0 0/1 * * * ?;
-
-# ECOMP Portal Shared Context REST API URL
-ecomp_shared_context_rest_url= https://www.ecomp.att.com:8080/ecompportal/context
-
-# Link shown in Help menu
-contact_us_link = https://wiki.web.att.com/display/EcompPortal/ECOMP+Portal+Home
-
-# Camunda cockpit link
-camunda_cockpit_link = https://cloopwf.client.research.att.com:8443/camunda/app/cockpit/default/#/dashboard
-
-# An Unique 128-bit value defined to identify a specific version
-# of an application deployed on a specific virtual machine.
-# This value must be generated and updated by the application
-# which is using the ECOMP SDK at the time of its deployment.
-# Online Unique UUID generator - https://www.uuidgenerator.net/
-instance_uuid=8da691c9-987d-43ed-a358-00ac2f35685d
-
-# R Cloud feature
-guard_notebook_url=https://rcloud.research.att.com/mini.html?notebook=a06a9cf14211012e221bf842c168849d&
-
-# Application base URL has the host and app context only; a proper prefix of the on-boarded URL.
-# Only required for applications using WebJunction or FE/BE separation. For example:
-# app_base_url = https://www.e-access.att.com/app_junction/app_context/
diff --git a/vid-app-common/src/test/resources/WEB-INF/fusion/jsp/ds2/left-menu.jsp b/vid-app-common/src/test/resources/WEB-INF/fusion/jsp/ds2/left-menu.jsp
index 8f6b5c2a8..afaf8b1ac 100644
--- a/vid-app-common/src/test/resources/WEB-INF/fusion/jsp/ds2/left-menu.jsp
+++ b/vid-app-common/src/test/resources/WEB-INF/fusion/jsp/ds2/left-menu.jsp
@@ -579,28 +579,7 @@
}
$scope.createFavoriteErrorMenu=function() {
- $scope.favoritesMenuItems = [
-// {
-// "menuId": "93",
-// "text": "JSONLint",
-// "url": "http://http://jsonlint.com"
-// },
-// {
-// "menuId": "22",
-// "text": "ECOMP Wasteland",
-// "url": "https://ecomp.homer.att.com/ecompportal/applicationsHome"
-// },
-// {
-// "menuId": "94",
-// "text": "HROneStop",
-// "url": "http://ebiz.sbc.com/hronestop"
-// },
-// {
-// "menuId": "91",
-// "text": "Andy and his Astrophotgraphy",
-// "url": "https://ecomp.homer.att.com/ecompportal/applicationsHome"
-// }
- ];
+ $scope.favoritesMenuItems = [];
$scope.favoriteItemsCount = Object.keys($scope.favoritesMenuItems).length;
$log.info('number of favorite menus: ' + $scope.favoriteItemsCount);
}
@@ -672,20 +651,6 @@
"url": "http://http://jsonlint.com"
},
{
- "menuId": 94,
- "column": 2,
- "text": "HROneStop",
- "parentMenuId": 4,
- "url": "http://ebiz.sbc.com/hronestop"
- },
- {
- "menuId": 95,
- "column": 2,
- "text": "4th Level App4a R16",
- "parentMenuId": 4,
- "url": "http://www.e-access.att.com/ecomp_portal_ist/ecompportal/widgets"
- },
- {
"menuId": 96,
"column": 3,
"text": "3rd Level App1c R200",
diff --git a/vid-app-common/src/test/resources/WEB-INF/fusion/jsp/ebz/ebz_header.jsp b/vid-app-common/src/test/resources/WEB-INF/fusion/jsp/ebz/ebz_header.jsp
index 067fce329..6ef2ea975 100644
--- a/vid-app-common/src/test/resources/WEB-INF/fusion/jsp/ebz/ebz_header.jsp
+++ b/vid-app-common/src/test/resources/WEB-INF/fusion/jsp/ebz/ebz_header.jsp
@@ -608,28 +608,7 @@
}
$scope.createFavoriteErrorMenu=function() {
- $scope.favoritesMenuItems = [
-// {
-// "menuId": "93",
-// "text": "JSONLint",
-// "url": "http://http://jsonlint.com"
-// },
-// {
-// "menuId": "22",
-// "text": "ECOMP Wasteland",
-// "url": "https://ecomp.homer.att.com/ecompportal/applicationsHome"
-// },
-// {
-// "menuId": "94",
-// "text": "HROneStop",
-// "url": "http://ebiz.sbc.com/hronestop"
-// },
-// {
-// "menuId": "91",
-// "text": "Andy and his Astrophotgraphy",
-// "url": "https://ecomp.homer.att.com/ecompportal/applicationsHome"
-// }
- ];
+ $scope.favoritesMenuItems = [];
$scope.favoriteItemsCount = Object.keys($scope.favoritesMenuItems).length;
$log.info('number of favorite menus: ' + $scope.favoriteItemsCount);
}
@@ -701,20 +680,6 @@
"url": "http://http://jsonlint.com"
},
{
- "menuId": 94,
- "column": 2,
- "text": "HROneStop",
- "parentMenuId": 4,
- "url": "http://ebiz.sbc.com/hronestop"
- },
- {
- "menuId": 95,
- "column": 2,
- "text": "4th Level App4a R16",
- "parentMenuId": 4,
- "url": "http://www.e-access.att.com/ecomp_portal_ist/ecompportal/widgets"
- },
- {
"menuId": 96,
"column": 3,
"text": "3rd Level App1c R200",
diff --git a/vid-automation/src/main/resources/ci/scripts/copyToStorage.sh b/vid-automation/src/main/resources/ci/scripts/copyToStorage.sh
deleted file mode 100644
index 86fcadfef..000000000
--- a/vid-automation/src/main/resources/ci/scripts/copyToStorage.sh
+++ /dev/null
@@ -1,50 +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
-
-/usr/bin/expect << EOF
-spawn ssh admin@135.76.210.45 mkdir -p -m 775 /home/admin/reports/${ENV}/${VERSION}/UI/
-
-expect {
- -re ".*es.*o.*" {
- exp_send "yes\r"
- exp_continue
- }
- -re ".*sword.*" {
- exp_send "Aa123456\r"
- }
-}
-
-expect eof
-
-spawn scp -pr ExtentReport admin@135.76.210.45:/home/admin/reports/${ENV}/${VERSION}/UI/${REPORT_NAME}/
-
-expect {
- -re ".*es.*o.*" {
- exp_send "yes\r"
- exp_continue
- }
- -re ".*sword.*" {
- exp_send "Aa123456\r"
- }
-}
-
-expect eof
-EOF
diff --git a/vid-automation/src/main/resources/ci/scripts/sendMail.sh b/vid-automation/src/main/resources/ci/scripts/sendMail.sh
deleted file mode 100644
index 794534fc8..000000000
--- a/vid-automation/src/main/resources/ci/scripts/sendMail.sh
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/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
- 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/vid-automation/src/main/resources/ci/scripts/startTest.sh b/vid-automation/src/main/resources/ci/scripts/startTest.sh
deleted file mode 100644
index e4c1a0995..000000000
--- a/vid-automation/src/main/resources/ci/scripts/startTest.sh
+++ /dev/null
@@ -1,141 +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}
-}
-
-#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.onap.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}/"
-
-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/vid-ext-services-simulator/README.txt b/vid-ext-services-simulator/README.txt
index 033210309..c46a5679a 100644
--- a/vid-ext-services-simulator/README.txt
+++ b/vid-ext-services-simulator/README.txt
@@ -137,7 +137,6 @@ Usage:
Example of mocking the scheduler:
-#scheduler.server.url=http://mtanjv9sdlg10.aic.cip.att.com:8989/scheduler
scheduler.server.url=http://localhost:7080/vidSimulator/scheduler