south server changes are reverted
@@ -105,6 +105,17 @@ class Server(FoglampMicroservice):
# Plugin initialization
self._plugin_info = self._plugin.plugin_info()
+ default_config = self._plugin_info['config']
+ default_plugin_descr = self._name if (default_config['plugin']['description']).strip() == "" else \
+ default_config['plugin']['description']
+
+ # Configuration handling - updates the configuration using information specific to the plugin
+ config_payload = json.dumps({
+ "key": category,
+ "description": default_plugin_descr,
+ "value": default_config,
+ "keep_original_items": True
+ })
self._core_microservice_management_client.create_configuration_category(config_payload)
config = self._core_microservice_management_client.get_configuration_category(category_name=category)
