Skip to content

Conversation

@rsdmike
Copy link
Member

@rsdmike rsdmike commented Aug 2, 2019

This endpoint will provide both version of the SDK that is in use as well as the version of the application service. These version values are intended to be set at build time leveraging -ldflags.

closes #152

Signed-off-by: Mike Johanson [email protected]

@rsdmike rsdmike requested a review from lenny-goodell August 2, 2019 23:10
Copy link
Member

@lenny-goodell lenny-goodell left a comment

Choose a reason for hiding this comment

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

Couple small changes needed

This endpoint will provide both version of the SDK that is in use as well as the version of the application service. These version values are intended to be set at build time leveraging -ldflags.

closes #152

Signed-off-by: Mike Johanson <[email protected]>
@codecov-io
Copy link

Codecov Report

Merging #156 into master will increase coverage by 0.55%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #156      +/-   ##
==========================================
+ Coverage   60.48%   61.03%   +0.55%     
==========================================
  Files          14       14              
  Lines         706      716      +10     
==========================================
+ Hits          427      437      +10     
  Misses        255      255              
  Partials       24       24
Impacted Files Coverage Δ
internal/webserver/server.go 75.6% <100%> (+7.86%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 317fead...d9fdfd0. Read the comment docs.

Copy link
Member

@lenny-goodell lenny-goodell left a comment

Choose a reason for hiding this comment

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

LGTM

@rsdmike rsdmike merged commit c67cc69 into edgexfoundry:master Aug 6, 2019
@rsdmike rsdmike deleted the versionEndpoint branch August 6, 2019 17:47
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.

Add new endpoint for obtaining application service and SDK versions

3 participants