Observation production config

From AMTech WikiDocs
Revision as of 10:57, 26 August 2016 by Lianet (Talk | contribs) (Created page with "The objective of this configuration is to identify the observation types a Thing produces in a specific use case (Activity) it encompasses: *Select obs...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The objective of this configuration is to identify the observation types a Thing produces in a specific use case (Activity) it encompasses:

This configuration can be used by followers subscribed to the service of the activity (for instances, the Amtech M2M bridge, consumes this configuration to generate the observations it sends)

the follower must have a role with access polices to the Thing type in order to get this information
  • Configuration details
    • The configuration involved thing types and the observation types they produce. The following example shows where a thing type LLRPReader produces 2 observations type observationresourcecrud and graiEPC
    • Select thing and observations type
    • Configure observations' properties required to produce selected observations and enforce security including topic, targetthings, producer, guestusers, and guesttenants. (See Observations and observation types). The following example illustrates an graiEPC observation type with:
      • topic thingsInBoardroom/LLRPReader/#{smoothingResult}, placeholder #{smoothingResult} is used to group observations in child branches new or lost
      • producer reunionMexicoEDN:llrpantenna#{antennaId}, placeholder #{antennaId} is used to group identify what antenna id produced the observation
      • topic, producer, guest tenant and guest user
      • targetthings resource id reunionMexicoEDN:llrpantenna#{antennaId}:#{serialNumber}, placeholders #{antennaId} and #{serialNumber} are used to antenna id and product serial number from graiEPC values to uniquely identify the target thing.
      • targetthings
  • Placeholders
    • Allows to set identifiers that will be substituted by real values at different intelligence layers, the following example illustrates.
    • guesttenants #{companyPrefix}, placeholder is used to set a guesttenants from graiEPC value companyPrefix allowing to control the access to observations and things from the intelligence in the edge.
    • topic thingsInBoardroom/LLRPReader/#{smoothingResult}/#{country}, placeholder is used to group observations in child branches by countries.
    • placeholder
  • Relation with thing types observation production configuration (See Thing types)
    • Each thing type defines which observation types produces as part of the type semantic. The following example illustrates selecting observation type graiEPC produced by LLRPReader type.
    • Select observation type