Add elasticsearch with searchguard Dockerfile
[aai/search-data-service.git] / search-data-service / src / test / resources / json / search_policy.json
@@ -1,63 +1,63 @@
-{\r
-  "roles": [\r
-    {\r
-    "name": "testRole",\r
-    "functions": [{\r
-      "name": "testFunction",\r
-      "methods": [{\r
-        "name": "GET"\r
-      }, {\r
-        "name": "DELETE"\r
-      }, {\r
-        "name": "PUT"\r
-      }\r
-      ]\r
-    }\r
-    ],\r
-    "users": [{\r
-      "username": "testUser"\r
-    }\r
-\r
-    ]\r
-  },\r
-\r
-    {\r
-      "name": "devRole",\r
-      "functions": [{\r
-        "name": "search",\r
-        "methods": [{\r
-          "name": "GET"\r
-        }, {\r
-          "name": "DELETE"\r
-        }, {\r
-          "name": "PUT"\r
-        }\r
-        ]\r
-      }\r
-      ],\r
-      "users": [\r
-        {\r
-          "username": "cn=onap, ou=onap, o=onap, l=ottawa, st=ontario, c=ca"\r
-        }\r
-\r
-      ]\r
-    },\r
-\r
-    {\r
-    "name": "testBasicAuth",\r
-    "functions": [{\r
-      "name": "testBasicAuthFuncyion",\r
-      "methods": [{\r
-        "name": "GET"\r
-      }\r
-      ]\r
-    }\r
-    ],\r
-    "users": [{\r
-      "user": "testBasicAuthUser",\r
-      "pass": "OBF:1ytc1vu91v2p1rxf1mqh1v8s1z0d1msn1san1mqf1z0h1v9u1msl1rvf1v1p1vv11yta"\r
-    }\r
-    ]\r
-  }\r
-  ]\r
+{
+  "roles": [
+    {
+    "name": "testRole",
+    "functions": [{
+      "name": "testFunction",
+      "methods": [{
+        "name": "GET"
+      }, {
+        "name": "DELETE"
+      }, {
+        "name": "PUT"
+      }
+      ]
+    }
+    ],
+    "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",
+      "methods": [{
+        "name": "GET"
+      }
+      ]
+    }
+    ],
+    "users": [{
+      "user": "testBasicAuthUser",
+      "pass": "OBF:1ytc1vu91v2p1rxf1mqh1v8s1z0d1msn1san1mqf1z0h1v9u1msl1rvf1v1p1vv11yta"
+    }
+    ]
+  }
+  ]
 }
\ No newline at end of file