Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First pass at: #2

Merged
merged 1 commit into from
Feb 18, 2017
Merged

First pass at: #2

merged 1 commit into from
Feb 18, 2017

Conversation

duftler
Copy link
Collaborator

@duftler duftler commented Feb 18, 2017

  • Credentials handling
  • Google configuration
  • Stackdriver configuration
  • /fetch entrypoint (mainly a placeholder at the moment)

@duftler
Copy link
Collaborator Author

duftler commented Feb 18, 2017

@lwander please review.

Copy link
Member

@lwander lwander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

public interface MetricsService {
boolean servicesAccount(String accountName);
Map queryMetrics(String accountName,
String instanceNamePrefix,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Kayenta going to be restricted to only canarying instances, or is this just part of the first pass?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just first pass stuff.

@@ -0,0 +1,2 @@
lombok.nonNull.exceptionType = IllegalArgumentException
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why we aren't configuring lombok for the whole project, but rather just the submodules?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No good reason, just evolved that way. Created just one in the root dir and deleted the others.

String jsonKey = googleManagedAccount.getJsonKey();
GoogleCredentials googleCredentials =
StringUtils.hasLength(jsonKey)
? new GoogleJsonCredentials(project, jsonKey)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sigh

  - Credentials handling
  - Google configuration
  - Stackdriver configuration
  - /fetch entrypoint (mainly a placeholder at the moment)
@duftler duftler merged commit 0ea0f23 into spinnaker:master Feb 18, 2017
@duftler duftler deleted the google-config branch February 18, 2017 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants