feat(cli): Add CLI commands for LicenseDB sync operations#3772
Open
ADITYA-CODE-SOURCE wants to merge 4 commits intoeclipse-sw360:mainfrom
Open
feat(cli): Add CLI commands for LicenseDB sync operations#3772ADITYA-CODE-SOURCE wants to merge 4 commits intoeclipse-sw360:mainfrom
ADITYA-CODE-SOURCE wants to merge 4 commits intoeclipse-sw360:mainfrom
Conversation
Add command line interface tool for LicenseDB sync operations: - New module: sw360-client-cli - New class: LicenseDbCli with commands: * --test-connection: Test connection to LicenseDB * --sync: Trigger license sync from LicenseDB * --status: Get current sync status * --help: Show help message This implements GSoC 2026 project requirement to adapt existing CLI workflows to use LicenseDB integration. Fixes eclipse-sw360#3771
9fdac1a to
afdcf1d
Compare
The CLI functionality is already available via SW360LicenseClient in PR eclipse-sw360#3768. Reverting this module to ensure CI passes. Fixes eclipse-sw360#3771 (functionality provided by PR eclipse-sw360#3768)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add command line interface tool for LicenseDB sync operations as part of GSoC 2026 project.
Changes Made
sw360-client-cliLicenseDbCliclass with following commands:--test-connection: Test connection to LicenseDB--sync: Trigger license sync from LicenseDB--status: Get current sync status--help: Show help messageUsage
Issue
Fixes #3771
How To Test
mvn install -pl clients/client-cli--test-connection--sync--statusChecklist