summaryrefslogtreecommitdiffstats
path: root/ms/neng/src/test/sanity/policy-1.json
diff options
context:
space:
mode:
authorDan Timoney <dt5972@att.com>2018-08-20 16:38:00 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-20 16:38:00 +0000
commit7e2a1e010afaa8c9b7419ac01fcd1f8e3a9af0e4 (patch)
treeee74be92b9a406571105d4456ca5bf05c8f10e86 /ms/neng/src/test/sanity/policy-1.json
parent3b9a260d31728b2e974b040d4c3046773b5e1381 (diff)
parent9cbcdacf01abd92ca0952410760d3d8545b23ad8 (diff)
Merge "Naming micro-service code."
Diffstat (limited to 'ms/neng/src/test/sanity/policy-1.json')
-rw-r--r--ms/neng/src/test/sanity/policy-1.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/ms/neng/src/test/sanity/policy-1.json b/ms/neng/src/test/sanity/policy-1.json
new file mode 100644
index 00000000..e85bc790
--- /dev/null
+++ b/ms/neng/src/test/sanity/policy-1.json
@@ -0,0 +1,32 @@
+[
+ {
+ "config": {
+ "content": {
+ "naming-models":[
+ {
+ "naming-properties":[
+ { "property-name" : "COMPLEX", "property-operation" : "substr(5)" },
+ { "property-name" : "SEQUENCE", "increment-sequence":{
+ "max" : "zzz" , "scope" : "ENTIRETY" , "start-value" : "001" , "length" : "3",
+ "increment" : "1" , "sequence-type" : "alpha-numeric"}
+ },
+ {"property-name" : "NF_NAMING_CODE"}
+ ],
+ "naming-type" : "VNF",
+ "nfRole" : "vPE",
+ "naming-recipe" : "COMPLEX|SEQUENCE|NF_NAMING_CODE"
+ },
+ {
+ "naming-properties":[
+ {"property-name" : "NF_NAMING_CODE"}
+ ],
+ "naming-type" : "sanity-1",
+ "nfRole" : "sanity-1",
+ "naming-recipe" : "NF_NAMING_CODE"
+ }
+ ]
+ }
+ },
+ "policyName": "sanity-policy-1"
+ }
+]