You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PID Providers of type ``datacite`` require four additional parameters that define how the provider connects to DataCite.
561
563
DataCite has two APIs that are used in Dataverse:
@@ -571,6 +573,11 @@ for `Fabrica <https://doi.datacite.org/>`_ and their APIs. You need to provide
571
573
the same credentials (``username``, ``password``) to Dataverse software to mint and manage DOIs for you.
572
574
As noted above, you should use one of the more secure options for setting the password.
573
575
576
+
The `only-update-datacite-when-needed feature` flag is a global option that causes Dataverse to GET the latest metadata from DataCite
577
+
for a DOI and compare it with the current metadata in Dataverse and only sending a following POST request if needed. This potentially
578
+
substitutes a read for an unnecessary write at DataCite, but would result in extra reads when all metadata in Dataverse is new.
579
+
Setting the flag to "true" is recommended when using DataCite file DOIs.
580
+
574
581
CrossRef-specific Settings
575
582
^^^^^^^^^^^^^^^^^^^^^^^^^^
576
583
@@ -3843,6 +3850,9 @@ please find all known feature flags below. Any of these flags can be activated u
3843
3850
* - role-assignment-history
3844
3851
- Turns on tracking/display of role assignments and revocations for collections, datasets, and files
3845
3852
- ``Off``
3853
+
* - only-update-datacite-when-needed
3854
+
- Only contact DataCite to update a DOI after checking to see if DataCite has outdated information (for efficiency, lighter load on DataCite, especially when using file DOIs).
3855
+
- ``Off``
3846
3856
3847
3857
**Note:** Feature flags can be set via any `supported MicroProfile Config API source`_, e.g. the environment variable
3848
3858
``DATAVERSE_FEATURE_XXX`` (e.g. ``DATAVERSE_FEATURE_API_SESSION_AUTH=1``). These environment variables can be set in your shell before starting Payara. If you are using :doc:`Docker for development </container/dev-usage>`, you can set them in the `docker compose <https://docs.docker.com/compose/environment-variables/set-environment-variables/>`_ file.
0 commit comments