-
Notifications
You must be signed in to change notification settings - Fork 1
Delete scenario metadata #338
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
Conversation
vcarluer
left a comment
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.
Reviewed with @jreynard-code
Please retest after correction: deleting 1 scenariorun should not delete any scenario data
scenariorun/src/main/kotlin/com/cosmotech/scenariorun/azure/ScenarioRunServiceImpl.kt
Outdated
Show resolved
Hide resolved
12c9451 to
eea1749
Compare
|
IMHO: Squashing all commits we lose completely track of previous PR and what have been done for a feature |
scenariorun/src/main/kotlin/com/cosmotech/scenariorun/azure/ScenarioRunServiceImpl.kt
Outdated
Show resolved
Hide resolved
scenariorun/src/main/kotlin/com/cosmotech/scenariorun/azure/ScenarioRunServiceImpl.kt
Outdated
Show resolved
Hide resolved
vcarluer
left a comment
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.
duplicate deletion call
| organizationId, scenarioRun.workspaceKey!!, scenarioRun.csmSimulationRun!!) | ||
| } | ||
|
|
||
| private fun deleteScenarioRunMetadata( |
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 method is not needed: ADX csmSimulation drop by extent already done in deleteScenarioRunWithoutAccessEnforcement line 135
| } | ||
| this.deleteScenarioRunWithoutAccessEnforcement(scenarioRun) | ||
| deleteScenarioRunWithoutAccessEnforcement(scenarioRun) | ||
| deleteScenarioRunMetadata( |
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 method call is not needed: ADX csmSimulation drop by extent already done in deleteScenarioRunWithoutAccessEnforcement line 135
…letion because redundant
vcarluer
left a comment
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.
LGTM
No description provided.