Changeset 6514


Ignore:
Timestamp:
09/21/15 14:07:28 (9 years ago)
Author:
davor.ostojic@oeaw.ac.at
Message:

vlo-vocabularies integration

Location:
vlo/branches/vlo-3.3-oeaw/vlo-importer/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.3-oeaw/vlo-importer/src/main/java/eu/clarin/cmdi/vlo/importer/PostProcessorsWithVocabularyMap.java

    r6509 r6514  
    3939                 try {
    4040                       
    41                         LOG.info("Reading configuration file from: {}", mapUrl);
     41                        LOG.info("Reading vocabulary file from: {}", mapUrl);
    4242                    // load records from file
    4343                        // in the future this should be loaded from CLAVAS directly and the file only used as fallback                 
  • vlo/branches/vlo-3.3-oeaw/vlo-importer/src/test/java/eu/clarin/cmdi/vlo/importer/ImporterTestcase.java

    r6415 r6514  
    1616public abstract class ImporterTestcase {
    1717
     18        private final String VOC_MAPS_PATH = "/maps/uniform_maps"
    1819    private final VloConfigFactory configFactory = new DefaultVloConfigFactory();
    1920    protected VloConfig config;
     
    4445        MetadataImporter.config.setComponentRegistryRESTURL("http://catalog.clarin.eu/ds/ComponentRegistry/rest/registry/profiles/");
    4546        //point to transformed maps
    46         MetadataImporter.config.setLicenseAvailabilityMapUrl("/uniform_maps" + MetadataImporter.config.getLicenseAvailabilityMapUrl());
    47         MetadataImporter.config.setLanguageNameVariantsUrl("/uniform_maps" + MetadataImporter.config.getLanguageNameVariantsUrl());
    48         MetadataImporter. config.setNationalProjectMapping("/uniform_maps" + MetadataImporter.config.getNationalProjectMapping());
    49         MetadataImporter.config.setOrganisationNamesUrl("/uniform_maps" + MetadataImporter.config.getOrganisationNamesUrl());
    50         MetadataImporter.config.setResourceClassMapUrl("/uniform_maps" + MetadataImporter.config.getResourceClassMapUrl());
     47        MetadataImporter.config.setLicenseAvailabilityMapUrl(VOC_MAPS_PATH + MetadataImporter.config.getLicenseAvailabilityMapUrl());
     48        MetadataImporter.config.setLanguageNameVariantsUrl(VOC_MAPS_PATH + MetadataImporter.config.getLanguageNameVariantsUrl());
     49        MetadataImporter. config.setNationalProjectMapping(VOC_MAPS_PATH + MetadataImporter.config.getNationalProjectMapping());
     50        MetadataImporter.config.setOrganisationNamesUrl(VOC_MAPS_PATH + MetadataImporter.config.getOrganisationNamesUrl());
     51        MetadataImporter.config.setResourceClassMapUrl(VOC_MAPS_PATH + MetadataImporter.config.getResourceClassMapUrl());
    5152       
    5253        config = MetadataImporter.config;
Note: See TracChangeset for help on using the changeset viewer.