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

feat(stats): Pull apart the cloudProviders passed along during applic… #707

Merged
merged 1 commit into from
Nov 22, 2019

Conversation

ttomsu
Copy link
Member

@ttomsu ttomsu commented Nov 22, 2019

…ation creation

Fixes spinnaker/spinnaker#5168

Application creation/updating annoyingly can include multiple cloudProviders. The easiest, non-model-breaking way to achieve this is to emit N createApplication stages for the stat collection - one for each cloud provider.

Copy link
Contributor

@ethanfrogers ethanfrogers left a comment

Choose a reason for hiding this comment

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

LGTM. Small nit about * imports.

import java.util.List;
import java.util.Optional;
import java.util.Set;
import java.util.*;
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we really want * here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Silly IDE... Reverted.

@ttomsu ttomsu added the ready to merge Approved and ready for merge label Nov 22, 2019
@mergify mergify bot merged commit eaa4907 into spinnaker:master Nov 22, 2019
@mergify mergify bot added the auto merged label Nov 22, 2019
@ttomsu ttomsu deleted the app-upsert branch November 22, 2019 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stats: Detect cloud provider(s) during application creation/updating
3 participants