GlobalRegistry HowTo - reTHINK-project/dev-registry-global GitHub Wiki

Global Registry

Running the service

  • Docker (tested with 1.12.6 on Mac OS)

  • Java 8

  • Ports UDP/TCP/5001 and TCP/5002 accessible

  • Build the jar file as described below

  • Optional: Edit Dockerfile for desired startup parameters

  • Run docker build . to build the container

  • To run use docker run -p 5001:5001 -p 5002:5002 %CONTAINERNAME%

Building

Prerequisites

  • Eclipse (not really required, but it makes things easier)
  • Maven
  • Java 8
  • Docker (tested with 1.12.6)

Import project to Eclipse

  • Import dev-registry-global to Eclipse project (Eclipse: File -> import -> Projects from Git -> Clone URI -> "https://github.com/reTHINK-project/dev-registry-global.git" -> select desired branch, usually "master" -> Import as general Project" -> finish)
  • Right click on the project, select Configure -> Convert to Maven project

Test run

  • To run the server, select file "eu.rethink.globalregistry.GlobalRegistryServer.java" and click the run button
  • To run the DatasetTool, select the file "eu.rethink.globalregistry.test.DatasetTool.java" and click the run button

Build project jar

  • Right click on the project, Run as -> Maven clean
  • Right click on the project, Run as -> Maven install
  • compiled jar file is located in /target/