aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/json/search_policy.json
blob: 63c67853b8c16c4ef016fee1c765467149cac557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
  "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"
    }
    ]
  }
  ]
}