• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IQSS / dataverse / #27135

05 Nov 2025 03:08PM UTC coverage: 23.801% (+0.02%) from 23.778%
#27135

push

github

web-flow
Update Dataset License API (#11815)

* Stash: updateVersionLicense endpoint WIP

* Stash: updateVersionLicense endpoint WIP. Endpoint logic implemented, pending command impl

* Refactor: removed unused injected services in Datasets.java

* Refactor: pending TODO refactor implemented. datasetMetricsService moved to AbstractApiBean

* Changed: license update implementation with unit tests

* Refactor: renamed UpdateDatasetVersionLicenseCommand to UpdateDatasetLicenseCommand

* Changed: renamed bundle string

* Added: handling license updates where custom terms are sent

* Changed: naming and tweaks

* Added: integration tests, tweaks and improved error handling

* Added: DatasetsIT test case for updating license with insufficient permissions

* Added: docs for new datasets updateLicense endpoint

* Added: release notes for #11771

* Fixed: missing import statement

* Fixed: UpdateDatasetLicenseCommand by not overwriting dataset TermsOfUseAndAccess but merging new fields into the existing one

* Fixed: native api rst format

36 of 94 new or added lines in 4 files covered. (38.3%)

21832 of 91727 relevant lines covered (23.8%)

0.24 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.14
/src/main/java/edu/harvard/iq/dataverse/api/Datasets.java


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc