WS-85: Delete capability request REST endpoint
1 unresolved thread
1 unresolved thread
Added new REST endpoint for deleting capability requests; requests with existing executions cannot be deleted (they must be disabled instead--like with capabilities, which will have to be implemented)
Merge request reports
Activity
added 3 commits
-
ea825e62...a80b6faa - 2 commits from branch
main
- bc91f6b9 - Added new REST endpoint for deleting capability requests; requests with
-
ea825e62...a80b6faa - 2 commits from branch
177 177 def save_execution(self, execution: CapabilityExecutionIF): 178 178 self.session.add(execution) 179 179 transaction.commit() 180 181 def delete_request_versions(self, request_id: int) -> int: Nathan and I talked about that one-on-one, but basically, you don't want to actually delete a request if it has executions. For the time being it's OK to just error in that case. We should probably add another disable/enable pair on this for requests that have executions, because someone just doesn't want to see it anymore.
Please register or sign in to reply