Rework authorization controller 36/81936/3
authorxg353y <xg353y@intl.att.com>
Mon, 11 Mar 2019 12:47:22 +0000 (13:47 +0100)
committerxg353y <xg353y@intl.att.com>
Mon, 11 Mar 2019 13:25:19 +0000 (14:25 +0100)
commita9be95f91ea469681517c697fae2fd2a5bcd9ff5
tree7487bdd874dd9e2e5f21e9eea64b4a16eacc6ec4
parent2f56e98490cd3f7f3a688685e38ee6178c19648c
Rework authorization controller

Rework the authorization controller, put the authorization code into a
camel box, so that it could be put and remove from other methods easily
and not tightly connected with other logic; Remove unused
CldsTemplateService.js

Issue-ID: CLAMP-305
Change-Id: I5e01f1fa4534e78e0996b4b8acaf33f1875e95f0
Signed-off-by: xg353y <xg353y@intl.att.com>
src/main/java/org/onap/clamp/authorization/AuthorizationController.java [new file with mode: 0644]
src/main/java/org/onap/clamp/util/PrincipalUtils.java [new file with mode: 0644]
src/main/resources/META-INF/resources/designer/index.html
src/main/resources/META-INF/resources/designer/scripts/CldsOpenModelCtrl.js
src/main/resources/META-INF/resources/designer/scripts/CldsTemplateService.js [deleted file]
src/main/resources/META-INF/resources/designer/scripts/GlobalPropertiesCtrl.js
src/main/resources/application-noaaf.properties
src/main/resources/application.properties
src/main/resources/clds/camel/rest/clamp-api-v2.xml
src/main/resources/clds/clds-users.json
src/test/java/org/onap/clamp/clds/it/AuthorizationControllerItCase.java [new file with mode: 0644]