New version based on Vert.x tools.

Lukas Cerny 98a763b87f Added license %!s(int64=5) %!d(string=hai) anos
config 98a763b87f Added license %!s(int64=5) %!d(string=hai) anos
connector-app 98a763b87f Added license %!s(int64=5) %!d(string=hai) anos
connector-core 98a763b87f Added license %!s(int64=5) %!d(string=hai) anos
connector-model 98a763b87f Added license %!s(int64=5) %!d(string=hai) anos
connector-module-afarcloud 98a763b87f Added license %!s(int64=5) %!d(string=hai) anos
connector-module-ima 6e0a65583d MIT license, javadoc, deleted senslog.common library, refactor scheduling %!s(int64=5) %!d(string=hai) anos
connector-module-senslog1 6e0a65583d MIT license, javadoc, deleted senslog.common library, refactor scheduling %!s(int64=5) %!d(string=hai) anos
docker 4db7e6c1cf added docker, change @NavigationLink to absolute url %!s(int64=5) %!d(string=hai) anos
gradle 28c584e034 Initialization of connector platform %!s(int64=5) %!d(string=hai) anos
src 28c584e034 Initialization of connector platform %!s(int64=5) %!d(string=hai) anos
.gitignore 28c584e034 Initialization of connector platform %!s(int64=5) %!d(string=hai) anos
README.md 98a763b87f Added license %!s(int64=5) %!d(string=hai) anos
build.gradle 6e0a65583d MIT license, javadoc, deleted senslog.common library, refactor scheduling %!s(int64=5) %!d(string=hai) anos
gradlew 28c584e034 Initialization of connector platform %!s(int64=5) %!d(string=hai) anos
gradlew.bat 28c584e034 Initialization of connector platform %!s(int64=5) %!d(string=hai) anos
settings.gradle 28c584e034 Initialization of connector platform %!s(int64=5) %!d(string=hai) anos

README.md

Description

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.

Build

Requirements: Gradle

To build the project run following command.

./gradle build

Run

Requirements: Java 8+

To run the connector run following command.

java -cp "bin/libs/*" io.connector.Main -cf config/ogc2afc.yaml -p <port>

Build docker image

Requirements: Docker

docker build -t <image_custom_name> --build-arg config_file=<yaml_file> --build-arg port=<server_port> -f ./docker/Dockerfile .

Run docker image

docker run --name <container_name> -p <host_port>:<server_port> <image>