aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources
diff options
context:
space:
mode:
authorShwetank Dave <shwetank.dave@amdocs.com>2018-03-29 16:55:36 -0400
committerShwetank Dave <shwetank.dave@amdocs.com>2018-03-29 17:22:35 -0400
commitce701746049abfd94a87b46e43f296faf32d6213 (patch)
tree31f3d768469ce328d8bee16e18c5f9b4ab9b4458 /src/test/resources
parent06d31abe3065205c87447687ad87c05e602c97d7 (diff)
Removing AJSC and moving to SpringBoot
[AAI-804] Deleting AJSC files. [AAI-804] Adding Spring Boot Dependencies Issue-ID: AAI-804 Change-Id: Ibda01496d56cc4613f6d2be3b8737d823cee342a Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/json/dynamicIndex.json28
-rw-r--r--src/test/resources/json/search_policy.json30
2 files changed, 43 insertions, 15 deletions
diff --git a/src/test/resources/json/dynamicIndex.json b/src/test/resources/json/dynamicIndex.json
index 1ac1cce..5df4069 100644
--- a/src/test/resources/json/dynamicIndex.json
+++ b/src/test/resources/json/dynamicIndex.json
@@ -1,15 +1,17 @@
{
- "mappings": {
- "dynamic_templates": [{
- "strings": {
- "match_mapping_type": "string",
- "match": "*",
- "mapping": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- }
- ]
- }
+ "mappings": {
+ "dynamic_templates": [{
+ "strings": {
+ "match_mapping_type": "string",
+ "match": "*",
+ "mapping": {
+ "type": "string",
+ "index": "not_analyzed"
+ }
+ }
+ }
+ ]
+ }
+
+
} \ No newline at end of file
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",