Merge "add main module and hrml of designer component in new cds ui"
authorDan Timoney <dtimoney@att.com>
Tue, 19 Nov 2019 21:21:03 +0000 (21:21 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 19 Nov 2019 21:21:03 +0000 (21:21 +0000)
ms/py-executor/certs/py-executor/py-executor-chain.pem [moved from ms/py-executor/py-executor-chain.pem with 100% similarity]
ms/py-executor/certs/py-executor/py-executor-key.pem [moved from ms/py-executor/py-executor-key.pem with 100% similarity]
ms/py-executor/configuration.ini
ms/py-executor/dc/docker-compose.yaml
ms/py-executor/docker/distribution.xml
ms/py-executor/docker/start.sh
ms/py-executor/requirements.txt

index 5688f39..612c628 100644 (file)
@@ -4,8 +4,8 @@ authType=%(AUTH_TYPE)s
 # For Token Auth
 token=%(AUTH_TOKEN)s
 # For TLS Auth
-certChain=%(AUTH_CERT_CHAIN)s
-privateKey=%(AUTH_PRIVATE_KEY)s
+certChain=/opt/app/onap/python/certs/py-executor/py-executor-chain.pem
+privateKey=/opt/app/onap/python/certs/py-executor/py-executor-key.pem
 logFile=%(LOG_FILE)s
 maxWorkers=20
 
index 30298e3..63c5eeb 100755 (executable)
@@ -19,8 +19,6 @@ services:
       #AUTH_TYPE: basic-auth
       #AUTH_TOKEN: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
       AUTH_TYPE: tls-auth
-      AUTH_CERT_CHAIN: /opt/app/onap/python/py-executor-chain.pem
-      AUTH_PRIVATE_KEY: /opt/app/onap/python/py-executor-key.pem
       LOG_FILE: /opt/app/onap/logs/application.log
 
 volumes:
index bb7a8d2..6d09be8 100755 (executable)
             <includes>
                 <include>requirements.txt</include>
                 <include>configuration.ini</include>
-                <include>*.crt</include>
-                <include>*.key</include>
-                 <include>*.pem</include>
             </includes>
             <useDefaultExcludes>true</useDefaultExcludes>
             <fileMode>0666</fileMode>
         </fileSet>
+        <fileSet>
+            <directory>${project.basedir}/certs</directory>
+            <outputDirectory>opt/app/onap/python/certs</outputDirectory>
+            <useDefaultExcludes>true</useDefaultExcludes>
+            <fileMode>0666</fileMode>
+        </fileSet>
         <fileSet>
             <directory>${project.basedir}/docker</directory>
             <outputDirectory>opt/app/onap/python</outputDirectory>
index fd53d47..3a3a9cb 100755 (executable)
@@ -22,12 +22,6 @@ then
   export APP_PORT=50052
 fi
 
-if [ -z "${BASIC_AUTH}" ]
-then
-  echo "BASIC_AUTH environment variable is not set, using default."
-  export BASIC_AUTH="Basic Y2NzZGthcHBzOmNjc2RrYXBwcw=="
-fi
-
 if [ -z "${LOG_FILE}" ]
 then
   echo "LOG_FILE environment variable is not set, using default."
index b556369..6c406bf 100644 (file)
@@ -2,4 +2,5 @@ grpcio==1.23.0
 grpcio-tools==1.23.0
 configparser==4.0.2
 requests==2.22.0
-ncclient==0.6.6
\ No newline at end of file
+ncclient==0.6.6
+ansible==2.8.5
\ No newline at end of file