-
Notifications
You must be signed in to change notification settings - Fork 18
replace org.jclouds.googlecompute.GoogleComputeConstants.GOOGLE_PROJECT with getImageApi #4
Comments
cc @mattstep |
Hi Adrian: a few things:
|
ok, once you mention what this magic constant does, I'll update the issue accordingly. |
as I said it refers to the name of the project under which GCE keeps the "public" resources. It should be documented for dev's sake but there's no reason an user should need or even have to know about it. |
ok, I agree that this should be better documented, or better yet. removed. If one enters the incorrect email address, the error relates to the http path including I'm changing the issue to remove this confusion now and will ping back. |
ok. changed the issue. you are correct that my google id works, so I'll mention this issue isn't a blocker |
So this issue only refers to:
|
No it refers to deleting the constant and instead expose a no arg method On Sunday, March 10, 2013, David Ribeiro Alves wrote:
|
When a user specifies the wrong email address for their account, an authorization error occurs relating to project.
A savvy person would know that the email is wrong, and I should have re-read the README before blindly hunting. Even if it was my fault, crud in GoogleComputeConstants is distracting, particularly GOOGLE_PROJECT which shows up in grep.
Rather than having curious hard-coded constants, wouldn't it be better to make a special method that says what it does. I understand from @dralves that this is the project for public resources. So far as I can tell, this constant is only used in the compute service adapter for public images.e
Why not just make a method for that and remove the constant, such as we do in aws for the default zone?
The text was updated successfully, but these errors were encountered: