aboutsummaryrefslogtreecommitdiffstats
path: root/moon_manager
diff options
context:
space:
mode:
authorfrancois.cellier <francois.cellier@orange.com>2018-03-12 17:00:47 +0100
committerThomas Duval <thomas.duval@orange.com>2018-03-15 16:16:07 +0100
commit8c4396c505ea245af4a542cf87b185a010484f5f (patch)
tree4f4a00943af0914b6180fba14cf6ab3388fed2db /moon_manager
parent73326131f58c5ca208cd54025e12ee9de543d4a7 (diff)
use the threading capability of Flask app; set the number of manager to 1
Change-Id: Ia700f83898de33372c52969f774ee8aa642ee36c
Diffstat (limited to 'moon_manager')
-rw-r--r--moon_manager/Changelog30
-rw-r--r--moon_manager/moon_manager/api/pdp.py2
-rw-r--r--moon_manager/moon_manager/http_server.py2
3 files changed, 32 insertions, 2 deletions
diff --git a/moon_manager/Changelog b/moon_manager/Changelog
new file mode 100644
index 00000000..2bd01595
--- /dev/null
+++ b/moon_manager/Changelog
@@ -0,0 +1,30 @@
+# Copyright 2018 Open Platform for NFV Project, Inc. and its contributors
+# This software is distributed under the terms and conditions of the 'Apache-2.0'
+# license which can be found in the file 'LICENSE' in this package distribution
+# or at 'http://www.apache.org/licenses/LICENSE-2.0'.
+
+
+CHANGES
+=======
+
+1.0.0
+-----
+- First version of the manager
+
+2.0.0
+-----
+- Version built inside the Keystone component
+
+3.0.0
+-----
+- Version built outside the Keystone component
+
+4.0.0
+-----
+- First micro-architecture version
+
+4.5.2
+-----
+- use the threading capability of Flask app
+- set the number of manager to 1
+- update to the latest version of the python-moondb library
diff --git a/moon_manager/moon_manager/api/pdp.py b/moon_manager/moon_manager/api/pdp.py
index 78931e1f..4bc34a24 100644
--- a/moon_manager/moon_manager/api/pdp.py
+++ b/moon_manager/moon_manager/api/pdp.py
@@ -73,7 +73,7 @@ def add_pod(uuid, data):
time.sleep(1)
else:
break
- logger.info(req.text)
+ logger.info("Pod add request answer : {}".format(req.text))
def check_keystone_pid(k_pid):
diff --git a/moon_manager/moon_manager/http_server.py b/moon_manager/moon_manager/http_server.py
index 76d04599..128d5b74 100644
--- a/moon_manager/moon_manager/http_server.py
+++ b/moon_manager/moon_manager/http_server.py
@@ -158,4 +158,4 @@ class HTTPServer(Server):
def run(self):
self.__check_if_db_is_up()
- self.app.run(host=self._host, port=self._port) # nosec
+ self.app.run(host=self._host, port=self._port, threaded=True) # nosec