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(reverseproxy): updated DB amd api's to store the connection status #189

Merged
merged 2 commits into from
May 24, 2021

Conversation

madhavilosetty-intel
Copy link
Contributor

BREAKING CHANGE: 'metadata' api route is removed.

@codecov-commenter
Copy link

codecov-commenter commented May 10, 2021

Codecov Report

Merging #189 (33674d7) into master (903b199) will decrease coverage by 0.36%.
The diff coverage is 28.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #189      +/-   ##
==========================================
- Coverage   25.20%   24.84%   -0.37%     
==========================================
  Files          61       57       -4     
  Lines        4086     4094       +8     
  Branches      752      765      +13     
==========================================
- Hits         1030     1017      -13     
- Misses       2776     2797      +21     
  Partials      280      280              
Impacted Files Coverage Δ
src/routes/index.ts 100.00% <ø> (ø)
src/utils/MPSValidationError.ts 16.66% <0.00%> (-8.34%) ⬇️
src/utils/consul.ts 9.75% <0.00%> (ø)
src/db/device.ts 10.34% <10.34%> (ø)
src/routes/devices/stats.ts 18.18% <14.28%> (+7.07%) ⬆️
src/routes/devices/create.ts 18.51% <18.51%> (ø)
src/routes/devices/delete.ts 22.22% <20.00%> (ø)
src/routes/devices/disconnect.ts 20.00% <20.00%> (ø)
src/routes/devices/update.ts 25.00% <25.00%> (ø)
src/mpsMicroservice.ts 42.66% <28.57%> (-9.06%) ⬇️
... and 10 more

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 903b199...33674d7. Read the comment docs.

src/db/device.ts Outdated Show resolved Hide resolved
src/db/device.ts Show resolved Hide resolved
src/db/device.ts Outdated Show resolved Hide resolved
src/routes/devices/index.ts Outdated Show resolved Hide resolved
src/routes/devices/stats.ts Outdated Show resolved Hide resolved
try {
const errors = validationResult(req)
if (!errors.isEmpty()) {
res.status(400).json({ errors: errors.array() })
Copy link
Contributor

Choose a reason for hiding this comment

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

should this have a .end()

BREAKING CHANGES: Metadata api route is removed
@madhavilosetty-intel madhavilosetty-intel merged commit b3793c5 into master May 24, 2021
@madhavilosetty-intel madhavilosetty-intel deleted the mps-reverse-proxy branch May 24, 2021 19:08
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.

4 participants