You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2015/04/07 05:06:42 UTC

[12/20] stratos git commit: Deployment policy move:replace max with partitionMax in test classes

Deployment policy move:replace max with partitionMax in test classes


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/cdd26720
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/cdd26720
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/cdd26720

Branch: refs/heads/master
Commit: cdd26720cf5cf7d83ecae5992fcc7dc431117acf
Parents: 520b940
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Tue Apr 7 08:10:26 2015 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Tue Apr 7 08:10:26 2015 +0530

----------------------------------------------------------------------
 .../src/test/resources/deployment-policy.xml                     | 4 ++--
 .../src/test/resources/partition.xml                             | 2 +-
 .../src/test/resources/partitions.xml                            | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/cdd26720/components/org.apache.stratos.autoscaler/src/test/resources/deployment-policy.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/test/resources/deployment-policy.xml b/components/org.apache.stratos.autoscaler/src/test/resources/deployment-policy.xml
index e4ca79e..d14fadd 100644
--- a/components/org.apache.stratos.autoscaler/src/test/resources/deployment-policy.xml
+++ b/components/org.apache.stratos.autoscaler/src/test/resources/deployment-policy.xml
@@ -5,11 +5,11 @@
                         <partition id="P1" >
                                 <provider>ec2</provider>
                                 <property name="region" value="ap-southeast-1"/>
-                                <max>3</max>
+                                <partitionMax>3</partitionMax>
                                 <min>1</min>
                         </partition>
                         <!--partition id="P2" >
-                                <max>5</max>
+                                <partitionMax>5</partitionMax>
                                 <min>1</min>
                         </partition-->
                 </partitionGroup>

http://git-wip-us.apache.org/repos/asf/stratos/blob/cdd26720/components/org.apache.stratos.autoscaler/src/test/resources/partition.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/test/resources/partition.xml b/components/org.apache.stratos.autoscaler/src/test/resources/partition.xml
index 8377abc..fcff113 100644
--- a/components/org.apache.stratos.autoscaler/src/test/resources/partition.xml
+++ b/components/org.apache.stratos.autoscaler/src/test/resources/partition.xml
@@ -4,7 +4,7 @@
                                 <provider>ec2</provider>
                                 <property name="region" value="ap-southeast-1"/>
                                 <property name="zone" value="ap-southeast-1-a"/>
-                                <max>3</max>
+                                <partitionMax>3</partitionMax>
                                 <min>1</min>
                         </partition>
 </partitions>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/stratos/blob/cdd26720/components/org.apache.stratos.autoscaler/src/test/resources/partitions.xml
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/test/resources/partitions.xml b/components/org.apache.stratos.autoscaler/src/test/resources/partitions.xml
index a41d633..1c26e84 100644
--- a/components/org.apache.stratos.autoscaler/src/test/resources/partitions.xml
+++ b/components/org.apache.stratos.autoscaler/src/test/resources/partitions.xml
@@ -3,13 +3,13 @@
                         <partition id="P1" >
                                 <provider>ec2</provider>
                                 <property name="region" value="ap-southeast-1"/>
-                                <max>3</max>
+                                <partitionMax>3</partitionMax>
                                 <min>1</min>
                         </partition>
                         <partition id="P2" >
                         	<provider>openstack</provider>
                                 <property name="region" value="region-1"/>
-                                <max>5</max>
+                                <partitionMax>5</partitionMax>
                                 <min>1</min>
                         </partition>
 </partitions>
\ No newline at end of file