diff options
author | Jim Hahn <jrh3@att.com> | 2021-03-29 16:31:23 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-03-29 19:17:55 -0400 |
commit | 07f9418952d3dec141d6953099e0456f85f68807 (patch) | |
tree | 27cbedc8951f4e93d772de08b0d3c3f461d4423d /main/src/test/resources/simpleDeploy/PapPoliciesInvalidPolicyVersion.json | |
parent | 43c05f435510137c8e241c3c6d24b562f1244403 (diff) |
Validate parameters of REST calls
Added code to validate the parameters of the REST calls. As it turned
out, validation only needed to be added to one call.
Issue-ID: POLICY-2542
Change-Id: Ia9aabf75e06d6d5f996be9e3ed804218319f70c2
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'main/src/test/resources/simpleDeploy/PapPoliciesInvalidPolicyVersion.json')
-rw-r--r-- | main/src/test/resources/simpleDeploy/PapPoliciesInvalidPolicyVersion.json | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/src/test/resources/simpleDeploy/PapPoliciesInvalidPolicyVersion.json b/main/src/test/resources/simpleDeploy/PapPoliciesInvalidPolicyVersion.json new file mode 100644 index 00000000..c4b16671 --- /dev/null +++ b/main/src/test/resources/simpleDeploy/PapPoliciesInvalidPolicyVersion.json @@ -0,0 +1,8 @@ +{ + "policies": [ + { + "policy-id" : "myPolicy", + "policy-version": "abc123" + } + ] +} |