diff options
author | 2018-07-10 17:57:43 +0100 | |
---|---|---|
committer | 2018-07-10 17:57:43 +0100 | |
commit | d5322dbd0fa1e32d543b24824a28d6bf0a0b5497 (patch) | |
tree | 3fd9c7c2ce924395346601490e96327e47928afc /src/test/resources/auth | |
parent | 600ca7e0b82c6932caa4f4ffb53e6c053525d9d5 (diff) |
Increase code coverage
Add tests to increase code coverage above 60 percent.
Issue-ID: AAI-1198
Change-Id: I4c2f964ce41d01521cc1313e32e34fb6460d49bf
Signed-off-by: Sotiropoulos, Ioannis (is948x) <Ioannis.Sotiropoulos@amdocs.com>
Diffstat (limited to 'src/test/resources/auth')
-rw-r--r-- | src/test/resources/auth/crud_policy.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/resources/auth/crud_policy.json b/src/test/resources/auth/crud_policy.json new file mode 100644 index 0000000..d60312b --- /dev/null +++ b/src/test/resources/auth/crud_policy.json @@ -0,0 +1,18 @@ +{ + "roles": [ + { + "name": "admin", + "functions": [ + { + "name": "crud", "methods": [ { "name": "GET" },{ "name": "DELETE" }, { "name": "PUT" }, { "name": "POST" }, { "name": "PATCH" } ] + } + ], + + "users": [ + { + "username": "CN=ONAP, OU=ONAP, O=ONAP, L=Ottawa, ST=Ontario, C=CA" + } + ] + } + ] +} |