We'd need more info from Google to do this optimally, and as the API keeps
changing that may be hard to come by.

However as project id's appear to be numeric, from everything I can tell, I
think this is safe.

Best,
Alex
On Nov 3, 2013 3:48 PM, "Andrew Phillips" <notifications@github.com> wrote:

> In
> google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/config/GoogleComputeEngineHttpApiModule.java:
>
> >
> > -                    Project project = api.getProjectApi().get(Iterables.get(Splitter.on("@").split(in.identity), 0));
> > +                    String projectName = Iterables.get(Splitter.on("@").split(in.identity), 0);
> > +                    projectName = Iterables.get(Splitter.on("-").split(projectName), 0);
>
> Thanks for the explanation, @ahgittin <https://github.com/ahgittin>! Any
> thoughts on how to avoid splitting on the "wrong" - if the project ID
> happens to contain one as well..?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/jclouds/jclouds-labs-google/pull/9/files#r7392710>
> .
>