The SITools2 metacatalog is a web server used to harvest earth observation catalogs (CSW and Opensearch) and to provide a fast search engine on all the data harvested.
It is based on top of the SITools2 framework
SITools2 github page : http://sourceforge.net/projects/sitools2/
For more information on SITools2 : https://github.com/SITools2/core-v2
Release notes : README.txt
The metacatalog is composed of 2 parts:
- A standalone REST server which is used to harvest and index catalogs
- A SITools2 extension, which is a set of extensions to the SITools2 server
Follow the instruction on the page https://github.com/SITools2/core-v2 to build SITools2
Download the Sitools2 installer
Execute the installer
$ java -jar SITools2-<version>-install.jar
And follow the instructions
$ git clone https://github.com/SITools2/Metacatalog.git metacatalog
$ cd metacatalog/workspace/fr.cnes.sitools.metacatalogue.core/
Edit build.properties
and change the value of the HOST
property (for example HOST = new-dev)
Make a copy of conf/build/properties/build-example.properties
to conf/build/properties/build-new-dev.properties
$ cp conf/build/properties/build-example.properties conf/build/properties/build-new-dev.properties
Edit the newly created file and set the ROOT_DIRECTORY
property to the metacatalogue
folder
Build the sources using ant
$ ant
$ cd ../../workspace/fr.cnes.sitools.ext.metacatalogue/
Edit build.properties
and set the ROOT_DIRECTORY
property to the SITools2 path (sitools2-v2
) and the SITOOLS_METACATALOGUE_CORE_DIR
to the metacatalog/workspace/fr.cnes.sitools.metacatalogue.core
folder
Build the sources using ant
$ ant
Copy the generated Jar to the extension folder of SITools2
$ cp dist/fr.cnes.sitools.ext.metacatalogue.jar ../../../sitools2-v2/workspace/fr.cnes.sitools.core/ext
Build the server and extensions jars as explained above
$ cd metacatalog/workspace/metacatalogue-install-izpack
Edit build.properties
and set the ROOT_DIRECTORY
property to the SITools2 path (sitools2-v2
) and the SITOOLS_METACATALOGUE_CORE_DIR
to the metacatalog
folder
Build the installer using ant
$ ant
$ java -jar SITools2-Metacatalogue-<version>-install.jar
$ sh ./metacatalog/workspace/fr.cnes.sitools.metacatalogue.core/metacatalogue.sh start
$ sh ../sitools2-v2/sitools.sh start
or
$ ../sitools2-v2/workspace/fr.cnes.sitools.core/sitools start
if source
is not installed on your computer.
$ cd metacatalog/Solr
$ sh ./solr start
Wait for a few seconds and stop the SolR server using ctlr+c
Copy all jar from the metacatalog_specific_libs
folder to the lib SolR lib folder
$ cp metacatalog_specific_libs/* solr-webapp/webapp/WEB-INF/lib/