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

Last change on this file since 5549 was 5549, checked in by olhsha@mpi.nl, 10 years ago

Added group service. Tested via the tomcat on loclahots (test URI and postman), old unit tests are adjusted and work well. Todo: retest on localhost tomcat, look at run-time exceptions, add new unit tests, adjust front-end

File size: 3.5 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 name="eu.clarin.cmdi.componentregistry.serviceRootUrl" value="${serviceRootUrl}"/>
44  <!--
45        Location that gets redirected to from /documentation.jsp, which in turn is linked to
46        from the Flex application through the 'Help' link button.
47    -->
48  <Parameter name="eu.clarin.cmdi.componentregistry.documentationUrl" value="http://www.clarin.eu/cmdi"/>
49  <!--
50        Space-separated list of users (getRemoteUser()) that should have access to the admin area of the ComponentRegistry
51    -->
52  <Parameter name="eu.clarin.cmdi.componentregistry.adminUsers" value="twagoo@mpi.nl olhsha@mpi.nl daan.broeder@mpi.nl dietuyt@mpi.nl Menzo.Windhouwer@mpi.nl"/>
53  <!--
54        Location of the CMDI general component schema that validates component specifications
55    -->
56  <Parameter name="eu.clarin.cmdi.componentregistry.generalComponentSchemaUrl" value="https://infra.clarin.eu/cmd/general-component-schema.xsd"/>
57  <!--
58        Location of the stylesheet that transforms component specifications into XML schema documents
59    -->
60  <Parameter name="eu.clarin.cmdi.componentregistry.component2SchemaXslUrl" value="https://infra.clarin.eu/cmd/xslt/comp2schema-v2/comp2schema.xsl"/>
61  <!--
62        Schema location that will go into xsi:schemaLocation attribute of component specification. Beware this should follow
63        XML standards and have a namespace component (URI) and schema location component (URL) separated by a space
64    -->
65  <Parameter name="eu.clarin.cmdi.componentregistry.componentSpecSchemaLocation" value="http://www.clarin.eu/cmd https://infra.clarin.eu/cmd/general-component-schema.xsd"/>
66  <!--
67        Base location of the ISOcat service
68    -->
69  <Parameter name="eu.clarin.cmdi.componentregistry.isocatRestUrl" value="https://catalog.clarin.eu/isocat/rest/"/>
70  <Parameter name="eu.clarin.cmdi.componentregistry.jpaDialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
71</Context>
Note: See TracBrowser for help on using the repository browser.