mrutkows commented on issue #449: Does trigger have inputs ? URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/449#issuecomment-327596120 @daisy-ycguo If you read the specification, section titled "Shared schema for all Entities" (line 278), it declares a "shared schema" for all entities (e.g., Actions, Rules, Triggers, etc.). The table you reference for Triggers only declares the 2 unique keys for the Trigger entity. The shared keynames include: ``` version | The required version for the Entity. description | The optional description for the Entity. displayName | This is the optional name that will be displayed on small form-factor devices. annotations | The optional annotations for the Entity. inputs | The optional ordered list inputs to the Entity. outputs | The optional outputs from the Entity. ``` We are well aware that the current programming model does not support some of these fields at at all (and we may need to use annotations), and others do not support these fields yet. It would be good to have a named error "UnsupportedError()" we could use when we detect a feature that is in the spec. but not yet implemented or implementable. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
