Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Conversation

@dlaskaratos
Copy link
Collaborator

No description provided.

Laskaratos Dimitris and others added 30 commits June 30, 2025 13:40
…ork-add-decorator-to-check-supported-functions-per-core

Feature/network add decorator to check supported functions per core
…te-pyproject-version

Update pyproject version from 0.9.9 to 1.0.0
…loud-k8s-fix-connector-issue

Hotfix/edgecloud k8s fix connector issue
…edgecloud-gsma-i2edge

Feature/add edgecloud gsma i2edge
adrian-pino and others added 29 commits July 30, 2025 18:10
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
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Improves app instance information retrieval from i2Edge.

- Maps i2Edge deployment status to CAMARA status correctly.
- Extracts edge cloud zone ID from the application specification's node selector, rather than relying on a dedicated zone ID field.
- Implements dynamic fallback zone retrieval if the app instance is not found in the initial instances list by querying available zones from i2Edge.
- Uses "unknown" and "Unknown_Provider" as safer defaults when instance data is unavailable.
- Enables `AppId` and `AppInstanceId` to accept strings to comply with current i2Edge limitations.
Adds a placeholder implementation for the `get_deployed_app` method in both the AEROS and Kubernetes adapters.

This method is intended to retrieve information about a specific deployed application instance, supporting CAMARA compliance.  The current implementation raises a `NotImplementedError` as the actual logic is adapter-specific and requires further development.
Adds tests to verify the retrieval of onboarded and deployed applications.

These tests cover:
- Retrieving a specific onboarded application.
- Retrieving all onboarded applications.
- Retrieving all deployed application instances.
- Retrieving a specific deployed application instance.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Ensures all artefact-related methods consistently return Response objects.

This change promotes API consistency across the i2Edge adapter.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…-i2edge-fully-camara-compliant

Feature/make i2edge fully camara compliant
…edgecloud-gsma-i2edge

Feature/add edgecloud gsma i2edge
…readme-edgecloud-api

Docs/update readme edgecloud api
Replace manual field assertions with CAMARA Pydantic schema validation across
multiple EdgeCloud e2e tests for improved maintainability and compliance.

Changes:
- test_get_edge_cloud_zones: Add CAMARA EdgeCloudZone schema validation and logical validation for expected zone
- test_onboard_app: Replace manual appId check with SubmittedApp schema validation
- test_get_onboarded_app: Replace manual field checks with AppManifest schema validation
- test_get_all_onboarded_apps: Replace manual field assertions with AppManifest schema validation + logical validation
- test_get_all_deployed_apps: Replace manual field assertions with AppInstanceInfo schema validation
- test_get_deployed_app: Replace manual field checks with AppInstanceInfo schema validation
- app_instance_id fixture: Add CAMARA schema validation for deployment response
- Reduce timer from 30s to 10s for faster test execution

Benefits:
- Future-proof tests against CAMARA specification changes
- Improved error messages when schema validation fails
- Cleaner, more maintainable test code
- Combines schema compliance with logical business validation
- Ensures all API responses are CAMARA-compliant
…-camara-validation

(refactor e2e edgecloud tests): replace manual field assertions with CAMARA schema validation
…e-edgecloud-openapi

Update Edge Application Management openapi version
…2e-test-appinstance-bug

Hotfix/fix e2e test appinstance bug
@dlaskaratos dlaskaratos closed this Aug 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants