aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dbc-client/misc/dbc-client11
-rw-r--r--dbc-client/src/main/resources/Dockerfile3
-rw-r--r--dmaap-bc/misc/dmaapbc6
-rw-r--r--dmaap-bc/src/main/resources/Dockerfile4
-rw-r--r--misc/cert-client-init.sh31
5 files changed, 6 insertions, 49 deletions
diff --git a/dbc-client/misc/dbc-client b/dbc-client/misc/dbc-client
index cf6c230..a7317fa 100644
--- a/dbc-client/misc/dbc-client
+++ b/dbc-client/misc/dbc-client
@@ -33,8 +33,8 @@ CONFIGMAP_ROOT=${CONFIGMAP_ROOT:-/opt/app/config}
CONTAINER_CONFIG=$CONFIGMAP_ROOT/conf/dbc-client.env
REQUESTID=${REQUESTID:-dbc-client}
DBC=${DBC:-dmaap-bc}
-PROTO=${PROTO:-http}
-PORT=${PORT:-8080}
+PROTO=${PROTO:-https}
+PORT=${PORT:-8443}
@@ -65,13 +65,6 @@ config() {
echo "Not creating $APP_ROOT/ok_to_exit"
fi
- if [ ! -f $APP_ROOT/misc/cert-client-init.sh ]
- then
- echo "Did not find $APP_ROOT/misc/cert-client-init.sh to append to truststore"
- exit 1
- fi
- $APP_ROOT/misc/cert-client-init.sh
-
set +x
}
diff --git a/dbc-client/src/main/resources/Dockerfile b/dbc-client/src/main/resources/Dockerfile
index 2025a5e..90cd7f9 100644
--- a/dbc-client/src/main/resources/Dockerfile
+++ b/dbc-client/src/main/resources/Dockerfile
@@ -37,8 +37,7 @@ RUN apk add --no-cache curl
RUN apk add --no-cache curl
-RUN chmod +x /opt/app/dbc-client/misc/cert-client-init.sh && \
- chmod +x /opt/app/dbc-client/bin/* && \
+RUN chmod +x /opt/app/dbc-client/bin/* && \
mkdir /opt/app/dbc-client/logs
VOLUME /opt/app/dbc-client/log
diff --git a/dmaap-bc/misc/dmaapbc b/dmaap-bc/misc/dmaapbc
index 76317d8..74e8707 100644
--- a/dmaap-bc/misc/dmaapbc
+++ b/dmaap-bc/misc/dmaapbc
@@ -70,12 +70,6 @@ config() {
echo "Not creating $APP_ROOT/ok_to_exit"
fi
- if [ ! -f $APP_ROOT/misc/cert-client-init.sh ]
- then
- echo "Did not find $APP_ROOT/misc/cert-client-init.sh to append to truststore"
- exit 1
- fi
- $APP_ROOT/misc/cert-client-init.sh
. misc/havecert.tmpl > etc/havecert
chmod +x etc/havecert
diff --git a/dmaap-bc/src/main/resources/Dockerfile b/dmaap-bc/src/main/resources/Dockerfile
index f900fed..5664f46 100644
--- a/dmaap-bc/src/main/resources/Dockerfile
+++ b/dmaap-bc/src/main/resources/Dockerfile
@@ -35,10 +35,12 @@ RUN update-ca-certificates
# Install curl
RUN apk add --no-cache curl
+# Install bash
+RUN apk update && apk upgrade && apk add bash
+
RUN mv etc/org.onap.dmaap-bc.jks etc/keystore && \
chmod 600 etc/keystore && \
chmod 600 etc/org.onap.dmaap-bc.trust.jks && \
- chmod +x misc/cert-client-init.sh && \
chmod +x bin/* && \
mkdir logs && \
mkdir www && \
diff --git a/misc/cert-client-init.sh b/misc/cert-client-init.sh
deleted file mode 100644
index e9a50d7..0000000
--- a/misc/cert-client-init.sh
+++ /dev/null
@@ -1,31 +0,0 @@
------BEGIN CERTIFICATE-----
-MIIFPjCCAyagAwIBAgIJAJ6u7cCnzrWdMA0GCSqGSIb3DQEBCwUAMCwxDjAMBgNV
-BAsMBU9TQUFGMQ0wCwYDVQQKDARPTkFQMQswCQYDVQQGEwJVUzAeFw0xODA0MDUx
-NDE1MjhaFw0zODAzMzExNDE1MjhaMCwxDjAMBgNVBAsMBU9TQUFGMQ0wCwYDVQQK
-DARPTkFQMQswCQYDVQQGEwJVUzCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoC
-ggIBAMA5pkgRs7NhGG4ew5JouhyYakgYUyFaG121+/h8qbSdt0hVQv56+EA41Yq7
-XGie7RYDQK9NmAFF3gruE+6X7wvJiChp+Cyd7sFMnb65uWhxEdxWTM2BJFrgfzUn
-H8ZCxgaCo3XH4Pzl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