Difference between revisions of "Observations production and consumption"

From AMTech WikiDocs
Jump to: navigation, search
Line 1: Line 1:
 
=The M2MBridge produces 3 observations about its life-cycle, if those observations have been configured at the observation production configuration=
 
=The M2MBridge produces 3 observations about its life-cycle, if those observations have been configured at the observation production configuration=
   
 
 
# '''m2mBridgeStarted''' when load process has finished  
 
# '''m2mBridgeStarted''' when load process has finished  
#     '''m2mBridgeStopped''' when unload process has finished  
+
# '''m2mBridgeStopped''' when unload process has finished  
#     '''m2mBridgeError''' if an error occurred at the M2MBridge level logic  
+
# '''m2mBridgeError''' if an error occurred at the M2MBridge level logic  
#     Any other observation produce by plugins  
+
# Observations type produce by plugins  
 
=The M2MBridge consumes 2 observations types, if those observation have been configured at the observation production configuration=
 
=The M2MBridge consumes 2 observations types, if those observation have been configured at the observation production configuration=
    # '''observationresourcecrud''' when a property of things instance related with the M2MBridge changes
+
# '''observationresourcecrud''' when a property of things instance related with the M2MBridge changes
    # observations types implemented for a plugin as commands, the M2MBridge validates that it has a valid targetthings, the instance that will process the command
+
# Observations types implemented for a plugin as commands, the M2MBridge validates that it has a valid targetthings (the instance type that will process the command)
*The validation observation production configuration logic validates that only one topic has been set for Asynchronous operations
+
*The validation observation production configuration logic validates that only one topic has been set for Asynchronous operations observationresourcecrud and commands

Revision as of 14:45, 20 June 2016

The M2MBridge produces 3 observations about its life-cycle, if those observations have been configured at the observation production configuration

  1. m2mBridgeStarted when load process has finished
  2. m2mBridgeStopped when unload process has finished
  3. m2mBridgeError if an error occurred at the M2MBridge level logic
  4. Observations type produce by plugins

The M2MBridge consumes 2 observations types, if those observation have been configured at the observation production configuration

  1. observationresourcecrud when a property of things instance related with the M2MBridge changes
  2. Observations types implemented for a plugin as commands, the M2MBridge validates that it has a valid targetthings (the instance type that will process the command)
  • The validation observation production configuration logic validates that only one topic has been set for Asynchronous operations observationresourcecrud and commands