ℹ️ The service should not be directly accessible from the outside.
A standalone service which receives messages about changes in metadata documents maps them to a common format and ingests them into elasticsearch.
Dependencies that are needed to build and are not being downloaded via gradle:
- OpenJDK 17 or higher
$ bash build.sh PATH/TO/INSTALLATION/DIR
$ PATH/TO/INSTALLATION/DIR/run.sh
You might want to take a look at testbed4inf, which should make it easy to satisfy those.
- Python3
- PIP
- xmltodict
- wget
- a running RabbitMQ instance
- a running elasticsearch instance
sudo apt-get install --assume-yes python3 python3-pip
pip3 install xmltodict wget
docker network create network4datamanager
docker pull elasticsearch:7.9.3
docker run -d --name elasticsearch4metastore -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:7.9.3
docker run -d --hostname rabbitmq --net network4datamanager --name rabbitmq4docker -p 5672:5672 -p 15672:15672 rabbitmq:3-management
To start/stop a single service just type
docker start/stop name_of_container
e.g.:
docker stop elasticsearch4metastore