che icon indicating copy to clipboard operation
che copied to clipboard

Simplify workspace API by using single Workspace model

Open ddementieva opened this issue 10 years ago • 0 comments

Now workspace structure is to complicated and brings a batch of problems. Current workspace model consists of 3 main objects WorkspaceConfig, UsersWorkspace, RuntimeWorkspace. The relation between those objects is not monosemantic as UsersWorkspace is in composition with WorkspaceConfig when RuntimeWorkspace interits UsersWorkspace.

The solution is to have 1 single workspace model object which has 3 main fields in composition: Workspace { config, instance, runtime }

This model allows as to keep all workspace data synchronized and actual.

ddementieva avatar Mar 25 '16 14:03 ddementieva