-
Notifications
You must be signed in to change notification settings - Fork 1
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
#519: Add configuration for step customization #563
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we update the requirements / design documents, too?
(optionally in a separate PR)
project-keeper/src/main/java/com/exasol/projectkeeper/config/ProjectKeeperConfigReader.java
Show resolved
Hide resolved
...l-classes/src/main/java/com/exasol/projectkeeper/shared/config/workflow/WorkflowOptions.java
Outdated
Show resolved
Hide resolved
...l-classes/src/main/java/com/exasol/projectkeeper/shared/config/workflow/WorkflowOptions.java
Outdated
Show resolved
Hide resolved
project-keeper/src/main/java/com/exasol/projectkeeper/config/ProjectKeeperConfigReader.java
Show resolved
Hide resolved
/** Insert the step after the configured step ID. */ | ||
INSERT_AFTER, | ||
/** Replace the step with the new one. */ | ||
REPLACE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could there also be INSERT_BEFORE
and DELETE
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's possible. But I don't think we need it at the moment.
project-keeper/src/test/java/com/exasol/projectkeeper/config/ProjectKeeperConfigReaderTest.java
Outdated
Show resolved
Hide resolved
project-keeper/src/test/java/com/exasol/projectkeeper/config/ProjectKeeperConfigReaderTest.java
Outdated
Show resolved
Hide resolved
project-keeper/src/test/java/com/exasol/projectkeeper/config/ProjectKeeperConfigReaderTest.java
Outdated
Show resolved
Hide resolved
project-keeper/src/test/java/com/exasol/projectkeeper/config/ProjectKeeperConfigReaderTest.java
Outdated
Show resolved
Hide resolved
|
||
private final Map<String, Object> rawStep; | ||
|
||
private WorkflowStep(final Map<String, Object> rawStep) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a specific reason for the constructor being private and offering a static method for instantiation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to add some validation in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did I observe correctly that actually applying customizations, specified in file .project-keeper.yml
to existing workflow files is planned to be implemented in a separate PR?
Quality Gate passedIssues Measures |
Part of #519