summaryrefslogtreecommitdiffstats
path: root/sparkybe-onap-application/config/portal
diff options
context:
space:
mode:
authorda490c <dave.adams@amdocs.com>2018-07-17 14:04:07 -0400
committerda490c <dave.adams@amdocs.com>2018-07-17 14:12:36 -0400
commitf42670da77dabfb638c6b180ac7133ec869ecc69 (patch)
treef788f5ab8461f1f7a72089d31673e7ec11bb7902 /sparkybe-onap-application/config/portal
parent6977125bf359dbea3533052007930b18fa988976 (diff)
Implement Spring Profile Sparky Config
Issue-ID: AAI-1379 Change-Id: I5d56b766f681452abe7e61b307e008bc5a695814 Signed-off-by: da490c <dave.adams@amdocs.com>
Diffstat (limited to 'sparkybe-onap-application/config/portal')
-rw-r--r--sparkybe-onap-application/config/portal/BOOT-INF/classes/portal.properties21
-rw-r--r--sparkybe-onap-application/config/portal/portal-authentication.properties3
-rw-r--r--sparkybe-onap-application/config/portal/roles.config6
3 files changed, 30 insertions, 0 deletions
diff --git a/sparkybe-onap-application/config/portal/BOOT-INF/classes/portal.properties b/sparkybe-onap-application/config/portal/BOOT-INF/classes/portal.properties
new file mode 100644
index 0000000..ca6b34b
--- /dev/null
+++ b/sparkybe-onap-application/config/portal/BOOT-INF/classes/portal.properties
@@ -0,0 +1,21 @@
+# Java class that implements the ECOMP role and user mgt API
+portal.api.impl.class=org.openecomp.sparky.security.portal.PortalRestAPIServiceImpl
+# Instance of ECOMP Portal where the app has been on-boarded
+# ecomp_rest_url=http://ecomp.homer.att.com/ecompportal/auxapi
+# use insecure http for dev purposes to avoid self-signed certificate
+ecomp_rest_url=<%= @ECOMP_REST_URL %>
+
+### CSP-SSO
+# Standard global logon page
+ecomp_redirect_url=<%= @ECOMP_REDIRECT_URL %>
+# Test global logon page only accepts registered users
+# ecomp_redirect_url=https://webtest.csp.att.com/ecompportal/ecompportal/process_csp
+# CSP settings
+csp_cookie_name=<%= @CSP_COOKIE_NAME %>
+# Alternate values: DEVL, V_DEVL, V_PROD
+csp_gate_keeper_prod_key=PROD
+
+# No use of UEB; however, this key is used to identify the app.
+ueb_listeners_enable=false
+# cl778h demo app
+ueb_app_key=<%= @UEB_APP_KEY %> \ No newline at end of file
diff --git a/sparkybe-onap-application/config/portal/portal-authentication.properties b/sparkybe-onap-application/config/portal/portal-authentication.properties
new file mode 100644
index 0000000..a49cc69
--- /dev/null
+++ b/sparkybe-onap-application/config/portal/portal-authentication.properties
@@ -0,0 +1,3 @@
+username=admin
+password=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
+onap_enabled=true \ No newline at end of file
diff --git a/sparkybe-onap-application/config/portal/roles.config b/sparkybe-onap-application/config/portal/roles.config
new file mode 100644
index 0000000..b8313bd
--- /dev/null
+++ b/sparkybe-onap-application/config/portal/roles.config
@@ -0,0 +1,6 @@
+[
+ {
+ "id":1,
+ "name":"View"
+ }
+] \ No newline at end of file