|
1 | 1 | # Events
|
2 | 2 |
|
3 |
| -Any action, available to be performed by means of API (including custom users’ scripts running), should be binded to some event, i.e. executed as a result of this event occurrence. |
4 |
| -Each event belongs to a particular entity. For example, the entry point for performing any actions with application is the application’s event onInstall. |
5 |
| -Subscription to the particular application’s lifecycle events (e.g. topology changes) can be done via [Environment Level Events](#environment-level-events). |
6 |
| -It’s also possible to bind the extension’s execution to the onUninstall event and in such a way implement the included to it custom logic of this extension removal from an environment. |
| 3 | +Any action, available to be performed by means of API (including custom users’ scripts running), should be bound to some event, i.e. executed as a result of this event occurrence. |
| 4 | +Each event belongs to a particular entity. For example, the entry point for performing any actions with application is the application’s event *onInstall*. |
| 5 | +Subscription to a particular application’s lifecycle events (e.g. topology changes) can be done via [Environment Level Events](#environment-level-events). |
| 6 | +It’s also possible to bind extension’s execution to the *onUninstall* event and, in such a way, implement the included to it custom logic of this extension removal from an environment. |
7 | 7 |
|
8 | 8 | ## Application Level Events
|
9 | 9 | ```
|
@@ -90,7 +90,7 @@ It’s also possible to bind the extension’s execution to the onUninstall even
|
90 | 90 | }
|
91 | 91 | ```
|
92 | 92 |
|
93 |
| -## Events params and responses placeholders |
| 93 | +## Events parameters and response placeholders |
94 | 94 | ### BeforeChangeTopology
|
95 | 95 | ```
|
96 | 96 | {
|
@@ -1188,8 +1188,8 @@ Only for Docker®
|
1188 | 1188 | ```
|
1189 | 1189 | ## Events filtering
|
1190 | 1190 |
|
1191 |
| -Events can be filtered by nodeGroup, nodeType, nodeId. |
1192 |
| -So defined actions will be executed only when events will be called on filter rules. |
| 1191 | +Events can be filtered by *nodeGroup*, *nodeType*, *nodeId*. |
| 1192 | +So defined actions will be executed only when called events match specified filter rules. |
1193 | 1193 |
|
1194 | 1194 | ###By nodeGroup:
|
1195 | 1195 | ```
|
@@ -1227,4 +1227,5 @@ So defined actions will be executed only when events will be called on filter ru
|
1227 | 1227 | }
|
1228 | 1228 | }
|
1229 | 1229 | ```
|
1230 |
| -- `number` - nodeId value |
| 1230 | +where |
| 1231 | +- `number` - *nodeId* value |
0 commit comments