Re: [jclouds/jclouds-labs] Adding the Dimension Data Tag API interface. (#425)

2017-12-08 Thread Ignasi Barrera
Merged to [master](http://git-wip-us.apache.org/repos/asf/jclouds-labs/commit/eaeea5c3) and [2.0.x](http://git-wip-us.apache.org/repos/asf/jclouds-labs/commit/dab07d44). Thanks! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on Git

Re: [jclouds/jclouds-labs] Adding the Dimension Data Tag API interface. (#425)

2017-12-08 Thread Ignasi Barrera
Closed #425. -- 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/425#event-1378864451

Re: [jclouds/jclouds-labs] Adding the Dimension Data Tag API interface. (#425)

2017-12-08 Thread Trevor Flanagan
@nacx thanks for reviewing. Commits are squashed and pushed. -- 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/425#issuecomment-350240771

Re: [jclouds/jclouds-labs] Adding the Dimension Data Tag API interface. (#425)

2017-12-07 Thread Ignasi Barrera
Thanks, @trevorflanagan! Just a couple minor final comments. Mind squashing the commits directly when fixing those? -- 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/425#issuecommen

Re: [jclouds/jclouds-labs] Adding the Dimension Data Tag API interface. (#425)

2017-12-07 Thread Ignasi Barrera
nacx commented on this pull request. > + public void testApplyTags() { + api().applyTags(SERVER_ID, assetType, Collections.singletonList(TagInfo.create(tagKeyId, "jcloudsValue"))); + } + + @Test + public void testListTags() { + PagedIterable response = api().listTags(); +

Re: [jclouds/jclouds-labs] Adding the Dimension Data Tag API interface. (#425)

2017-12-07 Thread Ignasi Barrera
nacx commented on this pull request. > +public interface TagApi { + + @Named("tag:createTagKey") + @POST + @Path("/createTagKey") + @Produces(MediaType.APPLICATION_JSON) + @MapBinder(BindToJsonPayload.class) + @ResponseParser(TagKeyId.class) + String createTagKey(@PayloadParam("nam

Re: [jclouds/jclouds-labs] Adding the Dimension Data Tag API interface. (#425)

2017-12-07 Thread Trevor Flanagan
@trevorflanagan pushed 1 commit. 565dfa5 Adding the Dimension Data Tag API interface. Updates for PR. -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/jclouds/jclouds-labs/pull/425/files/aab069263f3475b4f19d74a75b83507235ee1260..565dfa5

Re: [jclouds/jclouds-labs] Adding the Dimension Data Tag API interface. (#425)

2017-12-07 Thread Trevor Flanagan
trevorflanagan commented on this pull request. > + @MapBinder(BindToJsonPayload.class) + void applyTags(@PayloadParam("assetId") String assetId, @PayloadParam("assetType") String assetType, + @PayloadParam("tagById") List tagById); + + @Named("tag:removeTags") + @POST + @Path(

Re: [jclouds/jclouds-labs] Adding the Dimension Data Tag API interface. (#425)

2017-12-07 Thread Trevor Flanagan
trevorflanagan commented on this pull request. > +import java.util.List; + +@RequestFilters({ BasicAuthentication.class, OrganisationIdFilter.class }) +@Consumes(MediaType.APPLICATION_JSON) +@Path("/{jclouds.api-version}/tag") +public interface TagApi { + + @Named("tag:createTagKey") + @POST

Re: [jclouds/jclouds-labs] Adding the Dimension Data Tag API interface. (#425)

2017-12-06 Thread Ignasi Barrera
nacx commented on this pull request. Thanks @trevorflanagan! > +import java.util.List; + +@RequestFilters({ BasicAuthentication.class, OrganisationIdFilter.class }) +@Consumes(MediaType.APPLICATION_JSON) +@Path("/{jclouds.api-version}/tag") +public interface TagApi { + + @Named("tag:createTagKe

Re: [jclouds/jclouds-labs] Adding the Dimension Data Tag API interface. (#425)

2017-12-06 Thread Trevor Flanagan
trevorflanagan commented on this pull request. > @@ -143,7 +143,7 @@ public void testDeleteTagKey() throws Exception { @Test public void testTagKeyById() throws Exception { - server.enqueue(jsonResponse("/tagKey.json")); + server.enqueue(jsonResponse("/tagkey.json")); caught

Re: [jclouds/jclouds-labs] Adding the Dimension Data Tag API interface. (#425)

2017-12-06 Thread Trevor Flanagan
@trevorflanagan pushed 1 commit. aab0692 Adding the Dimension Data Tag API interface. -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/jclouds/jclouds-labs/pull/425/files/b5021dae177ec8f76f1ec76bab53498cacc1e466..aab069263f3475b4f19d74a

Re: [jclouds/jclouds-labs] Adding the Dimension Data Tag API interface. (#425)

2017-12-06 Thread Trevor Flanagan
@trevorflanagan pushed 1 commit. b5021da Adding the Dimension Data Tag API interface. -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/jclouds/jclouds-labs/pull/425/files/e67b0018f713086d9e901b7c8b8bf6d11578a5a5..b5021dae177ec8f76f1ec76

[jclouds/jclouds-labs] Adding the Dimension Data Tag API interface. (#425)

2017-12-06 Thread Trevor Flanagan
This will be useful for supporting Groups and also for the functions that create the subclasses of `org.jclouds.compute.domain.internal.ComputeMetadataImpl#tags` You can view, comment on, or merge this pull request online at: https://github.com/jclouds/jclouds-labs/pull/425 -- Commit Summary