New version based on Vert.x tools.
|
|
5 年之前 | |
|---|---|---|
| config | 5 年之前 | |
| connector-app | 5 年之前 | |
| connector-core | 5 年之前 | |
| connector-model | 5 年之前 | |
| connector-module-afarcloud | 5 年之前 | |
| connector-module-ima | 5 年之前 | |
| connector-module-senslog1 | 5 年之前 | |
| docker | 5 年之前 | |
| gradle | 5 年之前 | |
| src | 5 年之前 | |
| .gitignore | 5 年之前 | |
| README.md | 5 年之前 | |
| build.gradle | 5 年之前 | |
| gradlew | 5 年之前 | |
| gradlew.bat | 5 年之前 | |
| settings.gradle | 5 年之前 |
A connector providing standardized interface for components outside the AFarCloud architecture and connecting internally to API of AFarCloud component will be designed and developed. The main goal of this OGC2AFC Connector will be to receive and publish sensor data e.g. from general sensors, collars. The OGC2AFC Connector will connect to the REST Server and will transform requests specified by the OGC SensorThings standard to the requests defined by the REST Server API. OGC SensorThings API interface, using OGC O&M + SensorThings data model (section Data format for communication with external systems). This project was created as a part of the project AS07.
Requirements: Gradle
To build the project run following command.
./gradle build
Requirements: Java 8+
To run the connector run following command.
java -cp "bin/libs/*" io.connector.Main -cf config/ogc2afc.yaml -p <port>
Requirements: Docker
docker build -t <image_custom_name> --build-arg config_file=<yaml_file> --build-arg port=<server_port> -f ./docker/Dockerfile .
docker run --name <container_name> -p <host_port>:<server_port> <image>