You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ra...@apache.org on 2015/03/04 15:49:39 UTC
[2/5] stratos git commit: Fixed group-scaling-v1 sample application.
Fixed group-scaling-v1 sample application.
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/64bd01d7
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/64bd01d7
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/64bd01d7
Branch: refs/heads/master
Commit: 64bd01d7fc611ce38b66ea6e712e76568f9aca2f
Parents: f2c51c3
Author: Dinithi <di...@wso2.com>
Authored: Wed Mar 4 14:54:06 2015 +0530
Committer: Dinithi <di...@wso2.com>
Committed: Wed Mar 4 14:54:06 2015 +0530
----------------------------------------------------------------------
.../artifacts/application-policy.json | 8 +++
.../group-scaling-v1/artifacts/application.json | 9 +--
.../artifacts/autoscaling-policy-c1.json | 14 ----
.../artifacts/autoscaling-policy-c2.json | 14 ----
.../artifacts/autoscaling-policy-c3.json | 14 ----
.../artifacts/autoscaling-policy-c4.json | 14 ----
.../artifacts/deployment-policy.json | 2 +-
.../artifacts/ec2/deployment-policy.json | 67 -------------------
.../artifacts/kubernetes/deployment-policy.json | 68 --------------------
.../kubernetes/kubernetes-cluster.json | 56 ----------------
.../artifacts/mock/deployment-policy.json | 67 -------------------
.../artifacts/openstack/deployment-policy.json | 67 -------------------
.../group-scaling-v1/scripts/common/deploy.sh | 25 +++----
.../group-scaling-v1/scripts/common/undeploy.sh | 6 +-
samples/cartridges-groups/group1b.json | 5 +-
15 files changed, 26 insertions(+), 410 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/applications/group-scaling-v1/artifacts/application-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/artifacts/application-policy.json b/samples/applications/group-scaling-v1/artifacts/application-policy.json
new file mode 100644
index 0000000..9d2c6a1
--- /dev/null
+++ b/samples/applications/group-scaling-v1/artifacts/application-policy.json
@@ -0,0 +1,8 @@
+{
+ "networkPartition":[
+ {
+ "id":"network-partition-1",
+ "activeByDefault":"true"
+ }
+ ]
+}
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/applications/group-scaling-v1/artifacts/application.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/artifacts/application.json b/samples/applications/group-scaling-v1/artifacts/application.json
index ce357a2..c486e93 100644
--- a/samples/applications/group-scaling-v1/artifacts/application.json
+++ b/samples/applications/group-scaling-v1/artifacts/application.json
@@ -1,20 +1,21 @@
{
"applicationId": "group-scaling-v1",
- "alias": "group-scaling-v1",
+ "alias": "my-group-scaling-v1",
"components": {
"groups": [
{
"name": "group2",
- "alias": "mygroup2",
+ "alias": "my-group2",
"groupMinInstances": 1,
"groupMaxInstances": 2,
+ "deploymentPolicy":"deployment-policy-1",
"cartridges": [
{
"type": "c2",
"cartridgeMin": 2,
"cartridgeMax": 4,
"subscribableInfo": {
- "alias": "group2c2",
+ "alias": "my-c2",
"autoscalingPolicy": "autoscaling-policy-c2",
"artifactRepository":{
"privateRepo":false,
@@ -29,7 +30,7 @@
"cartridgeMin": 1,
"cartridgeMax": 2,
"subscribableInfo": {
- "alias": "group2c3",
+ "alias": "my-c3",
"autoscalingPolicy": "autoscaling-policy-c3",
"artifactRepository":{
"privateRepo":false,
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c1.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c1.json b/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c1.json
deleted file mode 100755
index 28d28e8..0000000
--- a/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c1.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "id": "autoscaling-policy-c1",
- "loadThresholds": {
- "requestsInFlight": {
- "threshold": 80
- },
- "memoryConsumption": {
- "threshold": 20
- },
- "loadAverage": {
- "threshold": 50
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c2.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c2.json b/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c2.json
deleted file mode 100755
index b46f1fc..0000000
--- a/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c2.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "id": "autoscaling-policy-c2",
- "loadThresholds": {
- "requestsInFlight": {
- "threshold": 90
- },
- "memoryConsumption": {
- "threshold": 5
- },
- "loadAverage": {
- "threshold": 50
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c3.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c3.json b/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c3.json
deleted file mode 100755
index 25bab8f..0000000
--- a/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c3.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "id": "autoscaling-policy-c3",
- "loadThresholds": {
- "requestsInFlight": {
- "threshold": 100
- },
- "memoryConsumption": {
- "threshold": 10
- },
- "loadAverage": {
- "threshold": 50
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c4.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c4.json b/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c4.json
deleted file mode 100755
index 2da805a..0000000
--- a/samples/applications/group-scaling-v1/artifacts/autoscaling-policy-c4.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "id": "autoscaling-policy-c4",
- "loadThresholds": {
- "requestsInFlight": {
- "threshold": 50
- },
- "memoryConsumption": {
- "threshold": 28
- },
- "loadAverage": {
- "threshold": 75
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/applications/group-scaling-v1/artifacts/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/artifacts/deployment-policy.json b/samples/applications/group-scaling-v1/artifacts/deployment-policy.json
index d858aed..666c299 100644
--- a/samples/applications/group-scaling-v1/artifacts/deployment-policy.json
+++ b/samples/applications/group-scaling-v1/artifacts/deployment-policy.json
@@ -1,5 +1,5 @@
{
- "id": "deployment-policy-2",
+ "id": "deployment-policy-1",
"networkPartition": [
{
"id": "network-partition-1",
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/applications/group-scaling-v1/artifacts/ec2/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/artifacts/ec2/deployment-policy.json b/samples/applications/group-scaling-v1/artifacts/ec2/deployment-policy.json
deleted file mode 100644
index 13c128b..0000000
--- a/samples/applications/group-scaling-v1/artifacts/ec2/deployment-policy.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "applicationId": "group-scaling-v1",
- "applicationPolicy": {
- "networkPartition": [
- {
- "id": "network-partition-1",
- "activeByDefault": "true",
- "partitions": [
- {
- "id": "partition-1",
- "provider": "ec2",
- "property": [
- {
- "name": "region",
- "value": "RegionOne"
- }
- ]
- }
- ]
- },
- {
- "id": "network-partition-2",
- "activeByDefault": "false",
- "partitions": [
- {
- "id": "partition-2",
- "provider": "ec2",
- "property": [
- {
- "name": "region",
- "value": "RegionOne"
- }
- ]
- }
- ]
- }
- ]
- },
- "childPolicies": [
- {
- "alias": "mygroup2",
- "networkPartition": [
- {
- "id": "network-partition-1",
- "partitionAlgo": "one-after-another",
- "partitions": [
- {
- "id": "partition-1",
- "max": 2
- }
- ]
- },
- {
- "id": "network-partition-2",
- "partitionAlgo": "one-after-another",
- "partitions": [
- {
- "id": "partition-2",
- "max": 2
- }
- ]
- }
- ]
- }
- ]
-}
-
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/applications/group-scaling-v1/artifacts/kubernetes/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/artifacts/kubernetes/deployment-policy.json b/samples/applications/group-scaling-v1/artifacts/kubernetes/deployment-policy.json
deleted file mode 100644
index 43a2cfa..0000000
--- a/samples/applications/group-scaling-v1/artifacts/kubernetes/deployment-policy.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "applicationId": "group-scaling-v1",
- "applicationPolicy": {
- "networkPartition": [
- {
- "id":"network-partition-1",
- "kubernetesClusterId":"kubernetes-cluster-1",
- "activeByDefault": "true",
- "partitions": [
- {
- "id": "partition-1",
- "provider": "kubernetes",
- "property": [
- {
- "name": "region",
- "value": "default"
- }
- ]
- }
- ]
- },
- {
- "id": "network-partition-2",
- "activeByDefault": "false",
- "partitions": [
- {
- "id": "partition-2",
- "provider": "kubernetes",
- "property": [
- {
- "name": "region",
- "value": "default"
- }
- ]
- }
- ]
- }
- ]
- },
- "childPolicies": [
- {
- "alias": "mygroup2",
- "networkPartition": [
- {
- "id": "network-partition-1",
- "partitionAlgo": "one-after-another",
- "partitions": [
- {
- "id": "partition-1",
- "max": 2
- }
- ]
- },
- {
- "id": "network-partition-2",
- "partitionAlgo": "one-after-another",
- "partitions": [
- {
- "id": "partition-2",
- "max": 2
- }
- ]
- }
- ]
- }
- ]
-}
-
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/applications/group-scaling-v1/artifacts/kubernetes/kubernetes-cluster.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/artifacts/kubernetes/kubernetes-cluster.json b/samples/applications/group-scaling-v1/artifacts/kubernetes/kubernetes-cluster.json
deleted file mode 100644
index 2988ed1..0000000
--- a/samples/applications/group-scaling-v1/artifacts/kubernetes/kubernetes-cluster.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "clusterId": "kubernetes-cluster-1",
- "description": "Kubernetes CoreOS cluster",
- "kubernetesMaster": {
- "hostId": "KubHostMaster1",
- "hostname": "master.dev.kubernetes.example.org",
- "privateIPAddress": "172.17.8.100",
- "publicIPAddress": "172.17.8.100",
- "property": [
- ]
- },
- "portRange": {
- "upper": "5000",
- "lower": "4500"
- },
- "kubernetesHosts": [
- {
- "hostId": "KubHostSlave1",
- "hostname": "slave1.dev.kubernetes.example.org",
- "privateIPAddress": "172.17.8.101",
- "publicIPAddress": "172.17.8.101",
- "property": [
- ]
- },
- {
- "hostId": "KubHostSlave2",
- "hostname": "slave2.dev.kubernetes.example.org",
- "privateIPAddress": "172.17.8.102",
- "publicIPAddress": "172.17.8.102",
- "property": [
- ]
- }
- ],
- "property": [
- {
- "name": "payload_parameter.MB_IP",
- "value": "172.17.8.1"
- },
- {
- "name": "payload_parameter.MB_PORT",
- "value": "1883"
- },
- {
- "name": "payload_parameter.CEP_IP",
- "value": "172.17.8.1"
- },
- {
- "name": "payload_parameter.CEP_PORT",
- "value": "7711"
- },
- {
- "name": "payload_parameter.LOG_LEVEL",
- "value": "DEBUG"
- }
- ]
-}
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/applications/group-scaling-v1/artifacts/mock/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/artifacts/mock/deployment-policy.json b/samples/applications/group-scaling-v1/artifacts/mock/deployment-policy.json
deleted file mode 100644
index 36ea752..0000000
--- a/samples/applications/group-scaling-v1/artifacts/mock/deployment-policy.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "applicationId": "group-scaling-v1",
- "applicationPolicy": {
- "networkPartition": [
- {
- "id": "network-partition-1",
- "activeByDefault": "true",
- "partitions": [
- {
- "id": "partition-1",
- "provider": "mock",
- "property": [
- {
- "name": "region",
- "value": "RegionOne"
- }
- ]
- }
- ]
- },
- {
- "id": "network-partition-2",
- "activeByDefault": "false",
- "partitions": [
- {
- "id": "partition-2",
- "provider": "mock",
- "property": [
- {
- "name": "region",
- "value": "RegionOne"
- }
- ]
- }
- ]
- }
- ]
- },
- "childPolicies": [
- {
- "alias": "mygroup2",
- "networkPartition": [
- {
- "id": "network-partition-1",
- "partitionAlgo": "one-after-another",
- "partitions": [
- {
- "id": "partition-1",
- "max": 2
- }
- ]
- },
- {
- "id": "network-partition-2",
- "partitionAlgo": "one-after-another",
- "partitions": [
- {
- "id": "partition-2",
- "max": 2
- }
- ]
- }
- ]
- }
- ]
-}
-
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/applications/group-scaling-v1/artifacts/openstack/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/artifacts/openstack/deployment-policy.json b/samples/applications/group-scaling-v1/artifacts/openstack/deployment-policy.json
deleted file mode 100644
index 6ecbe4b..0000000
--- a/samples/applications/group-scaling-v1/artifacts/openstack/deployment-policy.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "applicationId": "group-scaling-v1",
- "applicationPolicy": {
- "networkPartition": [
- {
- "id": "network-partition-1",
- "activeByDefault": "true",
- "partitions": [
- {
- "id": "partition-1",
- "provider": "openstack",
- "property": [
- {
- "name": "region",
- "value": "RegionOne"
- }
- ]
- }
- ]
- },
- {
- "id": "network-partition-2",
- "activeByDefault": "false",
- "partitions": [
- {
- "id": "partition-2",
- "provider": "openstack",
- "property": [
- {
- "name": "region",
- "value": "RegionOne"
- }
- ]
- }
- ]
- }
- ]
- },
- "childPolicies": [
- {
- "alias": "mygroup2",
- "networkPartition": [
- {
- "id": "network-partition-1",
- "partitionAlgo": "one-after-another",
- "partitions": [
- {
- "id": "partition-1",
- "max": 2
- }
- ]
- },
- {
- "id": "network-partition-2",
- "partitionAlgo": "one-after-another",
- "partitions": [
- {
- "id": "partition-2",
- "max": 2
- }
- ]
- }
- ]
- }
- ]
-}
-
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/applications/group-scaling-v1/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/scripts/common/deploy.sh b/samples/applications/group-scaling-v1/scripts/common/deploy.sh
index 6ac05ee..baa4827 100644
--- a/samples/applications/group-scaling-v1/scripts/common/deploy.sh
+++ b/samples/applications/group-scaling-v1/scripts/common/deploy.sh
@@ -11,6 +11,9 @@ artifacts_path=`cd "${script_path}/../../artifacts"; pwd`
iaas_artifacts_path=`cd "${script_path}/../../artifacts/${iaas}"; pwd`
cartridges_path=`cd "${script_path}/../../../../cartridges/${iaas}"; pwd`
cartridges_groups_path=`cd "${script_path}/../../../../cartridges-groups"; pwd`
+autoscaling_policies_path=`cd "${script_path}/../../../../autoscaling-policies"; pwd`
+network_partitions_path=`cd "${script_path}/../../../../network-partitions/${iaas}"; pwd`
+deployment_policies_path=`cd "${script_path}/../../../../deployment-policies"; pwd`
set -e
@@ -19,20 +22,17 @@ if [[ -z "${iaas}" ]]; then
exit
fi
-echo "Adding autoscaling policy c1..."
-curl -X POST -H "Content-Type: application/json" -d "@${artifacts_path}/autoscaling-policy-c1.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/autoscalingPolicies
-
echo "Adding autoscaling policy c2..."
-curl -X POST -H "Content-Type: application/json" -d "@${artifacts_path}/autoscaling-policy-c2.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/autoscalingPolicies
+curl -X POST -H "Content-Type: application/json" -d "@${autoscaling_policies_path}/autoscaling-policy-c2.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/autoscalingPolicies
echo "Adding autoscaling policy c3..."
-curl -X POST -H "Content-Type: application/json" -d "@${artifacts_path}/autoscaling-policy-c3.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/autoscalingPolicies
+curl -X POST -H "Content-Type: application/json" -d "@${autoscaling_policies_path}/autoscaling-policy-c3.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/autoscalingPolicies
-echo "Adding autoscaling policy c4..."
-curl -X POST -H "Content-Type: application/json" -d "@${artifacts_path}/autoscaling-policy-c4.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/autoscalingPolicies
+echo "Adding network partitions..."
+curl -X POST -H "Content-Type: application/json" -d "@${network_partitions_path}/network-partition-1.json" -k -v -u admin:admin https://${host_ip}:9443/api/networkPartitions
-echo "Adding c1 cartridge..."
-curl -X POST -H "Content-Type: application/json" -d "@${cartridges_path}/c1.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/cartridges
+echo "Adding deployment policies..."
+curl -X POST -H "Content-Type: application/json" -d "@${deployment_policies_path}/deployment-policy-1.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/deploymentPolicies
echo "Adding c2 cartridge..."
curl -X POST -H "Content-Type: application/json" -d "@${cartridges_path}/c2.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/cartridges
@@ -40,9 +40,6 @@ curl -X POST -H "Content-Type: application/json" -d "@${cartridges_path}/c2.json
echo "Adding c3 cartridge..."
curl -X POST -H "Content-Type: application/json" -d "@${cartridges_path}/c3.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/cartridges
-echo "Adding c4 cartridge..."
-curl -X POST -H "Content-Type: application/json" -d "@${cartridges_path}/c4.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/cartridges
-
echo "Adding group1b group..."
curl -X POST -H "Content-Type: application/json" -d "@${cartridges_groups_path}/group1b.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/cartridgeGroups
@@ -51,7 +48,5 @@ sleep 1
echo "Creating application..."
curl -X POST -H "Content-Type: application/json" -d "@${artifacts_path}/application.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/applications
-sleep 1
-
echo "Deploying application..."
-curl -X POST -H "Content-Type: application/json" -d "@${iaas_artifacts_path}/deployment-policy.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/applications/group-scaling-v1/deploy
+curl -X POST -H "Content-Type: application/json" -d "@${artifacts_path}/application-policy.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/applications/group-scaling-v1/deploy
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/applications/group-scaling-v1/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/scripts/common/undeploy.sh b/samples/applications/group-scaling-v1/scripts/common/undeploy.sh
index 04dae04..deb86fd 100644
--- a/samples/applications/group-scaling-v1/scripts/common/undeploy.sh
+++ b/samples/applications/group-scaling-v1/scripts/common/undeploy.sh
@@ -17,13 +17,9 @@ echo "Removing groups..."
curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/cartridgeGroups/group2
echo "Removing cartridges..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/cartridges/c1
curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/cartridges/c2
curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/cartridges/c3
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/cartridges/c4
echo "Removing autoscaling policies..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/autoscalingPolicies/autoscaling-policy-c1
curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/autoscalingPolicies/autoscaling-policy-c2
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/autoscalingPolicies/autoscaling-policy-c3
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/autoscalingPolicies/autoscaling-policy-c4
\ No newline at end of file
+curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/autoscalingPolicies/autoscaling-policy-c3
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/stratos/blob/64bd01d7/samples/cartridges-groups/group1b.json
----------------------------------------------------------------------
diff --git a/samples/cartridges-groups/group1b.json b/samples/cartridges-groups/group1b.json
index d1d4267..3df3413 100644
--- a/samples/cartridges-groups/group1b.json
+++ b/samples/cartridges-groups/group1b.json
@@ -7,10 +7,7 @@
],
"dependencies": {
"startupOrders": [
- "cartridge.c3,cartridge.c2"
- ],
- "scalingDependants": [
- "cartridge.c3, cartridge.c2"
+ "cartridge.my-c3,cartridge.my-c2"
],
"terminationBehaviour": "terminate-all"
}