vid-automation selenium tests
Change-Id: I6c1b0a0cf3bbfa4314c81f0cc72507db805ec632
Issue-ID: VID-281
Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
diff --git a/vid-automation/conf/categoryParams b/vid-automation/conf/categoryParams
new file mode 100644
index 0000000..57cfcdc
--- /dev/null
+++ b/vid-automation/conf/categoryParams
@@ -0,0 +1,45 @@
+{
+ "categories": [
+ {
+ "name": "xxx1",
+ "categoryId": "1"
+ },
+ {
+ "name": "yyy1",
+ "categoryId": "2"
+ },
+ {
+ "name": "zzz1",
+ "categoryId": "3"
+ },
+ {
+ "name": "aaa1",
+ "categoryId": "4"
+ },
+ {
+ "name": "platform",
+ "categoryId": "1"
+ },
+ {
+ "name": "DFW",
+ "categoryId": "2"
+ },
+ {
+ "name": "ECOMP",
+ "categoryId": "3"
+ },
+ {
+ "name": "Wireline",
+ "categoryId": "4"
+ },
+ {
+ "name": "MetroPacketCore",
+ "appId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
+ "categoryId": "4"
+ },
+ {
+ "name": "x1",
+ "categoryId": "2"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/vid-automation/conf/credentials b/vid-automation/conf/credentials
index f19575e..2bd3573 100644
--- a/vid-automation/conf/credentials
+++ b/vid-automation/conf/credentials
@@ -1,4 +1,4 @@
{
- "userId": "2",
- "password": "2"
+ "userId": "uspVoiceVirtualUsp",
+ "password": "uspVoiceVirtualUsp"
}
\ No newline at end of file
diff --git a/vid-automation/conf/environments b/vid-automation/conf/environments
index 7b7dfc0..ad12be2 100644
--- a/vid-automation/conf/environments
+++ b/vid-automation/conf/environments
@@ -9,7 +9,7 @@
["f07ca256-96dd-40ad-b4d2-7a77e2a974ea", "Op Env Name", "UUID of the ECOMP Operational Environment", "Name of the ECOMP Operational Environment", "Test", "VNF", "VNF_Development", "Active", "Deactivate", ""],
["f07ca256-96dd-40ad-b4d2-7a77e2a974eb", "Op Env Name", "UUID of the ECOMP Operational Environment", "Name of the ECOMP Operational Environment", "Test", "VNF", "VNF_Development", "Active", "Deactivate", ""],
["f07ca256-96dd-40ad-b4d2-7a77e2a974ec", "Op Env Name", "UUID of the ECOMP Operational Environment", "Name of the ECOMP Operational Environment", "Test", "VNF", "VNF_Development", "Active", "Deactivate", ""],
- ["f07ca256-96dd-40ad-b4d2-7a77e2a974ef", "New VNF Environment", "f07ca256-96dd-40ad-b4d2-7a77e2a974ed", "ECOMP Env Name", "ECOMP Test", "VNF", "VNF_Test", "Inactive", "Activate", ""]
+ ["f07ca256-96dd-40ad-b4d2-7a77e2a974ef", "New VNF Environment", "f07ca256-96dd-40ad-b4d2-7a77e2a974ed", "ECOMP Env Name", "ECOMP Test", "VNF", "VNF_TEST", "Inactive", "Activate", ""]
],
"sortedList": [
["f07ca256-96dd-40ad-b4d2-7a77e2a974ec", "Op Env Name", "UUID of the ECOMP Operational Environment", "Name of the ECOMP Operational Environment", "Test", "VNF", "VNF_Development", "Active", "Deactivate", ""],
diff --git a/vid-automation/conf/log4j2.xml b/vid-automation/conf/log4j2.xml
new file mode 100644
index 0000000..b3efb30
--- /dev/null
+++ b/vid-automation/conf/log4j2.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Configuration status="ERROR" packages="com.epam.ta.reportportal.log4j.appender">
+ <properties>
+ <property name="pattern">[%d{HH:mm:ss,SSS}] %-5p (%F:%L) - %m%n</property>
+ <property name="report.pattern">%m%n</property>
+ </properties>
+ <Appenders>
+ <Console name="Console" target="SYSTEM_OUT">
+ <PatternLayout pattern="${pattern}"/>
+ </Console>
+ <ReportPortalLog4j2Appender name="ReportPortalAppender">
+ <PatternLayout pattern="${pattern}"/>
+ </ReportPortalLog4j2Appender>
+ <Console name="ConsoleReport" target="SYSTEM_OUT">
+ <PatternLayout pattern="${report.pattern}"/>
+ </Console>
+ <ReportPortalLog4j2Appender name="ReportPortalLogReport">
+ <PatternLayout pattern="${report.pattern}"/>
+ </ReportPortalLog4j2Appender>
+ </Appenders>
+ <Loggers>
+ <Root level="all">
+ <AppenderRef ref="Console"/>
+ <AppenderRef ref="ReportPortalAppender"/>
+ </Root>
+ <logger name="upload.file.to.reportportal" level="all" additivity="false">
+ <AppenderRef ref="ReportPortalAppender"/>
+ </logger>
+ <logger name="logger.report" level="all" additivity="false">
+ <AppenderRef ref="ConsoleReport"/>
+ <AppenderRef ref="ReportPortalLogReport"/>
+ </logger>
+ <logger name="rp.org.apache.http" level="WARN"/>
+ <logger name="org.apache.http" level="WARN"/>
+ <logger name="com.epam.reportportal" level="WARN"/>
+ <logger name="CouchDbDataAdapter" level="WARN"/>
+ </Loggers>
+</Configuration>
diff --git a/vid-automation/conf/newEnvironment b/vid-automation/conf/newEnvironment
index ce09ff3..f34c003 100644
--- a/vid-automation/conf/newEnvironment
+++ b/vid-automation/conf/newEnvironment
@@ -5,5 +5,5 @@
"EcompEnvironmentId": "f07ca256-96dd-40ad-b4d2-7a77e2a974ed",
"EcompEnvironmentName": "ECOMP Env Name",
"tenantContext": "ECOMP Test",
- "workloadContext": "VNF_Test"
+ "workloadContext": "VNF_TEST"
}
\ No newline at end of file
diff --git a/vid-automation/conf/serviceModels b/vid-automation/conf/serviceModels
new file mode 100644
index 0000000..8271e77
--- /dev/null
+++ b/vid-automation/conf/serviceModels
@@ -0,0 +1,38 @@
+{ "serviceModels": {
+ "959a7ba0-89ee-4984-9af6-65d5bdda4b0e": {
+ "serviceName": "ServicevMMSCPID298109",
+ "subscriberName": "Mobility",
+ "serviceInstanceName": "ggghhh",
+ "modelName": "VSP1710PID298109_vMMSC",
+ "modelInvariantUuid": "e7961100-cde6-4b5a-bcda-b8945086950a",
+ "modelVersion": "1.0",
+ "modelUuid": "959a7ba0-89ee-4984-9af6-65d5bdda4b0e",
+ "modelCustomizationUuid": "6b8fc7dc-2db1-4283-a222-b07d10595495",
+ "resourceName": "VSP1710PID298109_vMMSC 0",
+ "nfType": "MOBILITY MESSAGING",
+ "nfRole": "VMMSC",
+ "nfFunction": "Multimedia Message Service Center",
+ "nfNamingCode": "MMSC"
+ },
+ "d205e01d-e5da-4e68-8c52-f95cb0607959": {
+ "serviceName": "ServicevMMSCPID298109",
+ "subscriberName": "Mobility",
+ "serviceInstanceName": "ggghhh",
+ "modelName": "Vsp1710pid298109Vmmsc..mmsc_mod1_ltm..module-8",
+ "modelInvariantUuid": "d9f9c851-9543-476e-b3c2-a2e5284a26aa",
+ "modelVersion": "1",
+ "modelUuid": "d205e01d-e5da-4e68-8c52-f95cb0607959",
+ "modelCustomizationUuid": "e81b58ce-ae9b-4bde-9f81-9962a5007756"
+ },
+ "13f022c4-651e-4326-b8e1-61e9a8c7a7ad": {
+ "serviceName": "ServicevMMSCPID298109",
+ "subscriberName": "Mobility",
+ "serviceInstanceName": "ggghhh",
+ "modelName": "Vsp1710pid298109Vmmsc..mmsc_mod6_eca_oam..module-3",
+ "modelInvariantUuid": "6931e88a-fbcc-4ca9-8583-876b669c3106",
+ "modelVersion": "1",
+ "modelUuid": "13f022c4-651e-4326-b8e1-61e9a8c7a7ad",
+ "modelCustomizationUuid": "020af091-cc66-46db-876c-02f14b4a795f"
+ }
+ }
+}
\ No newline at end of file
diff --git a/vid-automation/conf/services b/vid-automation/conf/services
index 0fa92f1..c67a366 100644
--- a/vid-automation/conf/services
+++ b/vid-automation/conf/services
@@ -1,4 +1,5 @@
-{ "services": {
+{
+"services": {
"c079d859-4d81-4add-a9c3-94551f96e2b0": {
"type":"vnf",
"uuid": "418f32e5-484a-4073-8fa9-fab7d497459f",
@@ -9,6 +10,16 @@
"description": "1707 Models that contain: nf_type,nf_role,nf_function,nf_code.",
"serviceRole" : "pnf"
},
+ "c079d859-4d81-4add-a9c3-94551f96e2b1": {
+ "type":"",
+ "uuid": "418f32e5-484a-4073-8fa9-fab7d497459f",
+ "invariantUuid": "709d1be4-9a3f-4a29-8c4d-a20465e808a3",
+ "name": "1707vidnf",
+ "version": "9.0",
+ "category": "",
+ "description": "",
+ "serviceRole" : ""
+ },
"f39389e4-2a9c-4085-8ac3-04aea9c651be": {
"type" : "pnf",
"uuid": "f39389e4-2a9c-4085-8ac3-04aea9c651be",
@@ -18,5 +29,25 @@
"category": "Network L1-3",
"description": "macro model",
"serviceRole": "pnf"
- }}
+ },
+ "2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd": {
+ "type" : "pnf",
+ "uuid": "2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
+ "invariantUuid": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
+ "name": "action-data",
+ "version": "1.0",
+ "category": "Network L1-3",
+ "description": "ADIOD vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM",
+ "serviceRole": "Testing"
+ },
+ "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd": {
+ "type" : "pnf",
+ "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
+ "invariantUuid": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
+ "name": "action-data",
+ "version": "1.0",
+ "category": "Network L1-3",
+ "description": "ADIOD vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM",
+ "serviceRole": "Testing"
+ }}
}
\ No newline at end of file
diff --git a/vid-automation/conf/users b/vid-automation/conf/users
index 26be7ce..e6d3c6a 100644
--- a/vid-automation/conf/users
+++ b/vid-automation/conf/users
@@ -1,31 +1,90 @@
-{
- "users": {
- "readonly": {
- "credentials": {
- "userId": "2",
- "password": "2"
- },
- "subscribers": null,
- "serviceTypes": null,
- "tenants": null
- },
- "uspVoiceVirtualUsp": {
- "credentials": {
- "userId": "1",
- "password": "1"
- },
- "subscribers": ["e433710f-9217-458d-a79d-1c7aff376d89"],
- "serviceTypes": ["VIRTUAL USP"],
- "tenants": ["092eb9e8e4b7412e8787dd091bc58e86"]
- },
- "mobilityMobility": {
- "credentials": {
- "userId": "3",
- "password": "3"
- },
- "subscribers": ["a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb"],
- "serviceTypes": ["Mobility"],
- "tenants": null
- }
- }
-}
\ No newline at end of file
+ {
+ "users": {
+ "readonly": {
+ "credentials": {
+ "userId": "2",
+ "password": "2"
+ },
+ "serviceTypes": null,
+ "tenants": null
+ },
+ "uspVoiceVirtualUsp": {
+ "credentials": {
+ "userId": "1",
+ "password": "1"
+ },
+ "roles": ["USP VOICE___VIRTUAL USP", "MSO_1610_ST___MSO-dev-service-type", "MSO_1610_ST___VIRTUAL USP"],
+ "subscriberNames": ["USP VOICE", "MSO_1610_ST"],
+ "serviceTypes": ["VIRTUAL USP", "MSO-dev-service-type"],
+ "tenants": ["092eb9e8e4b7412e8787dd091bc58e86"]
+ },
+ "mobilityMobility": {
+ "credentials": {
+ "userId": "3",
+ "password": "3"
+ },
+ "roles": ["Mobility___Mobility"],
+ "subscriberNames": ["Mobility"],
+ "serviceTypes": ["Mobility"],
+ "tenants": ["c630e297a3ae486497d63eacec1d7c14", "d3b49834f7164cbe831bfbfa35ef649b"]
+ },
+ "FIREWALL_AIM_Trans": {
+ "credentials": {
+ "userId": "667",
+ "password": "667"
+ },
+ "roles": ["FIREWALL/MISC___AIM Transport"],
+ "subscriberNames": ["FIREWALL/MISC"],
+ "serviceTypes": ["AIM Transport"],
+ "tenants": null
+ },
+ "mobilityVMMSC": {
+ "credentials": {
+ "userId": "4",
+ "password": "4"
+ },
+ "roles": ["Mobility___vMMSC", "Mobility___vFlowLogic"],
+ "subscriberNames": ["Mobility"],
+ "serviceTypes": ["vMMSC", "vFlowLogic"],
+ "tenants": ["092eb9e8e4b7412e8787dd091bc58e86"]
+ },
+ "Porfirio Gerhardt": {
+ "credentials": {
+ "userId": "822",
+ "password": "822"
+ },
+ "roles": [
+ "PACKET CORE___Mobility",
+ "PACKET CORE___vFlowLogic"
+
+ ],
+ "subscriberNames": ["PACKET CORE"],
+ "serviceTypes": ["Mobility", "vFlowLogic"],
+ "tenants": null
+ },
+ "Mobility vFlowLogic": {
+ "credentials": {
+ "userId": "321",
+ "password": "312"
+ },
+ "roles": [
+ "Mobility___vFlowLogic"
+ ],
+ "subscriberNames": ["Mobility"],
+ "serviceTypes": ["vFlowLogic"],
+ "tenants": null
+ },
+ "Mobility_with_tenant" : {
+ "credentials": {
+ "userId": "321",
+ "password": "312"
+ },
+ "roles": [
+ "Mobility___vMMSC___test-mtn6-09"
+ ],
+ "subscriberNames": ["Mobility"],
+ "serviceTypes": ["vFlowLogic"],
+ "tenants": null
+ }
+ }
+ }
\ No newline at end of file