Skip to content
Snippets Groups Projects
Commit 63cbe1dc authored by Adam Laskowski's avatar Adam Laskowski
Browse files

BIS-998: Add missing changes after refactor

parent dc63f20c
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -34,7 +34,7 @@ import java.util.*;
public class CustomDSSServiceProvider implements InitializingBean, ICustomDSSServiceProvider
{
public static final String SERVICES_PROPERTY_KEY = "custom-services";
public static final String SERVICES_PROPERTY_KEY = "services";
public static final String CLASS_KEY = "class";
......@@ -59,7 +59,10 @@ public class CustomDSSServiceProvider implements InitializingBean, ICustomDSSSe
{
String code = sectionProperties.getKey();
Properties properties = sectionProperties.getProperties();
String className = PropertyUtils.getMandatoryProperty(properties, CLASS_KEY);
String className = properties.getProperty(CLASS_KEY, null);//PropertyUtils.getMandatoryProperty(properties, CLASS_KEY);
if(className == null) {
continue;
}
CustomDSSService service = new CustomDSSService();
service.setCode(new CustomDssServiceCode(code));
service.setLabel(properties.getProperty(LABEL_KEY, code));
......
......@@ -44,7 +44,7 @@ public class Constants
public static final String PLUGIN_SERVICES_LIST_KEY = "plugin-services";
/** Key of service property which is a list of custom services. */
public static final String CUSTOM_SERVICES_LIST_KEY = "custom-services";
public static final String CUSTOM_SERVICES_LIST_KEY = "services";
public static String OVERVIEW_PLUGINS_SERVICES_LIST_KEY = "overview-plugins";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment