CLOUDSTACK-1444. Fix EC2 Query API to support latest ec2 api version 2012-08-15
[Support for EC2 API version 2012-08-15]
diff --git a/awsapi/conf/ec2-service.properties.in b/awsapi/conf/ec2-service.properties.in
index 6af0f63..82f5ad8 100644
--- a/awsapi/conf/ec2-service.properties.in
+++ b/awsapi/conf/ec2-service.properties.in
@@ -18,7 +18,7 @@
managementServer=127.0.0.1
cloudAPIPort=8080
cloudstackVersion=2.2.0
-WSDLVersion=2010-11-15
+WSDLVersion=2012-08-15
keystore=xes.keystore
keystorePass=apache
diff --git a/awsapi/src/com/cloud/bridge/service/EC2RestServlet.java b/awsapi/src/com/cloud/bridge/service/EC2RestServlet.java
index de84aee..65fe34e 100644
--- a/awsapi/src/com/cloud/bridge/service/EC2RestServlet.java
+++ b/awsapi/src/com/cloud/bridge/service/EC2RestServlet.java
@@ -208,7 +208,7 @@
}
String keystore = EC2Prop.getProperty( "keystore" );
keystorePassword = EC2Prop.getProperty( "keystorePass" );
- wsdlVersion = EC2Prop.getProperty( "WSDLVersion", "2010-11-15" );
+ wsdlVersion = EC2Prop.getProperty( "WSDLVersion", "2012-08-15" );
version = EC2Prop.getProperty( "cloudbridgeVersion", "UNKNOWN VERSION" );
String installedPath = System.getenv("CATALINA_HOME");