1 tosca_definitions_version: tosca_simple_yaml_1_0_0,
4 derived_from: tosca.policies.Root
5 description: a base policy type for all native PDP policies
7 onap.policies.native.Apex:
8 derived_from: onap.policies.Native
9 description: a policy type for native apex policies
13 type: onap.datatypes.native.apex.EngineService
14 description: APEX Engine Service Parameters
17 description: Inputs for handling events coming into the APEX engine
19 type: onap.datatypes.native.apex.EventHandler
22 description: Outputs for handling events going out of the APEX engine
24 type: onap.datatypes.native.apex.EventHandler
27 description: Envioronmental parameters for the APEX engine
29 type: onap.datatypes.native.apex.Environment
32 onap.datatypes.native.apex.EngineService:
33 derived_from: tosca.datatypes.Root
37 description: Specifies the engine name
39 default: "ApexEngineService"
42 description: Specifies the engine version in double dotted format
47 description: Specifies the engine id
51 description: Specifies the number of engine threads that should be run
55 description: Specifies the port to connect to for engine administration
58 policy_model_file_name:
60 description: The name of the file from which to read the APEX policy model
65 description: The policy type implementation from which to read the APEX policy model
68 periodic_event_period:
70 description: The time interval in milliseconds for the periodic scanning event, 0 means don't scan
74 type: onap.datatypes.native.apex.engineservice.Engine
75 description: The parameters for all engines in the APEX engine service
77 onap.datatypes.native.apex.EventHandler:
78 derived_from: tosca.datatypes.Root
82 description: Specifies the event handler name, if not specified this is set to the key name
85 type: onap.datatypes.native.apex.CarrierTechnology
86 description: Specifies the carrier technology of the event handler (such as REST/Web Socket/Kafka)
89 type: onap.datatypes.native.apex.EventProtocol
90 description: Specifies the event protocol of events for the event handler (such as Yaml/JSON/XML/POJO)
94 description: Specifies the event name for events on this event handler, if not specified, the event name is read from or written to the event being received or sent
98 description: Specifies a filter as a regular expression, events that do not match the filter are dropped, the default is to let all events through
102 description: Specifies the event handler is syncronous (receive event and send response)
107 description: The peer event handler (output for input or input for output) of this event handler in synchronous mode, this parameter is mandatory if the event handler is in synchronous mode
112 description: The timeout in milliseconds for responses to be issued by APEX torequests, this parameter is mandatory if the event handler is in synchronous mode
117 description: Specifies the event handler is in requestor mode (send event and wait for response mode)
122 description: The peer event handler (output for input or input for output) of this event handler in requestor mode, this parameter is mandatory if the event handler is in requestor mode
127 description: The timeout in milliseconds for wait for responses to requests, this parameter is mandatory if the event handler is in requestor mode
130 onap.datatypes.native.apex.CarrierTechnology:
131 derived_from: tosca.datatypes.Root
135 description: The label (name) of the carrier technology (such as REST, Kafka, WebSocket)
137 plugin_parameter_class_name:
139 description: The class name of the class that overrides default handling of event input or output for this carrier technology, defaults to the supplied input or output class
141 onap.datatypes.native.apex.EventProtocol:
142 derived_from: tosca.datatypes.Root
146 description: The label (name) of the event protocol (such as Yaml, JSON, XML, or POJO)
148 event_protocol_plugin_class:
150 description: The class name of the class that overrides default handling of the event protocol for this carrier technology, defaults to the supplied event protocol class
152 onap.datatypes.native.apex.Environmental:
153 derived_from: tosca.datatypes.Root
157 description: The name of the environment variable
161 description: The value of the environment variable
163 onap.datatypes.native.apex.engineservice.Engine:
164 derived_from: tosca.datatypes.Root
167 type: onap.datatypes.native.apex.engineservice.engine.Context
168 description: The properties for handling context in APEX engines, defaults to using Java maps for context
172 description: The plugins for policy executors used in engines such as javascript, MVEL, Jython
175 description: The plugin class path for this policy executor
177 onap.datatypes.native.apex.engineservice.engine.Context:
178 derived_from: tosca.datatypes.Root
181 type: onap.datatypes.native.apex.Plugin
182 description: The plugin to be used for distributing context between APEX PDPs at runtime
186 description: The plugins for context schemas available in APEX PDPs such as Java and Avro
189 type: onap.datatypes.native.apex.Plugin
191 type: onap.datatypes.native.apex.plugin
192 description: The plugin to be used for locking context in and between APEX PDPs at runtime
195 type: onap.datatypes.native.apex.Plugin
196 description: The plugin to be used for persisting context for APEX PDPs at runtime
198 onap.datatypes.native.apex.Plugin:
199 derived_from: tosca.datatypes.Root
203 description: The name of the executor such as Javascript, Jython or MVEL
207 description: The class path of the plugin class for this executor