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

Clean up gRPC storage config #5877

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

yurishkuro
Copy link
Member

@yurishkuro yurishkuro commented Aug 22, 2024

Which problem is this PR solving?

  • Config.go contained business logic that belongs to the factory

Description of the changes

  • move logic to factory
  • add unit tests for 100% coverage

How was this change tested?

  • CI

Signed-off-by: Yuri Shkuro <github@ysh.us>
Copy link

codecov bot commented Aug 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.82%. Comparing base (8f2543c) to head (e2ce154).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5877      +/-   ##
==========================================
+ Coverage   96.79%   96.82%   +0.02%     
==========================================
  Files         342      342              
  Lines       16525    16520       -5     
==========================================
  Hits        15996    15996              
+ Misses        341      338       -3     
+ Partials      188      186       -2     
Flag Coverage Δ
badger_v1 8.05% <0.00%> (+<0.01%) ⬆️
badger_v2 1.81% <0.00%> (+<0.01%) ⬆️
cassandra-3.x-v1 16.62% <0.00%> (+0.01%) ⬆️
cassandra-3.x-v2 1.74% <0.00%> (+<0.01%) ⬆️
cassandra-4.x-v1 16.62% <0.00%> (+0.01%) ⬆️
cassandra-4.x-v2 1.74% <0.00%> (+<0.01%) ⬆️
elasticsearch-6.x-v1 18.79% <0.00%> (+0.01%) ⬆️
elasticsearch-7.x-v1 18.85% <0.00%> (+0.02%) ⬆️
elasticsearch-8.x-v1 19.03% <0.00%> (+0.01%) ⬆️
elasticsearch-8.x-v2 1.80% <0.00%> (+<0.01%) ⬆️
grpc_v1 9.48% <77.41%> (-0.05%) ⬇️
grpc_v2 7.13% <0.00%> (-0.01%) ⬇️
kafka-v1 9.74% <0.00%> (+<0.01%) ⬆️
kafka-v2 1.81% <0.00%> (+<0.01%) ⬆️
memory_v2 1.81% <0.00%> (+<0.01%) ⬆️
opensearch-1.x-v1 18.90% <0.00%> (+0.01%) ⬆️
opensearch-2.x-v1 18.90% <0.00%> (+0.01%) ⬆️
opensearch-2.x-v2 1.81% <0.00%> (+<0.01%) ⬆️
unittests 95.30% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@yurishkuro yurishkuro marked this pull request as ready for review August 22, 2024 23:54
@yurishkuro yurishkuro requested a review from a team as a code owner August 22, 2024 23:54
@dosubot dosubot bot added the area/storage label Aug 22, 2024
@yurishkuro yurishkuro merged commit 922faf0 into jaegertracing:main Aug 23, 2024
47 of 48 checks passed
@yurishkuro yurishkuro deleted the clean-up-grpc-storage branch August 23, 2024 05:30
JaredTan95 pushed a commit to JaredTan95/jaeger that referenced this pull request Aug 28, 2024
## Which problem is this PR solving?
- Config.go contained business logic that belongs to the factory

## Description of the changes
- move logic to factory
- add unit tests for 100% coverage

## How was this change tested?
- CI

Signed-off-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: Jared Tan <jian.tan@daocloud.io>
mahadzaryab1 pushed a commit to mahadzaryab1/jaeger that referenced this pull request Aug 31, 2024
## Which problem is this PR solving?
- Config.go contained business logic that belongs to the factory

## Description of the changes
- move logic to factory
- add unit tests for 100% coverage

## How was this change tested?
- CI

Signed-off-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants