Great work Akila!


On Sat, Aug 30, 2014 at 5:27 AM, Akila Ravihansa Perera <ravihansa@wso2.com> wrote:
Hi,

I've been working on upgrading Jclouds dependencies from ver. 1.7.1 to
1.8.0. I went through all the custom modifications (compared the diff
of official Jclouds 1.7.1 and Stratos-1.7.1) and it seems that none of
the custom modifications has been merged upstream.
This is unfortunate :( Shall we ping the Jclouds list, and try to get these merged. If there are any issue with the pull requests, we can modify them.

I took the source of following JClouds 1.8.0 modules and applied the
same custom modifications onto it.

jclouds/api/vcloud
jclouds/api/ec2
jclouds/api/openstack-nova
jclouds/provider/aws-ec2

Docker api was added from Jclouds-labs 1.8.0 release without any modifications.
jclouds-labs/api/docker

Following dependencies were updated in cloud-controller feature pom.xml

com.google.guava:guava:17.0  (from ver. 15.0)
org.slf4j:slf4j-api:1.7.0   (from ver. 1.6.0)
org.slf4j:slf4j-log4j12:1.7.0  (from ver. 1.6.0)


Following OSGI bundle dependencies were added to cloud-controller
feature pom.xml

com.jcraft:jsch.agentproxy.connector-factory:0.0.7
com.jcraft:jsch.agentproxy.sshagent:0.0.7
com.jcraft:jsch.agentproxy.usocket-jna:0.0.7
com.jcraft:jsch.agentproxy.core:0.0.7
net.java.dev.jna:jna:4.1.0

org.apache.servicemix.bundles:org.apache.servicemix.bundles.jsch-agentproxy-jsch:0.0.7_1
org.apache.servicemix.bundles:org.apache.servicemix.bundles.jsch-agentproxy-sshj:0.0.7_1
org.apache.servicemix.bundles:org.apache.servicemix.bundles.jzlib:1.1.1_1

(had to use Apache servicemix bundles since required versions were not
found in WSO2 Nexus repo)

I've done basic functionality testing on EC2. Needs further testing to
be done on Docker, vCloud, OpenStack.

I've opened a PR at [1] for the upgraded code. Please feel free to
comment / review / try out the code.

[1] https://github.com/apache/stratos/pull/21

--
Akila Ravihansa Perera
Software Engineer, WSO2

Blog: http://ravihansa3000.blogspot.com

--