Hdac private platform is licensed under the MIT License.
Copyright (c) 2018-2019 Hdac Technology AG
About source code
- JavaSE 1.8 optimization
- Using Eclipse Oxygen.1a Release (4.7.1a)
- Use HdacJavaLib.jar,
- This jar file must be included in the project.
About docker image
- Centos
- Crontab
You can download docker image in Bridgenode docker hub.
- anchoring_v09 (docker-compose: anchoring-docker-compose)
- nfsserver_v09 (docker-compose: nfsserver-docker-compose)
- Download the source code and add the project through Eclipse.
- File > Import > Maven | Existing Maven Projects
- Choose the folder where the source is located, check pom.xml, and complete the import.
- After Project> Clean, Run Build Project.
Anchoring service module is a JAVA application operated periodically through CRONTAB.
CRONTAB operate main.java(docker/main/Main.java) including this source code as jar package.
- Do maven build of project, except directory docker
- We need jar package file on target directory
- All library files are managed by nfsserver, copy the jar file to the nfsserver docker container.
- $ docker cp Anchoring-0.0.1.jar nfsserver:/opt/shareUtil/lib (After running nfsserver container)
- Operate nfsserver docker container
- Operate anchoring docker container
- Checking share library inside anchoring container
- $ docker exec -it anchoring bash
- $ cd anchor/shareLib
- configure database config file and CRONTAB shedule (anchor/config, crontab -e)
- After configuration, start crontab serivce
- $ systemctl start crond
A detailed description of the docker setting and operation can be found here Bridgenode docker hub.