Open javierlozallu opened 3 months ago
Hi @maheshc01, this is one of the issues that we discussed on the last meeting, as you can see the idea is to reuse the existing yaml(API), and add the funcionality of EDS to EAM. Do you think is possible?? I think we can add this new funcionalities in EAM, create a PR and review the code and discuss in this PR about it,doing this we avoid to create a new API.
Summarizing the discussion we have on this topic during the weekly call: My recommendation was to separate out and group the APIs in different yaml based on the intents they address. EAM will be more focussed on edge application deployment and life cycle management. Edge discovery service (EDS) will be more focussed on optimal edge cloud zone discovery and end point discovery for users to connect to.
This would ensure that we are inline with TSC recommendation to not make API very big leading to partial implementations. This way operators can choose to implementation both application orchestration/mgmt APIs and Application endpoint discovery APIs or just 1 of them but have a complete implementation of a given yaml.
Action based on the discussion: Have created a new branch(https://github.com/camaraproject/EdgeCloud/tree/Edge-Discovery-Service-API) for carving out edge discovery related APIs. the yaml needs few more updates post which PR will be raised. As part of this change EAM api also will need to be updated to remove GET /edge-cloud-zones as it a discovery API.
Unfortunately I think the GET /edge-cloud-zones API still needs to be in EAM, because EAM APIs (like POST /appinstances) use the edge-cloud-zone-ID in their requests. Without the GET /edge-cloud-zones API, it's unclear how the user would figure out what the possible edge-cloud-zone-IDs are for the POST /appinstances requests.
Hi @gainsley ,
here is an similar example where id/name from 1 api is used as input in another API. https://github.com/camaraproject/QualityOnDemand qos profile name from qos-profiles.yaml is used as 1 of the inputs in quality-on-demand.yaml
Point i am trying to make is, even though edge-cloud-zone-ID is required in EAM as an input param, its not necessary that the GET /edge-cloud-zone API is in the same yaml. there can be in 2 different yamls. and its up to the developers to decide if they want to use the GET /edge-cloud-zone to get the cloud-zone-ID or they use other means to decide on it.
I see, this is a tricky issue. Some comments:
Problem description 1. GET /mecplatforms ESD API vs GET /edge-cloud-zones EAM API:
GET /mecplatforms ESD API: Returns a list of optimal MEC Platforms where you can register your deployed application. You can choose to search without passing any of the inputs parameters or combination of Application Profile, Region, Subscriber or UEIdentity.
This method is very interesting and covers part of intent 20, which is outside the scope of the MVP proposal, but was considered for the improvement phase.
GET /edge-cloud-zones EAM API: Returns a list of Edge Cloud Zones and their status, ordering the results by location (region) and filtering by status (active/inactive/unknown)
2. Application Profiles capabilites
This Operation allows to: Create and manage profiles that describe the application requirements of your MEC applications, such as the required connection bandwidth and maximum latency.
Expected behavior
Improve Edge Cloud Zones discovery capability combining the functionalities, allowing developers to discover them based on Application Profile, Region, Subscriber, UEIdentity and Status.
There is a conflict with the Application Profiles capability of the EDS API and the requiredResources object of the EAM API, we need to combine them into one API.
Alternative solution
Additional context