You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a group is deployed it is deployed in alphabetical order of the nodes. When deleting it should do the reverse of deploy (to cope with any potential issues of dependent resources).
The text was updated successfully, but these errors were encountered:
Deleting the deployments links into the dependency management stuff. Possible a good idea to look at it first: #238
Similarly to the creation issue, the linking between "Deployments" needs to be handled correctly. For a first pass, only simple management is required. A more advanced issue will be opened with graph theory.
This time dependents instance method needs to be added to the Domain and Nodes. The Domain#dependents should return all the nodes. And Nodes#dependents should return an empty array.
Then when deleting a Node or Domain, then all the dependents need to be deleted first.
As the issue initially states, the nodes should be deleted in reverse alphabetical order. But also, all the running deployments should be checked to see if they rely on the nodes being deleted. If they do, then an error should be raised
When a group is deployed it is deployed in alphabetical order of the nodes. When deleting it should do the reverse of deploy (to cope with any potential issues of dependent resources).
The text was updated successfully, but these errors were encountered: