-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
NDS Sprint 9
With the completion of NDS-177, we have our first valid case where an application should be editable while it is running. Currently, the API server assumes that the application is stopped which causes problems when the application is running.
As a result, the following line in the API server will need to be removed and/or handled in a different way:
https://github.com/nds-org/ndslabs/blob/master/apiserver/server.go#L1156
Some options might include:
- Add a specific "rename" API call that does not assume an application is stopped (this might make sense for a one-off case)
- Prevent the operation in the case of an invalid state, instead of assuming or forcing a valid state (i.e. fail-fast)
- Remove this line altogether and rely on the UI to enforce validation (with separation of concerns in mind, this is highly unfavorable)
This ticket is closed when the end-user of NDS Labs is able to edit a running Application's label without causing the stack to go into a wonky state.
- has to be done after
-
NDS-177 User should be allowed to edit an existing Stack's name
- Closed