]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.project/src/org/simantics/project/management/UseCases.txt
Include acorn db in db.client feature and make it the default db driver
[simantics/platform.git] / bundles / org.simantics.project / src / org / simantics / project / management / UseCases.txt
1 Requirements:\r
2  * Installed Software (Client application) must be ontology compatible with the database it uses (Remote).\r
3     \r
4 Use Scenarions\r
5 \r
6 \r
7 US1: Conflicting Features\r
8 \r
9 Setup:\r
10    Ontology { X(1.0) }\r
11    Project A uses X 1.0\r
12    \r
13 Target\r
14    Ontology { X(1.0) }\r
15    Project A uses X 1.0\r
16    Project B uses X 1.1\r
17 \r
18 Fixed Target 1\r
19    Ontology { X(1.1) }\r
20    Project A uses X 1.0\r
21    Project B uses X 1.1\r
22 \r
23 US2: Conflicting Features\r
24 \r
25 Setup:\r
26    Ontology { X(1.0) }\r
27    Project A uses X 1.0\r
28    \r
29 Target\r
30    Ontology { X(1.0) }\r
31    Project A uses X 1.0\r
32    Project B uses X 2.0\r
33 \r
34 Fixed Target 1\r
35    Ontology { X(2.0) }\r
36    Project A uses X 2.0\r
37    Project B uses X 2.0\r
38 \r
39 Fixed Target 2\r
40    Ontology { X(1.0) }\r
41    Project A uses X 1.0\r
42    Project B uses X 1.0\r
43 \r
44 Validator: Spec -> Errors\r
45 \r
46 Solver: 1 Error -> Action[]\r
47         1 ACtion -> (fixed) Spec\r
48         \r
49 Planner: Figures out all possible solution scenarios. Returns a list of valid scenarios sorted by feasibility.\r
50         Spec -> Spec[]\r
51 \r
52 \r
53 \r