New version based on Vert.x tools.

Lukas Cerny 7650fa1442 Next finalized version allowing observation uploading 4 лет назад
config 98a763b87f Added license 5 лет назад
connector-app 03dce9bdd9 edited README, change license header in all files 5 лет назад
connector-core 7650fa1442 Next finalized version allowing observation uploading 4 лет назад
connector-model 7650fa1442 Next finalized version allowing observation uploading 4 лет назад
connector-module-afarcloud 7650fa1442 Next finalized version allowing observation uploading 4 лет назад
doc 7650fa1442 Next finalized version allowing observation uploading 4 лет назад
gradle 7650fa1442 Next finalized version allowing observation uploading 4 лет назад
src 28c584e034 Initialization of connector platform 5 лет назад
.gitignore 28c584e034 Initialization of connector platform 5 лет назад
.gitlab-ci.yml 7650fa1442 Next finalized version allowing observation uploading 4 лет назад
Dockerfile 7650fa1442 Next finalized version allowing observation uploading 4 лет назад
README.md 7650fa1442 Next finalized version allowing observation uploading 4 лет назад
build.gradle 7650fa1442 Next finalized version allowing observation uploading 4 лет назад
docker-compose.yaml 7650fa1442 Next finalized version allowing observation uploading 4 лет назад
gradlew 28c584e034 Initialization of connector platform 5 лет назад
gradlew.bat 28c584e034 Initialization of connector platform 5 лет назад
settings.gradle 7650fa1442 Next finalized version allowing observation uploading 4 лет назад

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

./gradlew build

Run

Requirements: Java 8+

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

Build docker image

docker compose build

Run docker image

docker compose up

Usage

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