aboutsummaryrefslogtreecommitdiffstats
path: root/moon_interface
diff options
context:
space:
mode:
Diffstat (limited to 'moon_interface')
-rw-r--r--moon_interface/Changelog28
-rw-r--r--moon_interface/moon_interface/__init__.py2
-rw-r--r--moon_interface/moon_interface/http_server.py2
-rw-r--r--moon_interface/tests/unit_python/conftest.py14
4 files changed, 37 insertions, 9 deletions
diff --git a/moon_interface/Changelog b/moon_interface/Changelog
new file mode 100644
index 00000000..f58682a9
--- /dev/null
+++ b/moon_interface/Changelog
@@ -0,0 +1,28 @@
+# 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.3.3
+-----
+- use the threading capability of Flask app
diff --git a/moon_interface/moon_interface/__init__.py b/moon_interface/moon_interface/__init__.py
index 6f964a63..0fb32055 100644
--- a/moon_interface/moon_interface/__init__.py
+++ b/moon_interface/moon_interface/__init__.py
@@ -3,4 +3,4 @@
# license which can be found in the file 'LICENSE' in this package distribution
# or at 'http://www.apache.org/licenses/LICENSE-2.0'.
-__version__ = "4.3.2"
+__version__ = "4.3.3"
diff --git a/moon_interface/moon_interface/http_server.py b/moon_interface/moon_interface/http_server.py
index a2e25377..1e0858c0 100644
--- a/moon_interface/moon_interface/http_server.py
+++ b/moon_interface/moon_interface/http_server.py
@@ -133,4 +133,4 @@ class HTTPServer(Server):
)
def run(self):
- self.app.run(host=self._host, port=self._port) # nosec
+ self.app.run(host=self._host, port=self._port, threaded=True) # nosec
diff --git a/moon_interface/tests/unit_python/conftest.py b/moon_interface/tests/unit_python/conftest.py
index 893a8637..f6b204e6 100644
--- a/moon_interface/tests/unit_python/conftest.py
+++ b/moon_interface/tests/unit_python/conftest.py
@@ -400,7 +400,7 @@ def set_consul_and_db(monkeypatch):
"name": "testuser",
"email": "mail",
"id": "89ba91c18dd54abfbfde7a66936c51a6",
- "partner_id": ""
+ "extra": {}
},
"31fd15ad14784a9696fcc887dddbfaf9": {
"description": "test",
@@ -411,7 +411,7 @@ def set_consul_and_db(monkeypatch):
"name": "adminuser",
"email": "mail",
"id": "31fd15ad14784a9696fcc887dddbfaf9",
- "partner_id": ""
+ "extra": {}
}
}
}
@@ -424,7 +424,7 @@ def set_consul_and_db(monkeypatch):
"name": "vm1",
"description": "test",
"id": "67b8008a3f8d4f8e847eb628f0f7ca0e",
- "partner_id": "",
+ "extra": {},
"policy_list": [
"f8f49a779ceb47b3ac810f01ef71b4e0",
"636cd473324f4c0bbd9102cb5b62a16d"
@@ -434,7 +434,7 @@ def set_consul_and_db(monkeypatch):
"name": "vm0",
"description": "test",
"id": "9089b3d2ce5b4e929ffc7e35b55eba1a",
- "partner_id": "",
+ "extra": {},
"policy_list": [
"f8f49a779ceb47b3ac810f01ef71b4e0",
"636cd473324f4c0bbd9102cb5b62a16d"
@@ -451,7 +451,7 @@ def set_consul_and_db(monkeypatch):
"name": "boot",
"description": "test",
"id": "cdb3df220dc04a6ea3334b994827b068",
- "partner_id": "",
+ "extra": {},
"policy_list": [
"f8f49a779ceb47b3ac810f01ef71b4e0",
"636cd473324f4c0bbd9102cb5b62a16d"
@@ -461,7 +461,7 @@ def set_consul_and_db(monkeypatch):
"name": "stop",
"description": "test",
"id": "cdb3df220dc04a6ea3334b994827b068",
- "partner_id": "",
+ "extra": {},
"policy_list": [
"f8f49a779ceb47b3ac810f01ef71b4e0",
"636cd473324f4c0bbd9102cb5b62a16d"
@@ -471,7 +471,7 @@ def set_consul_and_db(monkeypatch):
"name": "start",
"description": "test",
"id": "9f5112afe9b34a6c894eb87246ccb7aa",
- "partner_id": "",
+ "extra": {},
"policy_list": [
"f8f49a779ceb47b3ac810f01ef71b4e0",
"636cd473324f4c0bbd9102cb5b62a16d"