Lukas Cerny 5 лет назад
Родитель
Сommit
98a763b87f
94 измененных файлов с 524 добавлено и 71 удалено
  1. 29 4
      README.md
  2. 16 0
      config/ogc2afc.yaml
  3. 0 58
      config/test.yaml
  4. 1 1
      connector-app/license.txt
  5. 3 0
      connector-app/src/main/java/io/connector/app/AppConfig.java
  6. 3 1
      connector-app/src/main/java/io/connector/app/Application.java
  7. 3 0
      connector-app/src/main/java/io/connector/app/Parameters.java
  8. 1 1
      connector-core/license.txt
  9. 3 0
      connector-core/src/main/java/io/connector/core/AbstractGateway.java
  10. 3 0
      connector-core/src/main/java/io/connector/core/AbstractModule.java
  11. 3 0
      connector-core/src/main/java/io/connector/core/AddressPath.java
  12. 3 0
      connector-core/src/main/java/io/connector/core/DataCollection.java
  13. 3 0
      connector-core/src/main/java/io/connector/core/EventInfo.java
  14. 3 0
      connector-core/src/main/java/io/connector/core/Fail.java
  15. 3 0
      connector-core/src/main/java/io/connector/core/Handler.java
  16. 3 0
      connector-core/src/main/java/io/connector/core/Message.java
  17. 3 0
      connector-core/src/main/java/io/connector/core/MessageHeader.java
  18. 3 0
      connector-core/src/main/java/io/connector/core/Module.java
  19. 3 0
      connector-core/src/main/java/io/connector/core/ModuleDeployer.java
  20. 3 0
      connector-core/src/main/java/io/connector/core/ModuleDescriptor.java
  21. 3 0
      connector-core/src/main/java/io/connector/core/ModuleInfo.java
  22. 3 0
      connector-core/src/main/java/io/connector/core/ModuleLoader.java
  23. 3 0
      connector-core/src/main/java/io/connector/core/ModuleProvider.java
  24. 3 0
      connector-core/src/main/java/io/connector/core/Reply.java
  25. 3 0
      connector-core/src/main/java/io/connector/core/VertxHttpServer.java
  26. 3 0
      connector-core/src/main/java/io/connector/core/VertxScheduler.java
  27. 3 0
      connector-core/src/main/java/io/connector/core/config/ConfigurationService.java
  28. 3 0
      connector-core/src/main/java/io/connector/core/config/DefaultConfig.java
  29. 3 0
      connector-core/src/main/java/io/connector/core/config/HostConfig.java
  30. 3 0
      connector-core/src/main/java/io/connector/core/config/PropertyConfig.java
  31. 3 0
      connector-core/src/main/java/io/connector/core/config/SchedulerConfig.java
  32. 3 0
      connector-core/src/main/java/io/connector/core/config/database/DatabaseBuilder.java
  33. 3 0
      connector-core/src/main/java/io/connector/core/config/database/DatabaseBuilderImpl.java
  34. 3 0
      connector-core/src/main/java/io/connector/core/config/database/DatabaseConfigurationService.java
  35. 3 0
      connector-core/src/main/java/io/connector/core/config/database/DatabaseConfigurationServiceImpl.java
  36. 3 0
      connector-core/src/main/java/io/connector/core/config/file/FileBuilder.java
  37. 3 0
      connector-core/src/main/java/io/connector/core/config/file/FileBuilderImpl.java
  38. 3 0
      connector-core/src/main/java/io/connector/core/config/file/FileConfigurationService.java
  39. 3 0
      connector-core/src/main/java/io/connector/core/config/file/FileConfigurationServiceImpl.java
  40. 3 0
      connector-core/src/main/java/io/connector/core/http/ContentType.java
  41. 3 0
      connector-core/src/main/java/io/connector/core/http/Header.java
  42. 3 0
      connector-core/src/main/java/io/connector/core/http/HttpClient.java
  43. 3 0
      connector-core/src/main/java/io/connector/core/http/HttpCode.java
  44. 3 0
      connector-core/src/main/java/io/connector/core/http/HttpMethod.java
  45. 3 0
      connector-core/src/main/java/io/connector/core/http/HttpRequest.java
  46. 3 0
      connector-core/src/main/java/io/connector/core/http/HttpRequestBuilder.java
  47. 3 0
      connector-core/src/main/java/io/connector/core/http/HttpResponse.java
  48. 3 0
      connector-core/src/main/java/io/connector/core/http/HttpResponseBuilder.java
  49. 3 0
      connector-core/src/main/java/io/connector/core/http/RequestUriComponent.java
  50. 3 0
      connector-core/src/main/java/io/connector/core/http/RequestUriParser.java
  51. 3 0
      connector-core/src/main/java/io/connector/core/http/URLBuilder.java
  52. 3 0
      connector-core/src/main/java/io/connector/core/json/DeserializeFormatter.java
  53. 3 0
      connector-core/src/main/java/io/connector/core/json/JsonAttributeFormatter.java
  54. 3 0
      connector-core/src/main/java/io/connector/core/json/JsonDeserializer.java
  55. 3 0
      connector-core/src/main/java/io/connector/core/json/JsonSerializer.java
  56. 3 0
      connector-core/src/main/java/io/connector/core/json/SerializeFormatter.java
  57. 3 0
      connector-core/src/main/java/io/connector/core/util/StringUtils.java
  58. 21 0
      connector-model/license.txt
  59. 9 0
      connector-model/src/main/java/io/connector/model/afarcloud/Location.java
  60. 9 0
      connector-model/src/main/java/io/connector/model/afarcloud/MultiSensor.java
  61. 9 0
      connector-model/src/main/java/io/connector/model/afarcloud/MultiSimpleObservation.java
  62. 9 0
      connector-model/src/main/java/io/connector/model/afarcloud/Observation.java
  63. 9 0
      connector-model/src/main/java/io/connector/model/afarcloud/ResourceMeasurement.java
  64. 9 0
      connector-model/src/main/java/io/connector/model/afarcloud/ResponseModel.java
  65. 9 0
      connector-model/src/main/java/io/connector/model/afarcloud/SensorTelemetry.java
  66. 9 0
      connector-model/src/main/java/io/connector/model/afarcloud/SimpleObservation.java
  67. 9 0
      connector-model/src/main/java/io/connector/model/ima/IMAModel.java
  68. 9 0
      connector-model/src/main/java/io/connector/model/senslog1/Observation.java
  69. 9 0
      connector-model/src/main/java/io/connector/model/senslog1/Phenomenon.java
  70. 9 0
      connector-model/src/main/java/io/connector/model/senslog1/Position.java
  71. 9 0
      connector-model/src/main/java/io/connector/model/senslog1/Sensor.java
  72. 9 0
      connector-model/src/main/java/io/connector/model/senslog1/SensorData.java
  73. 9 0
      connector-model/src/main/java/io/connector/model/senslog1/SensorInfo.java
  74. 9 0
      connector-model/src/main/java/io/connector/model/senslog1/Unit.java
  75. 9 0
      connector-model/src/main/java/io/connector/model/senslog1/UnitData.java
  76. 9 0
      connector-model/src/main/java/io/connector/model/senslog1/UnitInfo.java
  77. 9 0
      connector-model/src/main/java/io/connector/model/sensorthings/Datastream.java
  78. 9 0
      connector-model/src/main/java/io/connector/model/sensorthings/FeatureOfInterest.java
  79. 9 0
      connector-model/src/main/java/io/connector/model/sensorthings/Filter.java
  80. 9 0
      connector-model/src/main/java/io/connector/model/sensorthings/Geometry.java
  81. 9 0
      connector-model/src/main/java/io/connector/model/sensorthings/HistoricalLocation.java
  82. 9 0
      connector-model/src/main/java/io/connector/model/sensorthings/Location.java
  83. 9 0
      connector-model/src/main/java/io/connector/model/sensorthings/Observation.java
  84. 9 0
      connector-model/src/main/java/io/connector/model/sensorthings/ObservedProperty.java
  85. 9 0
      connector-model/src/main/java/io/connector/model/sensorthings/Sensor.java
  86. 9 1
      connector-model/src/main/java/io/connector/model/sensorthings/Thing.java
  87. 21 0
      connector-module-afarcloud/license.txt
  88. 3 0
      connector-module-afarcloud/src/main/java/io/connector/module/afarcloud/AFCConfig.java
  89. 3 1
      connector-module-afarcloud/src/main/java/io/connector/module/afarcloud/AFCHttpClient.java
  90. 3 1
      connector-module-afarcloud/src/main/java/io/connector/module/afarcloud/AFCModule.java
  91. 3 1
      connector-module-afarcloud/src/main/java/io/connector/module/afarcloud/AFCModuleProvider.java
  92. 9 0
      connector-module-afarcloud/src/main/java/io/connector/module/afarcloud/Filter.java
  93. 3 1
      connector-module-afarcloud/src/main/java/io/connector/module/afarcloud/gateway/OGCSensorThingsGateway.java
  94. 3 1
      connector-module-afarcloud/src/main/java/io/connector/module/afarcloud/gateway/SensLog1Gateway.java

