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(titus): UpdateJobProcesses Stage #2934

Merged
merged 6 commits into from
May 28, 2019

Conversation

aravindmd
Copy link
Contributor

* limitations under the License.
*/

package com.netflix.spinnaker.orca.clouddriver.pipeline.servergroup;
Copy link
Contributor

Choose a reason for hiding this comment

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

does this belong better in /orca/clouddriver/pipeline/job/*?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes i think that makes sense , moved to job/*

@Override
public TaskResult execute(@Nonnull Stage stage) {

Map request = stage.mapTo(Map.class);
Copy link
Contributor

Choose a reason for hiding this comment

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

not a ton of value to mapping to a Map might as well not use it (just get the context). But, ideally, you have a StageData that strongly types/defines what fields you expect and map to it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

got it !

Copy link
Contributor

@marchello2000 marchello2000 left a comment

Choose a reason for hiding this comment

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

lgtm

@aravindmd aravindmd merged commit 005fc41 into spinnaker:master May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants