aboutsummaryrefslogtreecommitdiffstats
path: root/moon_interface/moon_interface/server.py
diff options
context:
space:
mode:
authorsgdt6900 <rhanafy.ext@orange.com>2018-01-11 11:57:43 +0200
committersgdt6900 <rhanafy.ext@orange.com>2018-01-29 17:33:27 +0200
commit57a6fa48a7c5c581db50f9590b9ad6c4be43ac2d (patch)
tree3c0965da89fd8bb2a8fed441518a7e2c0d1c3a60 /moon_interface/moon_interface/server.py
parent0129d960d4c39d96e775674264c06908e121b7ed (diff)
adding some comments to enahnce
removing comments and add todo point Signed-off-by: sgdt6900 <rhanafy.ext@orange.com> Change-Id: I38f21bd7557fb758b50d561a06efe8ea09ca07fc
Diffstat (limited to 'moon_interface/moon_interface/server.py')
-rw-r--r--moon_interface/moon_interface/server.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/moon_interface/moon_interface/server.py b/moon_interface/moon_interface/server.py
index d38dae28..29403a6b 100644
--- a/moon_interface/moon_interface/server.py
+++ b/moon_interface/moon_interface/server.py
@@ -16,9 +16,7 @@ def create_server():
conf = configuration.get_configuration("components/pipeline").get(
"components/pipeline", {}).get("interface", {})
- '''
- [Note] i think pipeline should be changed to interface
- '''
+
hostname = conf.get("hostname", "pipeline")
port = conf.get("port", 80)
bind = conf.get("bind", "127.0.0.1")
@@ -26,9 +24,7 @@ def create_server():
hostname = "interface"
bind = "127.0.0.1"
port = 80
- '''
- [Note] i think pipeline should be changed to interface
- '''
+
configuration.add_component(uuid="pipeline",
name=hostname,
port=port,