-
Notifications
You must be signed in to change notification settings - Fork 9
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
PLAT-1245 - Delete command for Data Studio #480
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.
Looks good to me!
public final String workspaceRef; | ||
|
||
public DataStudioDeleted(String sessionId, String userSuppliedStudioIdentifier, Long workspaceId, String workspaceRef) { | ||
this.sessionId = sessionId; |
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.
minor: sessionId and workspaceId might be removed, if unused
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.
good point, updated
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.
One question but overall looks good!
""")).withContentType(MediaType.APPLICATION_JSON) | ||
); | ||
|
||
ExecOut out = exec(format, mock, "studios", "stop", "-w", "75887156211589", "-n" ,"studio-a66d"); |
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.
PR is implementing delete, are you adding those tests just because you forgot with other PR or It's a mistake?
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.
Yeaah, in the previous PR I had to resolve a some merge conflicts after rebasing and somehow these couple of tests got dropped accidentally after so I am re-adding them in this PR.
Context
Work relates to task: https://seqera.atlassian.net/browse/PLAT-1245
Summary: add the ability to delete a data studio via the CLI.
Testing