source: ComponentRegistry/branches/ComponentRegistry-2.0/ComponentRegistry/src/main/webapp/META-INF/context.xml @ 6887

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

New context parameters and method for determining public application URL
refs #844

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