source: ComponentRegistry/trunk/ComponentRegistry/src/main/webapp/META-INF/context.xml @ 4098

Last change on this file since 4098 was 4098, checked in by George.Georgovassilis@mpi.nl, 10 years ago

#360, #431, #432: JPA and unified component entities

File size: 3.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3    Component Registry context.xml
4    Twan Goosen <twan.goosen@mpi.nl>, 21/9/2011
5
6    This file contains configuration options for the ComponentRegistry
7    package which includes both the REST service and the Flex UI.
8   
9    For information about the component registry, see
10    <http://www.clarin.eu/cmdi> and
11    <http://trac.clarin.eu/wiki/ComponentRegistry>.
12   
13    == DATABASE CONNECTION ==
14   
15    By default, the application assumes a named (JNDI) datasource
16    jdbc/ComponentRegistry that provides access to the ComponentRegistry
17    database.
18   
19    For more information, or configuring a custom datasource Spring bean,
20    see WEB-INF/spring-config/datasource-jdbc.xml
21   
22    A database creation script can be found at
23    <http://svn.clarin.eu/ComponentRegistry/tags/ComponentRegistry-${project.version}/ComponentRegistry/src/main/sql/create.sql>
24   
25    == SPRING CONFIGURATION ==
26   
27    This application uses the Spring framework <http://www.springsource.org/>,
28    version 2.5. Part of its configuration is handled through Spring beans.
29    These are defined in WEB-INF/applicationContext.xml and the files in
30    WEB-INF/spring-config.
31       
32    == SHIBBOLETH ==
33   
34    This application uses Shibboleth authentication. Make sure that the URIs
35    for login/logout are set correctly in WEB-INF/shhaa.xml.
36-->
37<Context antiJARLocking="true" path="/ComponentRegistry">
38    <!--
39        Passed to the Flex UI via index.jsp so that it can locate the
40        ComponentRegistry REST service. Just supply the application root:
41        the '/rest/registry' part will be added by the application.
42    -->
43    <Parameter 
44        name="eu.clarin.cmdi.componentregistry.serviceRootUrl" 
45        value="${serviceRootUrl}" />
46   
47    <!--
48        Location that gets redirected to from /documentation.jsp, which in turn is linked to
49        from the Flex application through the 'Help' link button.
50    -->
51    <Parameter 
52        name="eu.clarin.cmdi.componentregistry.documentationUrl" 
53        value="http://www.clarin.eu/cmdi" />
54   
55    <!--
56        Space-separated list of users (getRemoteUser()) that should have access to the admin area of the ComponentRegistry
57    -->
58    <Parameter 
59        name="eu.clarin.cmdi.componentregistry.adminUsers" 
60        value="twagoo@mpi.nl olhsha@mpi.nl daan.broeder@mpi.nl dietuyt@mpi.nl Menzo.Windhouwer@mpi.nl" />
61
62    <!--
63        Location of the CMDI general component schema that validates component specifications
64    -->
65    <Parameter 
66        name="eu.clarin.cmdi.componentregistry.generalComponentSchemaUrl" 
67        value="https://infra.clarin.eu/cmd/general-component-schema.xsd" />
68   
69    <!--
70        Location of the stylesheet that transforms component specifications into XML schema documents
71    -->
72    <Parameter 
73        name="eu.clarin.cmdi.componentregistry.component2SchemaXslUrl" 
74        value="https://infra.clarin.eu/cmd/xslt/comp2schema-v2/comp2schema.xsl" />
75
76    <!--
77        Schema location that will go into xsi:schemaLocation attribute of component specification. Beware this should follow
78        XML standards and have a namespace component (URI) and schema location component (URL) separated by a space
79    -->
80    <Parameter 
81        name="eu.clarin.cmdi.componentregistry.componentSpecSchemaLocation" 
82        value="http://www.clarin.eu/cmd https://infra.clarin.eu/cmd/general-component-schema.xsd" />
83
84    <!--
85        Base location of the ISOcat service
86    -->
87    <Parameter 
88        name="eu.clarin.cmdi.componentregistry.isocatRestUrl" 
89        value="https://catalog.clarin.eu/isocat/rest/" />
90       
91    <Parameter 
92        name="eu.clarin.cmdi.componentregistry.jpaDialect" 
93        value="org.hibernate.dialect.PostgreSQLDialect" />
94
95       
96
97</Context>
Note: See TracBrowser for help on using the repository browser.