2. body returned must accomplish **Problem Details** data structure.
3. apiInvokerPolicies must:
3.**apiInvokerPolicies** must:
* status **404**
* title with message "Not Found"
* detail with message "No ACLs found for the requested service: {service_api_id}, aef_id: {aef_id}, invoker: {api_invoker_id} and supportedFeatures: {supported_features}".
...
...
@@ -383,43 +383,43 @@ At this documentation you will have all information and related files and exampl
* API Provider had a Service API Published on CAPIF
* API Invoker had a Security Context for Service API published.
**Execution Steps**:
1. Register and onboard Provider at CCF.
2. Publish a provider API with name **service_1**
3. Register and onboard Invoker at CCF
4. Store signed Certificate
5. Create Security Context
6. Provider Get ACL information.
**Information of Test**:
1. Perform [Provider Registration]
2. Publish Service API at CCF:
* Send Post to ccf_publish_url *https://{CAPIF_HOSTNAME}/published-apis/v1/{apfId}/service-apis*
* body [service api description] with apiName service_1
* Store *serviceApiId*
* Use APF Certificate
* Send **POST** to ccf_publish_url **https://{CAPIF_HOSTNAME}/published-apis/v1/{apfId}/service-apis**
* body [service api description] with apiName **service_1**
* Store **serviceApiId**
* Use **APF Certificate**
3. Perform [Invoker Onboarding] store apiInvokerId
2. body returned must accomplish **Problem Details** data structure.
3. apiInvokerPolicies must:
3.**apiInvokerPolicies** must:
* status **404**
* title with message "Not Found"
* detail with message "No ACLs found for the requested service: {service_api_id}, aef_id: {aef_id}, invoker: {api_invoker_id} and supportedFeatures: {supported_features}".
...
...
@@ -438,43 +438,43 @@ At this documentation you will have all information and related files and exampl
* API Provider had a Service API Published on CAPIF
* API Invoker had a Security Context for Service API published.
**Execution Steps**:
1. Register and onboard Provider at CCF.
2. Publish a provider API with name **service_1**
3. Register and onboard Invoker at CCF
4. Store signed Certificate
5. Create Security Context
6. Provider Get ACL information.
**Information of Test**:
1. Perform [Provider Registration]
2. Publish Service API at CCF:
* Send Post to ccf_publish_url *https://{CAPIF_HOSTNAME}/published-apis/v1/{apfId}/service-apis*
* body [service api description] with apiName service_1
* Store *serviceApiId*
* Use APF Certificate
* Send **POST** to ccf_publish_url **https://{CAPIF_HOSTNAME}/published-apis/v1/{apfId}/service-apis**
* body [service api description] with apiName **service_1**
* Store **serviceApiId**
* Use **APF Certificate**
3. Perform [Invoker Onboarding] store apiInvokerId
2. body returned must accomplish **Problem Details** data structure.
3. apiInvokerPolicies must:
3.**apiInvokerPolicies** must:
* status **404**
* title with message "Not Found"
* detail with message "No ACLs found for the requested service: {NOT_VALID_SERVICE_API_ID}, aef_id: {AEF_ID_NOT_VALID}, invoker: {api_invoker_id} and supportedFeatures: {supported_features}".
...
...
@@ -494,39 +494,39 @@ At this documentation you will have all information and related files and exampl
* API Provider had a Service API Published on CAPIF
* API Invoker created but no Security Context for Service API published had been requested.
**Execution Steps**:
1. Register and onboard Provider at CCF.
2. Publish a provider API with name **service_1**
3. Register and onboard Invoker at CCF
4. Store signed Certificate
5. Create Security Context
6. Provider Get ACL information.
**Information of Test**:
1. Perform [Provider Registration]
2. Publish Service API at CCF:
* Send Post to ccf_publish_url *https://{CAPIF_HOSTNAME}/published-apis/v1/{apfId}/service-apis*
* body [service api description] with apiName service_1
* Store *serviceApiId*
* Use APF Certificate
* Send **POST** to ccf_publish_url **https://{CAPIF_HOSTNAME}/published-apis/v1/{apfId}/service-apis**
* body [service api description] with apiName **service_1**
* Store **serviceApiId**
* Use **APF Certificate**
3. Perform [Invoker Onboarding] store apiInvokerId
2. body returned must accomplish **Problem Details** data structure.
3. apiInvokerPolicies must:
3.**apiInvokerPolicies** must:
* status **404**
* title with message "Not Found"
* detail with message "No ACLs found for the requested service: {NOT_VALID_SERVICE_API_ID}, aef_id: {AEF_ID_NOT_VALID}, invoker: {api_invoker_id} and supportedFeatures: {supported_features}".
...
...
@@ -545,43 +545,43 @@ At this documentation you will have all information and related files and exampl
* API Provider had a Service API Published on CAPIF
* API Invoker had a Security Context for Service API published.
**Execution Steps**:
1. Register and onboard Provider at CCF.
2. Publish a provider API with name **service_1**
3. Register and onboard Invoker at CCF
4. Store signed Certificate
5. Create Security Context
6. Provider Get ACL information.
**Information of Test**:
1. Perform [Provider Registration]
2. Publish Service API at CCF:
* Send Post to ccf_publish_url *https://{CAPIF_HOSTNAME}/published-apis/v1/{apfId}/service-apis*
* body [service api description] with apiName service_1
* Store *serviceApiId*
* Use APF Certificate
* Send **POST** to ccf_publish_url **https://{CAPIF_HOSTNAME}/published-apis/v1/{apfId}/service-apis**
* body [service api description] with apiName **service_1**
* Store **serviceApiId**
* Use **APF Certificate**
3. Perform [Invoker Onboarding] store apiInvokerId
* Use **serviceApiId**, **aefId** and **NOT_VALID_API_INVOKER_ID**
* Use **AEF Provider Certificate**
**Execution Steps**:
1. Register and onboard Provider at CCF.
2. Publish a provider API with name service_1
3. Register and onboard Invoker at CCF
4. Store signed Certificate
5. Create Security Context
6. Provider Get ACL information.
**Expected Result**:
1. ACL Response:
1.**404 Not Found** Response.
2. body returned must accomplish **Problem Details** data structure.
3. apiInvokerPolicies must:
3.**apiInvokerPolicies** must:
* status **404**
* title with message "Not Found"
* detail with message "No ACLs found for the requested service: {NOT_VALID_SERVICE_API_ID}, aef_id: {AEF_ID_NOT_VALID}, invoker: {api_invoker_id} and supportedFeatures: {supported_features}".
...
...
@@ -593,44 +593,44 @@ At this documentation you will have all information and related files and exampl
**Description**:
This test case will check that an API Provider can't retrieve ACL from CAPIF using APF Certificate
This test case will check that an API Provider can't retrieve ACL from CAPIF using **APF Certificate**
**Pre-Conditions**:
* API Provider had a Service API Published on CAPIF
* API Invoker had a Security Context for Service API published.
**Execution Steps**:
1. Register and onboard Provider at CCF.
2. Publish a provider API with name **service_1**
3. Register and onboard Invoker at CCF
4. Store signed Certificate
5. Create Security Context
6. Provider Get ACL information.
**Information of Test**:
1. Perform [Provider Registration]
2. Publish Service API at CCF:
* Send Post to ccf_publish_url *https://{CAPIF_HOSTNAME}/published-apis/v1/{apfId}/service-apis*
* body [service api description] with apiName service_1
* Store *serviceApiId*
* Use APF Certificate
* Send **POST** to ccf_publish_url **https://{CAPIF_HOSTNAME}/published-apis/v1/{apfId}/service-apis**
* body [service api description] with apiName **service_1**
* Store **serviceApiId**
* Use **APF Certificate**
3. Perform [Invoker Onboarding] store apiInvokerId
* Use **serviceApiId**, **aefId** and **api-invoker-id**
* Use **AEF Provider Certificate**
**Execution Steps**:
1. Register and onboard Provider at CCF.
2. Publish a provider API with name service_1
3. Register and onboard Invoker at CCF
4. Store signed Certificate
5. Create Security Context
6. Provider Get ACL information of invoker.
7. Remove Invoker from CAPIF.
8. Provider Get ACL information of invoker.
**Expected Result**:
1. ACL Response:
1.**200 OK** Response.
2. body returned must accomplish **AccessControlPolicyList** data structure.
3. apiInvokerPolicies must:
3.**apiInvokerPolicies** must:
1. contain only one object.
2. apiInvokerId must match apiInvokerId registered previously.
2. ACL Response:
1.**404 Not Found** Response.
2. body returned must accomplish **Problem Details** data structure.
3. apiInvokerPolicies must:
3.**apiInvokerPolicies** must:
* status **404**
* title with message "Not Found"
* detail with message "No ACLs found for the requested service: {NOT_VALID_SERVICE_API_ID}, aef_id: {AEF_ID_NOT_VALID}, invoker: None and supportedFeatures: None".