Skip to content

rest-api: Add support and a test scenario for REST over Websockets#83

Merged
github-actions[bot] merged 1 commit intoasterisk:masterfrom
gtjoseph:master-ari-req-ws
Apr 2, 2025
Merged

rest-api: Add support and a test scenario for REST over Websockets#83
github-actions[bot] merged 1 commit intoasterisk:masterfrom
gtjoseph:master-ari-req-ws

Conversation

@gtjoseph
Copy link
Member

@gtjoseph gtjoseph commented Mar 19, 2025

  • Added support in lib/python/asterisk/ari.py for sending requests
    and receiving responses over the websocket.

  • Added 3 tests to tests/rest-api/websocket_requests:

    • single_requests: A sequence of successful requests.
    • parallel_requests: Launch several requests in parallel.
    • bad_requests: A sequence of bad requests to test error handling.

@github-actions
Copy link

Workflow PRCheck completed successfully

@gtjoseph
Copy link
Member Author

cherry-pick-to: 20
cherry-pick-to: 21
cherry-pick-to: 22

@github-actions
Copy link

Workflow PRCheck completed successfully

@github-actions
Copy link

Workflow PRCheck completed successfully

@github-actions
Copy link

Workflow PRCheck completed successfully

@github-actions
Copy link

Workflow PRCheck completed successfully

@github-actions
Copy link

Workflow PRCheck completed successfully

* Added support in lib/python/asterisk/ari.py for sending requests
and receiving responses over the websocket.

* Added 3 tests to tests/rest-api/websocket_requests:
  * single_requests:  A sequence of successful requests.
  * parallel_requests: Launch several requests in parallel.
  * bad_requests: A sequence of bad requests to test error handling.
@github-actions
Copy link

Workflow PRCheck completed successfully

@github-actions github-actions bot merged commit 57393ac into asterisk:master Apr 2, 2025
13 checks passed
@github-actions
Copy link

github-actions bot commented Apr 2, 2025

Successfully merged to branch master and cherry-picked to ["20","21","22"]

@gtjoseph gtjoseph deleted the master-ari-req-ws branch June 17, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants