fixed camel-k configuration parameter type not compatible with spring boot properties load from yaml.
*/
package io.syndesis.server.controller;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Map;
-import java.util.Set;
-
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
@ConfigurationProperties("controllers")
public class ControllersConfigurationProperties {
@@ -78,7 +78,7 @@ public class ControllersConfigurationProperties {
private boolean compression;
private boolean prettyPrint;
private Map<String, String> environment = new HashMap<>();
- private Set<String> customizers = new HashSet<>();
+ private List<String> customizers = new ArrayList<>();
public Map<String, String> getEnvironment() {
return environment;
@@ -100,7 +100,7 @@ public class ControllersConfigurationProperties {
this.prettyPrint = prettyPrint;
}
- public Set<String> getCustomizers() {
+ public List<String> getCustomizers() {
return customizers;
}
}
