X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Ftest%2Fresources%2Fjson%2Fsearch_policy.json;h=63c67853b8c16c4ef016fee1c765467149cac557;hb=ce701746049abfd94a87b46e43f296faf32d6213;hp=ab8d0e3c8bc7ba4704a1663730c582c40ecdb6b1;hpb=06d31abe3065205c87447687ad87c05e602c97d7;p=aai%2Fsearch-data-service.git diff --git a/src/test/resources/json/search_policy.json b/src/test/resources/json/search_policy.json index ab8d0e3..63c6785 100644 --- a/src/test/resources/json/search_policy.json +++ b/src/test/resources/json/search_policy.json @@ -1,5 +1,6 @@ { - "roles": [{ + "roles": [ + { "name": "testRole", "functions": [{ "name": "testFunction", @@ -16,8 +17,33 @@ "users": [{ "username": "testUser" } + ] - }, { + }, + + { + "name": "devRole", + "functions": [{ + "name": "search", + "methods": [{ + "name": "GET" + }, { + "name": "DELETE" + }, { + "name": "PUT" + } + ] + } + ], + "users": [ + { + "username": "cn=onap, ou=onap, o=onap, l=ottawa, st=ontario, c=ca" + } + + ] + }, + + { "name": "testBasicAuth", "functions": [{ "name": "testBasicAuthFuncyion",