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

IQSS / dataverse / #21725

06 Mar 2024 02:06PM UTC coverage: 20.583% (+0.3%) from 20.253%
#21725

push

github

web-flow
IQSS/3623 - Multiple PID Provider support (#10234)

* Switch to per-pid-provider settings

* partial refactor towards non-bean providers

* ~auto refactor name/package, remove bean status

* remove Util class

* rename

* add factories for all, fix providers, etc.

* unmanaged providers

* add getters

* add name to cnstr, add cnstr for unmanaged, add auth/shoulder checks

* update permalinks, add separator setting

* no arg constructor

* add unmanaged providers

* check canManagePid instead

* replace getBean(), compiles except for tests

* update tests, comment out ones that are TBD

* add clear method for testing

* bugs - remove dup authority, fix name, add auth/sep/shoulder tests

* make managed/excluded lists optional

* fix name in generated pids

* move setup to berforeall, add test of second permaprovider

* provider name->id

* adding label, more name->id

* providerName->providerId

* add factory map, lookups, add factory, perma parsing tests

* first datacite parsing test/fix id in pid

* rename class

* move auth/shoulder check to lower level method

* fix ids, fix managed list optional in fake

* add effective pid generator logic

* add effective pid generator tests

* fix param order

* fix perma handling of managed/excluded entries

* add managed/excluded tests, cleanup

* update pidprovider discovery to get effective one when necessary

* replace all refs to global protocol/auth/shoulder settings xcept one

keeping the new PidProviderFactoryBean.getDefaultPidGenerator() for now
as a possible way to stay ~backward comaptible

All the rest - tried to find the appropriate PidProvider to supply the
values

* first UI for setting Pid generator

* typo

* flyway script to add pid spec column

* @AutoService and public class for loader discovery

* minor cleanup/refactor

* verify protocol/auth are set/match the provider plus cleanup

* only call getGlob... (continued)

400 of 1362 new or added lines in 59 files covered. (29.37%)

16 existing lines in 12 files now uncovered.

16977 of 82480 relevant lines covered (20.58%)

0.21 hits per line

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

0.0
/src/main/java/edu/harvard/iq/dataverse/engine/command/impl/CreateNewDatasetCommand.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