Project

General

Profile

ModelChangeWorkflow » History » Version 9

Andreas Müller, 03/07/2019 02:48 PM

1 1 Andreas Müller
2 2 Andreas Müller
3 2 Andreas Müller
4 2 Andreas Müller
5 2 Andreas Müller
# WORKFLOW for Changing CDM Model
6 3 Andreas Müller
7 9 Andreas Müller
* Create branch in cdmlib called cdm-x.x where x.x is the model version
8 9 Andreas Müller
9 9 Andreas Müller
* Adapt version number and create SchemaUpdater (should be simplified)
10 9 Andreas Müller
    * create new package in cdmlib-persistence/eu.etaxonomy.cdm.database.update for the new version
11 9 Andreas Müller
    * create new SchemaUpdater in this package (compare with older SchemaUpdaters)
12 9 Andreas Müller
    * link method getPreviousUpdater to last used SchemaUpdater, accordingly link last used SchemaUpdater with the new SchemaUpdater
13 9 Andreas Müller
    * in CdmUpdater set getCurrenSchemaUpdater to new SchemaUpdater
14 9 Andreas Müller
    * in new SchemaUpdater set startSchemaVersion with current value in CdmMetaData.dbSchemaVersion
15 9 Andreas Müller
    * in new SchemaUpdater set endSchemaVersion with new value, adapt CdmMetaData.dbSchemaVersion with exact same value (should represent the expected release date)
16 3 Andreas Müller
17 3 Andreas Müller
* Run all tests in current trunk
18 3 Andreas Müller
19 3 Andreas Müller
* Create branch for new model
20 3 Andreas Müller
21 3 Andreas Müller
* Run all test in new branch
22 3 Andreas Müller
23 3 Andreas Müller
* Change model
24 3 Andreas Müller
25 3 Andreas Müller
* Check for 
26 3 Andreas Müller
27 3 Andreas Müller
  * hibernate annotations
28 3 Andreas Müller
29 3 Andreas Müller
  * JAXB annotations (on attribute and class level)
30 3 Andreas Müller
31 3 Andreas Müller
  * clone methods
32 3 Andreas Müller
33 3 Andreas Müller
  * other methods
34 3 Andreas Müller
35 3 Andreas Müller
  * write tests (for all layers)
36 3 Andreas Müller
37 7 Andreas Müller
  * write database update (persistence layer), also test that hibernate_sequences is up-to-date after updates
38 3 Andreas Müller
39 3 Andreas Müller
  * adapt testing data (xsd, xml, etc.)
40 3 Andreas Müller
41 3 Andreas Müller
  * run tests for all layers
42 3 Andreas Müller
43 5 Andreas Müller
* test brach with applications (Taxonomic Editor, Data Portals) on local databases, including update script
44 1 Andreas Müller
45 5 Andreas Müller
* test branch with applications (Taxonomic Editor, Data Portals) on developer server, including update script
46 5 Andreas Müller
47 5 Andreas Müller
* integrate into trunk
48 5 Andreas Müller
49 5 Andreas Müller
* test trunk with local database and developer server
50 4 Andreas Müller
51 6 Andreas Müller
* create new milestone, move all open tickets to new milestone, close old milestone
52 6 Andreas Müller
53 4 Andreas Müller
* roll-out Taxonomic Editor and CDM Server at the same time
54 4 Andreas Müller
55 4 Andreas Müller
* update uml model
56 4 Andreas Müller
57 4 Andreas Müller
* update project pages (java doc)
58 4 Andreas Müller
59 4 Andreas Müller
* document on "What has changed" sites
60 4 Andreas Müller
61 3 Andreas Müller
62 3 Andreas Müller
 
Add picture from clipboard (Maximum size: 40 MB)