-
Notifications
You must be signed in to change notification settings - Fork 236
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
Add support for post deployment actions #3176
base: master
Are you sure you want to change the base?
Conversation
|
||
public class PostDeploymentResult | ||
{ | ||
public String actionType; |
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 this also carry a success/failure flag? so we know how to interpret the detail
@@ -122,4 +135,14 @@ public static String fullName(org.finos.legend.engine.protocol.pure.v1.model.pac | |||
return e._package + "::" + e.name; | |||
} | |||
|
|||
public static List<ActionContent> renderActions(RichIterable<? extends Root_meta_external_function_activator_postDeploymentAction_PostDeploymentAction> actions) |
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.
This should leverage PostDeploymentLoader, not duplicate the code
import java.util.ServiceLoader; | ||
import java.util.concurrent.atomic.AtomicReference; | ||
|
||
public class PostDeploymentLoader |
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.
to keep the naming consistent: This should be PostDeploymentActionLoader
|
||
package org.finos.legend.engine.protocol.functionActivator.deployment; | ||
|
||
public class PostDeploymentResult |
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.
to keep the naming consistent: This should be PostDeploymentActionResult
<groupId>org.finos.legend.engine</groupId> | ||
<artifactId>legend-engine-identity-core</artifactId> | ||
</dependency> | ||
<dependency> |
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.
Why do we have the -pure dependency in this pom
This PR is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days. |
What type of PR is this?
What does this PR do / why is it needed ?
Which issue(s) this PR fixes:
Fixes #
Other notes for reviewers:
Does this PR introduce a user-facing change?