Description
LicenseDB Import REST endpoint does not persist data to SW360 database
How to reproduce
- Configure LicenseDB in sw360.properties with valid credentials
- Call POST /api/licenses/import/LicenseDB
- Check SW360 database - no licenses or obligations are saved
- The API returns success but data is never persisted
The root cause is in LicenseController.java:562 which calls licenseDbIntegrationService.fullSync() (which only fetches data) instead of licenseDbService.fullSync() (which has persistence logic).
Expected Behavior
Licenses and obligations should be saved to SW360 database after calling the import endpoint.
Versions