Conversation
|
@NoelWirzius I don't have permissions to add you as a reviewer. |
|
Is the proposal that we have separate APIs (i.e. separate basePaths) per use case? So if connectivity status was re-introduced, that would be a new API with its own YAML definition? |
Hello @eric-murray. Yes, the proposal is to have a portfolio of Device Status APIs. So we can call this API " Device Roaming Status" (which is the only use case that we currently have) and whenever we receive new requirements related to Device Connectivity Status we discuss them again and categorize them (if they’re not related to roaming) as new APIs with their own YAML files with dedicated endpoints. |
|
@monamok Another question is that PR #21 is also proposing changes to the API definition. Either could be merged at the moment, but after the first is merged, the other will need to be re-based. Is it agreed which should be merged first? |
@NoelWirzius can we please have also your feedback about this?
I already mentioned this point in the issue #22 that I opened for this PR. If PR #21 get merged before this one, I'll update my branch with the approved changes so there's no conflict. The only thing we should decide is if we keep the version or should we update it too? |
|
@monamok I'm also awaiting feedback from @NoelWirzius on the order in which PRs should be treated before approving this one. |
|
we checked the different pro and cons and the cons are really big in our views. So the maintenance of the APIs will get really complex when we build for everything an own API - then we need to do changes to each API for example changing the naming or adding a new function like "list of devices" but there are also pros of course Our suggestion is:
Example for Roaming, Connectivity and subscription: server/devicestatus/v1/roaming is this sth we can go as a compromise? |
|
@NoelWirzius But if the decision is to have a single common YAML, then the basepath also needs to be common. There is no problem there. |
|
@eric-murray fully agree with you! the same feedback I also got. If we split -> then different YAMLs - but we would prefer a single common YAML with a common basepath and just different endpoints for each "Feature" |
|
I'm also in favor of a common YAML in order to be consistent with other API with several 'sub' function as we have this pattern in number verification API and SIM Swap API. The YAML covers the 'family' and we have several endpoints. We have distinct YAML for Carrier billing/SIM SWAP/Number Verification when we have distinct flavor of the requirement (MC vs specific, oma vs specific) but same functions are covered in each YAML. |
9bf0c10 to
1b67431
Compare
|
Thank you @eric-murray @NoelWirzius @bigludo7 for your feedback. Sorry I was trying to resolve the conflicts and I accidentally closed the PR. I'm not sure if someone from the code owners can reopen it or should I open a new PR? |
I was able myself to reopen it :) P.D. If we rename the base path as you suggested to have a /connectivity endpoint in the future, we should rename the YAML file before merging it. But for the moment I kept it with the same name so we can see the GIT comparison and to find the changes easier. |
|
Hi Team , if we will go with single YAML file for all related cases (device status) then how the basepath will be defined to create proxy. It would be challenging to have different proxy for individual endpoint (Roaming, Connectivity etc) and with single porxy, it will make our job more tough to manage Spike, authentication/Authorisation and other security policies for specific requirement. |
|
I'm approving this because it keeps open the question of whether additional statuses (such as connectivity) should be in the same or a separate YAML. When an additional status is proposed, that issue can be addressed then. |
|
@MarkusKuemmerle could you please add again @NoelWirzius as a reviewer. I think he was removed automatically when the PR was reopened. Thanks. |
This issue was opened to keep track of this PR. Please review it and we can change it according to the comments and decisions that will be made.