camaraproject / Governance

Telco network capabilities exposed through APIs provide a large benefit for customers. By simplifying telco network complexity with APIs and making the APIs available across telco networks and countries, CAMARA enables easy and seamless access.
55 stars 44 forks source link

Define mandatory end points URL in each project #141

Closed psidana1983 closed 2 months ago

psidana1983 commented 1 year ago

Hi Team ,

As per the CAMARA documentation each project as multiple resources or end point URLs exposed. As a client I am not sure what all end points are mandatory to expose to be CAMARA compliant . So can i suggest to update the YAML file and define the mandatory end point URLs , with test cases . This can help the clients to decide what to implement .

Ex: Device Status API has multiple end point URLs but I am not what all ends points should i expose to be CAMARA compliant ?

Regards Prashant Sidana

hdamker commented 1 year ago

Hi Prashant, please see also my answer at your previous question in https://github.com/camaraproject/DeviceStatus/discussions/72

I don't get what you mean with "mandatory" endpoints ... all endpoints defined within an API version need to be implemented by a provider implementation, at least be answered with appropriate return codes and error messages if you don't have implemented the functionality behind it for some reason.

But I don't get your sentence

This can help the clients to decide what to implement

Are you asking here about provider implementation (a network providing the service defined by the API) or about API clients/consumers? The latter one will always decide themselves which endpoints they will need for their use cases. If you are talking about a provider implementation - may I ask for which kind of network you are implementing the API?

Thanks for your proposal to provide test cases for at least the most important functionality of the APIs ... that's indeed something which we will need to add to get more mature.

eric-murray commented 1 year ago

@psidana1983 This issue should be raised in Commonalities. Unfortunately, I don't have the necessary rights to transfer directly, so please close this and open a new issue in the Commonalities sub-project.

hdamker commented 1 year ago

@eric-murray @psidana1983 Will transfer the issue.

bigludo7 commented 1 year ago

I'm wondering if we should not go more in detail on conformance for each API?

I have few examples in mind to illustrate this:

Probably we need at the WG level to provide some kind of 'conformance profile' (perhaps is it the test cases) and sync with our friends of Open Gateway product stream when they are the initiator of the request?

psidana1983 commented 1 year ago

Hi Team , So the conclusion is to implement all the end points or at least be answered with appropriate return codes and error messages if for some reason one cannot implement it .

I suggest for such cases , let us defined the error codes and messages in the documentation itself so that all the implementers will return similar information back to the clients.

Regards Prashant Sidana

chrishowell commented 7 months ago

I think it would be better to treat endpoints like we're treating families now; so it wouldn't be required for a network to provide e.g. sim-swap:retrieve, but they could implement sim-swap:check-date without having to implement a noop/error endpoint. This would mean splitting these specs into distinct files, but I don't think that's a problem is it?

tanjadegroot commented 4 months ago

Proposal from the RM meeting (https://wiki.camaraproject.org/display/CAM/2024-05-14+Release+WG+Minutes) is to handle move this item to the Governance project to discuss on how and where best to handle this aspect. @hdamker to please transfer the issue.

hdamker commented 2 months ago

I will close this historic issue and propose to continue the discussion within the well structured issue https://github.com/camaraproject/Commonalities/issues/246