@andrewgaul Didn't know that there was already a pull request for the change
you were talking about. Closing this.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/216#issuecomment-29271014
> + *
> + * @author Andrew Bayer
> + */
> +@Test(groups = "live", singleThreaded = true, testName =
> "ProjectApiLiveTest")
> +public class ProjectApiLiveTest extends BaseCloudStackApiLiveTest {
> +
> + @Test
> + public void testListAccounts() throws Exception {
> + for (Project project
> + *
> + * @see + *
> href="http://download.cloud.com/releases/3.0.6/api_3.0.6/root_admin/listProjects.html";
> + * />
> + * @author Andrew Bayer
> + */
> +public class ListProjectsOptions extends AccountInDomainOptions {
> +
> + public static final ListProjectsOptions NONE = new Li
> + return filter(concat(transform(ImmutableSet.
> builder().addAll(projects).add("").build(),
> + allTemplatesForProject())), isReady());
> + }
> +
> + protected Function>
> allTemplatesForProject() {
> + return new Function>() {
> +
> + @Override
> + p
> + }
> +
> + public static class Builder {
> +
> + /**
> + * @see
> org.jclouds.cloudstack.options.ListProjectsOptions#accountInDomain(String,
> String)
> + */
> + public static ListProjectsOptions accountInDomain(String project,
> String domain) {
> + ListProj
> + *
> + * @see + *
> href="http://download.cloud.com/releases/3.0.6/api_3.0.6/root_admin/listProjects.html";
> + * />
> + * @author Andrew Bayer
> + */
> +public class ListProjectsOptions extends AccountInDomainOptions {
> +
> + public static final ListProjectsOptions NONE = new Li
> +import org.jclouds.rest.annotations.RequestFilters;
> +import org.jclouds.rest.annotations.SelectJson;
> +
> +/**
> + * Provides synchronous access to CloudStack project features.
> + *
> + * @author Andrew Bayer
> + * @see + *
> href="http://download.cloud.com/releases/3.0.6/api_3.0.6/TO
> +public interface ProjectApi {
> + /**
> +* List the projects this account has access to.
> +*
> +* @param options if present, how to constrain the list
> +*/
> + @Named("listProjects")
> + @GET
> + @QueryParams(keys = { "command", "listAll" }, values = { "listProjects",
> + @Override
> + public boolean equals(Object obj) {
> + if (this == obj) return true;
> + if (obj == null || getClass() != obj.getClass()) return false;
> + Project that = Project.class.cast(obj);
> + return Objects.equal(this.id, that.id)
> +&& Objects.equal(t
> + }
> + }
> +
> + private final String id;
> + private final String account;
> + private final String displayText;
> + private final String domain;
> + private final String domainId;
> + private final String name;
> + private final State state;
> +
> + @ConstructorPropertie
> + return filter(concat(transform(ImmutableSet.
> builder().addAll(projects).add("").build(),
> + allTemplatesForProject())), isReady());
> + }
> +
> + protected Function>
> allTemplatesForProject() {
> + return new Function>() {
> +
> + @Override
> + p
> @@ -270,9 +275,31 @@ public CloudStackComputeServiceAdapter(CloudStackApi
> client, Predicate j
>
> @Override
> public Iterable listImages() {
> - // TODO: we may need to filter these further
> - // we may also want to see if we can work with ssh keys
> - return filter(c
> @@ -223,6 +225,15 @@ public String toString() {
> @Provides
> @Singleton
> @Memoized
> + public Supplier>
> listProjects(AtomicReference authException,
> @Named(PROPERTY_SESSION_INTERVAL) long seconds,
> + final
> ProjectsForCu
> Duplicates #126.
In which case, should this be closed?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/216#issuecomment-29268106
[jclouds-java-7-pull-requests
#882](https://jclouds.ci.cloudbees.com/job/jclouds-java-7-pull-requests/882/)
SUCCESS
This pull request looks good
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/216#issuecomment-29261261
[jclouds-pull-requests
#419](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests/419/) SUCCESS
This pull request looks good
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/216#issuecomment-29261237
[jclouds-java-7-pull-requests
#881](https://jclouds.ci.cloudbees.com/job/jclouds-java-7-pull-requests/881/)
SUCCESS
This pull request looks good
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/215#issuecomment-29261009
[jclouds-pull-requests
#418](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests/418/) SUCCESS
This pull request looks good
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/215#issuecomment-29260728
Async blobstores have been deprecated. They've been marked to be
removed from the next jclouds release (1.7.0). This commit removes the
API in BlobStoreContext which returns the AsyncBlobStore object.
You can merge this Pull Request by running:
git pull https://github.com/maginatics/jclouds remo
You can merge this Pull Request by running:
git pull https://github.com/abayer/jclouds-1 jclouds-218
Or you can view, comment on it, or merge it online at:
https://github.com/jclouds/jclouds/pull/215
-- Commit Summary --
* JCLOUDS-218. List templates in all known projects for CloudStack
The naming on this was a design decision going back before my time. AFAIK, the
choice of Zone [1] had to do with the scope of the Region concept in OpenStack
and nothing to do with the name itself. I continued to use that naming for
consistency.
I agree it's confusing but changing would be a na
I started the 1.6.3-rc2 release yesterday but INFRA-7048 blocks me from
closing the staging repository:
https://issues.apache.org/jira/browse/INFRA-7048
Thanks for the update, Andrew G. Hope this gets fixed soon!
ap
I can move it to Dec 16 if people would prefer, yeah.
A.
On Mon, Nov 25, 2013 at 10:50 AM, Everett Toews wrote:
> Considering the delay on 1.6.3 do we want to think about starting 1.7.0 on
> Dec. 16?
>
> I mostly ask for selfish reasons as I'm on the road until Dec. 9 and won't
> be able to ge
Considering the delay on 1.6.3 do we want to think about starting 1.7.0 on Dec.
16?
I mostly ask for selfish reasons as I'm on the road until Dec. 9 and won't be
able to get as much done between now and then. That and it might actually give
people a chance to use 1.6.3 before we release 1.7.0.
I just went through all the open 1.7.0 JIRAs, moved some to 1.8.0, resolved
a couple that were actually done but not updated, and pinged on all the
rest for updates/whether they'll be ready for 1.7.0. Remember, 1.7.0 is
scheduled for Monday, December 9th, so there isn't a ton of time to wrap
things
On Thu, Nov 21, 2013 at 02:23:16PM -0800, Andrew Gaul wrote:
> On Tue, Nov 19, 2013 at 06:02:11PM -0800, Andrew Gaul wrote:
> > This thread is for discussion of the first release candidate for Apache
> > jclouds-1.6.3. Please use this thread for discussion of issues uncovered
> > in the RC, questio
Okay. So it sounds like you want to be able to schedule a VM to a particular
physical host/host aggregate. This is not something that any public cloud
provider would ever let you do. It's a very un-cloudy proposition. Hence,
you'll never find that kind of functionality in the
ComputeService/Tem
Hi Everett,
Sorry for not being clear, I meant the host aggregates as of
http://docs.openstack.org/trunk/openstack-ops/content/scaling.html#segregate_cloud
On Mon, Nov 25, 2013 at 10:25 PM, Everett Toews wrote:
> First of all, let's make sure we're talking about the same thing here.
>
> When y
First of all, let's make sure we're talking about the same thing here.
When you say 'host' name do you mean the hostname of the virtual machine that
you are starting or do you mean the hostname of the *physical* machine that the
VM will be running on?
Everett
On Nov 25, 2013, at 9:34 AM, Nirm
Thanks for the pointers. But I'm kind of confused here. Does this mean that
I can't specify a 'host' name when I build a Template using
TemplateBuilder?
From what I can see, you can indeed match on the "image name" [1]
when selecting the template to use for your new VM. But I guess that's
di
[jclouds-labs-openstack-pull-requests
#107](https://jclouds.ci.cloudbees.com/job/jclouds-labs-openstack-pull-requests/107/)
SUCCESS
This pull request looks good
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/58#issuecomment-29212713
You can merge this Pull Request by running:
git pull https://github.com/rackerlabs/jclouds-labs-openstack
marconi-messages-api
Or you can view, comment on it, or merge it online at:
https://github.com/jclouds/jclouds-labs-openstack/pull/58
-- Commit Summary --
* The get and delete meth
I suppose emails will be available for the history and future searches
for such newbies as I.
But anyway, thank you. Going on with xchat..
On 11/25/2013 06:12 PM, Andrew Phillips wrote:
Is there any diagrams to understand jclouds system decomposition, how
parts are communicate to each other?
Hi Andrew,
Thanks for the pointers. But I'm kind of confused here. Does this mean that
I can't specify a 'host' name when I build a Template using
TemplateBuilder?
On Mon, Nov 25, 2013 at 8:31 PM, Andrew Phillips wrote:
> $Subject? I can't see any relevant operation in NovaTemplateOptions, is
>
> @@ -29,7 +29,7 @@
> * @author Nick Livens
> * @see href="http://docs.openstack.org/api/openstack-network/2.0/content/Subnets.html";>api
> doc
> */
> -public class AllocationPool {
> +public final class AllocationPool {
Ah, yes, I recall. Thanks for the reminder, @KrisSterckx!
---
Reply
Is there any diagrams to understand jclouds system decomposition, how
parts are communicate to each other?
The closest I can think of are slides 26 and around in the following
presentation:
https://github.com/jclouds/jclouds-cloud-storage-workshop/blob/master/skeleton/docs/UberConf2012-Hands
> jclouds-java-7-pull-requests #880 UNSTABLE
Haven't looked at the code, just wanted to add that that looks like an
[unrelated test
failure](https://jclouds.ci.cloudbees.com/job/jclouds-java-7-pull-requests/org.apache.jclouds$jclouds-compute/880/testReport/junit/org.jclouds.compute.callables/Blo
Thanks for responding to the review comments, @KrisSterckx!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/47#issuecomment-29208427
> +
> + @Override
> + protected Function>
> markerToNextForArg0(Optional arg0) {
> + String zone = arg0.isPresent() ? arg0.get().toString() : null;
> + final RouterApi routerApi =
> api.getRouterExtensionForZone(zone).get();
> + return new Function IterableWithMa
> +
> + /**
> +* Returns the list of all routers currently defined in Neutron for the
> current tenant. The list provides the unique
> +* identifier of each router configured for the tenant
> +*
> +* @return the list of all router references configured for the tenant.
> +*/
>
> @@ -37,10 +37,7 @@ public String getValue() {
> }
>
> public static NetworkType fromValue(String value) {
> - for (NetworkType networkType : values()) {
> - if (networkType.getValue().equalsIgnoreCase(value))
> -return networkType;
> - }
> - return nul
$Subject? I can't see any relevant operation in NovaTemplateOptions, is
there some other way?
Looking at ServerApi.create [1], it looks like you can indeed only set
the *name*; the *ID* is something returned from that call [2].
ap
[1]
https://github.com/jclouds/jclouds/blob/master/apis/op
Hi there!
Is there any diagrams to understand jclouds system decomposition, how
parts are communicate to each other?
Thanks.
>
> - assertTrue(success);
> + for (int i=0; i < 12; i++) {
> +boolean success = queueApi.delete("jclouds-test-" + i);
> +
> +assertTrue(success);
No need. You have to be able to trust the return code.
---
Reply to this email directly or view it on GitHub
> +* @return The options necessary to get the next page of queues.
> +*/
> + public ListQueuesOptions nextListQueuesOptions() {
> + return ListQueuesOptions.class.cast(nextMarker().get());
> + }
> +
> + @Override
> + public Optional nextMarker() {
> + Optional nextMarkerLi
> boolean exists(@PathParam("name") String name);
>
> - // TODO stream method!
> + /**
> +* List the queues.
Fixed.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/56/files#r7892231
> +import java.util.Map;
> +
> +import static com.google.common.base.Preconditions.checkNotNull;
> +
> +/**
> + * A queue.
> + *
> + * @author Everett Toews
> + */
> +public class Queue {
> +
> + private final String name;
> + private final Map metadata;
> +
> + protected Queue(String name, @
> + }
> +
> + public Builder toBuilder() {
> + return new ConcreteBuilder().fromExternalGatewayInfo(this);
> + }
> +
> + public static abstract class Builder {
> + protected abstract Builder self();
> +
> + protected String networkId;
> +
> + /**
> + * @see Externa
> + */
> + public T state(State state) {
> + this.state = state;
> + return self();
> + }
> +
> + /**
> + * @see Router#getExternalGatewayInfo()
> + */
> + public T externalGatewayInfo(ExternalGatewayInfo externalGatewayInfo) {
> + this.
> assertTrue(subnetApi.delete(net.getId()));
> }
> assertTrue(networkApi.delete(networkId));
>}
> }
> +
> + private Predicate createPredicate(final String subnetId) {
See above comment
---
Reply to this email directly or view it on GitHub:
https://gi
> assertTrue(networkApi.delete(net.getId()));
> }
>}
> }
> +
> + private Predicate createPredicate(final String networkId) {
I'll move this method to a test util class and make it more generic.
---
Reply to this email directly or view it on GitHub:
https://git
> +
> + @Override
> + protected Function>
> markerToNextForArg0(Optional arg0) {
> + String zone = arg0.isPresent() ? arg0.get().toString() : null;
> + final RouterApi routerApi =
> api.getRouterExtensionForZone(zone).get();
> + return new Function IterableWithMa
> +
> + @Override
> + protected Function>
> markerToNextForArg0(Optional arg0) {
> + String zone = arg0.isPresent() ? arg0.get().toString() : null;
> + final RouterApi routerApi =
> api.getRouterExtensionForZone(zone).get();
> + return new Function>() {
> +
> +
> +import java.beans.ConstructorProperties;
> +
> +import static com.google.common.base.Preconditions.checkNotNull;
> +import static
> org.jclouds.openstack.v2_0.options.PaginationOptions.Builder.marker;
> +
> +/**
> + * @author Nick Livens
> + */
> +@Beta
> +@Singleton
> +public class ParseRouter
> + @Path("/{id}")
> + @SelectJson("router")
> + @Fallback(Fallbacks.NullOnNotFoundOr404.class)
> + Router get(@PathParam("id") String id);
> +
> + /**
> +* Create a new router
> +*
> +* @param options optional arguments
> +* @return the newly created router
> +*/
> +
> + @ResponseParser(ParseRouterDetails.class)
> + @Fallback(KeystoneFallbacks.EmptyPaginatedCollectionOnNotFoundOr404.class)
> + PaginatedCollection listInDetail(PaginationOptions
> options);
> +
> + /**
> +* Returns the specific router.
> +*
> +* @param id the id of the router
> +
> + /**
> +* Returns the list of all routers currently defined in Neutron for the
> current tenant. The list provides the unique
> +* identifier of each router configured for the tenant
> +*
> +* @return the list of all router references configured for the tenant.
> +*/
>
> +* Returns all routers currently defined in Neutron for the current
> tenant.
> +*
> +* @return the list of all routers configured for the tenant
> +*/
> + @Named("router:list")
> + @GET
> + @ResponseParser(ParseRouterDetails.class)
> + @Transform(ParseRouterDetails.ToPag
> + *
> + * @author Nick Livens
> + * @see + *
> "http://docs.openstack.org/api/openstack-network/2.0/content/router_ext.html";>api
> doc
> + */
> +@Path("/v2.0/routers")
> +@RequestFilters(AuthenticateRequest.class)
> +@Consumes(MediaType.APPLICATION_JSON)
> +public interface RouterApi {
>
> +* @return the list of all router references configured for the tenant.
> +*/
> + @Named("router:list")
> + @GET
> + @ResponseParser(ParseRouters.class)
> + @Transform(ParseRouters.ToPagedIterable.class)
> + @Fallback(Fallbacks.EmptyPagedIterableOnNotFoundOr404.class)
> + @Que
> @@ -37,10 +37,7 @@ public String getValue() {
> }
>
> public static NetworkType fromValue(String value) {
> - for (NetworkType networkType : values()) {
> - if (networkType.getValue().equalsIgnoreCase(value))
> -return networkType;
> - }
> - return nul
> @@ -29,7 +29,7 @@
> * @author Nick Livens
> * @see href="http://docs.openstack.org/api/openstack-network/2.0/content/Subnets.html";>api
> doc
> */
> -public class AllocationPool {
> +public final class AllocationPool {
You said we should make those classes final which are not meant to be
Hi All,
$Subject? I can't see any relevant operation in NovaTemplateOptions, is
there some other way?
--
Thanks & regards,
Nirmal
Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
[jclouds-pull-requests
#417](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests/417/) SUCCESS
This pull request looks good
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/214#issuecomment-29185041
[jclouds-java-7-pull-requests
#880](https://jclouds.ci.cloudbees.com/job/jclouds-java-7-pull-requests/880/)
UNSTABLE
Looks like there's a problem with this pull request
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/214#issuecomment-29185049
The existing approach for deleting objects in a container suffers
from a head-of-line blocking problem. This commit implements a better
scheme which does not have that problem. This scheme uses a counting
semaphore for making sure that a certain number of futures are
issued in parallel. As each of
>I'm not entirely sure what a domain object is
What we call domain objects here are the Java representations of the api
objects (DriveInfo, Subscription, etc).
@gcbirzan NP! It is fair enough that the api changes and improves (iteration
ftw!). One of the purposes of our live tests is to detect s
I'm not entirely sure what a domain object is, and I didn't have time over the
weekend to fix the docs, but I'll do it today and push it sometime this week,
and it'll contain an example, and the proper schema and explanation about how
it works. Sorry about the confusion, but the removal of the G
68 matches
Mail list logo