Repository: stratos Updated Branches: refs/heads/master 484941816 -> b9aadf994
Fix auto-scaling policy validation schema Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/b9aadf99 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/b9aadf99 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/b9aadf99 Branch: refs/heads/master Commit: b9aadf994dbda9d38843193d651af8c81800fcfd Parents: 4849418 Author: Akila Perera <[email protected]> Authored: Mon Sep 1 14:24:58 2014 +0530 Committer: Akila Perera <[email protected]> Committed: Mon Sep 1 14:24:58 2014 +0530 ---------------------------------------------------------------------- .../src/main/webapp/stratos-test/WEB-INF/schemas/schema.xsd | 7 ++----- .../src/main/webapp/stratos/WEB-INF/schemas/schema.xsd | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/b9aadf99/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/schemas/schema.xsd ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/schemas/schema.xsd b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/schemas/schema.xsd index e6fd796..39d476c 100644 --- a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/schemas/schema.xsd +++ b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos-test/WEB-INF/schemas/schema.xsd @@ -219,11 +219,8 @@ <xs:complexType name="thresholdValues"> <xs:all> - <xs:element name="average" type="xs:int" minOccurs="1" maxOccurs="1"/> - <xs:element name="gradient" type="xs:float" minOccurs="0" maxOccurs="1"/> - <xs:element name="secondDerivative" type="xs:float" minOccurs="0" maxOccurs="1"/> - <xs:element name="scaleDownMarginOfGradient" type="xs:float" minOccurs="0" maxOccurs="1"/> - <xs:element name="scaleDownMarginOfSecondDerivative" type="xs:float" minOccurs="0" maxOccurs="1"/> + <xs:element name="upperLimit" type="xs:float" minOccurs="1" maxOccurs="1"/> + <xs:element name="lowerLimit" type="xs:float" minOccurs="1" maxOccurs="1"/> </xs:all> </xs:complexType> </xs:schema> http://git-wip-us.apache.org/repos/asf/stratos/blob/b9aadf99/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/schemas/schema.xsd ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/schemas/schema.xsd b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/schemas/schema.xsd index f59bf28..bcdbf4e 100644 --- a/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/schemas/schema.xsd +++ b/components/org.apache.stratos.rest.endpoint/src/main/webapp/stratos/WEB-INF/schemas/schema.xsd @@ -219,11 +219,8 @@ <xs:complexType name="thresholdValues"> <xs:all> - <xs:element name="average" type="xs:int" minOccurs="1" maxOccurs="1"/> - <xs:element name="gradient" type="xs:float" minOccurs="0" maxOccurs="1"/> - <xs:element name="secondDerivative" type="xs:float" minOccurs="0" maxOccurs="1"/> - <xs:element name="scaleDownMarginOfGradient" type="xs:float" minOccurs="0" maxOccurs="1"/> - <xs:element name="scaleDownMarginOfSecondDerivative" type="xs:float" minOccurs="0" maxOccurs="1"/> + <xs:element name="upperLimit" type="xs:float" minOccurs="1" maxOccurs="1"/> + <xs:element name="lowerLimit" type="xs:float" minOccurs="1" maxOccurs="1"/> </xs:all> </xs:complexType> </xs:schema>
