You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Akila Ravihansa Perera <ra...@wso2.com> on 2014/08/30 01:57:20 UTC

Upgrade to JClouds 1.8

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.

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

Re: Upgrade to JClouds 1.8

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Great to hear...


On Mon, Sep 1, 2014 at 5:32 PM, Isuru Haththotuwa <is...@apache.org> wrote:

> 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.
>

My pull request is pending on few tests. Will try to spend sometime on that.

>
>> 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
>>
>> --
>> <http://ravihansa3000.blogspot.com>
>> Thanks and Regards,
>>
>> Isuru H.
>> <http://ravihansa3000.blogspot.com>
>> +94 716 358 048 <http://ravihansa3000.blogspot.com>* <http://wso2.com/>*
>>
>>
>> * <http://wso2.com/>*
>>
>>
>>


-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: Upgrade to JClouds 1.8

Posted by Isuru Haththotuwa <is...@apache.org>.
Great work Akila!


On Sat, Aug 30, 2014 at 5:27 AM, Akila Ravihansa Perera <ra...@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
>
> --
> <http://ravihansa3000.blogspot.com>
> Thanks and Regards,
>
> Isuru H.
> <http://ravihansa3000.blogspot.com>
> +94 716 358 048 <http://ravihansa3000.blogspot.com>* <http://wso2.com/>*
>
>
> * <http://wso2.com/>*
>
>
>

Re: Upgrade to JClouds 1.8

Posted by Akila Ravihansa Perera <ra...@wso2.com>.
Hi,

I did thorough functionality testing on EC2 and OpenStack with Jclouds
1.8.0 upgrade and committed the changes. Please let me know if you run
into issues.

Thanks.

On Sat, Aug 30, 2014 at 5:27 AM, Akila Ravihansa Perera
<ra...@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.
>
> 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



-- 
Akila Ravihansa Perera
Software Engineer, WSO2
Committer & PMC Member, Apache Stratos

Blog: http://ravihansa3000.blogspot.com