diff options
author | efiacor <fiachra.corcoran@est.tech> | 2020-04-23 10:36:54 +0100 |
---|---|---|
committer | efiacor <fiachra.corcoran@est.tech> | 2020-04-23 11:04:31 +0100 |
commit | e207b42c4806d949ec9125116cbafc23698b77b3 (patch) | |
tree | 3f1b65a8cdb04b01ae7c466e488f4635bd13f5b7 /plans/dcaegen2-services-pmsh/testsuite/assets/aai_sim | |
parent | f9c37574899da91bd1117067e8d66d3269c79ddd (diff) |
[PMSH] Updating csits for CBS module
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Change-Id: I4932bd4e5ab6b6d8fe524290079edd1093d49394
Issue-ID: DCAEGEN2-2156
Diffstat (limited to 'plans/dcaegen2-services-pmsh/testsuite/assets/aai_sim')
-rw-r--r-- | plans/dcaegen2-services-pmsh/testsuite/assets/aai_sim/aai-initializer.json | 61 | ||||
-rw-r--r-- | plans/dcaegen2-services-pmsh/testsuite/assets/aai_sim/aai_mockserver.properties | 26 |
2 files changed, 87 insertions, 0 deletions
diff --git a/plans/dcaegen2-services-pmsh/testsuite/assets/aai_sim/aai-initializer.json b/plans/dcaegen2-services-pmsh/testsuite/assets/aai_sim/aai-initializer.json new file mode 100644 index 00000000..5406f99c --- /dev/null +++ b/plans/dcaegen2-services-pmsh/testsuite/assets/aai_sim/aai-initializer.json @@ -0,0 +1,61 @@ +[ + { + "httpRequest": { + "path": "/aai/v16/query.*" + }, + "httpResponse": { + "statusCode": 200, + "headers": { + "content-type": [ + "application/json" + ] + }, + "body": { + "type": "JSON", + "json": { + "results": [ + { + "id": "303240", + "node-type": "generic-vnf", + "url": "/aai/v16/network/generic-vnfs/generic-vnf/230f339c-3e75-4f6b-8c9c-da4759da8222", + "properties": { + "vnf-id": "230f339c-3e75-4f6b-8c9c-da4759da8222", + "vnf-name": "vcpe_1", + "vnf-type": "demoVCPEInfra/vCPE_infra 0d1234cf-100c 0", + "service-id": "2db01c96-4baa-4393-8d79-af8d7bf4698e", + "prov-status": "PREPROV", + "orchestration-status": "Inventoried", + "in-maint": false, + "is-closed-loop-disabled": false, + "resource-version": "1575542300539", + "model-invariant-id": "c6aef848-e119-4572-9643-0b68da217358", + "model-version-id": "77c1a3d9-422a-4f78-bd8f-f7a357685b25", + "model-customization-id": "1f6a305d-74b6-4b92-b407-cd03284b6432" + } + }, + { + "id": "209096", + "node-type": "pnf", + "url": "/aai/v16/network/pnfs/pnf/pnf-existing", + "properties": { + "pnf-name": "pnf-existing", + "pnf-id": "99700432-df00-473d-8ff9-2fb14243417a", + "equip-type": "Complicated", + "equip-vendor": "Thunder", + "equip-model": "MP63527", + "ipaddress-v4-oam": "10.10.10.32", + "sw-version": "2.1.5", + "in-maint": false, + "serial-number": "6061ZW3", + "ipaddress-v6-oam": "2001:0db8:0:0:0:0:1428:57ab", + "resource-version": "1573053304574", + "nf-role": "gNB", + "orchestration-status": "Active" + } + } + ] + } + } + } + } +] diff --git a/plans/dcaegen2-services-pmsh/testsuite/assets/aai_sim/aai_mockserver.properties b/plans/dcaegen2-services-pmsh/testsuite/assets/aai_sim/aai_mockserver.properties new file mode 100644 index 00000000..9c592303 --- /dev/null +++ b/plans/dcaegen2-services-pmsh/testsuite/assets/aai_sim/aai_mockserver.properties @@ -0,0 +1,26 @@ +####################################### +# MockServer & Proxy Example Settings # +####################################### + +# Socket & Port Settings + +# socket timeout in milliseconds (default 120000) +mockserver.maxSocketTimeout=120000 + +# Certificate Generation + +# delete KeyStore file on JVM shutdown (default true) +mockserver.deleteGeneratedKeyStoreOnExit=true +# certificate domain name (default "localhost") +mockserver.sslCertificateDomainName=localhost +# comma separated list of domain names for Subject Alternative Name domain names (default empty list) +mockserver.sslSubjectAlternativeNameDomains=www.example.com,www.another.com +# comma separated list of ip addresses for Subject Alternative Name ips (default empty list) +mockserver.sslSubjectAlternativeNameIps=127.0.0.1 + +# CORS + +# enable CORS for MockServer REST API +mockserver.enableCORSForAPI=true +# enable CORS for all responses +mockserver.enableCORSForAllResponses=true |