Skip to content

Commit

Permalink
redoing customer/uk - datacite submission
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarko committed Nov 12, 2024
2 parents 589a19d + 587d9cf commit 90fe4af
Show file tree
Hide file tree
Showing 4 changed files with 620 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dspace/config/clarin-dspace.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ event.consumer.doi.filters = Item+Modify_Metadata
# Adding doi here makes DSpace send metadata updates to your doi registration agency.
# Add rdf here, if you are using dspace-rdf to export your repository content as RDF.
# Add iiif here, if you are using dspace-iiif.
event.dispatcher.default.consumers = versioning, discovery, eperson
event.dispatcher.default.consumers = versioning, discovery, eperson, doi

# Edit Item - Status option
identifiers.item-status.register-doi = false
Expand Down
33 changes: 29 additions & 4 deletions dspace/config/item-submission.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
<!-- for handle "default". -->
<submission-map>
<!-- Default submission process -->
<name-map collection-handle="default" submission-name="traditional"/>
<name-map collection-handle="123456789/1127" submission-name="clariah"/>
<name-map collection-handle="20.500.12800/3" submission-name="clariahSubmissions"/>
<name-map collection-handle="11234/5012" submission-name="teachingSubmissions"/>
<name-map collection-handle="default" submission-name="datacite"/>
<!-- Sample Entities Collection configuration based on the demo Entities dataset available at:
https://github.com/DSpace-Labs/AIP-Files/releases/tag/demo-entities-data
This sets up the following Entity-based Collections in that dataset:
Expand Down Expand Up @@ -156,6 +153,23 @@
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
<type>submission-form</type>
</step-definition>
<step-definition id="dataciterequired" mandatory="true">
<heading>submit.progressbar.describe.dataciterequired</heading>
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
<type>submission-form</type>
</step-definition>
<!-- if mandatory is false; the submission form shows a "Add more +" button which can add the non mandatory
section. It's really hard to find even if you know there should be something to add other sections. -->
<step-definition id="dataciterecommended" mandatory="true">
<heading>submit.progressbar.describe.dataciterecommended</heading>
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
<type>submission-form</type>
</step-definition>
<step-definition id="dataciteoptional" mandatory="true">
<heading>submit.progressbar.describe.dataciteoptional</heading>
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
<type>submission-form</type>
</step-definition>

<step-definition id="upload">
<heading>submit.progressbar.upload</heading>
Expand Down Expand Up @@ -336,6 +350,17 @@
<step id="specialFields"/>
</submission-process>

<submission-process name="datacite">
<step id="collection"></step>
<step id="identifiers"/><!---->
<step id="dataciterequired"></step>
<step id="dataciterecommended"></step>
<step id="dataciteoptional"></step>
<step id="upload"/>
<step id="license"/>
<step id="clarin-license"/>
</submission-process>

<!--
Submission Process for 'Publication' Entities.
These are not to be confused with default Items, as Publications may be linked with other Entities
Expand Down
4 changes: 2 additions & 2 deletions dspace/config/spring/api/identifier-service.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
depending on whether you have Item Level Versioning activated or not.
-->
<!--
-->
<bean id="org.dspace.identifier.DOIIdentifierProvider"
class="org.dspace.identifier.DOIIdentifierProvider"
scope="singleton">
Expand All @@ -55,7 +56,6 @@
ref="org.dspace.identifier.doi.DOIConnector" />
<property name="filter" ref="doi-filter" />
</bean>
-->
<!--
<bean id="org.dspace.identifier.DOIIdentifierProvider"
class="org.dspace.identifier.VersionedDOIIdentifierProvider"
Expand Down Expand Up @@ -91,6 +91,7 @@
DataCiteConnector won't work if EZID is your registration agency.
-->
<!-- Uncomment this to use the DataCite API directly as DOIConnector.
-->
<bean id="org.dspace.identifier.doi.DOIConnector"
class="org.dspace.identifier.doi.DataCiteConnector"
scope="singleton">
Expand All @@ -100,7 +101,6 @@
<property name='DATACITE_METADATA_PATH' value='/metadata/' />
<property name='disseminationCrosswalkName' value="DataCite" />
</bean>
-->

<!-- Provider to mint and register DOIs using EZID as the registrar.
-->
Expand Down
Loading

0 comments on commit 90fe4af

Please sign in to comment.