Difference between revisions of "Activities"
From AMTech WikiDocs
(→Validation for publication) |
(→Validation for publication) |
||
Line 26: | Line 26: | ||
== Validation for publication == | == Validation for publication == | ||
− | In order to be published, the | + | In order to be published, an activity must be a valid json resource according to its metadata. All resources contained in the activity must also be valid for their metadata. |
+ | The follower specific validations are also performed on the activity (some generate warning, others generate errors that will not allow publication) | ||
* Types involved in reasoners, observers and actors must be published | * Types involved in reasoners, observers and actors must be published | ||
** If there is an unpublished type that is used, and it is owned by the activity owner, a warning is generated | ** If there is an unpublished type that is used, and it is owned by the activity owner, a warning is generated |
Revision as of 21:59, 4 April 2016
Contents
Activity
Observers
Link to observer's help
Actors
Thing types
Notification types
Some introduction to Notifications
Reasoners
example
Types of reasoners
Actions
See Actions
Observation production configuration
- Placeholders
- Relation with entities observation production configuration
Validation for publication
In order to be published, an activity must be a valid json resource according to its metadata. All resources contained in the activity must also be valid for their metadata. The follower specific validations are also performed on the activity (some generate warning, others generate errors that will not allow publication)
- Types involved in reasoners, observers and actors must be published
- If there is an unpublished type that is used, and it is owned by the activity owner, a warning is generated
- If the unpublished type is owned by another user, an error is generated
- Types used in actors are involved in reasoners or observers (if not, a warning is generated)
- Actors must not contain policies for notifications of a different activity