Skip to content

Commit 6e94693

Browse files
committed
[DURACOM-427] configuration fix
1 parent 2c8fb03 commit 6e94693

File tree

4 files changed

+71
-9
lines changed

4 files changed

+71
-9
lines changed

dspace-api/src/main/java/org/dspace/content/authority/ChoiceAuthorityServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
* Broker for ChoiceAuthority plugins, and for other information configured
5050
* about the choice aspect of authority control for a metadata field.
5151
*
52-
* Configuration keys, per metadata field (e.g. "dc.contributer.author")
52+
* Configuration keys, per metadata field (e.g. "dc.contributor.author")
5353
*
5454
* {@code
5555
* # names the ChoiceAuthority plugin called for this field

dspace/config/dspace.cfg

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,13 +1003,7 @@ access.status.for-user.bitstream = current
10031003
# implementation of access status helper plugin - replace with local implementation if applicable
10041004
# This default access status helper provides an item status based on the policies of the primary
10051005
# bitstream (or first bitstream in the original bundles if no primary file is specified).
1006-
#plugin.single.org.dspace.access.status.AccessStatusHelper = org.dspace.access.status.DefaultAccessStatusHelper
1007-
1008-
plugin.single.org.dspace.access.status.AccessStatusHelper = org.dspace.access.status.MetadataAccessStatusHelper
1009-
1010-
#access status metadata
1011-
access.status.access-status-metadata = datacite.rights
1012-
access.status.availability-date-metadata = datacite.available
1006+
plugin.single.org.dspace.access.status.AccessStatusHelper = org.dspace.access.status.DefaultAccessStatusHelper
10131007

10141008
#### Checksum Checker Settings ####
10151009
# Default dispatcher in case none specified
@@ -1850,7 +1844,6 @@ include = ${module_dir}/google-analytics.cfg
18501844
include = ${module_dir}/healthcheck.cfg
18511845
include = ${module_dir}/identifiers.cfg
18521846
include = ${module_dir}/irus-statistics.cfg
1853-
include = ${module_dir}/metadata-security.cfg
18541847
include = ${module_dir}/cris.cfg
18551848
include = ${module_dir}/oai.cfg
18561849
include = ${module_dir}/openaire-client.cfg

dspace/config/modules/cris.cfg

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#---------------------------------------------------------------#
2+
#--------------------CRIS CONFIGURATIONS------------------------#
3+
#---------------------------------------------------------------#
4+
# These configs are used by the CRIS extended functionalities #
5+
#---------------------------------------------------------------#
6+
# which entity-types are enforce in the system
7+
cris.entity-type = Person
8+
cris.entity-type = Project
9+
cris.entity-type = Funding
10+
cris.entity-type = OrgUnit
11+
cris.entity-type = Journal
12+
cris.entity-type = Publication
13+
cris.entity-type = Product
14+
cris.entity-type = Patent
15+
cris.entity-type = Event
16+
cris.entity-type = Equipment
17+
18+
########### CRIS Consumer configuration ###############
19+
cris-consumer.skip-empty-authority = true
20+
cris.item-reference-resolution.override-metadata-value = false
21+
22+
# It specifies whether CrisConsumer should use template while creating related items.
23+
# By default it is false and so no template is used.
24+
# cris.import.submission.enabled.entity.use-template = true
25+
26+
# It specifies whether CrisConsumer should use template while creating
27+
# related item linked via specified authority field.
28+
# cris.import.submission.enabled.entity.{authority_field_separated_by_underscores}.use-template = true
29+
30+
# Max size, in bytes of bitstreams without a custom thumbnail
31+
# to be rendered directly as thumbnail
32+
cris.layout.thumbnail.maxsize = 250000

dspace/config/modules/relationship.cfg

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,40 @@
1414
# and the right side. Indirectly related items requiring more than 5 items will be skipped. Defaults to 5
1515
# relationship.update.relateditems.maxdepth = 5
1616

17+
# Relationship for which only right place value will be set with its correct place value,
18+
# while left place field will be used by DSpace-CRIS to store max value of right place considering other entities
19+
# having same relationship with right entity
20+
# key is repeatable, a relationship should be reported with this syntax: leftType::rightType::leftwardValue::rightwardValue
21+
# for example:
22+
# Publication::Person::isAuthorOfPublication::isPublicationOfAuthor
23+
# null::Person::isResearchoutputsSelectedFor::hasSelectedResearchoutputs
24+
# Please Note: the same relationship details could not be defined in both
25+
# relationship.places.onlyright and relationship.places.onlyleft
26+
relationship.places.onlyright=
27+
28+
# out of the box, settings for relationships already defined are provided
29+
relationship.places.onlyright=null::Person::isResearchoutputsSelectedFor::hasSelectedResearchoutputs
30+
relationship.places.onlyright=null::Person::isProjectsSelectedFor::hasSelectedProjects
31+
32+
relationship.places.onlyright=null::OrgUnit::isRpprojectsSelectedFor::hasSelectedRpprojects
33+
relationship.places.onlyright=null::OrgUnit::isPublicationsSelectedFor::hasSelectedPublications
34+
relationship.places.onlyright=null::OrgUnit::isRppublicationsSelectedFor::hasSelectedRppublications
35+
relationship.places.onlyright=null::OrgUnit::isPeopleSelectedFor::hasSelectedPeople
36+
relationship.places.onlyright=null::OrgUnit::isProjectsSelectedFor::hasSelectedProjects
37+
relationship.places.onlyright=null::OrgUnit::isOrganizationsSelectedFor::hasSelectedOrganizations
38+
39+
relationship.places.onlyright=null::Project::isProjectsSelectedFor::hasSelectedProjects
40+
relationship.places.onlyright=null::Project::isGrantsSelectedFor::hasSelectedGrants
41+
relationship.places.onlyright=null::Project::isResearchoutputsSelectedFor::hasSelectedResearchoutputs
42+
43+
# Relationship for which only left place value will be set with its correct place value,
44+
# while right place field will be used by DSpace-CRIS to store max value of left place considering other entities
45+
# having same relationship with left entity
46+
# key is repeatable, a relationship should be reported with this syntax: leftType::rightType::leftwardValue::rightwardValue
47+
# for example:
48+
# Publication::Person::isAuthorOfPublication::isPublicationOfAuthor
49+
# null::Person::isResearchoutputsSelectedFor::hasSelectedResearchoutputs
50+
# Please Note: the same relationship details could not be defined in both
51+
# relationship.places.onlyright and relationship.places.onlyleft
52+
relationship.places.onlyleft=
53+

0 commit comments

Comments
 (0)