Skip to content

Added API server to request shutdown#166

Merged
marcoSanti merged 8 commits into
capio-v2from
api-server
Sep 24, 2025
Merged

Added API server to request shutdown#166
marcoSanti merged 8 commits into
capio-v2from
api-server

Conversation

@marcoSanti
Copy link
Copy Markdown
Member

Added an API server to manage the termination of the CAPIO server instance. The APIs available are:

  • GET / -> return identity of capio_server
  • GET /clients -> return count of connected clients
  • GET /terminate -> Requests a graceful termination phase.

@marcoSanti marcoSanti force-pushed the api-server branch 3 times, most recently from 0408b76 to 89850f0 Compare September 14, 2025 11:04
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 22, 2025

Codecov Report

❌ Patch coverage is 33.89831% with 39 lines in your changes missing coverage. Please review.
✅ Project coverage is 42.45%. Comparing base (e488e38) to head (f561cf1).
⚠️ Report is 1 commits behind head on capio-v2.

Files with missing lines Patch % Lines
capio-server/include/api-server/api-server.hpp 0.00% 10 Missing and 8 partials ⚠️
capio-server/src/api-server/api-server.cpp 37.93% 4 Missing and 14 partials ⚠️
capio-server/include/utils/signals.hpp 72.72% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           capio-v2     #166      +/-   ##
============================================
- Coverage     42.58%   42.45%   -0.14%     
============================================
  Files            82       84       +2     
  Lines          4567     4612      +45     
  Branches       2712     2745      +33     
============================================
+ Hits           1945     1958      +13     
- Misses         1328     1337       +9     
- Partials       1294     1317      +23     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@marcoSanti marcoSanti merged commit 2997b26 into capio-v2 Sep 24, 2025
28 checks passed
@marcoSanti marcoSanti deleted the api-server branch September 24, 2025 16:04
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.

1 participant