Skip to content

[Feature] Add LicenseDB sync methods to SW360LicenseClient #3767

@ADITYA-CODE-SOURCE

Description

@ADITYA-CODE-SOURCE

Description

Add LicenseDB sync methods to SW360LicenseClient to allow programmatic access to LicenseDB import functionality

Current Behavior

SW360LicenseClient does not have methods to:

  • Import licenses from LicenseDB
  • Check sync status
  • Test LicenseDB connection

Expected Behavior

Add the following methods to SW360LicenseClient:

  • importFromLicenseDB() - Trigger license import from LicenseDB
  • getLicenseDBSyncStatus() - Get current sync status
  • testLicenseDBConnection() - Test connection to LicenseDB

Why This is Needed

This is part of the GSoC 2026 LicenseDB integration project. The CLI and other tools need to be able to trigger LicenseDB sync programmatically.

Versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions