X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2FREADME.md;h=6c277bd51985d0ee541ab41337e52d8ffb558bf5;hb=84ffd4a403baee1b7aa86f9986f0c1659a5a0881;hp=8f373776c9510da25a7b24b8a3d8ede049404ac7;hpb=fec823bee9dfc96dcb625e1d538e3bec131f6ed0;p=nonrtric.git diff --git a/test/common/README.md b/test/common/README.md index 8f373776..6c277bd5 100644 --- a/test/common/README.md +++ b/test/common/README.md @@ -1038,6 +1038,48 @@ Check the contents of all ric events received for a callback id. | `EMPTY` | Indicator for an empty list | | `` | Id of the ric | +## Function: cr_api_check_all_ecs_events() ## + +Check the contents of all current status events for one id from ECS + +| arg list | +|--| +| ` [ EMPTY \| ( )+ ]` | + +| parameter | description | +| --------- | ----------- | +| `` | Expected http response code | +| `` | Id of the callback destination | +| `EMPTY` | Indicator for an empty list | +| `` | Status string | + +## Function: cr_api_check_all_ecs_subscription_events() ## + +Check the contents of all current subscription events for one id from ECS + +| arg list | +|--| +| ` [ EMPTY | ( )+ ]` | + +| parameter | description | +| --------- | ----------- | +| `` | Expected http response code | +| `` | Id of the callback destination | +| `EMPTY` | Indicator for an empty list | +| `` | Id of the data type | +| `` | Path to typeschema file | +| `` | Status string | + + +## Function: cr_api_reset() ## + +Reset the callback receiver + +| arg list | +|--| +| - | + + # Description of functions in ecs_api_functions.sh # ## Function: use_ecs_rest_http ## @@ -1662,6 +1704,64 @@ To also test the response payload add the expected status. | `` |Id of the producer | | `` | Timeout | + +## Function: ecs_api_idc_get_subscription_ids() ## +Test of GET '/data-consumer/v1/info-type-subscription' with the returned list of subscription ids + +| arg list | +|--| +| ` |NOOWNER [ EMPTY | +]` | + +| parameter | description | +| --------- | ----------- | +| `` | Expected http response code | +| `` | Id of the owner | +| `` | Indicator for empty owner | +| `` | Indicated for empty list of subscription ids | +| `` |Id of the subscription | + +## Function: ecs_api_idc_get_subscription() ## +Test of GET '/data-consumer/v1/info-type-subscription/{subscriptionId}' with the subscription information + +| arg list | +|--| +| ` [ ]` | + +| parameter | description | +| --------- | ----------- | +| `` | Expected http response code | +| `` |Id of the subscription | +| `` | Id of the owner | +| `` | Url for status notifications | + + +## Function: ecs_api_idc_put_subscription() ## +Test of PUT '/data-consumer/v1/info-type-subscription/{subscriptionId}' with the subscription information + +| arg list | +|--| +| ` ` | + +| parameter | description | +| --------- | ----------- | +| `` | Expected http response code | +| `` |Id of the subscription | +| `` | Id of the owner | +| `` | Url for status notifications | + +## Function: ecs_api_idc_delete_subscription() ## +Test of DELETE /data-consumer/v1/info-type-subscription/{subscriptionId} + +| arg list | +|--| +| ` ` | + +| parameter | description | +| --------- | ----------- | +| `` | Expected http response code | +| `` |Id of the subscription | + + ## Function: ecs_api_admin_reset() ## Test of GET '/status'.