source: ComponentRegistry/tags/ComponentRegistry-1.14.6/UPDATE @ 6453

Last change on this file since 6453 was 6453, checked in by Twan Goosen, 9 years ago

tagged 1.14 branch as 1.14.6

File size: 3.2 KB
Line 
1UPDATING THE COMPONENT REGISTRY REST SERVICE AND FLEX UI
2
3Procedure for updating
4----------------------
5
6- When upgrading to a new version of the ComponentRegistry, check if there are
7  updates to the schema of the PostgreSQL database. These will be named
8  upgrade-x.yy.sql, e.g. upgrade-1.10.sql for version 1.10.
9
10- If the database needs upgrading, first make a backup (dump) of the existing
11  database. Stop the application before doing so
12
13- Execute the upgrade script. When upgrading over multiple minor versions,
14  execute the upgrade scripts incrementally
15
16- Make sure to grant all required rights (GRANT ALL unless specified
17  otherwise) to the component registry database user (usually compreg) on
18  any newly added tables, views, and sequences.
19
20- Then redeploy the WAR and start the application
21
22Version specific update instructions
23-------------------------------------
24
25=== 1.14.5 ===
26
27The context parameter eu.clarin.cmdi.componentregistry.isocatRestUrl has been replaced
28with the new parameter eu.clarin.cmdi.componentregistry.ccrRestUrl. An example
29configuration with the default value for the new parameter is:
30
31
32  <Parameter
33                name="eu.clarin.cmdi.componentregistry.ccrRestUrl"
34                value="https://openskos.meertens.knaw.nl/ccr/api/"/>
35
36=== 1.14.2 ===
37
38No additional steps required.
39
40=== 1.14.1 ===
41
42No additional steps required.
43
44=== 1.14.0 ===
45
46- Execute DB update script upgrade-1.14.sql
47
48- Add the following context parameter (default values given):
49
50  <Parameter
51          name="eu.clarin.cmdi.componentregistry.jpaDialect"
52          value="org.hibernate.dialect.PostgreSQLDialect"/>
53
54=== 1.13 ===
55
56- The following context fragment have been renamed, and should be updated
57  in the context fragment for the Component Registry:
58 
59  componentRegistryServiceRootUrl -> eu.clarin.cmdi.componentregistry.serviceRootUrl
60  componentRegistryAdminUsers -> eu.clarin.cmdi.componentregistry.adminUsers
61 
62  The results should look something like:
63  <Parameter
64                name="eu.clarin.cmdi.componentregistry.serviceRootUrl"
65                value="http://catalog.clarin.eu/ds/ComponentRegistry" />
66  <Parameter
67                name="eu.clarin.cmdi.componentregistry.adminUsers"
68                value="admin1@clarin.eu admin2@clarin.eu" />
69
70- The following should be added to the context fragment for the Component
71  Registry:
72
73        <Parameter
74                        name="eu.clarin.cmdi.componentregistry.documentationUrl"
75                        value="http://www.clarin.eu/cmdi" />
76        <Parameter
77                        name="eu.clarin.cmdi.componentregistry.generalComponentSchemaUrl"
78                        value="https://infra.clarin.eu/cmd/general-component-schema.xsd" />
79        <Parameter
80                        name="eu.clarin.cmdi.componentregistry.component2SchemaXslUrl"
81                        value="https://infra.clarin.eu/cmd/xslt/comp2schema-v2/comp2schema.xsl" />
82        <Parameter
83                        name="eu.clarin.cmdi.componentregistry.componentSpecSchemaLocation"
84                        value="http://www.clarin.eu/cmd https://infra.clarin.eu/cmd/general-component-schema.xsd" />
85        <Parameter
86                        name="eu.clarin.cmdi.componentregistry.isocatRestUrl"
87                        value="https://catalog.clarin.eu/isocat/rest/" />
88                       
89=== 1.11 ==
90
91- The following should be added to the context fragment for the Component
92  Registry:
93    <Parameter
94        name="componentRegistryAdminUsers"
95        value="space-separated-list-of-admin-eppns"/>
96
97- Added to database schema:
98        * comments
99        * comments_id_seq
Note: See TracBrowser for help on using the repository browser.