-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Move Cassandra Package from pkg/ to internal/ #6914
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
Move Cassandra Package from pkg/ to internal/ #6914
Conversation
Signed-off-by: sAchin-680 <mrmister680@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes files don't match description
Signed-off-by: SACHIN KUMAR <118827645+sAchin-680@users.noreply.github.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
❌ Your project status has failed because the head coverage (50.64%) is below the target coverage (95.00%). You can increase the head coverage or adjust the target coverage.
Additional details and impacted files@@ Coverage Diff @@
## main #6914 +/- ##
===========================================
- Coverage 96.24% 50.64% -45.60%
===========================================
Files 342 178 -164
Lines 20272 10463 -9809
===========================================
- Hits 19510 5299 -14211
- Misses 576 4769 +4193
- Partials 186 395 +209
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
## Which problem is this PR solving? - part of #6869 - closes #6914 (replacement) ## Description of the changes - moved `pkg/cassandra` to `internal/storage/cassandra` - users of `pkg/scassandra` are `internal/storage/v1/cassandra`, `internal/storage/distributedlock/cassandra`, `cmd/jaeger/internal/extension/jaegerstorage`. ## How was this change tested? - changes have passed all tests of the project ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `npm run lint` and `npm run test` Signed-off-by: pipiland <nguyen.t.dang.minh@gmail.com>
## Which problem is this PR solving? - part of jaegertracing#6869 - closes jaegertracing#6914 (replacement) ## Description of the changes - moved `pkg/cassandra` to `internal/storage/cassandra` - users of `pkg/scassandra` are `internal/storage/v1/cassandra`, `internal/storage/distributedlock/cassandra`, `cmd/jaeger/internal/extension/jaegerstorage`. ## How was this change tested? - changes have passed all tests of the project ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `npm run lint` and `npm run test` Signed-off-by: pipiland <nguyen.t.dang.minh@gmail.com>
## Which problem is this PR solving? - part of jaegertracing#6869 - closes jaegertracing#6914 (replacement) ## Description of the changes - moved `pkg/cassandra` to `internal/storage/cassandra` - users of `pkg/scassandra` are `internal/storage/v1/cassandra`, `internal/storage/distributedlock/cassandra`, `cmd/jaeger/internal/extension/jaegerstorage`. ## How was this change tested? - changes have passed all tests of the project ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `npm run lint` and `npm run test` Signed-off-by: pipiland <nguyen.t.dang.minh@gmail.com> Signed-off-by: amol-verma-allen <amol.verma@allen.in>
Which problem is this PR solving?
Description of the changes
This PR moves the
cassandra
package frompkg/
tointernal/
, aligning with Jaeger's internal package structure. The following subpackages and files have been moved:pkg/cassandra/config → internal/cassandra/config
pkg/cassandra/gocql → internal/cassandra/gocql
pkg/cassandra/metrics → internal/cassandra/metrics
pkg/cassandra/mocks → internal/cassandra/mocks
pkg/cassandra/empty_test.go → internal/cassandra/empty_test.go
pkg/cassandra/session.go → internal/cassandra/session.go
How was this change tested?
Checklist
jaeger
:make lint test
jaeger-ui
:npm run lint
andnpm run test