Skip to content
Snippets Groups Projects
Commit b6226414 authored by torrespel's avatar torrespel
Browse files

event filter page

parent 880b8145
No related branches found
No related tags found
1 merge request!34Resolve "Add Event filter improvement to Release notes of new version"
# Event Filter
The **Event Filter** is a feature of the CAPIF Events service that allows you to receive specific notifications about the events you are subscribed to. This tool is essential for efficiently managing and monitoring relevant events, ensuring that users receive only the information they need.
## How it works
To specify the desired filter during subscription, you can use the ***eventDetails*** field, provided that the ***Enhanced Event Report*** flag is enabled in the ***Supported Features*** characteristics.
The ***eventDetails*** field consists of a list of filters that correspond one-to-one with the list of events in the ***events*** field. Thus, the first element of the filter list corresponds to the first element of the events list, the second filter element to the second event element, and so on.
Each filter contains three lists:
- **apiIds**: Identifiers of the APIs from which you want to receive notifications.
- **apiInvokerIds**: Identifiers of the invokers from which you want to receive notifications.
- **aefIds**: Identifiers of the AEFs from which you want to receive notifications.
Depending on the event you subscribe to, you can use one or more of these lists. The following table shows the filtering options available for each event:
| Event | apiIds | aefIds | apiInvokerIds |
|---------------------------------|:------:|:------:|:-------------:|
| SERVICE_API_AVAILABLE | X | | |
| SERVICE_API_UNAVAILABLE | X | | |
| SERVICE_API_UPDATE | X | | |
| API_INVOKER_ONBOARDED | | | X |
| API_INVOKER_OFFBOARDED | | | X |
| API_INVOKER_UPDATED | | | X |
| ACCESS_CONTROL_POLICY_UPDATE | X | | X |
| SERVICE_API_INVOCATION_SUCCESS | X | X | X |
| SERVICE_API_INVOCATION_FAILURE | X | X | X |
| API_TOPOLOGY_HIDING_CREATED | | | |
| API_TOPOLOGY_HIDING_REVOKED | | | |
In cases where 2 or 3 lists are specified simultaneously for an event, notifications will only be sent when there is at least one matching element in each of the subscription lists. For example, if you subscribe to the ***ACCESS_CONTROL_POLICY_UPDATE*** event using the ***apiIds*** and ***apiInvokerIds*** filter lists, you will only be notified when the access control policy update corresponds to an API in the ***apiIds*** list and an invoker in the ***apiInvokerIds*** list at the same time.
[OCF Web]: https://ocf.etsi.org/ "OCF Web"
[OCF Documentation]: https://ocf.etsi.org/documentation/ "OCF Documentation"
......@@ -3,9 +3,11 @@
### **New Features**
#### **Added Event Filters**
- New filters for Event service subscriptions.
- Now, you can specify from which API, AEF or Invoker you want to receive the event.
- These filters are specified in the ***eventDetails*** of the subscription.
- You can now specify from which API, AEF, or Invoker you want to receive the event notifications.
- These filters are specified in the ***eventDetails*** of the subscription if the ***Enhanced Event Report*** feature of the ***Supported Features*** is activated.
- More detailed information about event filters can be found in [Event Filter].
## **Release 2.0.0**
......@@ -346,3 +348,4 @@ This Release also includes a Robot Test Suite for all those services and a Postm
[New Registration Demo]: https://www.youtube.com/watch?v=sn-tN6eRvv8 "New Registration Demo"
[CICD Wiki]: https://labs.etsi.org/rep/ocf/community/-/wikis/OCF-CICD "CI/CD Wiki"
[Upgrade Release 17 to 18 Wiki]: https://labs.etsi.org/rep/ocf/community/-/wikis/3GPP-Release-18-upgrade "Upgrade Release 17 to 18 Wiki"
[Event Filter]: https://labs.etsi.org/rep/ocf/documentation/latest/event-filter/event-filter/ "Event Filter"
......@@ -81,6 +81,7 @@ nav:
- Features:
- Vendor Extensibility: ./vendor-ext/vendor-ext.md
- Api Status: ./api-status/api-status.md
- Event Filter: ./event-filter/event-filter.md
- SDK:
- Introduction: ./sdk/sdk.md
- Example Clients:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment