New version based on Vert.x tools.

MSI\matet ec61381114 added senslog model + senslog sql client + senslog ogcSensorThings gateway пре 5 година
config ec61381114 added senslog model + senslog sql client + senslog ogcSensorThings gateway пре 5 година
connector-app 2fbcfbc0c4 edited readme, changed licence header in files пре 5 година
connector-core 2fbcfbc0c4 edited readme, changed licence header in files пре 5 година
connector-model 2fbcfbc0c4 edited readme, changed licence header in files пре 5 година
connector-module-afarcloud 2fbcfbc0c4 edited readme, changed licence header in files пре 5 година
connector-module-ima 6e0a65583d MIT license, javadoc, deleted senslog.common library, refactor scheduling пре 5 година
connector-module-senslog1 ec61381114 added senslog model + senslog sql client + senslog ogcSensorThings gateway пре 5 година
docker 4db7e6c1cf added docker, change @NavigationLink to absolute url пре 5 година
gradle 28c584e034 Initialization of connector platform пре 5 година
src 28c584e034 Initialization of connector platform пре 5 година
.gitignore 28c584e034 Initialization of connector platform пре 5 година
README.md 2fbcfbc0c4 edited readme, changed licence header in files пре 5 година
build.gradle ec61381114 added senslog model + senslog sql client + senslog ogcSensorThings gateway пре 5 година
gradlew 28c584e034 Initialization of connector platform пре 5 година
gradlew.bat 28c584e034 Initialization of connector platform пре 5 година
settings.gradle 28c584e034 Initialization of connector platform пре 5 година

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 is to receive and publish sensor data e.g. from general sensors, collars. The OGC2AFC Connector connects to the AFarCloud REST Server and transforms requests specified by the OGC SensorThings standard to the requests defined by the REST Server API.

This software was created as a part of the ECSEL JU project 783221 Aggregate FARming in the CLOUD (AFarCloud).

Build

Requirements: Gradle

./gradle build

Run

Requirements: Java 8+

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

Build docker image

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>

Usage

http://www.<domain>:<port>/api/AFarCloud/OGCSensorThings/Things