Skip to content

Commit 4d347ec

Browse files
Use right cfg files from the previous release because the cfg files were copied from the dtq-dev (#712)
1 parent bbcf630 commit 4d347ec

4 files changed

Lines changed: 138 additions & 1320 deletions

File tree

dspace-server-webapp/src/main/resources/application.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@
3838
# interact with or read its configuration from dspace.cfg.
3939
dspace.dir=${dspace.dir}
4040

41+
########################
42+
# Servlet context path configuration for spring boot application running with embedded tomcat
43+
#
44+
server.servlet.context-path=/server
45+
4146
########################
4247
# Jackson serialization settings
4348
#

dspace/config/clarin-dspace.cfg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ featured.service.teitok.description = A web-based platform for viewing, creating
137137
# Turn off the discofeed, it is allowed by default
138138
shibboleth.discofeed.allowed = false
139139
# File where is DiscoJuiceFeed response
140-
shibboleth.discofeed.url = https://dev-5.pc:8443/Shibboleth.sso/DiscoFeed
140+
shibboleth.discofeed.url = https://lindat.mff.cuni.cz/Shibboleth.sso/DiscoFeed
141141

142142
# CRON job refresh time definition - default is refresh in every 2 hours.
143143
discojuice.refresh = 0 0 */2 * * ?
@@ -209,13 +209,13 @@ identifier.doi.namespaceseparator = dspace/
209209
##
210210
crosswalk.dissemination.DataCite.stylesheet = crosswalks/DIM2DataCite.xsl
211211
crosswalk.dissemination.DataCite.schemaLocation = \
212-
http://datacite.org/schema/kernel-3 \
213-
http://schema.datacite.org/meta/kernel-3/metadata.xsd
212+
http://datacite.org/schema/kernel-4 \
213+
https://schema.datacite.org/meta/kernel-4.4/metadata.xsd
214214
crosswalk.dissemination.DataCite.preferList = false
215215
crosswalk.dissemination.DataCite.publisher = My University
216216
#crosswalk.dissemination.DataCite.dataManager = # defaults to publisher
217217
#crosswalk.dissemination.DataCite.hostingInstitution = # defaults to publisher
218-
crosswalk.dissemination.DataCite.namespace = http://datacite.org/schema/kernel-3
218+
crosswalk.dissemination.DataCite.namespace = http://datacite.org/schema/kernel-4
219219

220220
# consumer to update metadata of DOIs
221221
event.consumer.doi.class = org.dspace.identifier.doi.DOIConsumer
@@ -225,7 +225,7 @@ event.consumer.doi.filters = Item+Modify_Metadata
225225
# Adding doi here makes DSpace send metadata updates to your doi registration agency.
226226
# Add rdf here, if you are using dspace-rdf to export your repository content as RDF.
227227
# Add iiif here, if you are using dspace-iiif.
228-
event.dispatcher.default.consumers = versioning, discovery, eperson
228+
event.dispatcher.default.consumers = versioning, discovery, eperson, doi
229229

230230
# Edit Item - Status option
231231
identifiers.item-status.register-doi = false

dspace/config/item-submission.xml

Lines changed: 16 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@
1818
<!-- for handle "default". -->
1919
<submission-map>
2020
<!-- Default submission process -->
21-
<name-map collection-handle="default" submission-name="traditional"/>
22-
<name-map collection-handle="123456789/1127" submission-name="clariah"/>
23-
<name-map collection-handle="20.500.12800/3" submission-name="clariahSubmissions"/>
24-
<name-map collection-handle="11234/5012" submission-name="teachingSubmissions"/>
21+
<name-map collection-handle="default" submission-name="datacite"/>
2522
<!-- Sample Entities Collection configuration based on the demo Entities dataset available at:
2623
https://github.com/DSpace-Labs/AIP-Files/releases/tag/demo-entities-data
2724
This sets up the following Entity-based Collections in that dataset:
@@ -49,10 +46,10 @@
4946
<name-map collection-handle="123456789/29" submission-name="JournalVolume"/>
5047
<name-map collection-handle="123456789/30" submission-name="JournalIssue"/>
5148
-->
52-
<!-- These configurations enable default submission forms per Entity type
53-
49+
<!-- These configurations enable default submission forms per Entity type
50+
5451
The collection-entity-type will be the entity-type attribute associated with a collection,
55-
typically the entity name that is associated with a collection if any created or loaded
52+
typically the entity name that is associated with a collection if any created or loaded
5653
(that is usually specified in relationship-types.xml).
5754
- - - - - -
5855
PLEASE NOTICE THAT YOU WILL HAVE TO RESTART DSPACE
@@ -260,38 +257,6 @@
260257
<processing-class>org.dspace.app.rest.submit.step.ShowIdentifiersStep</processing-class>
261258
<type>identifiers</type>
262259
</step-definition>
263-
264-
<step-definition id="clariahSubmissionsPageOne" mandatory="true">
265-
<heading>submit.progressbar.describe.stepone</heading>
266-
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
267-
<type>submission-form</type>
268-
</step-definition>
269-
<step-definition id="clariahSubmissionsPageTwo" mandatory="true">
270-
<heading>submit.progressbar.describe.stepone</heading>
271-
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
272-
<type>submission-form</type>
273-
</step-definition>
274-
<step-definition id="clariahSubmissionsPageThree" mandatory="true">
275-
<heading>submit.progressbar.describe.stepone</heading>
276-
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
277-
<type>submission-form</type>
278-
</step-definition>
279-
280-
<step-definition id="teachingSubmissionsPageOne" mandatory="true">
281-
<heading>submit.progressbar.describe.stepone</heading>
282-
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
283-
<type>submission-form</type>
284-
</step-definition>
285-
<step-definition id="teachingSubmissionsPageTwo" mandatory="true">
286-
<heading>submit.progressbar.describe.stepone</heading>
287-
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
288-
<type>submission-form</type>
289-
</step-definition>
290-
<step-definition id="teachingSubmissionsPageThree" mandatory="true">
291-
<heading>submit.progressbar.describe.stepone</heading>
292-
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
293-
<type>submission-form</type>
294-
</step-definition>
295260
</step-definitions>
296261

297262
<!-- The submission-definitions map lays out the detailed definition of -->
@@ -318,7 +283,7 @@
318283
<step id="collection"/>
319284
<!-- To include the 'Show Identifiers' step, uncomment the line below. Make sure
320285
that identifiers.cfg and identifier-service.xml are properly configured. -->
321-
<step id="identifiers"/>
286+
<step id="identifiers"/><!---->
322287
<!--Step will be to Describe the item. -->
323288
<step id="traditionalpageone"/>
324289
<step id="traditionalpagetwo"/>
@@ -342,6 +307,17 @@
342307
<step id="clarin-license"/>
343308
</submission-process>
344309

310+
<submission-process name="datacite">
311+
<step id="collection"></step>
312+
<step id="identifiers"/><!---->
313+
<step id="dataciterequired"></step>
314+
<step id="dataciterecommended"></step>
315+
<step id="dataciteoptional"></step>
316+
<step id="upload"/>
317+
<step id="license"/>
318+
<step id="clarin-license"/>
319+
</submission-process>
320+
345321
<!--
346322
Submission Process for 'Publication' Entities.
347323
These are not to be confused with default Items, as Publications may be linked with other Entities
@@ -460,28 +436,6 @@
460436
<step id="license"/>
461437
<step id="clarin-license"/>
462438
</submission-process>
463-
464-
<submission-process name="clariahSubmissions">
465-
<step id="collection"/>
466-
<step id="clarin-notice"/>
467-
<step id="clariahSubmissionsPageOne"/>
468-
<step id="clariahSubmissionsPageTwo"/>
469-
<step id="clariahSubmissionsPageThree"/>
470-
<step id="upload"/>
471-
<step id="license"/>
472-
<step id="clarin-license"/>
473-
</submission-process>
474-
475-
<submission-process name="teachingSubmissions">
476-
<step id="collection"/>
477-
<step id="clarin-notice"/>
478-
<step id="teachingSubmissionsPageOne"/>
479-
<step id="teachingSubmissionsPageTwo"/>
480-
<step id="teachingSubmissionsPageThree"/>
481-
<step id="upload"/>
482-
<step id="license"/>
483-
<step id="clarin-license"/>
484-
</submission-process>
485439
</submission-definitions>
486440

487441
</item-submission>

0 commit comments

Comments
 (0)