-
Notifications
You must be signed in to change notification settings - Fork 5
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
[DC-1170] Add code for get and delete requests #1747
[DC-1170] Add code for get and delete requests #1747
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, a few comments
|
||
@Override | ||
public StepResult undoStep(FlightContext context) throws InterruptedException { | ||
// can't undo 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.
Is there a need to log here? I don't think anyone will look at this log message, and if they did, I don't know what they'd do with this information.
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.
I don't think we need to, but I was following the example here: https://github.com/DataBiosphere/jade-data-repo/blob/develop/src/main/java/bio/terra/service/snapshot/flight/delete/DeleteSnapshotAuthzResource.java#L39
I think that might be useful information in the case that things end up in a bad state? What are your thoughts?
...va/bio/terra/service/snapshot/flight/delete/DeleteOutstandingSnapshotAccessRequestsStep.java
Outdated
Show resolved
Hide resolved
...va/bio/terra/service/snapshot/flight/delete/DeleteOutstandingSnapshotAccessRequestsStep.java
Outdated
Show resolved
Hide resolved
...va/bio/terra/service/snapshot/flight/delete/DeleteOutstandingSnapshotAccessRequestsStep.java
Outdated
Show resolved
Hide resolved
...va/bio/terra/service/snapshot/flight/delete/DeleteOutstandingSnapshotAccessRequestsStep.java
Outdated
Show resolved
Hide resolved
...io/terra/service/snapshot/flight/delete/DeleteOutstandingSnapshotAccessRequestsStepTest.java
Outdated
Show resolved
Hide resolved
...io/terra/service/snapshot/flight/delete/DeleteOutstandingSnapshotAccessRequestsStepTest.java
Outdated
Show resolved
Hide resolved
...va/bio/terra/service/snapshot/flight/delete/DeleteOutstandingSnapshotAccessRequestsStep.java
Outdated
Show resolved
Hide resolved
src/main/java/bio/terra/service/snapshotbuilder/SnapshotRequestDao.java
Outdated
Show resolved
Hide resolved
...va/bio/terra/service/snapshot/flight/delete/DeleteOutstandingSnapshotAccessRequestsStep.java
Outdated
Show resolved
Hide resolved
...va/bio/terra/service/snapshot/flight/delete/DeleteOutstandingSnapshotAccessRequestsStep.java
Outdated
Show resolved
Hide resolved
...va/bio/terra/service/snapshot/flight/delete/DeleteOutstandingSnapshotAccessRequestsStep.java
Outdated
Show resolved
Hide resolved
|
Jira ticket: https://broadworkbench.atlassian.net/browse/dc-1170
Addresses
Summary of changes
Testing Strategy