summaryrefslogtreecommitdiffstats
path: root/ms/gra/gra-docker
diff options
context:
space:
mode:
Diffstat (limited to 'ms/gra/gra-docker')
-rw-r--r--ms/gra/gra-docker/src/main/dc/docker-compose.yaml2
-rw-r--r--ms/gra/gra-docker/src/main/resources/application.properties1
-rw-r--r--ms/gra/gra-docker/src/main/resources/cadi-example.properties55
3 files changed, 57 insertions, 1 deletions
diff --git a/ms/gra/gra-docker/src/main/dc/docker-compose.yaml b/ms/gra/gra-docker/src/main/dc/docker-compose.yaml
index 37a5807..91c8c30 100644
--- a/ms/gra/gra-docker/src/main/dc/docker-compose.yaml
+++ b/ms/gra/gra-docker/src/main/dc/docker-compose.yaml
@@ -51,7 +51,7 @@ services:
aaf-onap-test.osaaf.org: 10.12.5.145
dgbuilder:
- image: onap/ccsdk-dgbuilder-image:latest
+ image: nexus3.onap.org:10001/onap/ccsdk-dgbuilder-image:latest
depends_on:
- db
container_name: gra_dgbuilder
diff --git a/ms/gra/gra-docker/src/main/resources/application.properties b/ms/gra/gra-docker/src/main/resources/application.properties
index 2be250b..3feb604 100644
--- a/ms/gra/gra-docker/src/main/resources/application.properties
+++ b/ms/gra/gra-docker/src/main/resources/application.properties
@@ -22,3 +22,4 @@ spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.Im
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
spring.jpa.database=mysql
+cadi.properties.path=${SDNC_CONFIG_DIR}/cadi.properties
diff --git a/ms/gra/gra-docker/src/main/resources/cadi-example.properties b/ms/gra/gra-docker/src/main/resources/cadi-example.properties
new file mode 100644
index 0000000..c4ab3a4
--- /dev/null
+++ b/ms/gra/gra-docker/src/main/resources/cadi-example.properties
@@ -0,0 +1,55 @@
+#
+# https://wiki.web.att.com/display/cadi/CADI+Deployment
+# This is a normal Java Properties File
+# Comments are with Pound Signs at beginning of lines,
+# and multi-line expression of properties can be obtained by backslash at end of line
+
+# CSP has Production mode (active users) or DEVL mode
+#csp_domain=DEVL
+csp_domain=PROD
+
+# Http app intended to be accessible only by the users on this machine
+#localhost_allow=false
+localhost_allow=TRUE
+
+# Deny all localhost activity.
+#localhost_deny=false
+#csp_devl_localhost=true
+
+# Report all AUTHN and AUTHZ activity
+cadi_loglevel=DEBUG
+basic_warn=TRUE
+
+# Use Certificates for authentication
+cadi_protocols=
+#cadi_prop_files=/opt/app/aafcertman/com.att.sdncp.dev.props
+
+# Basic Auth on HTTP without SSL shows warning
+# TRUE will warn everytime, FALSE will warn only once at beginning
+#basic_warn=FALSE
+
+# The realm reported on BasicAuth callbacks
+basic_realm=csp.att.com
+
+# Configure AAF
+aaf_locate_url=https://${AAF_HOST:-aafist-azure.test.att.com}
+aaf_url=https://${AAF_HOST:-aafist-azure.test.att.com}/locate/com.att.aaf.service:2.0
+aaf_id=${AAF_MECHID}@${AAF_NAMESPACE:-dev.sdncp.att.com}
+
+aaf_password=${AAF_MECHID_CRED}
+aaf_lur=com.att.cadi.aaf.v2_0.AAFLurPerm
+
+# User Expires for not Unit Test should be something like 900000 (15 mins) default is 10 mins
+# 15 seconds is so that Unit Tests don't delay compiles etc
+aaf_user_expires=600000
+# High count.Rough top number of objects held in Cache per cycle. If high is reached, more are
+# recycled next time. Depending on Memory usage, 2000 is probably decent. 1000 is default
+aaf_high_count=1000
+aaf_clean_interval=30000
+
+# copied values - should use real values
+cadi_latitude=${AAF_LATITUDE:-30.267}
+cadi_longitude=${AAF_LONGITUDE:--97.743}
+
+# cadi conversion file
+#cadi_bath_convert=/opt/sdnc/gra/config/bath_config.csv