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

Jjaakola aiven rebase main gh actions run #1029

Closed
wants to merge 80 commits into from

Conversation

jjaakola-aiven
Copy link
Contributor

About this change - What it does

References: #xxxxx

Why this way

jjaakola-aiven and others added 30 commits January 23, 2025 13:03
- we create a standalone module for SR related components

- we use DI to wire together the SR dependencies

- we move the routers to own folder

- we move the config initialization to DI and app startup
nosahama and others added 26 commits January 23, 2025 13:04
- this still relies on DI wiring, but avoids changing function signatures

- API routes are injected and wired as normal
- we realised that this causes a lot of bloat in the console output and isn't actually used yet
The config for backup tool is still the full Karapace config. Config
for Karapace is a set of environment variables opposed to prior
JSON file. Backup tool will still use the JSON format.
- we drop the `Dockerfile.dev`
@jjaakola-aiven jjaakola-aiven force-pushed the jjaakola-aiven-rebase-main-gh-actions-run branch from 8746351 to 0702364 Compare January 23, 2025 11:07
Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/karapace
  config.py 32-33, 149, 178-182, 212, 311, 315, 320, 328-345, 350-351
  content_type.py 6-66
  karapace_all.py 8-14, 21-39, 46-47
  logging_setup.py 22, 38-45
  rapu.py 293-297, 344, 399
  statsd.py 86
  utils.py 32, 200, 238
  src/schema_registry
  __main__.py 6-68
  controller.py 75, 78-96, 100, 119-144, 155-175, 190-191, 201-206, 209-211, 221, 231-232, 240, 242, 244, 246, 265-288, 291, 296, 303-315, 324-342, 356-368, 375-376, 385-393, 401-430, 447-477, 486-540, 548-562, 576-600, 608-613, 625, 649-684, 694-782, 799-869, 874, 881-889, 892-895, 898-909, 918-941
  factory.py 6-67
  messaging.py 55, 109
  reader.py 210, 228, 256-257, 327, 350, 378-381
  registry.py 75, 98-107, 113
  user.py 19-30
  src/schema_registry/http_handlers
  __init__.py 6-28
  src/schema_registry/middlewares
  __init__.py 6-37
  src/schema_registry/routers
  compatibility.py 6-37
  config.py 33-36, 51, 72-75, 90-98, 114-122
  health.py 6-86
  master_availability.py 6-60
  metrics.py 6-23
  mode.py 6-48
  schemas.py 6-91
  setup.py 6-27
  subjects.py 6-206
Project Total  

The report is truncated to 25 files out of 85. To see the full report, please visit the workflow summary page.

This report was generated by python-coverage-comment-action

@jjaakola-aiven jjaakola-aiven deleted the jjaakola-aiven-rebase-main-gh-actions-run branch January 23, 2025 15:11
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