Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: REST v2 API common endpoints (#257) #298

Merged
merged 1 commit into from
Oct 1, 2020

Conversation

iain-anderson
Copy link
Member

@iain-anderson iain-anderson commented Sep 30, 2020

v2 REST API PR 3/?

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

v2 spec for BaseResponse has been updated: need to re-sync the implementation
Issue Number: #257

What is the new behavior?

add v2 metrics endpoint
update v2 ping and config endpoints to current spec
This completes the common endpoints for v2. Device service endpoints (ie, discovery, callback, device) still not implemented / partially implemented

Does this PR introduce a breaking change?

  • Yes
  • No

Are there any new imports or modules? If so, what are they used for and why?

Are there any specific instructions or things that should be known prior to reviewing?

Other information

update v2 ping and config endpoints to current spec

Signed-off-by: Iain Anderson <iain@iotechsys.com>
Copy link
Member

@SteveOss SteveOss left a comment

Choose a reason for hiding this comment

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

LGTM

@SteveOss SteveOss merged commit 0d340e7 into edgexfoundry:master Oct 1, 2020
iain-anderson added a commit to iain-anderson/device-sdk-c that referenced this pull request Oct 1, 2020
update Event and Reading objects to current spec

Signed-off-by: Iain Anderson <iain@iotechsys.com>
iain-anderson added a commit to iain-anderson/device-sdk-c that referenced this pull request Oct 5, 2020
Signed-off-by: Iain Anderson <iain@iotechsys.com>
SteveOss pushed a commit that referenced this pull request Oct 6, 2020
* feat: add v2 discovery endpoint (#298)
update Event and Reading objects to current spec

Signed-off-by: Iain Anderson <iain@iotechsys.com>

* feat: add v2 callback endpoint (#298)

Signed-off-by: Iain Anderson <iain@iotechsys.com>
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.

2 participants