Skip to content
Commit 9034ea30 authored by Adrian Pino's avatar Adrian Pino
Browse files

Refactors i2Edge adapter for CAMARA compliance

Updates the i2Edge adapter to fully comply with CAMARA specifications.
This includes standardizing request and response formats,
improving error handling, and aligning status codes with CAMARA expectations
(e.g., using 204 for successful deletions and 202 for deployment requests).

Changes include:

- Removing redundant status code checks as i2edge_get/post/delete now handle this, raising an exception if unexpected
- Mapping i2Edge responses to CAMARA-compliant schemas.
- Adding filtering capabilities to get all deployed apps.
- Adding expected_status param to i2edge_get/post/delete to raise exceptions if the status is wrong
- Implemented the get_deployed_app method according to CAMARA
parent f223fcf6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment