Fix openstack plugins https endpoint issue 07/101107/1
authorBin Yang <bin.yang@windriver.com>
Tue, 4 Feb 2020 13:25:21 +0000 (21:25 +0800)
committerBin Yang <bin.yang@windriver.com>
Tue, 4 Feb 2020 13:25:21 +0000 (21:25 +0800)
Add cert files into assembly

Change-Id: I36dad8186a7d191e53b8e69ac56765c187b02caa
Issue-ID: MULTICLOUD-978
Signed-off-by: Bin Yang <bin.yang@windriver.com>
ocata/assembly.xml
ocata/run.sh
pike/assembly.xml
pike/run.sh
starlingx/assembly.xml

index 1c69acd..79e10c3 100644 (file)
@@ -32,6 +32,8 @@
                 <include>**/*.xsd</include>
                 <include>**/*.bpel</include>
                 <include>**/*.yml</include>
+                <include>**/*.crt</include>
+                <include>**/*.key</include>
             </includes>
         </fileSet>
         <fileSet>
index a1f44ed..3de3780 100755 (executable)
@@ -20,7 +20,7 @@ export PYTHONPATH=lib/share
 #nohup python manage.py runserver 0.0.0.0:9006 2>&1 &
 
 if [ ${SSL_ENABLED} = "true" ]; then
-    nohup uwsgi --https :9006,ocata/pub/ssl/cert/cert.crt,ocata/pub/ssl/cert/cert.key --module ocata.wsgi --master --enable-threads --processes 4 &
+    nohup uwsgi --https :9006,ocata/pub/ssl/cert/cert.crt,ocata/pub/ssl/cert/cert.key,HIGH --module ocata.wsgi --master --enable-threads --processes 4 &
 
 else
     nohup uwsgi --http :9006 --module ocata.wsgi --master --enable-threads --processes 4 &
index 420c6c4..650c234 100644 (file)
@@ -32,6 +32,8 @@
                 <include>**/*.xsd</include>
                 <include>**/*.bpel</include>
                 <include>**/*.yml</include>
+                <include>**/*.crt</include>
+                <include>**/*.key</include>
             </includes>
         </fileSet>
         <fileSet>
index 3822c8a..c3c962e 100755 (executable)
@@ -19,7 +19,7 @@ export PYTHONPATH=lib/share
 #nohup python manage.py runserver 0.0.0.0:9007 2>&1 &
 
 if [ ${SSL_ENABLED} = "true" ]; then
-    nohup uwsgi --https :9007,pike/pub/ssl/cert/cert.crt,pike/pub/ssl/cert/cert.key --module pike.wsgi --master --enable-threads --processes 4 &
+    nohup uwsgi --https :9007,pike/pub/ssl/cert/cert.crt,pike/pub/ssl/cert/cert.key,HIGH --module pike.wsgi --master --enable-threads --processes 4 &
 
 else
     nohup uwsgi --http :9007 --module pike.wsgi --master --enable-threads --processes 4 &
index 150083d..be7fb4a 100644 (file)
@@ -32,6 +32,8 @@
                 <include>**/*.xsd</include>
                 <include>**/*.bpel</include>
                 <include>**/*.yml</include>
+                <include>**/*.crt</include>
+                <include>**/*.key</include>
             </includes>
         </fileSet>
         <fileSet>