Hegira 4Clouds REST API
After having downloaded the source code two new files should be created under the folder src/main/webapp/WEB-INF/classes:
Contains the properties to configure RabbitMQ. Currently, the only needed property is the ip address of the broker:
Contains the properties to configure ZooKeeper. Currently, the only needed property is the ip address and the port of one of the ZooKeeper installation:
The project is Maven compliant, hence by executing the command
mvn clean package the proper packages will be created.
Maven generates a war archive (containing all the necessary dependencies) which should be copied in
webapps Tomcat folder.
After having started Tomcat, hegira-api component should be available at:
Rest API are described at: http://deib-polimi.github.io/hegira-api/.
In particular, Rest API for data migration are described here.
hegira-api component also exposes a set of Rest API on top of Apache ZooKeeper, in order to allow PaaS applications to:
- request new unique ids that allow Hegira 4Clouds to synchronize data across two databases.
- Check the synchronization status.
The same services are obtainable by IaaS applications by means of zkWrapper-client library.
Licensed under the Apache License, Version 2.0