Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "SensiNact/Bridge-sensinact-storage"

(Created page with "== Description == This bridge allows sensinact to persist all the changes performed in a sensinace resource into a ''Sensinact Storage Service'', keeping the historical evolu...")
 
Line 2: Line 2:
  
 
This bridge allows sensinact to persist all the changes performed in a sensinace resource into a ''Sensinact Storage Service'', keeping the historical evolution of the resource.
 
This bridge allows sensinact to persist all the changes performed in a sensinace resource into a ''Sensinact Storage Service'', keeping the historical evolution of the resource.
 
== Sensinact version ==
 
 
This bridge is available in Sensinact versions superior to <code>20170215.0</code>
 
  
 
== Requirements ==
 
== Requirements ==
Line 14: Line 10:
 
== How to use it ==
 
== How to use it ==
  
OSGi property definition file is used to specify the StorageService backended by the bridge, in Felix case this property definition file is ''conf/config.properties''. There you can define the following properties to specify your ''Sensinact Storage Service'' instance that will receive this data.
+
In order to store the infomation progress in the platform, it is necessary to indicate the storage address, a login and password for that service.
  
 +
To specify those informations you have to edit the file ''cfgs/storage-agent.properties'' located in your sensinact compilation. In this file you can add the information:
 
<pre class="text"># Storage Agent
 
<pre class="text"># Storage Agent
fr.cea.sna.gateway.historical.broker=http://10.255.4.200:8080/write/measure
+
broker=http://yourbrokeraddress/write/measure
fr.cea.sna.gateway.historical.login=admin
+
login=admin
fr.cea.sna.gateway.historical.password=admin</pre>
+
password=admin</pre>

Revision as of 07:54, 20 March 2018

Description

This bridge allows sensinact to persist all the changes performed in a sensinace resource into a Sensinact Storage Service, keeping the historical evolution of the resource.

Requirements

How to use it

In order to store the infomation progress in the platform, it is necessary to indicate the storage address, a login and password for that service.

To specify those informations you have to edit the file cfgs/storage-agent.properties located in your sensinact compilation. In this file you can add the information:

# Storage Agent
broker=http://yourbrokeraddress/write/measure
login=admin
password=admin

Back to the top