diff --git a/doc/testing/testplan/api_events_service/README.md b/doc/testing/testplan/api_events_service/README.md index ee86bc3b834a83e76ffdfa58fe2f5ef5209acd53..c6b37dbba2cbb1401dfdf7341f542a19f8e65aec 100644 --- a/doc/testing/testplan/api_events_service/README.md +++ b/doc/testing/testplan/api_events_service/README.md @@ -453,6 +453,7 @@ At this documentation you will have all information and related files and exampl 2. body [event subscription request body] with: 1. events: **['SERVICE_API_UPDATE']** 2. supportedFeatures: binary 0100 -> string **4** + 3. **eventFilter** set to apiId from published API. 3. Use **Invoker Certificate** 7. Update published API at CCF: @@ -850,7 +851,7 @@ At this documentation you will have all information and related files and exampl 1. Send **POST** to **https://{CAPIF_HOSTNAME}/capif-events/v1/{subscriberId}/subscriptions** 2. body [event subscription request body] with: 1. events: **['SERVICE_API_INVOCATION_SUCCESS','SERVICE_API_INVOCATION_FAILURE']** - 2. eventFilter: only receive events from provider's aefId. + 2. eventFilter: Not present. 3. supportedFeatures: binary 0000 -> string **0** 3. Use **Invoker Certificate** @@ -925,7 +926,7 @@ At this documentation you will have all information and related files and exampl 1. Send **POST** to **https://{CAPIF_HOSTNAME}/capif-events/v1/{subscriberId}/subscriptions** 2. body [event subscription request body] with: 1. events: **['SERVICE_API_AVAILABLE','SERVICE_API_UNAVAILABLE']** - 2. eventFilter: only receive events from provider's aefId. + 2. eventFilter: Not present. 3. supportedFeatures: binary 0000 -> string **0** 3. Use **Invoker Certificate** @@ -1001,7 +1002,7 @@ At this documentation you will have all information and related files and exampl 1. Send **POST** to **https://{CAPIF_HOSTNAME}/capif-events/v1/{subscriberId}/subscriptions** 2. body [event subscription request body] with: 1. events: **['SERVICE_API_UPDATE']** - 2. eventFilter: only receive events from provider's aefId. + 2. eventFilter: Not present. 3. supportedFeatures: binary 0000 -> string **0** 3. Use **Invoker Certificate** diff --git a/doc/testing/testplan/event_filter/README.md b/doc/testing/testplan/event_filter/README.md index f70d605efddb9cbd966f90d6dea4c27e1ced3012..a7651fa4a978d069e301f2b5177bd027c0602841 100644 --- a/doc/testing/testplan/event_filter/README.md +++ b/doc/testing/testplan/event_filter/README.md @@ -2,6 +2,133 @@ At this documentation you will have all information and related files and examples of test plan for this feature. +## Test Case 1: Invoker subscrived to SERVICE_API_AVAILABLE, SERVICE_API_UNAVAILABLE and SERVICE_API_UPDATE events filtered by apiIds + +**Test ID**: ***event_filter-1*** +**Additional Tags**: ***mockserver*** + +**Description**: + + +**Pre-Conditions**: + + +**Execution Steps**: + + +**Expected Results**: + + +--- +## Test Case 2: Invoker subscribed to SERVICE_API_AVAILABLE, SERVICE_API_UNAVAILABLE and SERVICE_API_UPDATE events filtered by not valid filters + +**Test ID**: ***event_filter-2*** +**Additional Tags**: ***smoke*** + +**Description**: + + +**Pre-Conditions**: + + +**Execution Steps**: + + +**Expected Results**: + + +--- +## Test Case 3: Provider subscribed to API_INVOKER_ONBOARDED, API_INVOKER_OFFBOARDED and API_INVOKER_UPDATED events filtered by invokerIds + +**Test ID**: ***event_filter-3*** +**Additional Tags**: ***mockserver*** + +**Description**: + + +**Pre-Conditions**: + + +**Execution Steps**: + + +**Expected Results**: + + +--- +## Test Case 4: Provider subscribed to API_INVOKER_ONBOARDED, API_INVOKER_OFFBOARDED and API_INVOKER_UPDATED events filtered by not valid filters + +**Test ID**: ***event_filter-4*** +**Additional Tags**: + +**Description**: + + +**Pre-Conditions**: + + +**Execution Steps**: + + +**Expected Results**: + + +--- +## Test Case 5: Provider subscribed to ACCESS_CONTROL_POLICY_UPDATE event filtered by only apiId, only invokerId and both + +**Test ID**: ***event_filter-5*** +**Additional Tags**: ***smoke***, ***mockserver*** + +**Description**: + + +**Pre-Conditions**: + + +**Execution Steps**: + + +**Expected Results**: + + +--- +## Test Case 6: Provider subscribed to ACCESS_CONTROL_POLICY_UPDATE event filtered by aefId + +**Test ID**: ***event_filter-6*** +**Additional Tags**: + +**Description**: + + +**Pre-Conditions**: + + +**Execution Steps**: + + +**Expected Results**: + + +--- +## Test Case 7: Provider subscribed to SERVICE_API_INVOCATION_SUCCESS and SERVICE_API_INVOCATION_FAILURE filtered by apiId, invokerId, aefId and all of them + +**Test ID**: ***event_filter-7*** +**Additional Tags**: **smoke**, **mockserver** + +**Description**: + + +**Pre-Conditions**: + + +**Execution Steps**: + + +**Expected Results**: + + +--- + **UNDER DEVELOPMENT** --- ## Test Case 1: Service API Available filtered by apiIds