From 9783a8b7515eaaec310e404650d0dd9092eb90a8 Mon Sep 17 00:00:00 2001 From: BT2983 Date: Sun, 16 Sep 2018 21:30:20 -0600 Subject: naming micro-service updates. More tests, changes for maria DB, support for UUID and timestamp etc. Change-Id: I17bdf3acbe970ef4104f2ec0d59d5777c0a9928e Issue-ID: CCSDK-342 Signed-off-by: BT2983 --- ms/neng/src/test/sanity/policy-vnf-uuid.json | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 ms/neng/src/test/sanity/policy-vnf-uuid.json (limited to 'ms/neng/src/test/sanity/policy-vnf-uuid.json') diff --git a/ms/neng/src/test/sanity/policy-vnf-uuid.json b/ms/neng/src/test/sanity/policy-vnf-uuid.json new file mode 100644 index 00000000..4a44cc8d --- /dev/null +++ b/ms/neng/src/test/sanity/policy-vnf-uuid.json @@ -0,0 +1,33 @@ +[ + { + "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|UUID" + }, + { + "naming-properties":[ + {"property-name" : "NF_NAMING_CODE"} + ], + "naming-type" : "VNF", + "nfRole" : "VNF", + "naming-recipe" : "NF_NAMING_CODE" + } + ] + } + }, + "policyName": "vnf-policy-1" + } +] + -- cgit 1.2.3-korg