1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2023-2024 Nordix Foundation
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # SPDX-License-Identifier: Apache-2.0
17 # ============LICENSE_END=========================================================
20 title: "PDP-D Telemetry Services Documentation"
21 description: PDP-D Telemetry Services
22 version: Swagger Server
24 - url: http://{drools-ip}:9696/policy/pdp/engine
29 - name: pdp-d-telemetry
30 description: Drools PDP Telemetry Operations
31 - name: pdp-d-lifecycle
32 description: Drools PDP Lifecycle Operations
34 description: Drools PDP Legacy Operations
40 summary: Retrieves the json swagger documentation
41 description: Lifecycle Group
45 description: successful operation
49 $ref: '#/components/schemas/Response'
52 $ref: '#/components/schemas/Response'
54 description: resource not found
57 description: swagger.json file not found
63 summary: Retrieves the Lifecycle group
64 description: Lifecycle Group
68 description: successful operation
72 $ref: '#/components/schemas/Response'
75 $ref: '#/components/schemas/Response'
76 /lifecycle/group/{group}:
80 summary: Updates the Lifecycle group
81 description: Lifecycle Group
82 operationId: updateGroup
92 description: successful operation
96 $ref: '#/components/schemas/Response'
99 $ref: '#/components/schemas/Response'
100 /lifecycle/status/interval:
104 summary: Retrieves the Lifecycle Status Timer Interval in seconds
105 description: Lifecycle Status Timer Interval in seconds
106 operationId: updateStatusTimer
109 description: successful operation
113 $ref: '#/components/schemas/Response'
116 $ref: '#/components/schemas/Response'
117 /lifecycle/status/interval/{timeout}:
121 summary: Updates the Lifecycle Status Timer Interval in seconds
122 description: Lifecycle Status Timer Interval in seconds
123 operationId: statusTimer
134 description: successful operation
138 $ref: '#/components/schemas/Response'
141 $ref: '#/components/schemas/Response'
142 /lifecycle/policyTypes:
146 summary: List of supported policy types
147 description: Lifecycle Policy Types
148 operationId: policyTypes
151 description: successful operation
155 $ref: '#/components/schemas/Response'
158 $ref: '#/components/schemas/Response'
163 summary: List of policies
164 operationId: policies
167 description: successful operation
171 $ref: '#/components/schemas/Response'
174 $ref: '#/components/schemas/Response'
178 summary: Deploy a policy
179 operationId: deployTrackedPolicy
181 description: Tosca Policy
192 description: successful operation
196 $ref: '#/components/schemas/Response'
199 $ref: '#/components/schemas/Response'
200 x-codegen-request-body-name: body
201 /lifecycle/policyTypes/{policyType}/{policyTypeVersion}:
205 summary: Entities associated with a policy type
206 description: Lifecycle policy Types
207 operationId: policyType
211 description: Policy Type
215 - name: policyTypeVersion
217 description: Policy Type Version
223 description: successful operation
227 $ref: '#/components/schemas/Response'
230 $ref: '#/components/schemas/Response'
231 /lifecycle/policies/operations:
235 summary: Gets Policy Operations
236 operationId: policiesOperations
239 description: successful operation
243 $ref: '#/components/schemas/Response'
246 $ref: '#/components/schemas/Response'
247 /lifecycle/policies/operations/deployment:
251 summary: Deploys a policy
252 description: Deploys a policy
253 operationId: deployOperation
255 description: Tosca Policy
266 description: successful operation
270 $ref: '#/components/schemas/Response'
273 $ref: '#/components/schemas/Response'
274 x-codegen-request-body-name: body
275 /lifecycle/policies/operations/undeployment:
279 summary: Undeploys a policy
280 operationId: undeployOperation
282 description: Tosca Policy
293 description: successful operation
297 $ref: '#/components/schemas/Response'
300 $ref: '#/components/schemas/Response'
301 x-codegen-request-body-name: body
302 /lifecycle/policies/operations/validation:
306 summary: Validates a policy
307 operationId: validateOperation
309 description: Tosca Policy
320 description: successful operation
324 $ref: '#/components/schemas/Response'
327 $ref: '#/components/schemas/Response'
328 x-codegen-request-body-name: body
329 /lifecycle/policies/{policyName}/{policyVersion}:
333 summary: Retrieves a policy
338 description: Policy Name
342 - name: policyVersion
344 description: Policy Version
350 description: successful operation
354 $ref: '#/components/schemas/Response'
357 $ref: '#/components/schemas/Response'
361 summary: Deletes a Lifecycle tracked policy
362 operationId: undeployPolicy
370 - name: policyVersion
372 description: Policy Version
378 description: successful operation
382 $ref: '#/components/schemas/Response'
385 $ref: '#/components/schemas/Response'
390 summary: Retrieves the Lifecycle state
391 description: Lifecycle State
395 description: successful operation
399 $ref: '#/components/schemas/Response'
402 $ref: '#/components/schemas/Response'
403 /lifecycle/state/{state}:
407 summary: updates the Lifecycle state
408 description: Lifecycle State
409 operationId: updateState
419 description: successful operation
423 $ref: '#/components/schemas/Response'
426 $ref: '#/components/schemas/Response'
427 /lifecycle/subgroup/{subgroup}:
431 summary: Retrieves the Lifecycle subgroup
432 description: Lifecycle Subgroup
433 operationId: subgroup
437 description: Subgroup
443 description: successful operation
447 $ref: '#/components/schemas/Response'
450 $ref: '#/components/schemas/Response'
455 summary: Retrieves the Lifecycle subgroup
456 description: Lifecycle Subgroup
457 operationId: subgroup_1
460 description: successful operation
464 $ref: '#/components/schemas/Response'
467 $ref: '#/components/schemas/Response'
468 /lifecycle/properties:
472 summary: Retrieves the Lifecycle properties
473 description: Lifecycle Properties
474 operationId: propertiesLifecycle
477 description: successful operation
481 $ref: '#/components/schemas/Response'
484 $ref: '#/components/schemas/Response'
485 /lifecycle/topic/sink:
489 summary: Retrieves the Lifecycle topic sink
490 description: Lifecycle Topic Sink
494 description: successful operation
498 $ref: '#/components/schemas/Response'
501 $ref: '#/components/schemas/Response'
502 /lifecycle/topic/source:
506 summary: Retrieves the Lifecycle topic source
507 description: Lifecycle Topic Source
508 operationId: sourceLifecycle
511 description: successful operation
515 $ref: '#/components/schemas/Response'
518 $ref: '#/components/schemas/Response'
523 summary: Retrieves the Engine Operational Status
524 description: Top-level abstraction. Provides a global view of resources
528 description: successful operation
532 $ref: '#/components/schemas/Response'
535 $ref: '#/components/schemas/Response'
539 summary: Shuts down the Engine
540 description: Deleting the engine, the top-level abstraction, equivalenty shuts
542 operationId: engineShutdown
545 description: successful operation
549 $ref: '#/components/schemas/Response'
552 $ref: '#/components/schemas/Response'
557 summary: Engine Features
558 description: Provides the list of loaded features using the PolicyEngineFeatureAPI
559 operationId: engineFeatures
562 description: successful operation
566 $ref: '#/components/schemas/Response'
569 $ref: '#/components/schemas/Response'
570 /features/{featureName}:
574 summary: Engine Feature
575 description: Provides Details for a given feature Engine Provider
576 operationId: engineFeature
580 description: Feature Name
586 description: successful operation
590 $ref: '#/components/schemas/Response'
593 $ref: '#/components/schemas/Response'
595 description: The feature cannot be found
601 summary: Engine Detailed Feature Inventory
602 description: Provides detailed list of loaded features using the PolicyEngineFeatureAPI
603 operationId: engineFeaturesInventory
606 description: successful operation
610 $ref: '#/components/schemas/Response'
613 $ref: '#/components/schemas/Response'
618 summary: Engine Input Ports
619 description: List of input ports
620 operationId: engineInputs
623 description: successful operation
627 $ref: '#/components/schemas/Response'
630 $ref: '#/components/schemas/Response'
631 /inputs/configuration:
635 summary: Engine Input Configuration Requests
636 description: Feeds a configuration request input into the Engine
637 operationId: engineUpdate
639 description: Configuration to apply
643 $ref: '#/components/schemas/PdpdConfiguration'
646 $ref: '#/components/schemas/PdpdConfiguration'
650 description: successful operation
654 $ref: '#/components/schemas/Response'
657 $ref: '#/components/schemas/Response'
659 description: The configuration request cannot be honored
661 x-codegen-request-body-name: body
662 /environment/{envProperty}:
666 summary: Gets an environment variable
667 operationId: engineEnvironmentProperty
671 description: Environment Property
677 description: successful operation
681 $ref: '#/components/schemas/Response'
684 $ref: '#/components/schemas/Response'
688 summary: Adds a new environment value to the engine
689 operationId: engineEnvironmentAdd
693 description: Environment Property
698 description: Environment Value
706 description: successful operation
710 $ref: '#/components/schemas/Response'
713 $ref: '#/components/schemas/Response'
714 x-codegen-request-body-name: body
719 summary: Engine Environment Properties
720 description: Installation and OS environment properties used by the engine
721 operationId: engineEnvironment
724 description: successful operation
728 $ref: '#/components/schemas/Response'
731 $ref: '#/components/schemas/Response'
736 summary: Engine Control Switches
737 description: List of the Engine Control Switches
738 operationId: engineSwitches
741 description: successful operation
745 $ref: '#/components/schemas/Response'
748 $ref: '#/components/schemas/Response'
749 /switches/activation:
753 summary: Switches on the Engine Activation Switch
754 description: Turns on Activation Switch on the Engine. This order entails that
755 the engine and controllers are unlocked and started
756 operationId: engineActivation
759 description: successful operation
763 $ref: '#/components/schemas/Response'
766 $ref: '#/components/schemas/Response'
770 summary: Switches off Engine Activation Switch
771 description: Turns off the Activation Switch on the Engine. This order entails
772 that the engine and controllers are locked (with the exception of those resources
773 defined as unmanaged)
774 operationId: engineDeactivation
777 description: successful operation
781 $ref: '#/components/schemas/Response'
784 $ref: '#/components/schemas/Response'
789 summary: Switches on the Engine Lock Control
790 description: This switch locks all the engine resources as a whole, except those
791 that are defined unmanaged
792 operationId: engineLock
795 description: successful operation
799 $ref: '#/components/schemas/Response'
802 $ref: '#/components/schemas/Response'
804 description: The system is an administrative state that prevents this request
810 summary: Switches off the Lock control
811 description: This switch locks all the engine resources as a whole, except those
812 that are defined unmanaged
813 operationId: engineUnlock
816 description: successful operation
820 $ref: '#/components/schemas/Response'
823 $ref: '#/components/schemas/Response'
825 description: The system is an administrative state that prevents this request
832 summary: Engine Configuration Properties
833 description: Used for booststrapping the engine
834 operationId: engineProperties
837 description: successful operation
841 $ref: '#/components/schemas/Response'
844 $ref: '#/components/schemas/Response'
849 summary: Lists the Policy Controllers Names
850 description: Unique Policy Controller Identifiers
851 operationId: controllers
854 description: successful operation
858 $ref: '#/components/schemas/Response'
861 $ref: '#/components/schemas/Response'
865 summary: Creates and starts a new Policy Controller
866 description: Controller creation based on properties
867 operationId: controllerAdd
869 description: Configuration Properties to apply
873 $ref: '#/components/schemas/Properties'
876 $ref: '#/components/schemas/Properties'
880 description: successful operation
884 $ref: '#/components/schemas/Response'
887 $ref: '#/components/schemas/Response'
889 description: The controller has been succesfully created and started
892 description: The controller has been created but cannot be started
895 description: The controller already exists
898 description: Invalid configuration information has been provided
901 description: The administrative state of the system prevents it from processing
904 x-codegen-request-body-name: body
905 /controllers/features:
909 summary: Lists of Feature Providers Identifiers
910 description: Unique Policy Controller Identifiers
911 operationId: controllerFeatures
914 description: successful operation
918 $ref: '#/components/schemas/Response'
921 $ref: '#/components/schemas/Response'
922 /controllers/features/{featureName}:
926 summary: Controller Feature
927 description: Provides Details for a given Policy Controller feature provider
928 operationId: controllerFeature
932 description: Feature Name
938 description: successful operation
942 $ref: '#/components/schemas/Response'
945 $ref: '#/components/schemas/Response'
947 description: The feature cannot be found
949 /controllers/inventory:
953 summary: Lists the Policy Controllers
954 description: Detailed list of Policy Controllers
955 operationId: controllerInventory
958 description: successful operation
962 $ref: '#/components/schemas/Response'
965 $ref: '#/components/schemas/Response'
966 /controllers/features/inventory:
970 summary: Detailed Controllers Feature Inventory
971 description: Provides detailed list of loaded features using the PolicyControllerFeatureAPI
972 operationId: controllerFeaturesInventory
975 description: successful operation
979 $ref: '#/components/schemas/Response'
982 $ref: '#/components/schemas/Response'
983 /controllers/{controller}:
987 summary: Retrieves a Policy Controller
988 description: A Policy Controller is a concrete drools application abstraction. It
989 aggregates networking, drools, and other resources,as provides operational
990 controls over drools applications
991 operationId: controller
995 description: Policy Controller Name
1001 description: successful operation
1005 $ref: '#/components/schemas/Response'
1008 $ref: '#/components/schemas/Response'
1010 description: The controller cannot be found
1013 description: The system is an administrative state that prevents this request
1019 summary: Deletes a Policy Controller
1020 description: A Policy Controller is a concrete drools application abstraction. It
1021 aggregates networking, drools, and other resources,as provides operational
1022 controls over drools applications
1023 operationId: controllerDelete
1027 description: Policy Controller Name
1033 description: successful operation
1037 $ref: '#/components/schemas/Response'
1040 $ref: '#/components/schemas/Response'
1042 description: The controller cannot be found
1045 description: The system is an administrative state that prevents this request
1049 description: A problem has occurred while deleting the Policy Controller
1051 /controllers/{controller}/inputs:
1055 summary: Policy Controller Input Ports
1056 description: List of input ports
1057 operationId: controllerInputs
1061 description: Policy Controller Name
1067 description: successful operation
1071 $ref: '#/components/schemas/Response'
1074 $ref: '#/components/schemas/Response'
1075 /controllers/{controller}/inputs/configuration:
1079 summary: Policy Controller Input Configuration Requests
1080 description: Feeds a configuration request input into the given Policy Controller
1081 operationId: controllerUpdate
1085 description: Policy Controller Name
1090 description: Configuration to apply
1094 $ref: '#/components/schemas/ControllerConfiguration'
1097 $ref: '#/components/schemas/ControllerConfiguration'
1101 description: successful operation
1105 $ref: '#/components/schemas/Response'
1108 $ref: '#/components/schemas/Response'
1110 description: The configuration request is invalid
1113 description: The configuration request cannot be honored
1115 x-codegen-request-body-name: body
1116 /controllers/{controller}/switches:
1120 summary: Policy Controller Switches
1121 description: List of the Policy Controller Switches
1122 operationId: controllerSwitches
1126 description: Policy Controller Name
1132 description: successful operation
1136 $ref: '#/components/schemas/Response'
1139 $ref: '#/components/schemas/Response'
1140 /controllers/{controller}/switches/lock:
1144 summary: Switches on the Policy Controller Lock Control
1145 description: This action on the switch locks the Policy Controller
1146 operationId: controllerLock
1150 description: Policy Controller Name
1156 description: successful operation
1160 $ref: '#/components/schemas/Response'
1163 $ref: '#/components/schemas/Response'
1165 description: The system is an administrative state that prevents this request
1171 summary: Switches off the Policy Controller Lock Control
1172 description: This action on the switch unlocks the Policy Controller
1173 operationId: controllerUnlock
1177 description: Policy Controller Name
1183 description: successful operation
1187 $ref: '#/components/schemas/Response'
1190 $ref: '#/components/schemas/Response'
1192 description: The system is an administrative state that prevents this request
1195 /controllers/{controller}/drools/facts/{session}/{factType}:
1199 summary: Retrieves fact objects of a given type in the drools working memoryfor
1200 a given controller and session
1201 description: The fact types are the classnames of the objects inserted in the
1202 drools working memory
1203 operationId: droolsFacts
1207 description: Fact count
1213 description: Policy Controller Name
1219 description: Drools Session Name
1225 description: Drools Fact Type
1231 description: successful operation
1235 $ref: '#/components/schemas/Response'
1238 $ref: '#/components/schemas/Response'
1240 description: The controller, session, or fact type cannot be found
1243 description: The system is an administrative state that prevents this request
1249 summary: Deletes all the fact objects of a given type from the drools working
1250 memoryfor a given controller and session. The objects retracted from the
1251 working memory are provided in the response.
1252 description: The fact types are the classnames of the objects inserted in the
1253 drools working memory
1254 operationId: droolsFactsDelete_1
1258 description: Policy Controller Name
1264 description: Drools Session Name
1270 description: Drools Fact Type
1276 description: successful operation
1280 $ref: '#/components/schemas/Response'
1283 $ref: '#/components/schemas/Response'
1285 description: The controller, session, or fact type, cannot be found
1288 description: The system is an administrative state that prevents this request
1292 description: A server error has occurred processing this request
1294 /controllers/{controller}/drools/facts/{session}:
1298 summary: Retrieves Fact Types (classnames) for a given controller and its count
1299 description: The fact types are the classnames of the objects inserted in the
1300 drools working memory
1301 operationId: droolsFacts_1
1305 description: Policy Controller Name
1311 description: Drools Session Name
1317 description: successful operation
1321 $ref: '#/components/schemas/Response'
1324 $ref: '#/components/schemas/Response'
1326 description: The controller or session cannot be found
1329 description: The system is an administrative state that prevents this request
1332 /controllers/{controller}/drools/facts:
1336 summary: Retrieves Facts Summary information for a given controller
1337 description: Provides the session names, and a count of fact object in the drools
1339 operationId: droolsFacts_2
1343 description: Policy Controller Name
1349 description: successful operation
1353 $ref: '#/components/schemas/Response'
1356 $ref: '#/components/schemas/Response'
1358 description: The controller cannot be found
1361 description: The system is an administrative state that prevents this request
1364 /controllers/{controller}/drools/facts/{session}/{query}/{queriedEntity}:
1368 summary: Gets all the fact objects returned by a DRL query with no parameters
1369 from the drools working memoryfor a given controller and session
1370 description: The DRL query must be defined in the DRL file
1371 operationId: droolsFacts_3
1375 description: Fact count
1381 description: Policy Controller Name
1387 description: Drools Session Name
1393 description: Query Name Present in DRL
1397 - name: queriedEntity
1399 description: Query Identifier Present in the DRL Query
1405 description: successful operation
1409 $ref: '#/components/schemas/Response'
1412 $ref: '#/components/schemas/Response'
1414 description: The controller, session, or query information, cannot be found
1417 description: The system is an administrative state that prevents this request
1421 description: A server error has occurred processing this request
1426 summary: Gets all the fact objects returned by a DRL query with parameters from
1427 the drools working memoryfor a given controller and session
1428 description: The DRL query with parameters must be defined in the DRL file
1429 operationId: droolsFacts_4
1433 description: Policy Controller Name
1439 description: Drools Session Name
1445 description: Query Name Present in DRL
1449 - name: queriedEntity
1451 description: Query Identifier Present in the DRL Query
1456 description: Query Parameter Values to pass in the DRL Query
1473 description: successful operation
1477 $ref: '#/components/schemas/Response'
1480 $ref: '#/components/schemas/Response'
1482 description: The controller, session, or query information, cannot be found
1485 description: The system is an administrative state that prevents this request
1489 description: A server error has occurred processing this request
1491 x-codegen-request-body-name: body
1495 summary: Deletes all the fact objects returned by a DRL query with parameters
1496 from the drools working memory for a given controller and session
1497 description: The DRL query with parameters must be defined in the DRL file
1498 operationId: droolsFactsDelete
1502 description: Policy Controller Name
1508 description: Drools Session Name
1514 description: Query Name Present in DRL
1518 - name: queriedEntity
1520 description: Query Identifier Present in the DRL Query
1526 description: successful operation
1530 $ref: '#/components/schemas/Response'
1533 $ref: '#/components/schemas/Response'
1535 description: The controller, session, or query information, cannot be found
1538 description: The system is an administrative state that prevents this request
1542 description: A server error has occurred processing this request
1544 x-codegen-request-body-name: body
1545 /controllers/{controller}/decoders:
1549 summary: Gets all the decoders used by a controller
1550 description: A Policy Controller uses decoders to deserialize incoming network
1551 messages from subscribed network topics into specific (fact) objects. The
1552 deserialized (fact) object will typically be inserted in the drools working memory
1553 of the controlled drools application.
1554 operationId: decoders
1558 description: Policy Controller Name
1564 description: successful operation
1568 $ref: '#/components/schemas/Response'
1571 $ref: '#/components/schemas/Response'
1573 description: The controller cannot be found
1576 description: The system is an administrative state that prevents this request
1579 /controllers/{controller}/decoders/filters:
1583 summary: Gets all the filters used by a controller
1584 description: A Policy Controller uses decoders to deserialize incoming network
1585 messages from subscribed network topics into specific (fact) objects. The
1586 deserialized (fact) object will typically be inserted in the drools working memory
1587 of the controlled drools application.Acceptance filters are used to filter
1588 out undesired network messages for the given controller
1589 operationId: decoderFilters
1593 description: Policy Controller Name
1599 description: successful operation
1603 $ref: '#/components/schemas/Response'
1606 $ref: '#/components/schemas/Response'
1608 description: The controller cannot be found
1611 description: The system is an administrative state that prevents this request
1614 /controllers/{controller}/decoders/{topic}:
1618 summary: Gets all the decoders in use by a controller for a networked topic
1619 description: A Policy Controller uses decoders to deserialize incoming network
1620 messages from subscribed network topics into specific (fact) objects. The
1621 deserialized (fact) object will typically be inserted in the drools working memory
1622 of the controlled drools application.
1623 operationId: decoder
1627 description: Policy Controller Name
1633 description: Networked Topic Name
1639 description: successful operation
1643 $ref: '#/components/schemas/Response'
1646 $ref: '#/components/schemas/Response'
1648 description: The controller or topic cannot be found
1651 description: The system is an administrative state that prevents this request
1657 summary: Decodes a string into a fact object, and encodes it back into a string
1658 description: Tests the decode/encode functions of a controller
1663 description: Policy Controller Name
1669 description: Topic Name
1674 description: JSON String to decode
1682 description: successful operation
1686 $ref: '#/components/schemas/Response'
1689 $ref: '#/components/schemas/Response'
1691 description: Bad input has been provided
1694 description: The controller cannot be found
1697 description: The system is an administrative state that prevents this request
1700 x-codegen-request-body-name: body
1701 /controllers/{controller}/decoders/{topic}/filters/{factType}:
1705 summary: Gets all filters attached to decoders for a given subscribed networked
1707 description: Decoders are associated with networked topics. A Policy Controller
1708 manages multiple topics and therefore its attached decoders. A Policy Controller
1709 uses filters to further specify the fact mapping. Filters are applied on
1710 a per fact type (classname).
1711 operationId: decoderFilter_1
1715 description: Policy Controller Name
1721 description: Networked Topic Name
1727 description: Fact Type
1733 description: successful operation
1737 $ref: '#/components/schemas/Response'
1740 $ref: '#/components/schemas/Response'
1742 description: The controller, topic, or fact type cannot be found
1745 description: The system is an administrative state that prevents this request
1751 summary: Attaches filters to the decoder for a given networked topic and fact
1753 description: Decoders are associated with networked topics. A Policy Controller
1754 manages multiple topics and therefore its attached decoders. A Policy Controller
1755 uses filters to further specify the fact mapping. Filters are applied on
1756 a per fact type (classname).
1757 operationId: decoderFilter
1761 description: Policy Controller Name
1767 description: Topic Name
1773 description: Fact Type
1778 description: Configuration Filter
1782 $ref: '#/components/schemas/JsonProtocolFilter'
1785 $ref: '#/components/schemas/JsonProtocolFilter'
1789 description: successful operation
1793 $ref: '#/components/schemas/Response'
1796 $ref: '#/components/schemas/Response'
1798 description: The controller, topic, fact type, cannot be found, or a filter
1799 has not been provided
1802 description: The system is an administrative state that prevents this request
1805 x-codegen-request-body-name: body
1806 /controllers/{controller}/decoders/{topic}/filters:
1810 summary: Gets all filters attached to decoders for a given networked topic in
1812 description: A Policy Controller uses decoders to deserialize incoming network
1813 messages from subscribed network topics into specific (fact) objects. The
1814 deserialized (fact) object will typically be inserted in the drools working memory
1815 of the controlled drools application.Acceptance filters are used to filter
1816 out undesired network messages for the given controller
1817 operationId: decoderFilter_2
1821 description: Policy Controller Name
1827 description: Networked Topic Name
1833 description: successful operation
1837 $ref: '#/components/schemas/Response'
1840 $ref: '#/components/schemas/Response'
1842 description: The controller or topic cannot be found
1845 description: The system is an administrative state that prevents this request
1848 /controllers/{controller}/decoders/{topic}/filters/{factType}/rule:
1852 summary: Gets the filter rule attached to a topic decoder of a controller
1853 description: 'Decoders are associated with networked topics. A Policy Controller
1854 manages multiple topics and therefore its attached decoders. A Policy Controller
1855 uses filters to further specify the fact mapping. Filters are applied on
1856 a per fact type using a jsonpath expression rule. '
1857 operationId: decoderFilterRules
1861 description: Policy Controller Name
1867 description: Topic Name
1873 description: Fact Type
1879 description: successful operation
1883 $ref: '#/components/schemas/Response'
1886 $ref: '#/components/schemas/Response'
1888 description: The controller, topic, or fact type cannot be found
1891 description: The system is an administrative state that prevents this request
1897 summary: Places a new filter rule in a topic decoder
1898 description: 'Decoders are associated with networked topics. A Policy Controller
1899 manages multiple topics and therefore its attached decoders. A Policy Controller
1900 uses filters to further specify the fact mapping. Filters are applied on
1901 a per fact type using a jsonpath expression rule. '
1902 operationId: decoderFilterRule
1906 description: Policy Controller Name
1912 description: Topic Name
1918 description: Fact Type
1923 description: JsonPath filter expression
1934 description: successful operation
1938 $ref: '#/components/schemas/Response'
1941 $ref: '#/components/schemas/Response'
1943 description: The controller, topic, or fact type cannot be found
1946 description: The system is an administrative state that prevents this request
1949 x-codegen-request-body-name: body
1953 summary: Deletes the filter rule attached to a topic decoder of a controller
1954 description: 'Decoders are associated with networked topics. A Policy Controller
1955 manages multiple topics and therefore its attached decoders. A Policy Controller
1956 uses filters to further specify the fact mapping. Filters are applied on
1957 a per fact type using a jsonpath expression rule. '
1958 operationId: decoderFilterRuleDelete
1962 description: Policy Controller Name
1968 description: Topic Name
1974 description: Fact Type
1980 description: successful operation
1984 $ref: '#/components/schemas/Response'
1987 $ref: '#/components/schemas/Response'
1989 description: The controller, topic, or fact type cannot be found
1992 description: The system is an administrative state that prevents this request
1995 /controllers/{controller}/encoders:
1999 summary: Retrieves the encoder filters of a controller
2000 description: The encoders serializes a fact object, typically for network transmission
2001 operationId: encoderFilters
2005 description: Policy Controller Name
2011 description: successful operation
2015 $ref: '#/components/schemas/Response'
2018 $ref: '#/components/schemas/Response'
2020 description: Bad input has been provided
2023 description: The system is an administrative state that prevents this request
2026 /controllers/{controller}/drools:
2030 summary: Retrieves the Drools Controller subcomponent of the Policy Controller
2031 description: The Drools Controller provides an abstraction over the Drools subsystem
2036 description: Policy Controller Name
2042 description: successful operation
2046 $ref: '#/components/schemas/Response'
2049 $ref: '#/components/schemas/Response'
2051 description: The controller cannot be found
2054 description: The system is an administrative state that prevents this request
2057 /controllers/{controller}/properties:
2061 summary: Retrieves the configuration properties of a Policy Controller
2062 description: Configuration resources used by the controller if Properties format
2063 operationId: controllerProperties
2067 description: Policy Controller Name
2073 description: successful operation
2077 $ref: '#/components/schemas/Response'
2080 $ref: '#/components/schemas/Response'
2082 description: The controller cannot be found
2085 description: The system is an administrative state that prevents this request
2088 /controllers/tools/coders/decoders/filters/rule:
2092 summary: Produces a Decoder Rule Filter in a format that the Policy Controller
2094 description: The result can be used with other APIs to attach a filter to a
2098 description: JsonPath expression
2109 description: successful operation
2113 $ref: '#/components/schemas/Response'
2116 $ref: '#/components/schemas/Response'
2117 x-codegen-request-body-name: body
2122 summary: Produces an UUID
2123 description: UUID generation utility
2127 description: successful operation
2131 $ref: '#/components/schemas/Response'
2134 $ref: '#/components/schemas/Response'
2135 /tools/loggers/{logger}/{level}:
2139 summary: sets the logger level
2140 description: Please use the SLF4J logger levels
2141 operationId: loggerName
2145 description: Logger Name
2151 description: Logger Level
2157 description: successful operation
2161 $ref: '#/components/schemas/Response'
2164 $ref: '#/components/schemas/Response'
2166 description: logger not found
2169 description: logging misconfiguration
2171 /tools/loggers/{logger}:
2175 summary: logging level of a logger
2176 operationId: loggerName_1
2180 description: Logger Name
2186 description: successful operation
2190 $ref: '#/components/schemas/Response'
2193 $ref: '#/components/schemas/Response'
2195 description: logger not found
2198 description: logging misconfiguration
2204 summary: all active loggers
2205 operationId: loggers
2208 description: successful operation
2212 $ref: '#/components/schemas/Response'
2215 $ref: '#/components/schemas/Response'
2217 description: logging misconfiguration
2223 summary: Retrieves the managed topics
2224 description: Network Topics Aggregation
2228 description: successful operation
2232 $ref: '#/components/schemas/Response'
2235 $ref: '#/components/schemas/Response'
2240 summary: Retrieves the managed topic sources
2241 description: Network Topic Sources Agregation
2242 operationId: sources
2245 description: successful operation
2249 $ref: '#/components/schemas/Response'
2252 $ref: '#/components/schemas/Response'
2257 summary: Retrieves the managed topic sinks
2258 description: Network Topic Sinks Agregation
2262 description: successful operation
2266 $ref: '#/components/schemas/Response'
2269 $ref: '#/components/schemas/Response'
2274 summary: Topics Control Switches
2275 description: List of the Topic Control Switches
2276 operationId: topicSwitches
2279 description: successful operation
2283 $ref: '#/components/schemas/Response'
2286 $ref: '#/components/schemas/Response'
2287 /topics/switches/lock:
2291 summary: Locks all the managed topics
2292 description: The operation affects all managed sources and sinks
2293 operationId: topicsLock
2296 description: successful operation
2300 $ref: '#/components/schemas/Response'
2303 $ref: '#/components/schemas/Response'
2305 description: The system is an administrative state that prevents this request
2311 summary: Unlocks all the managed topics
2312 description: The operation affects all managed sources and sinks
2313 operationId: topicsUnlock
2316 description: successful operation
2320 $ref: '#/components/schemas/Response'
2323 $ref: '#/components/schemas/Response'
2325 description: The system is an administrative state that prevents this request
2328 /topics/sources/{comm}:
2332 summary: Retrieves managed topic sources
2333 description: Sources for a communication infrastructure
2334 operationId: commSources
2338 description: Communication Mechanism
2341 pattern: ueb|dmaap|noop
2345 description: successful operation
2349 $ref: '#/components/schemas/Response'
2352 $ref: '#/components/schemas/Response'
2353 /topics/sinks/{comm}:
2357 summary: Retrieves managed topic sinks
2358 description: Communication Infrastructure Sinks
2359 operationId: commSinks
2363 description: Communication Mechanism
2366 pattern: ueb|dmaap|noop
2370 description: successful operation
2374 $ref: '#/components/schemas/Response'
2377 $ref: '#/components/schemas/Response'
2378 /topics/sources/{comm}/{topic}:
2382 summary: Retrieves a managed topic source
2383 description: This is an Network Communication Endpoint source of messages for
2385 operationId: sourceTopic
2389 description: Communication Mechanism
2392 pattern: ueb|dmaap|noop
2396 description: Topic Name
2402 description: successful operation
2406 $ref: '#/components/schemas/Response'
2409 $ref: '#/components/schemas/Response'
2410 /topics/sinks/{comm}/{topic}:
2414 summary: Retrieves a managed topic sink
2415 description: This is a Network Communicaton Endpoint destination of messages
2417 operationId: sinkTopic
2421 description: Communication Mechanism
2424 pattern: ueb|dmaap|noop
2428 description: Topic Name
2434 description: successful operation
2438 $ref: '#/components/schemas/Response'
2441 $ref: '#/components/schemas/Response'
2442 /topics/sources/{comm}/{topic}/events:
2446 summary: Retrieves the latest events received by an UEB topic
2447 description: This is a Network Communicaton Endpoint source of messages for
2449 operationId: sourceEvents
2453 description: Communication Mechanism
2456 pattern: ueb|dmaap|noop
2460 description: Topic Name
2466 description: successful operation
2470 $ref: '#/components/schemas/Response'
2473 $ref: '#/components/schemas/Response'
2477 summary: Offers an event to a topic for internal processing by the engine
2478 description: The offered event is treated as it was incoming from the network
2479 operationId: commEventOffer
2483 description: Communication Mechanism
2486 pattern: ueb|dmaap|noop
2490 description: Topic Name
2495 description: Network Message
2503 description: successful operation
2507 $ref: '#/components/schemas/Response'
2510 $ref: '#/components/schemas/Response'
2512 description: The topic information cannot be found
2515 description: The system is an administrative state that prevents this request
2519 description: A server error has occurred processing this request
2521 x-codegen-request-body-name: body
2522 /topics/sinks/{comm}/{topic}/events:
2526 summary: Retrieves the latest events received by an UEB topic
2527 description: This is a Network Communicaton Endpoint source of messages for
2529 operationId: sinkEvents
2533 description: Communication Mechanism
2536 pattern: ueb|dmaap|noop
2540 description: Topic Name
2546 description: successful operation
2550 $ref: '#/components/schemas/Response'
2553 $ref: '#/components/schemas/Response'
2554 /topics/sinks/{comm}/{topic}/switches/lock:
2558 summary: Locks a topic sink
2559 operationId: commSinkTopicLock
2563 description: Communication Mechanism
2566 pattern: ueb|dmaap|noop
2570 description: Topic Name
2576 description: successful operation
2580 $ref: '#/components/schemas/Response'
2583 $ref: '#/components/schemas/Response'
2585 description: The system is an administrative state that prevents this request
2591 summary: Unlocks a topic sink
2592 operationId: commSinkTopicUnlock
2596 description: Communication Mechanism
2599 pattern: ueb|dmaap|noop
2603 description: Topic Name
2609 description: successful operation
2613 $ref: '#/components/schemas/Response'
2616 $ref: '#/components/schemas/Response'
2618 description: The system is an administrative state that prevents this request
2621 /topics/sources/{comm}/{topic}/switches:
2625 summary: Topic Control Switches
2626 description: List of the Topic Control Switches
2627 operationId: commSourceTopicSwitches
2631 description: Communication Mechanism
2634 pattern: ueb|dmaap|noop
2638 description: Topic Name
2644 description: successful operation
2648 $ref: '#/components/schemas/Response'
2651 $ref: '#/components/schemas/Response'
2652 /topics/sinks/{comm}/{topic}/switches:
2656 summary: Topic Control Switches
2657 description: List of the Topic Control Switches
2658 operationId: commSinkTopicSwitches
2662 description: Communication Mechanism
2665 pattern: ueb|dmaap|noop
2669 description: Topic Name
2675 description: successful operation
2679 $ref: '#/components/schemas/Response'
2682 $ref: '#/components/schemas/Response'
2683 /topics/sources/{comm}/{topic}/switches/lock:
2687 summary: Locks a topic
2688 operationId: commSourceTopicLock
2692 description: Communication Mechanism
2695 pattern: ueb|dmaap|noop
2699 description: Topic Name
2705 description: successful operation
2709 $ref: '#/components/schemas/Response'
2712 $ref: '#/components/schemas/Response'
2714 description: The system is an administrative state that prevents this request
2720 summary: Unlocks topic
2721 operationId: commSourceTopicUnlock
2725 description: Communication Mechanism
2728 pattern: ueb|dmaap|noop
2732 description: Topic Name
2738 description: successful operation
2742 $ref: '#/components/schemas/Response'
2745 $ref: '#/components/schemas/Response'
2747 description: The system is an administrative state that prevents this request
2750 /topics/sources/{comm}/{topic}/switches/activation:
2754 summary: Starts a topic
2755 operationId: commSourceTopicActivation
2759 description: Communication Mechanism
2762 pattern: ueb|dmaap|noop
2766 description: Topic Name
2772 description: successful operation
2776 $ref: '#/components/schemas/Response'
2779 $ref: '#/components/schemas/Response'
2781 description: The system is an administrative state that prevents this request
2787 summary: Stops a topic
2788 operationId: commSourceTopicDeactivation
2792 description: Communication Mechanism
2795 pattern: ueb|dmaap|noop
2799 description: Topic Name
2805 description: successful operation
2809 $ref: '#/components/schemas/Response'
2812 $ref: '#/components/schemas/Response'
2814 description: The system is an administrative state that prevents this request
2817 /topics/sinks/{comm}/{topic}/switches/activation:
2821 summary: Starts a topic sink
2822 operationId: commSinkTopicActivation
2826 description: Communication Mechanism
2829 pattern: ueb|dmaap|noop
2833 description: Topic Name
2839 description: successful operation
2843 $ref: '#/components/schemas/Response'
2846 $ref: '#/components/schemas/Response'
2848 description: The system is an administrative state that prevents this request
2854 summary: Stops a topic
2855 operationId: commSinkTopicDeactivation
2859 description: Communication Mechanism
2862 pattern: ueb|dmaap|noop
2866 description: Topic Name
2872 description: successful operation
2876 $ref: '#/components/schemas/Response'
2879 $ref: '#/components/schemas/Response'
2881 description: The system is an administrative state that prevents this request
2884 /legacy/config/properties:
2888 summary: Legacy Engine Configuration Properties
2889 description: Used for booststrapping the engine
2890 operationId: properties
2893 description: successful operation
2897 $ref: '#/components/schemas/Response'
2900 $ref: '#/components/schemas/Response'
2901 /legacy/config/topic/source:
2905 summary: Retrieves the legacy configuration topic source
2906 description: Legacy Topic Source
2910 description: successful operation
2914 $ref: '#/components/schemas/Response'
2917 $ref: '#/components/schemas/Response'
2935 topicCommInfrastructure:
2947 PolicyTypeController:
2951 $ref: '#/components/schemas/ToscaConceptIdentifier'
2952 ToscaConceptIdentifier:
2959 PdpEngineWorkerStatistics:
2981 averageExecutionTime:
3008 topicCommInfrastructure:
3038 additionalProperties:
3049 additionalProperties:
3053 $ref: '#/components/schemas/ToscaConceptIdentifier'
3055 $ref: '#/components/schemas/ToscaConceptIdentifier'
3061 $ref: '#/components/schemas/ToscaEntityKey'
3064 AgendaEventListener:
3076 $ref: '#/components/schemas/ClassLoader'
3080 $ref: '#/components/schemas/Module'
3081 registeredAsParallelCapable:
3086 $ref: '#/components/schemas/Package'
3110 $ref: '#/components/schemas/PolicyContainer'
3117 canonicalSessionNames:
3140 $ref: '#/components/schemas/FactHandle'
3152 $ref: '#/components/schemas/Annotation'
3155 additionalProperties:
3172 additionalProperties:
3180 $ref: '#/components/schemas/Annotation'
3190 $ref: '#/components/schemas/FactField'
3225 $ref: '#/components/schemas/Process'
3229 $ref: '#/components/schemas/KieSession'
3238 $ref: '#/components/schemas/KiePackage'
3239 kieBaseEventListeners:
3242 $ref: '#/components/schemas/KieBaseEventListener'
3243 KieBaseEventListener:
3248 kieSessionConfiguration:
3249 $ref: '#/components/schemas/KieSessionConfiguration'
3251 $ref: '#/components/schemas/ReleaseId'
3253 $ref: '#/components/schemas/KieBase'
3259 $ref: '#/components/schemas/ClassLoader'
3266 $ref: '#/components/schemas/Process'
3270 $ref: '#/components/schemas/FactType'
3274 $ref: '#/components/schemas/Query'
3282 $ref: '#/components/schemas/Global'
3286 $ref: '#/components/schemas/Rule'
3301 $ref: '#/components/schemas/Globals'
3303 $ref: '#/components/schemas/KieBase'
3305 $ref: '#/components/schemas/SessionClock'
3306 sessionConfiguration:
3307 $ref: '#/components/schemas/KieSessionConfiguration'
3309 $ref: '#/components/schemas/Calendars'
3312 additionalProperties:
3313 $ref: '#/components/schemas/Channel'
3315 $ref: '#/components/schemas/Environment'
3317 $ref: '#/components/schemas/Agenda'
3321 $ref: '#/components/schemas/EntryPoint'
3332 $ref: '#/components/schemas/FactHandle'
3339 $ref: '#/components/schemas/ProcessInstance'
3341 $ref: '#/components/schemas/WorkItemManager'
3343 $ref: '#/components/schemas/KieRuntimeLogger'
3344 ruleRuntimeEventListeners:
3347 $ref: '#/components/schemas/RuleRuntimeEventListener'
3348 agendaEventListeners:
3351 $ref: '#/components/schemas/AgendaEventListener'
3352 processEventListeners:
3355 $ref: '#/components/schemas/ProcessEventListener'
3356 KieSessionConfiguration:
3362 $ref: '#/components/schemas/ModuleLayer'
3366 $ref: '#/components/schemas/ModuleDescriptor'
3368 $ref: '#/components/schemas/ClassLoader'
3372 $ref: '#/components/schemas/Annotation'
3373 declaredAnnotations:
3376 $ref: '#/components/schemas/Annotation'
3400 specificationVersion:
3402 specificationVendor:
3404 implementationTitle:
3406 implementationVersion:
3408 implementationVendor:
3413 $ref: '#/components/schemas/Annotation'
3414 declaredAnnotations:
3417 $ref: '#/components/schemas/Annotation'
3424 $ref: '#/components/schemas/KieContainer'
3428 $ref: '#/components/schemas/PolicySession'
3438 $ref: '#/components/schemas/ClassLoader'
3447 $ref: '#/components/schemas/TopicSource'
3451 $ref: '#/components/schemas/ToscaConceptIdentifier'
3455 $ref: '#/components/schemas/TopicSink'
3457 $ref: '#/components/schemas/DroolsController'
3462 additionalProperties:
3474 $ref: '#/components/schemas/HttpServletServer'
3478 $ref: '#/components/schemas/PolicyController'
3479 policyControllerIds:
3486 $ref: '#/components/schemas/PolicyEngineFeatureApi'
3492 $ref: '#/components/schemas/DomainMaker'
3494 $ref: '#/components/schemas/PolicyStatsManager'
3497 additionalProperties:
3506 $ref: '#/components/schemas/TopicSource'
3510 $ref: '#/components/schemas/TopicSink'
3512 $ref: '#/components/schemas/ScheduledExecutorService'
3515 additionalProperties:
3523 PolicyEngineFeatureApi:
3537 $ref: '#/components/schemas/PolicyContainer'
3539 $ref: '#/components/schemas/KieSession'
3545 policyExecutedCount:
3548 policyExecutedSuccessCount:
3551 policyExecutedFailCount:
3557 averageExecutionTime:
3573 $ref: '#/components/schemas/PolicyStats'
3576 additionalProperties:
3577 $ref: '#/components/schemas/PolicyStats'
3582 $ref: '#/components/schemas/Resource'
3585 additionalProperties:
3610 ProcessEventListener:
3615 parentProcessInstanceId:
3621 $ref: '#/components/schemas/Process'
3639 additionalProperties:
3677 $ref: '#/components/schemas/ResourceConfiguration'
3681 $ref: '#/components/schemas/ResourceType'
3685 $ref: '#/components/schemas/Reader'
3687 $ref: '#/components/schemas/InputStream'
3688 ResourceConfiguration:
3701 fullyCoveredByExecModel:
3712 additionalProperties:
3733 RuleRuntimeEventListener:
3735 ScheduledExecutorService:
3750 PolicyControllerFeatureApi:
3758 ControllerConfiguration:
3766 $ref: '#/components/schemas/DroolsConfiguration'
3767 additionalProperties:
3769 additionalProperties:
3772 DroolsConfiguration:
3781 additionalProperties:
3783 additionalProperties:
3792 $ref: '#/components/schemas/JsonProtocolFilter'
3793 modelClassLoaderHash:
3808 ProtocolCoderToolset:
3822 $ref: '#/components/schemas/CoderFilters'
3824 $ref: '#/components/schemas/CustomCoder'
3846 topicCommInfrastructure:
3887 topicCommInfrastructure:
3920 topicCommInfrastructure:
3961 topicCommInfrastructure:
3992 topicCommInfrastructure:
4019 topicCommInfrastructure:
4033 $ref: '#/components/schemas/UebTopicSource'
4037 $ref: '#/components/schemas/UebTopicSink'
4041 $ref: '#/components/schemas/DmaapTopicSink'
4045 $ref: '#/components/schemas/KafkaTopicSink'
4049 $ref: '#/components/schemas/NoopTopicSink'
4053 $ref: '#/components/schemas/DmaapTopicSource'
4057 $ref: '#/components/schemas/KafkaTopicSource'
4061 $ref: '#/components/schemas/NoopTopicSource'
4065 $ref: '#/components/schemas/TopicSource'
4069 $ref: '#/components/schemas/TopicSink'
4095 topicCommInfrastructure:
4136 topicCommInfrastructure:
4158 $ref: '#/components/schemas/ControllerConfiguration'
4159 additionalProperties:
4161 additionalProperties: