Details
-
Bug
-
Resolution: Done
-
Major
-
3.2.0.Beta2
-
None
Description
current implementation has a lot of duplicate code in order to handle actions on the same deltacloud instances and images in the different views.
The cloud view uses:
CVInstanceElement and CVImageElement
The image view uses:
DeltaCloudImage
The instance view uses:
DeltaCloudInstance
The current code does not use adapters and therefore duplicated action-, providers etc. to handle these different object types. The result is that changes (a lot of the current issues) get tedious.
The solution is pretty simple:
Use the DeltaCloudInstance and DeltaCloudImage everywhere, wire UI by using adapters.