Skip to content

YAML Update: add UNKNOWN for verify location#22

Merged
jlurien merged 17 commits intocamaraproject:dev-0.2.0from
VijayKesharwani:Add-unknown-verifyLocation
Feb 20, 2023
Merged

YAML Update: add UNKNOWN for verify location#22
jlurien merged 17 commits intocamaraproject:dev-0.2.0from
VijayKesharwani:Add-unknown-verifyLocation

Conversation

@VijayKesharwani
Copy link
Contributor

Adding "unknown" #19
It can happen that the network can't locate the device, because it is offline and the location is also not cached. In this there should be coming the right response from the API.
Changes
Adding to true or false the return value unkown, when it is not possible to get the location

shilpa-padgaonkar and others added 15 commits January 2, 2023 10:45
Added 404 error
Draft agenda for WG meeting
Adding "unknown" camaraproject#19
It can happen that the network can't locate the device, because it is offline and the location is also not cached. In this there should be coming the right response from the API.
Changes
Adding to true or false the return value unkown, when it is not possible to get the location
…ation

YAML Update: add unkown for verify location
Changing Enum value into capital letters.
Removing nested block
Copy link
Collaborator

@bigludo7 bigludo7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello
Thanks for this. For me adding unknown value is a good. 2 comments:

  • We should use same case in the swagger: true, false, UNKNOWN (upper case or minor case but same)
  • Documentation (.md) should be updated (line) 48 to list the 3 values;

Thanks

Copy link
Collaborator

@jlurien jlurien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jlurien jlurien requested a review from bigludo7 February 13, 2023 10:59
Copy link
Collaborator

@bigludo7 bigludo7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me

@jlurien jlurien merged commit a8d1ee3 into camaraproject:dev-0.2.0 Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants