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[Storagetool]: List queue appid numrecords #534

Merged
merged 51 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from 49 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
4a3ab78
wip
bbpetukhov Nov 16, 2024
dc981b7
Add support for Queue URI
bbpetukhov Nov 16, 2024
8111259
Support printer formatting
bbpetukhov Nov 25, 2024
c9a7c23
Can calc records by type per queue
bbpetukhov Nov 25, 2024
4d091fe
Calculate per records counts app key
bbpetukhov Nov 25, 2024
90ab10a
Add ""min records per queue" cmd line parameter
bbpetukhov Nov 26, 2024
fd373de
Move printRecord methods to RecordPrinter namespace
alexander-e1off Nov 22, 2024
0757a2a
Resolve AppKey to AppId
bbpetukhov Nov 27, 2024
5b99185
Update README.md
bbpetukhov Nov 27, 2024
059aacd
Sort app ids ny num records in asc order
bbpetukhov Nov 27, 2024
621ca50
Add comments
bbpetukhov Nov 28, 2024
185194d
Run clang-format
bbpetukhov Nov 28, 2024
7f3fa10
Update src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.cpp
bbpetukhov Dec 2, 2024
5734e06
Update src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.cpp
bbpetukhov Dec 2, 2024
12dfb48
Update src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.cpp
bbpetukhov Dec 2, 2024
55fdc36
Always print Queue Key in detailed queue information
bbpetukhov Dec 2, 2024
079d26c
Refactor method to calc total records count
bbpetukhov Dec 2, 2024
b0de035
Prefer const_iterator
bbpetukhov Dec 2, 2024
7295527
Make min-records-per-queue parameter unsigned
bbpetukhov Dec 2, 2024
959f269
Run clang-format
bbpetukhov Dec 2, 2024
1ef7d9b
Remove redundant Parameters default ctor
bbpetukhov Dec 2, 2024
ff069a3
Add unit test for queue detailed output
bbpetukhov Dec 2, 2024
e565543
Merge branch 'main' into list-queue-appid-numrecords
bbpetukhov Dec 5, 2024
313e91e
Run clang-format
bbpetukhov Dec 5, 2024
15d034a
Merge branch 'main' into list-queue-appid-numrecords
bbpetukhov Dec 9, 2024
988cccf
Fix unit tests
bbpetukhov Dec 20, 2024
5e9e56a
Merge branch 'main' into list-queue-appid-numrecords
bbpetukhov Dec 20, 2024
e1eb49a
Run clang-format
bbpetukhov Dec 20, 2024
83463d6
Merge branch 'main' into list-queue-appid-numrecords
bbpetukhov Jan 9, 2025
c3a2fc8
Resolve conflicts after merge
bbpetukhov Jan 9, 2025
bc28fd7
Run clang-format
bbpetukhov Jan 9, 2025
8a085d4
Fix unit tests
bbpetukhov Jan 10, 2025
9c04387
Merge branch 'main' into list-queue-appid-numrecords
bbpetukhov Jan 10, 2025
4d1c251
Run clang format
bbpetukhov Jan 13, 2025
28fc3f5
Merge branch 'main' into list-queue-appid-numrecords
bbpetukhov Jan 13, 2025
e28074b
Refactor Parameters class - test creator helper function
bbpetukhov Jan 13, 2025
ff44dd3
Revert bmqu files
bbpetukhov Jan 15, 2025
5dae9e5
Remove redundant comments
bbpetukhov Jan 15, 2025
4fa70e0
Remove redundant virtual methods
bbpetukhov Jan 15, 2025
0cc6060
Merge branch 'main' into list-queue-appid-numrecords
bbpetukhov Jan 15, 2025
9ef1aec
Update src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.h
bbpetukhov Jan 16, 2025
dd8ff03
Update src/applications/bmqstoragetool/m_bmqstoragetool_journalfilepr…
bbpetukhov Jan 16, 2025
79017f2
Optimize queueInfo variable declaration
bbpetukhov Jan 16, 2025
22f0050
Update src/applications/bmqstoragetool/m_bmqstoragetool_searchresult.h
bbpetukhov Jan 16, 2025
c6c87dd
Extend logic of createTestParameters helper function
bbpetukhov Jan 16, 2025
0c68133
Remove redundant function
bbpetukhov Jan 16, 2025
21f2298
Disable default alloc check in unit tests for SunOS
bbpetukhov Jan 16, 2025
86a267c
Use zero as default value for records limit
bbpetukhov Jan 16, 2025
2b6c8fd
Merge branch 'main' into list-queue-appid-numrecords
bbpetukhov Jan 16, 2025
f452ebc
Merge branch 'main' into list-queue-appid-numrecords
bbpetukhov Jan 17, 2025
01172e6
Initialize Command Line arguments fields to fix msan warning
bbpetukhov Jan 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/applications/bmqstoragetool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Usage: bmqstoragetool [-r|record-type <record type>]*
[--details]
[--dump-payload]
[--dump-limit <dump limit>]
[--min-records-per-queue <threshold>]
[--summary]
[-h|help]
Where:
Expand Down Expand Up @@ -83,6 +84,8 @@ Where:
specify if you need message payload
--dump-limit <dump limit>
limit of payload output (default: 1024)
--min-records-per-queue
min number of records per queue for detailed info to be displayed
--summary
summary of all matching messages (number of outstanding messages and
other statistics)
Expand Down
5 changes: 5 additions & 0 deletions src/applications/bmqstoragetool/bmqstoragetool.m.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ static bool parseArgs(CommandLineArguments& arguments,
"summary of all matching records",
balcl::TypeInfo(&arguments.d_summary),
balcl::OccurrenceInfo::e_OPTIONAL},
{"min-records-per-queue",
"min records per queue",
"min number of records per queue for detailed info to be displayed",
bbpetukhov marked this conversation as resolved.
Show resolved Hide resolved
balcl::TypeInfo(&arguments.d_minRecordsPerQueue),
balcl::OccurrenceInfo(0)},
{"h|help",
"help",
"print usage)",
Expand Down
Loading
Loading