{"id":24736345,"url":"https://github.com/engineering-research-and-development/fi-mind-bridge","last_synced_at":"2025-10-19T17:51:58.744Z","repository":{"id":39934703,"uuid":"245183677","full_name":"Engineering-Research-and-Development/fi-mind-bridge","owner":"Engineering-Research-and-Development","description":"FIWARE - Siemens MindSphere Bridge ","archived":false,"fork":false,"pushed_at":"2024-11-07T18:07:17.000Z","size":438,"stargazers_count":0,"open_issues_count":16,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-19T12:56:03.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Engineering-Research-and-Development.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-05T14:25:21.000Z","updated_at":"2020-09-07T14:55:04.000Z","dependencies_parsed_at":"2024-07-27T13:24:16.768Z","dependency_job_id":"14a1af96-fc92-416f-b88f-ec89076e1b6f","html_url":"https://github.com/Engineering-Research-and-Development/fi-mind-bridge","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Engineering-Research-and-Development%2Ffi-mind-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Engineering-Research-and-Development%2Ffi-mind-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Engineering-Research-and-Development%2Ffi-mind-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Engineering-Research-and-Development%2Ffi-mind-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Engineering-Research-and-Development","download_url":"https://codeload.github.com/Engineering-Research-and-Development/fi-mind-bridge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244992552,"owners_count":20543830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-27T21:24:49.814Z","updated_at":"2025-10-19T17:51:58.673Z","avatar_url":"https://github.com/Engineering-Research-and-Development.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FI-MIND (FIWARE-MINDSPHERE) Bridge\r\nThe FI-MIND bridge close the gap between MindSphere and FIWARE environments, easing the process of sharing assets and context data (legacy factory systems, non-production IoT data sources, etc.) between the two worlds.\r\n![FI-MIND Schema](docs/images/FI-MIND.png)\r\n\r\n## Contents\r\n\r\n-   [Install](#install)\r\n  -   [Docker install](#docker---recommended)\r\n  -   [WebServer Install](#webserver)\r\n-   [API](#api)\r\n-   [Supported Features](#supported-features)\r\n-   [Testing](#testing)\r\n-   [License](#license)\r\n\r\n## Getting Started - install\r\n\r\nCurrently two options are available to install the fi-mind bridge:\r\n\r\n### Docker - Recommended\r\n\r\nConfigure MINDSPHERE *config.properties* setting file located in *fi-mind-bridge/conf* :\r\n```sh\r\nocb-url=http://orion:1026\r\nclient-id={mindpshere-client-id}\r\nclient-secret={mindpshere-client-secret}\r\ntenant={mindpshere-tenant}\r\n```\r\n\r\nCreate a \"docker-compose.yml\" file into project root folder:\r\n```\r\nversion: \"3.2\"\r\nservices:\r\n   fi-mind:\r\n      image: rdlabengpa/fi-mind-bridge:latest\r\n      hostname: fi-mind\r\n      networks:\r\n        - hostnet\r\n      ports:\r\n        - \"8080:8080\"\r\n      volumes:\r\n        - ./conf/config.properties:/home/tomcat/custom_conf/config.properties\r\n\r\n   mongo-db:\r\n      image: mongo:latest\r\n      hostname: mongo-db\r\n      expose:\r\n        - \"27017\"\r\n      networks:\r\n        - hostnet\r\n      command: --bind_ip_all\r\n      volumes:\r\n        - mongo-db:/data\r\n\r\n   orion:\r\n      image: fiware/orion:latest\r\n      hostname: orion\r\n      depends_on:\r\n        - mongo-db\r\n      networks:\r\n        - hostnet\r\n      ports:\r\n        - \"8126:1026\"\r\n      command: -dbhost mongo-db -logLevel DEBUG\r\n\r\nvolumes:\r\n   mongo-db:\r\n\r\nnetworks:\r\n   hostnet:\r\n```\r\n\r\nRun docker-compose commmand into project root folder:\r\n```sh\r\ndocker-compose up\r\n```\r\n\r\n### WebServer\r\n\r\nConfigure MINDSPHERE *config.properties* setting file located in *fi-mind-bridge/src/main/resources/* :\r\n```sh\r\nocb-url=http://{ocb-host}:{ocb-port}\r\nclient-id={mindpshere-client-id}\r\nclient-secret={mindpshere-client-secret}\r\ntenant={mindpshere-tenant}\r\n```\r\n\r\nGenerate WAR file executing into project root folder:\r\n```sh\r\nmvn clean install\r\n```\r\n\r\nDeploy WAR file (generated into target folder) on the web server of your choice.\r\n\r\n## API\r\n\r\n|     |     Service     |                          Description                          |\r\n| --- | :-------------: | :-----------------------------------------------------------: |\r\n| POST | `/ocb-export` | Export an existing MindSphere asset into Orion Context Broker |\r\n| POST | `/fiware-notification` | Notification service to ingest data coming after subscription to Orion Context Broker |\r\n||\r\n| POST | `/alert` | Import an Alert entity into MindSphere |\r\n| DELETE | `/alert?id={alert_id}` | Delete an Alert Asset from MindSphere |\r\n| POST | `/alertNormalized` | Import a NGSI compliant Alert entity into MindSphere |\r\n| POST | `/building` | Import a Building entity into MindSphere |\r\n| DELETE | `/building?id={building_id}` | Delete a Building Asset from MindSphere |\r\n| POST | `/buildingNormalized` | Import a NGSI compliant Building entity into MindSphere |\r\n| POST | `/buildingOperation` | Import a BuildingOperation entity into MindSphere |\r\n| DELETE | `/buildingOperation?id={buildingOperation_id}` | Delete a BuildingOperation Asset from MindSphere |\r\n| POST | `/buildingOperationNormalized` | Import a NGSI compliant Building Operation entity into MindSphere |\r\n| POST | `/device` | Import a Device entity into MindSphere |\r\n| DELETE | `/device?id={device_id}` | Delete a Device Asset from MindSphere |\r\n| POST | `/deviceNormalized` | Import a NGSI compliant Device entity into MindSphere |\r\n| POST | `/deviceModel` | Import a Device Model entity into MindSphere |\r\n| DELETE | `/deviceModel?id={deviceModel_id}` | Delete a DeviceModel Asset from MindSphere |\r\n| POST | `/deviceModelNormalized` | Import a NGSI compliant Device Model entity into MindSphere |\r\n| POST | `/trafficFlowObserved` | Import a TrafficFlowObserved entity into MindSphere |\r\n| DELETE | `/trafficFlowObserved?id={trafficFlowObserved_id}` | Delete a TrafficFlowObserved Asset from MindSphere |\r\n| POST | `/trafficFlowObservedNormalized` | Import a NGSI compliant TrafficFlowObserved entity into MindSphere |\r\n| POST | `/vehicle` | Import a Vehicle entity into MindSphere |\r\n| DELETE | `/vehicle?id={vehicle_id}` | Delete a Vehicle Asset from MindSphere |\r\n| POST | `/vehicleNormalized` | Import a NGSI compliant Vehicle entity into MindSphere |\r\n| POST | `/vehicleModel` | Import a VehicleModel entity into MindSphere |\r\n| DELETE | `/vehicleModel?id={vehicleModel_id}` | Delete a VehicleModel Asset from MindSphere |\r\n| POST | `/vehicleModelNormalized` | Import a NGSI compliant VehicleModel entity into MindSphere |\r\n| POST | `/weatherForecast` | Import a Weather Forecast entity into MindSphere |\r\n| DELETE | `/weatherForecast?id={weatherForecast_id}` | Delete a WeatherForecast Asset from MindSphere |\r\n| POST | `/weatherForecastNormalized` | Import a NGSI compliant WeatherForecast entity into MindSphere |\r\n| POST | `/weatherObserved` | Import a Weather Observed entity into MindSphere |\r\n| DELETE | `/weatherObserved?id={weatherObserved_id}` | Delete a WeatherObserved Asset from MindSphere |\r\n| POST | `/weatherObservedNormalized` | Import a NGSI compliant Weather Observed entity into MindSphere |\r\n||\r\n| POST | `/aas` | Import an Asset Administration Shell entity into MindSphere |\r\n| DELETE | `/aas?id={aas_id}` | Delete an Asset Administration Shell Asset from MindSphere |\r\n\r\n## Supported Features\r\nFI-MIND helps you setting up a two-way channel to share context data between FIWARE and MindSphere, back and forth. The two different channels are described below:\r\n\r\n##### FIWARE to MindSphere\r\nThis channel let you export a subset of FIWARE Data Models into Mindsphere Environment *without loss of information*. In the table below is reported the documentation for each of the chosen FIWARE Data Models to be shared in MindSphere.\r\n\r\n| __**FIWARE Data Model**__   | __**Status**__   | __**Comment**__   |__**FI-MIND Documentation**__   |\r\n|-----------------------------|:--------------------------:|--------------------------|:--------------------------:|\r\n|  [AeroAllergenObserved](https://fiware-datamodels.readthedocs.io/en/latest/Environment/AeroAllergenObserved/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [AirQualityObserved](https://fiware-datamodels.readthedocs.io/en/latest/Environment/AirQualityObserved/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [Alert](https://fiware-datamodels.readthedocs.io/en/latest/Alert/doc/spec/index.html)  |  :white_check_mark:  |  |  :books: [Documentation](docs/alert.md)  |\r\n|  [ArrivalEstimation](https://fiware-datamodels.readthedocs.io/en/latest/UrbanMobility/ArrivalEstimation/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [Beach](https://fiware-datamodels.readthedocs.io/en/latest/PointOfInterest/Beach/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [BikeHireDockingStation](https://fiware-datamodels.readthedocs.io/en/latest/Transportation/Bike/BikeHireDockingStation/doc/spec/index.html)     |  :x:  |Out of Domain|  |\r\n|  [Building](https://fiware-datamodels.readthedocs.io/en/latest/Building/Building/doc/spec/index.html)  |  :white_check_mark:  |  |  :books: [Documentation](docs/building.md)  |\r\n|  [BuildingOperation](https://fiware-datamodels.readthedocs.io/en/latest/Building/BuildingOperation/doc/spec/index.html)  |  :white_check_mark:  |  |  :books: [Documentation](docs/buildingoperation.md)  |\r\n|  [Device](https://fiware-datamodels.readthedocs.io/en/latest/Device/Device/doc/spec/index.html)  |  :white_check_mark:  |  |  :books: [Documentation](docs/device.md)   |\r\n|  [DeviceModel](https://fiware-datamodels.readthedocs.io/en/latest/Device/DeviceModel/doc/spec/index.html)  |  :white_check_mark:  |  |  :books: [Documentation](docs/devicemodel.md)   |\r\n|  [EVChargingStation](https://fiware-datamodels.readthedocs.io/en/latest/Transportation/EVChargingStation/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [FlowerBed](https://fiware-datamodels.readthedocs.io/en/latest/ParksAndGardens/FlowerBed/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [Garden](https://fiware-datamodels.readthedocs.io/en/latest/ParksAndGardens/Garden/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [GreenSpaceRecord](https://fiware-datamodels.readthedocs.io/en/latest/ParksAndGardens/GreenspaceRecord/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [GtfsAccessPoint](https://fiware-datamodels.readthedocs.io/en/latest/UrbanMobility/GtfsAccessPoint/doc/spec/index.html)|  :x:  |  Out of Domain  |  |\r\n|  [GtfsAgency](https://fiware-datamodels.readthedocs.io/en/latest/UrbanMobility/GtfsAgency/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [GtfsCalendarDataRule](https://fiware-datamodels.readthedocs.io/en/latest/UrbanMobility/GtfsCalendarDateRule/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [GtfsCalendarRule](https://fiware-datamodels.readthedocs.io/en/latest/UrbanMobility/GtfsCalendarRule/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [GtfsFrequency](https://fiware-datamodels.readthedocs.io/en/latest/UrbanMobility/GtfsFrequency/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [GtfsRoute](https://fiware-datamodels.readthedocs.io/en/latest/UrbanMobility/GtfsRoute/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [GtfsService](https://fiware-datamodels.readthedocs.io/en/latest/UrbanMobility/GtfsService/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [GtfsShape](https://fiware-datamodels.readthedocs.io/en/latest/UrbanMobility/GtfsShape/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [GtfsStation](https://fiware-datamodels.readthedocs.io/en/latest/UrbanMobility/GtfsStation/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [GtfsStop](https://fiware-datamodels.readthedocs.io/en/latest/UrbanMobility/GtfsStop/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [GtfsStopTime](https://fiware-datamodels.readthedocs.io/en/latest/UrbanMobility/GtfsStopTime/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [GtfsTransferRule](https://fiware-datamodels.readthedocs.io/en/latest/UrbanMobility/GtfsTransferRule/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [GtfsTrip](https://fiware-datamodels.readthedocs.io/en/latest/UrbanMobility/GtfsTrip/doc/spec/index.html)  | :x:  |  Out of Domain|  |\r\n|  [KeyPerformanceIndicator](https://fiware-datamodels.readthedocs.io/en/latest/KeyPerformanceIndicator/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [Museum](https://fiware-datamodels.readthedocs.io/en/latest/PointOfInterest/Museum/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [NoiseLevelObserved](https://fiware-datamodels.readthedocs.io/en/latest/Environment/NoiseLevelObserved/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [OffStreetParking](https://fiware-datamodels.readthedocs.io/en/latest/Parking/OffStreetParking/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [OnStreetParking](https://fiware-datamodels.readthedocs.io/en/latest/Parking/OnStreetParking/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [Open311:ServiceRequest](https://fiware-datamodels.readthedocs.io/en/latest/IssueTracking/Open311_ServiceRequest/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [Open311:ServiceType](https://fiware-datamodels.readthedocs.io/en/latest/IssueTracking/Open311_ServiceType/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [ParkingAccess](https://fiware-datamodels.readthedocs.io/en/latest/Parking/ParkingAccess/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [ParkingGroup](https://fiware-datamodels.readthedocs.io/en/latest/Parking/ParkingGroup/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [ParkingSpot](https://fiware-datamodels.readthedocs.io/en/latest/Parking/ParkingSpot/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [PointOfInterest](https://fiware-datamodels.readthedocs.io/en/latest/PointOfInterest/PointOfInterest/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [Road](https://fiware-datamodels.readthedocs.io/en/latest/Transportation/Road/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [RoadSegment](https://fiware-datamodels.readthedocs.io/en/latest/Transportation/RoadSegment/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [SmartPointOfInteraction](https://fiware-datamodels.readthedocs.io/en/latest/PointOfInteraction/SmartPointOfInteraction/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [SmartSpot](https://fiware-datamodels.readthedocs.io/en/latest/PointOfInteraction/SmartSpot/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [Streetlight](https://fiware-datamodels.readthedocs.io/en/latest/StreetLighting/Streetlight/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [StreetlightModel](https://fiware-datamodels.readthedocs.io/en/latest/StreetLighting/StreetlightModel/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [StreetlightGroup](https://fiware-datamodels.readthedocs.io/en/latest/StreetLighting/StreetlightGroup/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [StreetlightControlCabinet](https://fiware-datamodels.readthedocs.io/en/latest/StreetLighting/StreetlightControlCabinet/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [ThreePhaseAcMeasurement](https://fiware-datamodels.readthedocs.io/en/latest/Energy/ThreePhaseAcMeasurement/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [TrafficFlowObserved](https://fiware-datamodels.readthedocs.io/en/latest/Transportation/TrafficFlowObserved/doc/spec/index.html)  |  :white_check_mark:  |  |  :books: [Documentation](docs/trafficflowobserved.md)  |\r\n|  [Vehicle](https://fiware-datamodels.readthedocs.io/en/latest/Transportation/Vehicle/Vehicle/doc/spec/index.html)  |  :white_check_mark:  |  |  :books: [Documentation](docs/vehicle.md)  |\r\n|  [VehicleModel](https://fiware-datamodels.readthedocs.io/en/latest/Transportation/Vehicle/VehicleModel/doc/spec/index.html)  |  :white_check_mark:  | | :books: [Documentation](docs/vehiclemodel.md)  |\r\n|  [WasteContainer](https://fiware-datamodels.readthedocs.io/en/latest/WasteManagement/WasteContainer/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [WasteContainerIsle](https://fiware-datamodels.readthedocs.io/en/latest/WasteManagement/WasteContainerIsle/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [WasteContainerModel](https://fiware-datamodels.readthedocs.io/en/latest/WasteManagement/WasteContainerModel/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [WaterQualityObserved](https://fiware-datamodels.readthedocs.io/en/latest/Environment/WaterQualityObserved/doc/spec/index.html)  |  :x:  |  Out of Domain  |  |\r\n|  [WeatherForecast](https://fiware-datamodels.readthedocs.io/en/latest/Weather/WeatherForecast/doc/spec/index.html)  |  :white_check_mark:  |  |  :books: [Documentation](docs/weatherforecast.md)  |\r\n|  [WeatherObserved](https://fiware-datamodels.readthedocs.io/en/latest/Weather/WeatherObserved/doc/spec/index.html)  |  :white_check_mark:  |  |  :books: [Documentation](docs/weatherobserved.md)  |\r\n\r\n##### MindSphere to FIWARE\r\n\r\nGiven an existing asset in MindSphere, FIMIND let you export the resource to FIWARE, simply by passing: __assetId__, __fiwareService__ and __fiwareServicePath__ as body of a HTTP POST request under the path of /ocb-export.\r\n\r\nThe export process will extract asset variables and aspect variables of the chosen asset mapping them in the proper format to be ingested by [Orion Context Broker](https://fiware-orion.readthedocs.io/en/master/).\r\n\r\nExporting is not restricted to FIWARE Data Models only, **every MindSphere asset** can be exported even though the mapping **may not be reversible without extending the current APIs.**\r\n\r\n###### Example\r\n\r\n```sh\r\ncurl -X POST \\\r\n  http://{server-url}:{server-port}/fimind/webapi/ocb-export \\\r\n  -H 'accept: application/json' \\\r\n  -H 'cache-control: no-cache' \\\r\n  -H 'content-type: application/json' \\\r\n  -d '{\r\n    \"assetId\":\"mindsphere_asset_id\",\r\n    \"fiwareService\":\"connector\",\r\n    \"fiwareServicePath\":\"/demo\"\r\n  }'\r\n\r\n```\r\n\r\n##### Asset Administration Shell to MindSphere\r\nFI-MIND bridge, expressing its interest in Industry 4.0 trend, enables support for [Asset Administration Shell (AAS)](https://www.zvei.org/en/subjects/industrie-4-0/details-of-the-asset-administration-shell/), a key concept of I4.0, used to describe an asset electronically in a standardized manner.  Its purpose is to exchange asset-related data among industrial assets and between assets and production orchestration systems or engineering tools. Given the high complexity of a AAS model,\r\n\r\nFI-MIND bridge currently only supports an unidirectional binding, thus, not allowing you to export a AAS model from the corresponding Mindsphere Asset.\r\n\r\n| __**ZVEI Data Model**__   | __**Status**__   | __**Comment**__   |__**FI-MIND Documentation**__   |\r\n|-----------------------------|:--------------------------:|--------------------------|:--------------------------:|\r\n|  [Asset Administration Shell](https://www.plattform-i40.de/PI40/Redaktion/EN/Downloads/Publikation/vws-in-detail-presentation.pdf?__blob=publicationFile\u0026v=10)  |  :construction:  |  |  :books: [Documentation](docs/aas.md)  |\r\n\r\n## Testing\r\nYou can test POST REST API by adding the header:\r\n\r\n```\r\ndebug-mode : true\r\n```\r\nto the request.\r\n\r\n##### Example\r\n\r\n\u003e Request\r\n\r\n```sh\r\ncurl -X POST \\\r\n  http://{server-url}:{server-port}/fimind/webapi/alert \\\r\n  -H 'accept: application/json' \\\r\n  -H 'cache-control: no-cache' \\\r\n  -H 'content-type: application/json' \\\r\n  -H 'debug-mode: true' \\\r\n  -d '{\r\n\t\"id\":\"fimind_alert_test\",\r\n    \"type\": \"Alert\",\r\n    \"category\": \"security\",\r\n    \"subCategory\": \"robbery\",\r\n    \"location\": {\r\n        \"type\": \"Point\",\r\n        \"coordinates\": [-3.712247222222222, 40.423852777777775]\r\n    },\r\n    \"dateIssued\": \"2017-04-25T09:25:55.00Z\",\r\n    \"description\": \"Potential robbery in main building\",\r\n    \"alertSource\": \"Camera1234\",\r\n    \"severity\": \"informational\"\r\n  }'\r\n```\r\n\u003e Response\r\n\r\n```json\r\n{\r\n    \"result\": \"Test gone fine\",\r\n    \"message\": null\r\n}\r\n```\r\n\r\nWebServer logs will, then,  display the proper mapping of the given entity for MindSphere.\r\n\r\n## License\r\nThe FI-MIND bridge is licensed under the\r\n\r\nGNU Affero General Public License v3.0\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineering-research-and-development%2Ffi-mind-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fengineering-research-and-development%2Ffi-mind-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineering-research-and-development%2Ffi-mind-bridge/lists"}