diff options
author | 2018-03-21 18:40:41 +0000 | |
---|---|---|
committer | 2018-03-28 13:50:51 +0100 | |
commit | 66b3afa06776e9944ad515206d281d67747c9770 (patch) | |
tree | 427098937879fe09ae4fc3af4ae004359a60212a /appconfig-local/auth/auth_policy.json | |
parent | 161f5a7d9b900ae34a4886d7f7fb01ea496f71eb (diff) |
Incorporate the ECOMP SDC Artefact Generator code
Remove the Maven dependency on openecomp-sdc-artifact-generator-core,
because this is not maintained in the ONAP source code repositories.
The functionality provided by the SDC Artifact Generator is replaced
with equivalent code that depends on the SDC-TOSCA parsing library,
without introducing any backwards-compatibility breaks.
The intention is to make this Maven project more maintainable by
depending only the common ONAP libraries.
Change-Id: I01d78575d3b7c70a11e4c7989a021de3c0913a06
Issue-ID: AAI-943
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'appconfig-local/auth/auth_policy.json')
-rw-r--r-- | appconfig-local/auth/auth_policy.json | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/appconfig-local/auth/auth_policy.json b/appconfig-local/auth/auth_policy.json new file mode 100644 index 0000000..5340a6a --- /dev/null +++ b/appconfig-local/auth/auth_policy.json @@ -0,0 +1,47 @@ +{"roles": [ + { + "name": "admin", + "functions": [ + { + "name": "generateArtifacts", + "methods": [{"name": "POST"}] + } + ], + "users": [ + {"username": "CN=someone.onap.org, OU=someone, O=\"ONAP ORG\", L=NA, ST=NA, C=NA"} + ] + }, + { + "name": "ops", + "functions": [{ + "name": "actions", + "methods": [{"name": "POST"}] + }], + "users": [ + {"username": "CN=someone.onap.org, OU=someone, O=\"ONAP ORG\", L=NA, ST=NA, C=NA"} + ] + }, + { + "name": "readonly", + "functions": [ + { + "name": "actions", + "methods": [{"name": "GET"}] + } + ], + "users": [ + {"username": "CN=someone.onap.org, OU=someone, O=\"ONAP ORG\", L=NA, ST=NA, C=NA"} + ] + }, + { + "name": "basicauth", + "functions": [{ + "name": "util", + "methods": [{"name": "GET"}] + }], + "users": [{ + "user": "aai", + "pass": "OBF:deadbeef" + }] + } +]} |