+ 29 - 4
README.md

@@ -1,11 +1,36 @@
-# connector
+# Description
 
-New version based on Vert.x tools.
+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
 
-`docker build -t <custom_name> --build-arg config_file=<yaml_file> --build-arg port=<server_port> -f ./docker/Dockerfile .`
+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 <custon_name> -p <user_port>:<server_port> <image_id>`
+`docker run --name <container_name> -p <host_port>:<server_port> <image>`

+ 16 - 0
config/ogc2afc.yaml

@@ -0,0 +1,16 @@
+
+
+services:
+
+  AFC:
+      retrievalApi:
+        domain: "http://torcos.etsist.upm.es:9219/"
+
+      telemetryApi:
+        domain: "https://torcos.etsist.upm.es:9207"
+
+      infoApi:
+        domain: "https://storage07-afarcloud.qa.pdmfc.com/storage/rest/"
+
+      name: "AFarCloud"
+      provider: "io.connector.module.afarcloud.AFCModuleProvider"

+ 0 - 58
config/test.yaml

@@ -1,58 +0,0 @@
-
-
-services:
-
-  senslog1:
-      api: &apiDomain
-        domain: "http://foodie.lesprojekt.cz:8080/MapLogOT/"
-
-      name: "Foodie SensLog V1"
-      provider: "io.connector.module.senslog1.SensLog1ModuleProvider"
-
-      user: "afarcloud"
-      group: "afc"
-
-      sensorServiceHost:
-        <<: *apiDomain
-        path: "SensorService"
-
-      dataServiceHost:
-        <<: *apiDomain
-        path: "DataService"
-
-      feederServiceHost:
-        <<: *apiDomain
-        path: "FeederServlet"
-
-  IMA:
-      api: &apiDomain
-        domain: "https://iotlorawan.azurewebsites.net"
-
-      name: "IoT LoraWan"
-      provider: "io.connector.module.ima.ImaModuleProvider"
-
-
-  AFC:
-      retrievalApi:
-        domain: "http://torcos.etsist.upm.es:9219/"
-
-      telemetryApi:
-        domain: "https://torcos.etsist.upm.es:9207"
-
-      infoApi:
-        domain: "https://storage07-afarcloud.qa.pdmfc.com/storage/rest/"
-
-      name: "AFarCloud"
-      provider: "io.connector.module.afarcloud.AFCModuleProvider"
-
-
-scheduler:
-#  senslog1:
-#      period: 15
-#      consumer: "test"
-#      config:
-#        startDate: "2020-08-05T12:24:17[Europe/Prague]"
-#        allowedStations:
-#          # unitId: [sensorId...]
-#          10002222: [410010000, 560030000, 340020000, 380010000, 380090000]
-#          10002376: [410010000, 560030000, 340020000, 380010000, 380090000]

+ 1 - 1
connector-app/license → connector-app/license.txt

@@ -1,6 +1,6 @@
 The MIT License
 
-Copyright (c) 2020 University of West Bohemia, https://www.zcu.cz/en
+Copyright (c) 2020 University of West Bohemia (UWB) https://www.zcu.cz/en, LESPROJEKT-SLUŽBY s.r.o. (LESP) https://www.lesprojekt.cz/en
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal

+ 3 - 0
connector-app/src/main/java/io/connector/app/AppConfig.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.app;
 
 import java.io.IOException;

+ 3 - 1
connector-app/src/main/java/io/connector/app/Application.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.app;
 
 import io.connector.core.util.StringUtils;
@@ -18,7 +21,6 @@ import static io.connector.core.ModuleLoader.loadModules;
 
 /**
  *
- *
  * @author Lukas Cerny
  * @version 1.0
  * @since 1.0

+ 3 - 0
connector-app/src/main/java/io/connector/app/Parameters.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.app;
 
 import com.beust.jcommander.JCommander;

+ 1 - 1
connector-core/license → connector-core/license.txt

@@ -1,6 +1,6 @@
 The MIT License
 
-Copyright (c) 2020 University of West Bohemia, https://www.zcu.cz/en
+Copyright (c) 2020 University of West Bohemia (UWB) https://www.zcu.cz/en, LESPROJEKT-SLUŽBY s.r.o. (LESP) https://www.lesprojekt.cz/en
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal

+ 3 - 0
connector-core/src/main/java/io/connector/core/AbstractGateway.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import io.connector.core.http.RequestUriComponent;

+ 3 - 0
connector-core/src/main/java/io/connector/core/AbstractModule.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import io.vertx.ext.web.Router;

+ 3 - 0
connector-core/src/main/java/io/connector/core/AddressPath.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import static io.connector.core.AddressPath.Creator.create;

+ 3 - 0
connector-core/src/main/java/io/connector/core/DataCollection.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import io.vertx.core.buffer.Buffer;

+ 3 - 0
connector-core/src/main/java/io/connector/core/EventInfo.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import io.vertx.core.json.JsonObject;

+ 3 - 0
connector-core/src/main/java/io/connector/core/Fail.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 /**

+ 3 - 0
connector-core/src/main/java/io/connector/core/Handler.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import io.vertx.core.json.Json;

+ 3 - 0
connector-core/src/main/java/io/connector/core/Message.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import io.vertx.core.MultiMap;

+ 3 - 0
connector-core/src/main/java/io/connector/core/MessageHeader.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 /**

+ 3 - 0
connector-core/src/main/java/io/connector/core/Module.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import io.vertx.core.AbstractVerticle;

+ 3 - 0
connector-core/src/main/java/io/connector/core/ModuleDeployer.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import io.vertx.core.*;

+ 3 - 0
connector-core/src/main/java/io/connector/core/ModuleDescriptor.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import io.connector.core.config.DefaultConfig;

+ 3 - 0
connector-core/src/main/java/io/connector/core/ModuleInfo.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import io.vertx.core.buffer.Buffer;

+ 3 - 0
connector-core/src/main/java/io/connector/core/ModuleLoader.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import io.connector.core.config.ConfigurationService;

+ 3 - 0
connector-core/src/main/java/io/connector/core/ModuleProvider.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 /**

+ 3 - 0
connector-core/src/main/java/io/connector/core/Reply.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import io.vertx.core.eventbus.DeliveryOptions;

+ 3 - 0
connector-core/src/main/java/io/connector/core/VertxHttpServer.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import com.fasterxml.jackson.annotation.JsonInclude;

+ 3 - 0
connector-core/src/main/java/io/connector/core/VertxScheduler.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core;
 
 import io.connector.core.config.SchedulerConfig;

+ 3 - 0
connector-core/src/main/java/io/connector/core/config/ConfigurationService.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.config;
 
 import io.connector.core.ModuleDescriptor;

+ 3 - 0
connector-core/src/main/java/io/connector/core/config/DefaultConfig.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.config;
 
 /**

+ 3 - 0
connector-core/src/main/java/io/connector/core/config/HostConfig.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.config;
 
 /**

+ 3 - 0
connector-core/src/main/java/io/connector/core/config/PropertyConfig.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.config;
 
 import java.time.LocalDateTime;

+ 3 - 0
connector-core/src/main/java/io/connector/core/config/SchedulerConfig.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.config;
 
 import io.vertx.core.json.JsonObject;

+ 3 - 0
connector-core/src/main/java/io/connector/core/config/database/DatabaseBuilder.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.config.database;
 
 

+ 3 - 0
connector-core/src/main/java/io/connector/core/config/database/DatabaseBuilderImpl.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.config.database;
 
 

+ 3 - 0
connector-core/src/main/java/io/connector/core/config/database/DatabaseConfigurationService.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.config.database;
 
 import io.connector.core.config.ConfigurationService;

+ 3 - 0
connector-core/src/main/java/io/connector/core/config/database/DatabaseConfigurationServiceImpl.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.config.database;
 
 import io.connector.core.ModuleDescriptor;

+ 3 - 0
connector-core/src/main/java/io/connector/core/config/file/FileBuilder.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.config.file;
 
 /**

+ 3 - 0
connector-core/src/main/java/io/connector/core/config/file/FileBuilderImpl.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.config.file;
 
 import org.apache.logging.log4j.LogManager;

+ 3 - 0
connector-core/src/main/java/io/connector/core/config/file/FileConfigurationService.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.config.file;
 
 import io.connector.core.config.ConfigurationService;

+ 3 - 0
connector-core/src/main/java/io/connector/core/config/file/FileConfigurationServiceImpl.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.config.file;
 
 import io.connector.core.util.StringUtils;

+ 3 - 0
connector-core/src/main/java/io/connector/core/http/ContentType.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.http;
 
 /**

+ 3 - 0
connector-core/src/main/java/io/connector/core/http/Header.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.http;
 
 /**

+ 3 - 0
connector-core/src/main/java/io/connector/core/http/HttpClient.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.http;
 
 import io.connector.core.util.StringUtils;

+ 3 - 0
connector-core/src/main/java/io/connector/core/http/HttpCode.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.http;
 
 public class HttpCode {

+ 3 - 0
connector-core/src/main/java/io/connector/core/http/HttpMethod.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.http;
 
 public enum HttpMethod {

+ 3 - 0
connector-core/src/main/java/io/connector/core/http/HttpRequest.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.http;
 
 import io.vertx.core.json.Json;

+ 3 - 0
connector-core/src/main/java/io/connector/core/http/HttpRequestBuilder.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.http;
 
 

+ 3 - 0
connector-core/src/main/java/io/connector/core/http/HttpResponse.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.http;
 
 import io.vertx.core.json.Json;

+ 3 - 0
connector-core/src/main/java/io/connector/core/http/HttpResponseBuilder.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.http;
 
 import java.util.Map;

+ 3 - 0
connector-core/src/main/java/io/connector/core/http/RequestUriComponent.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.http;
 
 import static io.connector.core.AddressPath.Creator.create;

+ 3 - 0
connector-core/src/main/java/io/connector/core/http/RequestUriParser.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.http;
 
 import io.vertx.core.http.HttpServerRequest;

+ 3 - 0
connector-core/src/main/java/io/connector/core/http/URLBuilder.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.http;
 
 import java.io.UnsupportedEncodingException;

+ 3 - 0
connector-core/src/main/java/io/connector/core/json/DeserializeFormatter.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.json;
 
 /**

+ 3 - 0
connector-core/src/main/java/io/connector/core/json/JsonAttributeFormatter.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.json;
 
 import com.fasterxml.jackson.databind.module.SimpleModule;

+ 3 - 0
connector-core/src/main/java/io/connector/core/json/JsonDeserializer.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.json;
 
 import com.fasterxml.jackson.core.JsonParser;

+ 3 - 0
connector-core/src/main/java/io/connector/core/json/JsonSerializer.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.json;
 
 import com.fasterxml.jackson.core.JsonGenerator;

+ 3 - 0
connector-core/src/main/java/io/connector/core/json/SerializeFormatter.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.json;
 
 /**

+ 3 - 0
connector-core/src/main/java/io/connector/core/util/StringUtils.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.core.util;
 
 /**

+ 21 - 0
connector-model/license.txt

@@ -0,0 +1,21 @@
+The MIT License
+
+Copyright (c) 2020 University of West Bohemia (UWB) https://www.zcu.cz/en, LESPROJEKT-SLUŽBY s.r.o. (LESP) https://www.lesprojekt.cz/en
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.

+ 9 - 0
connector-model/src/main/java/io/connector/model/afarcloud/Location.java

@@ -1,5 +1,14 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.afarcloud;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Location {
 
     private Double latitude;

+ 9 - 0
connector-model/src/main/java/io/connector/model/afarcloud/MultiSensor.java

@@ -1,7 +1,16 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.afarcloud;
 
 import java.util.List;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class MultiSensor {
 
     private String resourceId;

+ 9 - 0
connector-model/src/main/java/io/connector/model/afarcloud/MultiSimpleObservation.java

@@ -1,7 +1,16 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.afarcloud;
 
 import java.util.List;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class MultiSimpleObservation {
 
     private String resourceId;

+ 9 - 0
connector-model/src/main/java/io/connector/model/afarcloud/Observation.java

@@ -1,5 +1,14 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.afarcloud;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Observation {
 
     private String time;

+ 9 - 0
connector-model/src/main/java/io/connector/model/afarcloud/ResourceMeasurement.java

@@ -1,7 +1,16 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.afarcloud;
 
 import java.util.List;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class ResourceMeasurement {
 
     private String resource;

+ 9 - 0
connector-model/src/main/java/io/connector/model/afarcloud/ResponseModel.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.afarcloud;
 
 import java.util.ArrayList;
@@ -5,6 +8,12 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class ResponseModel<T> {
 
     private String query;

+ 9 - 0
connector-model/src/main/java/io/connector/model/afarcloud/SensorTelemetry.java

@@ -1,8 +1,17 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.afarcloud;
 
 import java.util.ArrayList;
 import java.util.List;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class SensorTelemetry {
 
     private String measurement;

+ 9 - 0
connector-model/src/main/java/io/connector/model/afarcloud/SimpleObservation.java

@@ -1,5 +1,14 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.afarcloud;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class SimpleObservation {
 
     private static class Result {

+ 9 - 0
connector-model/src/main/java/io/connector/model/ima/IMAModel.java

@@ -1,5 +1,14 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.ima;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class IMAModel {
 
     private final String data;

+ 9 - 0
connector-model/src/main/java/io/connector/model/senslog1/Observation.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.senslog1;
 
 import io.vertx.core.buffer.Buffer;
@@ -11,6 +14,12 @@ import java.util.Objects;
 import static java.time.format.DateTimeFormatter.ISO_OFFSET_DATE_TIME;
 import static java.time.format.DateTimeFormatter.ofPattern;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Observation {
 
     private final OffsetDateTime timestamp;

+ 9 - 0
connector-model/src/main/java/io/connector/model/senslog1/Phenomenon.java

@@ -1,7 +1,16 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.senslog1;
 
 import io.vertx.core.json.JsonObject;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Phenomenon {
 
     private final long id;

+ 9 - 0
connector-model/src/main/java/io/connector/model/senslog1/Position.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.senslog1;
 
 import io.vertx.core.json.JsonObject;
@@ -7,6 +10,12 @@ import java.time.format.DateTimeFormatter;
 
 import static java.time.format.DateTimeFormatter.ofPattern;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Position {
 
     private final Double latitude;

+ 9 - 0
connector-model/src/main/java/io/connector/model/senslog1/Sensor.java

@@ -1,7 +1,16 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.senslog1;
 
 import java.util.List;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Sensor {
 
     private final SensorInfo info;

+ 9 - 0
connector-model/src/main/java/io/connector/model/senslog1/SensorData.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.senslog1;
 
 import io.vertx.core.buffer.Buffer;
@@ -10,6 +13,12 @@ import java.util.ArrayList;
 import java.util.List;
 import java.util.Objects;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class SensorData {
 
     private final long id;

+ 9 - 0
connector-model/src/main/java/io/connector/model/senslog1/SensorInfo.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.senslog1;
 
 import io.vertx.core.json.JsonObject;
@@ -9,6 +12,12 @@ import java.util.Objects;
 import static java.lang.String.format;
 import static java.time.format.DateTimeFormatter.ofPattern;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class SensorInfo {
 
     private final long id;

+ 9 - 0
connector-model/src/main/java/io/connector/model/senslog1/Unit.java

@@ -1,7 +1,16 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.senslog1;
 
 import java.util.List;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Unit {
 
     private final UnitInfo info;

+ 9 - 0
connector-model/src/main/java/io/connector/model/senslog1/UnitData.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.senslog1;
 
 import io.vertx.core.buffer.Buffer;
@@ -8,6 +11,12 @@ import io.vertx.core.json.JsonObject;
 
 import java.util.*;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class UnitData {
 
     private final long id;

+ 9 - 0
connector-model/src/main/java/io/connector/model/senslog1/UnitInfo.java

@@ -1,9 +1,18 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.senslog1;
 
 import io.vertx.core.json.JsonObject;
 
 import java.util.*;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class UnitInfo {
 
     private final long id;

+ 9 - 0
connector-model/src/main/java/io/connector/model/sensorthings/Datastream.java

@@ -1,7 +1,16 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.sensorthings;
 
 import io.vertx.core.json.JsonObject;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Datastream extends JsonObject {
 
     public void setId(String id) {

+ 9 - 0
connector-model/src/main/java/io/connector/model/sensorthings/FeatureOfInterest.java

@@ -1,7 +1,16 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.sensorthings;
 
 import io.vertx.core.json.JsonObject;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class FeatureOfInterest extends JsonObject {
 
     public void setId(String id) {

+ 9 - 0
connector-model/src/main/java/io/connector/model/sensorthings/Filter.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.sensorthings;
 
 import java.util.ArrayList;
@@ -5,6 +8,12 @@ import java.util.List;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Filter {
 
     private final boolean exist;

+ 9 - 0
connector-model/src/main/java/io/connector/model/sensorthings/Geometry.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.sensorthings;
 
 import io.vertx.core.json.JsonArray;
@@ -5,6 +8,12 @@ import io.vertx.core.json.JsonObject;
 
 import java.util.List;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Geometry extends JsonObject {
 
     public void setType(String type) {

+ 9 - 0
connector-model/src/main/java/io/connector/model/sensorthings/HistoricalLocation.java

@@ -1,7 +1,16 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.sensorthings;
 
 import io.vertx.core.json.JsonObject;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class HistoricalLocation extends JsonObject {
 
     public void setId(String id) {

+ 9 - 0
connector-model/src/main/java/io/connector/model/sensorthings/Location.java

@@ -1,7 +1,16 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.sensorthings;
 
 import io.vertx.core.json.JsonObject;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Location extends JsonObject {
 
     public void setId(String id) {

+ 9 - 0
connector-model/src/main/java/io/connector/model/sensorthings/Observation.java

@@ -1,7 +1,16 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.sensorthings;
 
 import io.vertx.core.json.JsonObject;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Observation extends JsonObject {
 
     public void setId(String id) {

+ 9 - 0
connector-model/src/main/java/io/connector/model/sensorthings/ObservedProperty.java

@@ -1,7 +1,16 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.sensorthings;
 
 import io.vertx.core.json.JsonObject;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class ObservedProperty extends JsonObject {
 
     public void setId(String id) {

+ 9 - 0
connector-model/src/main/java/io/connector/model/sensorthings/Sensor.java

@@ -1,7 +1,16 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.sensorthings;
 
 import io.vertx.core.json.JsonObject;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Sensor extends JsonObject {
 
     public void setId(String id) {

+ 9 - 1
connector-model/src/main/java/io/connector/model/sensorthings/Thing.java

@@ -1,8 +1,16 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.model.sensorthings;
 
 import io.vertx.core.json.JsonObject;
 
-
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Thing extends JsonObject {
 
     public void setId(String id) {

+ 21 - 0
connector-module-afarcloud/license.txt

@@ -0,0 +1,21 @@
+The MIT License
+
+Copyright (c) 2020 University of West Bohemia (UWB) https://www.zcu.cz/en, LESPROJEKT-SLUŽBY s.r.o. (LESP) https://www.lesprojekt.cz/en
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.

+ 3 - 0
connector-module-afarcloud/src/main/java/io/connector/module/afarcloud/AFCConfig.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.module.afarcloud;
 
 import io.connector.core.config.DefaultConfig;

+ 3 - 1
connector-module-afarcloud/src/main/java/io/connector/module/afarcloud/AFCHttpClient.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.module.afarcloud;
 
 import io.connector.core.http.HttpClient;
@@ -20,7 +23,6 @@ import static java.lang.String.format;
 
 /**
  *
- *
  * @author Lukas Cerny
  * @version 1.0
  * @since 1.0

+ 3 - 1
connector-module-afarcloud/src/main/java/io/connector/module/afarcloud/AFCModule.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.module.afarcloud;
 
 import io.connector.core.AbstractModule;
@@ -8,7 +11,6 @@ import io.connector.module.afarcloud.gateway.SensLog1Gateway;
 
 /**
  *
- *
  * @author Lukas Cerny
  * @version 1.0
  * @since 1.0

+ 3 - 1
connector-module-afarcloud/src/main/java/io/connector/module/afarcloud/AFCModuleProvider.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.module.afarcloud;
 
 import io.connector.core.http.HttpClient;
@@ -7,7 +10,6 @@ import io.connector.core.ModuleProvider;
 
 /**
  *
- *
  * @author Lukas Cerny
  * @version 1.0
  * @since 1.0

+ 9 - 0
connector-module-afarcloud/src/main/java/io/connector/module/afarcloud/Filter.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.module.afarcloud;
 
 import java.time.Instant;
@@ -9,6 +12,12 @@ import java.util.List;
 
 import static java.time.format.DateTimeFormatter.ofPattern;
 
+/**
+ *
+ * @author Lukas Cerny
+ * @version 1.0
+ * @since 1.0
+ */
 public class Filter {
 
     private static final DateTimeFormatter formatter = new DateTimeFormatterBuilder().append(ofPattern("yyyy-MM-dd HH:mm"))

+ 3 - 1
connector-module-afarcloud/src/main/java/io/connector/module/afarcloud/gateway/OGCSensorThingsGateway.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.module.afarcloud.gateway;
 
 import io.connector.core.AbstractGateway;
@@ -28,7 +31,6 @@ import static java.util.Optional.ofNullable;
 
 /**
  *
- *
  * @author Lukas Cerny
  * @version 1.0
  * @since 1.0

+ 3 - 1
connector-module-afarcloud/src/main/java/io/connector/module/afarcloud/gateway/SensLog1Gateway.java

@@ -1,3 +1,6 @@
+// Licensed to the UWB & LESP under one or more agreements.
+// The UWB & LESP licenses this file to you under the MIT license.
+
 package io.connector.module.afarcloud.gateway;
 
 import io.connector.core.AbstractGateway;
@@ -14,7 +17,6 @@ import java.util.ArrayList;
 
 /**
  *
- *
  * @author Lukas Cerny
  * @version 1.0
  * @since 1.0