summaryrefslogtreecommitdiffstats
path: root/ONAP-REST/src/test/resources/policies/MicroServicePolicyContent0.json
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2019-12-01 21:44:47 +0000
committerliamfallon <liam.fallon@est.tech>2019-12-02 16:24:42 +0000
commit51d9bb17422ae08042971e9cb87bd6a2576a5cdb (patch)
treeab8b289a89e02bafb402e75ef9f0e619d8ef76b5 /ONAP-REST/src/test/resources/policies/MicroServicePolicyContent0.json
parent58c44ae81489deca05f57812c19f25c3897fe57a (diff)
Unit/SONAR/Checkstyle in ONAP-REST
Util package of ONAP-REST, with JUnit added and SONAR/Checkstyle issues addressed. Coverage increased from 51% to 73% in large PolicyValidation class. Issue-ID: POLICY-2131 Change-Id: Iffa90e2dfa155d3e9cac114032fb9ca0df2cbab0 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'ONAP-REST/src/test/resources/policies/MicroServicePolicyContent0.json')
-rw-r--r--ONAP-REST/src/test/resources/policies/MicroServicePolicyContent0.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/ONAP-REST/src/test/resources/policies/MicroServicePolicyContent0.json b/ONAP-REST/src/test/resources/policies/MicroServicePolicyContent0.json
new file mode 100644
index 000000000..f06d2f21c
--- /dev/null
+++ b/ONAP-REST/src/test/resources/policies/MicroServicePolicyContent0.json
@@ -0,0 +1,23 @@
+{
+ "police-instance-name": "content0",
+ "naming-models": [
+ {
+ "naming-properties": [
+ {
+ "property-value": "test",
+ "source-endpoint": "test",
+ "property-name": "testPropertyname",
+ "increment-sequence": {
+ "scope": "VNF",
+ "start-value": "1",
+ "length": "3",
+ "increment": "2"
+ },
+ "source-system": "TOSCA"
+ }
+ ],
+ "naming-type": "testNamingType",
+ "naming-recipe": "testNamingRecipe"
+ }
+ ]
+}