Commit 1195f668 authored by Alessio Carenini's avatar Alessio Carenini
Browse files

Changed internal config key to store chorspec fragment

parent 6bb15494
......@@ -15,6 +15,7 @@
*/
package org.apache.brooklyn.entity.webapp.chorevolution;
import java.util.List;
import java.util.Map;
import org.apache.brooklyn.api.catalog.Catalog;
......@@ -25,7 +26,7 @@ import org.apache.brooklyn.util.core.flags.SetFromFlag;
@Catalog(name="Controlled Dynamic Choreography Cluster", description="A cluster of load-balanced web-apps implementing a Chorevolution choreography, which can be dynamically re-sized")
@ImplementedBy(ControlledDynamicChoreographyClusterImpl.class)
public interface ControlledDynamicChoreographyCluster extends ControlledDynamicWebAppCluster, ConfigurableChoreography {
public interface ControlledDynamicChoreographyCluster extends ControlledDynamicWebAppCluster {
@SuppressWarnings({ "unchecked", "rawtypes" })
......@@ -35,8 +36,8 @@ public interface ControlledDynamicChoreographyCluster extends ControlledDynamicW
@SuppressWarnings({ "unchecked", "rawtypes" })
@SetFromFlag("chorSpecDependencies")
public static BasicAttributeSensorAndConfigKey<Map<String, Map<String, String>>> DEPENDENCIES_SPEC = new BasicAttributeSensorAndConfigKey(
Map.class, "chorSpecDependencies", "Service dependencies");
public static BasicAttributeSensorAndConfigKey<List<Map<String, Object>>> CHOR_SPEC = new BasicAttributeSensorAndConfigKey(
Map.class, "chorspec", "Choreography specifications");
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment