summaryrefslogtreecommitdiffstats
path: root/opnfv_testapi/common/config.py
diff options
context:
space:
mode:
authorStamatis Katsaounis <mokats@intracom-telecom.com>2018-11-28 10:43:33 +0200
committerStamatis Katsaounis <mokats@intracom-telecom.com>2018-11-28 10:58:54 +0200
commit83c44e0acaed30f2388a69fd13ec806c38edfd73 (patch)
tree12408f8aa5814ea57e6381f2e99931b799f22a25 /opnfv_testapi/common/config.py
parent2735ea8a2aef55ebb0a48b50d9a0e36cf3f63b94 (diff)
Improve Docker deployment
JIRA: DOVETAIL-755 This patch improves Docker deployment. It removes the extra unwanted container. In addition, it removes unused files. Finally, it fixes the issue of python install where the static files of swagger where not installed inside the api container. Change-Id: Id74c88ab77182ed233f0eedad39ff8da245bb3dd Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Diffstat (limited to 'opnfv_testapi/common/config.py')
-rw-r--r--opnfv_testapi/common/config.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/opnfv_testapi/common/config.py b/opnfv_testapi/common/config.py
index a6ab338..75bacf3 100644
--- a/opnfv_testapi/common/config.py
+++ b/opnfv_testapi/common/config.py
@@ -20,10 +20,6 @@ class Config(object):
self._set_config_file()
self._parse()
self._parse_per_page()
- self.static_path = os.path.join(
- os.path.dirname(os.path.normpath(__file__)),
- os.pardir,
- 'static')
self.base_path = "/home/testapi"
def _parse(self):