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...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Category:sensiNact]]
 +
 
== Description ==
 
== 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.
 
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 ==
  
 
* bridge ''storage-agent'' activated (using <code>sensinact -c</code>)
 
* bridge ''storage-agent'' activated (using <code>sensinact -c</code>)
* An instance of [[historical-storage|Sensinact Storage Service]] available
+
* An instance of [[SensiNact/Historical-storage|Sensinact Storage Service]] available
  
 
== 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>

Latest revision as of 11:16, 23 February 2024


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