REST API to consume and import data in NGSI-LD protocol
The Aqüeducte can work with two anothers micro services:
- Aqüeconnect, that works with management (download, upload...) of csv files
- Aqüegeo, that works exclusive with geofiles like shapefiles.
-
First of all check status and stop local mongo server (if you have):
sudo systemctl status mongod
-
Stop your local mongo server
sudo systemctl stop mongod
-
In resources folder, edit the file "application.properties" changing the env to "production".
-
For build a new jar file, after some change on Aqüeducte, run this command in root folder:
sudo mvn clean -Dmaven.test.skip=true install
-
And, finally, for run Docker container run the command, in root folder too:
sudo docker-compose up -d