aboutsummaryrefslogtreecommitdiffstats
path: root/ms/neng/src/test/sanity/policy-decision-api.json
diff options
context:
space:
mode:
authorbt2983 <bt2983@att.com>2020-03-01 16:30:26 -0700
committerDan Timoney <dtimoney@att.com>2020-03-05 08:59:30 -0500
commitee7c0061f4fcacd80875c8b4b1f1c3e3f64dae65 (patch)
tree4647a7c903588fc1515a374064b2a774f812822a /ms/neng/src/test/sanity/policy-decision-api.json
parent1ba9e49a2bedaee3e7a6cfbfdab7a0416a01ee20 (diff)
Naming micro-service - upgrade to spring-boot-2.
This contains all the changes to upgrade this micro-service to spring-boot-2 and spring-5, and is a pre-requisite for the changes related to policy. Issue-ID: CCSDK-1307 Signed-off-by: bt2983 <bt2983@att.com> Change-Id: Ie35df3bebac958b50c2c4635080c06d68f887a8e Naming m-s -- upgrade to spring-boot 1.5.2 Issue-ID: CCSDK-1307 Signed-off-by: bt2983 <bt2983@att.com> Change-Id: Id685b44dc8703baa4371fdabf999aa8b5eaa6ea0
Diffstat (limited to 'ms/neng/src/test/sanity/policy-decision-api.json')
-rw-r--r--ms/neng/src/test/sanity/policy-decision-api.json97
1 files changed, 97 insertions, 0 deletions
diff --git a/ms/neng/src/test/sanity/policy-decision-api.json b/ms/neng/src/test/sanity/policy-decision-api.json
new file mode 100644
index 00000000..3804ff45
--- /dev/null
+++ b/ms/neng/src/test/sanity/policy-decision-api.json
@@ -0,0 +1,97 @@
+{
+ "policies": {
+ "SDNC_Policy.ONAP_VNF_NAMING_TIMESTAMP": {
+ "type": "onap.policies.Naming",
+ "type_version": "1.0.0",
+ "properties": {
+ "policy-instance-name": "ONAP_VNF_NAMING_TIMESTAMP",
+ "naming-models": [
+ {
+ "naming-type": "VNF",
+ "naming-recipe": "AIC_CLOUD_REGION|DELIMITER|CONSTANT|DELIMITER|TIMESTAMP",
+ "naming-properties": [
+ {
+ "property-name": "AIC_CLOUD_REGION"
+ },
+ {
+ "property-name": "CONSTANT",
+ "property-value": "ONAP-NF"
+ },
+ {
+ "property-name": "TIMESTAMP"
+ },
+ {
+ "property-value": "_",
+ "property-name": "DELIMITER"
+ }
+ ]
+ },
+ {
+ "naming-type": "VNFC",
+ "naming-recipe": "VNF_NAME|DELIMITER|NFC_NAMING_CODE|DELIMITER|SEQUENCE",
+ "naming-properties": [
+ {
+ "property-name": "VNF_NAME"
+ },
+ {
+ "property-name": "SEQUENCE",
+ "increment-sequence": {
+ "max": "zzz",
+ "scope": "ENTIRETY",
+ "start-value": 1.0,
+ "length": 3.0,
+ "increment": 1.0,
+ "sequence-type": "alpha-numeric"
+ }
+ },
+ {
+ "property-name": "NFC_NAMING_CODE"
+ },
+ {
+ "property-value": "_",
+ "property-name": "DELIMITER"
+ }
+ ]
+ },
+ {
+ "naming-type": "VF-MODULE",
+ "naming-recipe": "VNF_NAME|DELIMITER|VF_MODULE_LABEL|DELIMITER|VF_MODULE_TYPE|DELIMITER|SEQUENCE",
+ "naming-properties": [
+ {
+ "property-name": "VNF_NAME"
+ },
+ {
+ "property-value": "_",
+ "property-name": "DELIMITER"
+ },
+ {
+ "property-name": "VF_MODULE_LABEL"
+ },
+ {
+ "property-name": "VF_MODULE_TYPE"
+ },
+ {
+ "property-name": "SEQUENCE",
+ "increment-sequence": {
+ "max": "zzz",
+ "scope": "PRECEEDING",
+ "start-value": 1.0,
+ "length": 3.0,
+ "increment": 1.0,
+ "sequence-type": "alpha-numeric"
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "name": "SDNC_Policy.ONAP_VNF_NAMING_TIMESTAMP",
+ "version": "1.0.0",
+ "metadata": {
+ "policy-id": "SDNC_Policy.ONAP_VNF_NAMING_TIMESTAMP",
+ "policy-version": "1"
+ }
+ }
+ }
+}
+