> +import org.jclouds.rest.annotations.RequestFilters;
> +import org.jclouds.rest.annotations.ResponseParser;
> +import org.jclouds.azurecompute.arm.functions.ParseJobStatus;
> +import org.jclouds.azurecompute.arm.functions.ParseJobStatus.JobStatus;
> +
> +/**
> + * The Azure Resource Manager API checks for job status and progress.
> + */
> +@Path("/")
> +
> +@RequestFilters(OAuthFilter.class)
> +@Consumes(MediaType.APPLICATION_JSON)
> +public interface JobApi extends Closeable{
> + @GET
> + @ResponseParser(ParseJobStatus.class)
> + JobStatus jobDone(URI jobURI, @QueryParam("api-version") String
> apiversion);
I think it would be better to annotate the jobURI parameter with
`@EndpointParam`, and remove the `@Path` annotation from the class, to
designate that the endpoint will be computed entirely based on the uri
parameter.
Also rename the method to `jobStatus`?
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/250/files/8d7d68bf33361d7f5df68c7e7232b03116ed6977#r58622901