apache / netbeans

Apache NetBeans
https://netbeans.apache.org/
Apache License 2.0
2.65k stars 850 forks source link

Delete action for Container Repository Images and Vault Secrets #7649

Closed petrovic-d closed 2 months ago

petrovic-d commented 2 months ago

Action for deleting Container Repository Images and Vault Secrets. Since there is no API to instantly delete Vault Secrets, the deletion is scheduled for tomorrow. Also Cloud Asset view now shows if Vault Secret is in state: PENDING_DELETION

jhorvath commented 2 months ago

The DeleteNodeAction should not be implemented at all. There is already support for deletion. The context value cap:delete is added when Node.canDestroy() returns true in DefaultDecorationsImpl. Additionally, destroy() is called in LspTreeViewServiceImpl for the delete command, which should appear automatically based on the context value.