Download file from Swift

2014-12-22 Thread Sofiane Soulfly
Hello everybody,

after I uploaded successfully a text file to Swift, now I want download
that file into my file system.
I tried with ObjectApi.get but nothing was downloaded.
Thank you.

Regards,

SB


Re: Question about creation of VPCs and Subnets for AWSEC2

2014-12-22 Thread Ignasi Barrera
Hi Paolo,

That is still not supported (but I think you already know that, as an
issue has been opened:
https://issues.apache.org/jira/browse/JCLOUDS-796).


On 17 December 2014 at 19:37, Paolo Magnani
paolo.magn...@cloudesire.com wrote:

 As the topic says, is it possible to create and manage VPCs and Subnets
 using JClouds?

 I have looked everywhere but the only thing that I have found is to list
 existing subnets from subnetApi from the compute client.

 If there is no such feature I believe it would be a worthwhile addition with
 the recent changes made by Amazon.

 Thanks for any help, Paolo.




Re: Certificate validation issue with AWS EC2

2014-12-22 Thread Ignasi Barrera
jclouds uses a driver mechanism to perform HTTP requests. Currently it
supports 3 drivers: the default one that uses the Java
HttpUrlConnection, the OkHttp driver and the Apache HttpClient one.
Those drivers are the ones that create and manage the actual HTTP
connections, and jclouds doesn't set any SSL attribute unless
explicitly configured.

So, as in any regular Java application, if you have to connect to an
SSL endpoint and you need to explicitly trust a server certificate,
you'll have to add that certificate to your trust store (or use any
insecure mean of ignoring the certificates).

I.

On 22 December 2014 at 17:41, Udara Liyanage udaraliyan...@gmail.com wrote:
 Hi.

 Below error is occurred  while starting an instance with Jclouds. Do we have
 to add aws-ec2 certs to our truststore in order to resolve this?
 It seems that Jclouds does a certificate validation. Like to know some
 details on this.

 sun.security.validator.ValidatorException: PKIX path building failed:
 sun.security.provider.certpath.SunCertPathBuilderException: unable to find
 valid certification path to requested target connecting to POST
 https://ec2.us-east-1.amazonaws.com/ HTTP/1.1

 --
 Udara S.S Liyanage.
 Software Engineer at WSO2.
 Commiter and PPMC Member of Apache Stratos.
 Blog - http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897


AWS VPC support

2014-12-22 Thread Jai M
Hi,

Is the AWS VPC (CRUD) implementation availalbe in the latest release ?
I found the below thread that this feature has been moved to the labs.

https://github.com/jclouds/legacy-jclouds/issues/1393

Can someone give pointers on this feature availability ?

Rgds
Jai