--
You received this message because you are subscribed to the Google Groups "jclouds-dev" group.
To post to this group, send email to jclou...@googlegroups.com.
To unsubscribe from this group, send email to jclouds-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jclouds-dev?hl=en.
I also used EC2 first as reference and found out the hard way that that
was a big mistake :)
The skeleton Andrei pointed you to is the best starting point.
Two other things that helped me:
* Looking at providers/apis that don't have too much functionality
implemented (yet). I referred to the Glesys and DeltaCloud
implementations a lot after abandoning my EC2 based draft.
* The step-by-step guide under 'Fixing up' on the following page:
http://www.jclouds.org/documentation/devguides/contributing-to-jclouds
Regards,
Dies
> --
> You received this message because you are subscribed to the Google
> Groups "jclouds-dev" group.
> To post to this group, send email to jclou...@googlegroups.com.
> To unsubscribe from this group, send email to jclouds-
> dev+uns...@googlegroups.com.
> Also we have to pass some paramaters in http header for some calls.
> Are their any good examples for that?
There are several examples, just grep for @Headers.
If you want to take the header value from the method parameter, check out S3AsyncClient.java:
@PUT
@Path("/{destinationObject}")
@Headers(keys = "x-amz-copy-source", values = "/{sourceBucket}/{sourceObject}")
@XMLResponseParser(CopyObjectHandler.class)
ListenableFuture<ObjectMetadata> copyObject(
@PathParam("sourceBucket") String sourceBucket,
@PathParam("sourceObject") String sourceObject,
@Bucket @BinderParam(BindAsHostPrefixIfConfigured.class) @ParamValidators({ BucketNameValidator.class }) String destinationBucket,
@PathParam("destinationObject") String destinationObject, CopyObjectOptions... options);
Regards,
Dies
> -----Original Message-----
> From: jclou...@googlegroups.com [mailto:jclouds-
> d...@googlegroups.com] On Behalf Of Egor Guz
> Sent: Thursday, 1 March 2012 11:14 AM
> To: jclouds-dev
> Subject: Re: Looking for good example/guide to develop new Compute
> Provider for Private Cloud API
>
> dev+uns...@googlegroups.com.
ap
--
Andrew Phillips
qrmedia
Unless expressly stated otherwise, this message is confidential.
Access to this e-mail by anyone else is unauthorised. If you are
not an addressee, any disclosure or copying of the contents of
this e-mail or any action taken (or not taken) in reliance on it
is unauthorised and may be unlawful. If you are not an addressee,
please inform the sender immediately.
This message is confidential and may not be redistributed or
broadcast in whole or part in any form, including but not limited
to any form of internet transmission including email, usenet,
newsgroups, www, irc, icq, etc.
All liability for errors and viruses is disclaimed.