diff options
Diffstat (limited to 'main/src/test')
4 files changed, 34 insertions, 0 deletions
diff --git a/main/src/test/resources/decisions/decision.guard.shoulddeny.input.json b/main/src/test/resources/decisions/decision.guard.shoulddeny.input.json new file mode 100644 index 00000000..ba9b5543 --- /dev/null +++ b/main/src/test/resources/decisions/decision.guard.shoulddeny.input.json @@ -0,0 +1,14 @@ +{ + "ONAPName": "Policy", + "ONAPComponent": "DCAE", + "ONAPInstance": "optional-tbd", + "action": "guard", + "resource": { + "guard": { + "actor": "SO", + "recipe": "scaleOut", + "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", + "vfcount" : "5" + } + } +}
\ No newline at end of file diff --git a/main/src/test/resources/decisions/decision.guard.shoulddeny.output.json b/main/src/test/resources/decisions/decision.guard.shoulddeny.output.json new file mode 100644 index 00000000..3752fe47 --- /dev/null +++ b/main/src/test/resources/decisions/decision.guard.shoulddeny.output.json @@ -0,0 +1,3 @@ +{ + "status": "deny" +}
\ No newline at end of file diff --git a/main/src/test/resources/decisions/decision.guard.shouldpermit.input.json b/main/src/test/resources/decisions/decision.guard.shouldpermit.input.json new file mode 100644 index 00000000..324d495a --- /dev/null +++ b/main/src/test/resources/decisions/decision.guard.shouldpermit.input.json @@ -0,0 +1,14 @@ +{ + "ONAPName": "Policy", + "ONAPComponent": "DCAE", + "ONAPInstance": "optional-tbd", + "action": "guard", + "resource": { + "guard": { + "actor": "SO", + "recipe": "scaleOut", + "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", + "vfcount" : "1" + } + } +}
\ No newline at end of file diff --git a/main/src/test/resources/decisions/decision.guard.shouldpermit.output.json b/main/src/test/resources/decisions/decision.guard.shouldpermit.output.json new file mode 100644 index 00000000..a1939262 --- /dev/null +++ b/main/src/test/resources/decisions/decision.guard.shouldpermit.output.json @@ -0,0 +1,3 @@ +{ + "status": "permit" +}
\ No newline at end of file |