New version based on Vert.x tools.

Lukas Cerny ef64b29a36 Refactoring code 4 gadi atpakaļ
config 6dfbb0f036 GitLab pipelines, refactored docker build, fixed filtering observations 4 gadi atpakaļ
connector-app 6dfbb0f036 GitLab pipelines, refactored docker build, fixed filtering observations 4 gadi atpakaļ
connector-core ef64b29a36 Refactoring code 4 gadi atpakaļ
connector-model ef64b29a36 Refactoring code 4 gadi atpakaļ
connector-module-afarcloud ef64b29a36 Refactoring code 4 gadi atpakaļ
connector-module-ima 95440d43e3 Fixed integration tests from CLI 4 gadi atpakaļ
connector-module-senslog1 4ca3e66585 Implemented push Observation and Thing 4 gadi atpakaļ
doc 768122e831 Implemented online integration tests 4 gadi atpakaļ
gradle 6dfbb0f036 GitLab pipelines, refactored docker build, fixed filtering observations 4 gadi atpakaļ
postman ef64b29a36 Refactoring code 4 gadi atpakaļ
src ef64b29a36 Refactoring code 4 gadi atpakaļ
.gitignore 28c584e034 Initialization of connector platform 5 gadi atpakaļ
.gitlab-ci.yml 6dfbb0f036 GitLab pipelines, refactored docker build, fixed filtering observations 4 gadi atpakaļ
Dockerfile ef64b29a36 Refactoring code 4 gadi atpakaļ
README.md ef64b29a36 Refactoring code 4 gadi atpakaļ
build.gradle 95440d43e3 Fixed integration tests from CLI 4 gadi atpakaļ
docker-compose.yaml 6dfbb0f036 GitLab pipelines, refactored docker build, fixed filtering observations 4 gadi atpakaļ
gradlew 6dfbb0f036 GitLab pipelines, refactored docker build, fixed filtering observations 4 gadi atpakaļ
gradlew.bat 6dfbb0f036 GitLab pipelines, refactored docker build, fixed filtering observations 4 gadi atpakaļ
settings.gradle ef64b29a36 Refactoring code 4 gadi atpakaļ

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