Ignore:
Timestamp:
07/23/15 12:59:01 (9 years ago)
Author:
Twan Goosen
Message:

Data roots are include via XInclude, file to include determined via property. Default build has not changed (now a profile called 'test-local'). Filtered (post-build) config files are now included in the distribution package instead of from source.
Fixes #746

File:
1 copied

Legend:

Unmodified
Added
Removed
  • vlo/trunk/vlo-commons/src/main/resources/dataroots-local.xml

    r6408 r6409  
    1 <VloConfig>
    2    
    3     <deleteAllFirst>${vloconfig.deleteAllFirst}</deleteAllFirst>
    4    
    5     <maxDaysInSolr>${vloconfig.maxDaysInSolr}</maxDaysInSolr>
    6    
    7     <solrUrl>${vloconfig.solrUrl}</solrUrl>
    8    
    9     <homeUrl>${vloconfig.homeUrl}</homeUrl>
    10    
    11     <helpUrl>${vloconfig.helpUrl}</helpUrl>
    12    
    13     <dataRoots>
    14         <DataRoot>
    15             <originName>CLARIN Centres</originName>
    16             <rootFile>/lat/apache/htdocs/oai-harvester/clarin/results/cmdi/</rootFile>           
    17             <prefix>http://catalog.clarin.eu/</prefix>
    18             <tostrip>/lat/apache/htdocs/</tostrip>
    19             <deleteFirst>false</deleteFirst>
    20         </DataRoot>
     1<dataRoots>
     2    <DataRoot>
     3        <originName>CLARIN Centres</originName>
     4        <rootFile>/lat/apache/htdocs/oai-harvester/clarin/results/cmdi/</rootFile>           
     5        <prefix>http://catalog.clarin.eu/</prefix>
     6        <tostrip>/lat/apache/htdocs/</tostrip>
     7        <deleteFirst>false</deleteFirst>
     8    </DataRoot>
    219
    22         <DataRoot>
    23             <originName>Other</originName>
    24             <rootFile>/lat/apache/htdocs/oai-harvester/others/results/cmdi</rootFile>           
    25             <prefix>http://catalog.clarin.eu/</prefix>
    26             <tostrip>/lat/apache/htdocs/</tostrip>
    27             <deleteFirst>false</deleteFirst>
    28         </DataRoot>
    29     </dataRoots>
    30    
    31     <!-- Sets the maximum number of page instances which will be stored in the application scoped second level cache for faster retrieval -->
    32     <pagesInApplicationCache>40</pagesInApplicationCache>
    33    
    34     <!-- Sets the maximum size (in KILOBYTES) of the File where page instances per session are stored. -->
    35     <sessionCacheSize>10000</sessionCacheSize>
    36    
    37     <maxDocsInList>128</maxDocsInList>
    38    
    39     <minDocsInSolrQueue>128</minDocsInSolrQueue>
    40    
    41     <solrTimeOut>300</solrTimeOut>
    42    
    43     <maxFileSize>10000000</maxFileSize>
    44    
    45     <useHandleResolver>false</useHandleResolver>
    46    
    47     <printMapping>false</printMapping>
    48    
    49     <!-- leave empty to use default packaged definition -->
    50     <facetConceptsFile><!-- use default packaged definition --></facetConceptsFile>
    51    
    52     <profileSchemaUrl>http://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/profiles/{PROFILE_ID}/xsd</profileSchemaUrl>
    53    
    54     <componentRegistryRESTURL>http://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/profiles/</componentRegistryRESTURL>
    55    
    56     <handleServerUrl>http://hdl.handle.net/</handleServerUrl>
    57    
    58     <nationalProjectMapping>/nationalProjectsMapping.xml</nationalProjectMapping>
    59    
    60     <organisationNamesUrl>/OrganisationControlledVocabulary.xml</organisationNamesUrl>
    61    
    62     <languageNameVariantsUrl>/LanguageNameVariantsMap.xml</languageNameVariantsUrl>
    63    
    64     <licenseAvailabilityMapUrl>/LicenseAvailabilityMap.xml</licenseAvailabilityMapUrl>
    65    
    66     <!-- resourceAvailabilityMapUrl
    67         Facet field used to populate collection selector on search page
    68         If disabled, the collection facet will not be shown (can be used to
    69         move the collection facet in with the other facets).
    70        
    71         Uncomment to activate the separate collection facet display item.
    72     -->
    73     <!--<collectionFacet>collection</collectionFacet>-->
    74    
    75     <!-- Fields shown as facets on the search page -->
    76     <facetFields>       
    77         <facetField>languageCode</facetField>
    78         <facetField>collection</facetField>
    79         <facetField>resourceClass</facetField>
    80         <facetField>continent</facetField>
    81         <facetField>country</facetField>
    82         <facetField>modality</facetField>
    83         <facetField>genre</facetField>
    84         <facetField>subject</facetField>
    85         <facetField>format</facetField>
    86         <facetField>organisation</facetField>
    87         <facetField>availability</facetField>
    88         <facetField>nationalProject</facetField>
    89         <facetField>keywords</facetField>
    90         <facetField>dataProvider</facetField>
    91     </facetFields>
    92        
    93     <simpleSearchFacetFields>
    94         <simpleSearchFacetField>languageCode</simpleSearchFacetField>
    95         <simpleSearchFacetField>collection</simpleSearchFacetField>
    96         <simpleSearchFacetField>resourceClass</simpleSearchFacetField>
    97         <simpleSearchFacetField>modality</simpleSearchFacetField>
    98         <simpleSearchFacetField>genre</simpleSearchFacetField>
    99     </simpleSearchFacetFields>
    100    
    101     <!-- Fields shown in expanded search results on the search page -->
    102     <searchResultFields>
    103         <searchResultField>name</searchResultField>
    104         <searchResultField>country</searchResultField>
    105         <searchResultField>languageCode</searchResultField>
    106         <searchResultField>modality</searchResultField>
    107         <searchResultField>subject</searchResultField>
    108         <searchResultField>genre</searchResultField>
    109         <searchResultField>organisation</searchResultField>
    110         <searchResultField>collection</searchResultField>
    111         <searchResultField>nationalProject</searchResultField>
    112     </searchResultFields>
    113    
    114     <!-- Fields ignored in the record page -->
    115     <ignoredFields>
    116         <ignoredField>format</ignoredField>
    117         <ignoredField>score</ignoredField>
    118     </ignoredFields>
    119    
    120     <!-- Fields shown as technical fields in the record page -->
    121     <technicalFields>
    122         <technicalField>id</technicalField>
    123         <technicalField>_selfLink</technicalField>
    124         <technicalField>dataProvider</technicalField>
    125         <technicalField>metadataSource</technicalField>
    126         <technicalField>_landingPageRef</technicalField>
    127         <technicalField>_searchPageRef</technicalField>
    128         <technicalField>_contentSearchRef</technicalField>
    129         <technicalField>_lastSeen</technicalField>
    130         <technicalField>_componentProfile</technicalField>
    131         <technicalField>_hierarchyWeight</technicalField>
    132         <technicalField>_hasPart</technicalField>
    133         <technicalField>_isPartOf</technicalField>
    134     </technicalFields>
    135    
    136     <languageFilters>
    137         <languageFilter>filterOne</languageFilter>
    138         <languageFilter>filterTwo</languageFilter>
    139         <languageFilter>filterThree</languageFilter>
    140     </languageFilters>
    141    
    142     <facetOverviewLength>30</facetOverviewLength>
    143    
    144     <countryComponentUrl>http://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/components/clarin.eu:cr1:c_1271859438104/xml</countryComponentUrl>
    145    
    146     <languageLinkTemplate>https://infra.clarin.eu/content/language_info/data/{}.html</languageLinkTemplate>
    147    
    148     <feedbackFromUrl>http://www.clarin.eu/node/3759?url=</feedbackFromUrl>
    149 
    150     <language2LetterCodeComponentUrl>http://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/components/clarin.eu:cr1:c_1271859438109/xml</language2LetterCodeComponentUrl>
    151    
    152     <language3LetterCodeComponentUrl>http://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/components/clarin.eu:cr1:c_1271859438110/xml</language3LetterCodeComponentUrl>
    153    
    154     <silToISO639CodesUrl>http://www.clarin.eu/cmd/xslt/sil_to_iso6393.xml</silToISO639CodesUrl>
    155    
    156     <reverseProxyPrefix></reverseProxyPrefix>
    157    
    158     <FederatedContentSearchUrl>http://weblicht.sfs.uni-tuebingen.de/Aggregator/</FederatedContentSearchUrl>
    159    
    160     <cqlEndpointFilter>http://cqlservlet.mpi.nl/</cqlEndpointFilter>
    161    
    162     <cqlEndpointAlternative>http://cqlservlet.mpi.nl/</cqlEndpointAlternative>
    163    
    164     <!-- makes the score for the result ranking visible in the search results -->
    165     <showResultScores>true</showResultScores>
    166 </VloConfig>
     10    <DataRoot>
     11        <originName>Other</originName>
     12        <rootFile>/lat/apache/htdocs/oai-harvester/others/results/cmdi</rootFile>           
     13        <prefix>http://catalog.clarin.eu/</prefix>
     14        <tostrip>/lat/apache/htdocs/</tostrip>
     15        <deleteFirst>false</deleteFirst>
     16    </DataRoot>
     17</dataRoots>
Note: See TracChangeset for help on using the changeset viewer.