[Kimchi-devel] [PATCH] [Kimchi] Remove URI configuration from kimchi.conf file

Aline Manera alinefm at linux.vnet.ibm.com
Wed Oct 26 16:53:52 UTC 2016


Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---

This patch depends on Wok patch 
- [PATCH] [Wok] Bug fix #176: Assume plugin URI is /plugins/<plugin-name>

---
 kimchi.conf             | 3 ---
 tests/test_config.py.in | 3 +--
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/kimchi.conf b/kimchi.conf
index ede2f15..97a14bd 100644
--- a/kimchi.conf
+++ b/kimchi.conf
@@ -2,9 +2,6 @@
 # Enable Kimchi plugin on Wok server (values: True|False)
 enable = True
 
-# Root URI for Kimchi APIs
-uri = '/plugins/kimchi'
-
 [kimchi]
 # Federation feature: register Wok server on openSLP and discover peers
 # in the same network. Check README-federation for more details.
diff --git a/tests/test_config.py.in b/tests/test_config.py.in
index 48f5579..74ea84a 100644
--- a/tests/test_config.py.in
+++ b/tests/test_config.py.in
@@ -77,8 +77,7 @@ class ConfigTests(unittest.TestCase):
         pluginPrefix = paths.add_prefix(paths.plugin_dir)
         configObj = {
             'wok': {
-                'enable': True,
-                'uri': '/plugins/kimchi'
+                'enable': True
             },
             'kimchi': {
                 'federation': False,
-- 
2.7.4




More information about the Kimchi-devel mailing list