Skip to content

Commit

Permalink
Revert "Merge branch 'tul/merge-into-clarin-dspace' into customer/TUL" (
Browse files Browse the repository at this point in the history
#400)

This reverts commit 49e8c93, reversing
changes made to c88354e.
  • Loading branch information
milanmajchrak authored Aug 7, 2023
1 parent cc4f84d commit 1387026
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 52 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Docker images
on:
push:
branches:
- dtq-dev
- customer/TUL
pull_request:
workflow_dispatch:

Expand Down Expand Up @@ -170,11 +170,11 @@ jobs:
labels: ${{ steps.meta_build_cli.outputs.labels }}

- name: redeploy
if: 'false'
if: '!cancelled()'
run: |
curl -H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token ${{ secrets.DEPLOY_DEV5_GH_ACTION_DISPATCH }}" \
--request POST \
https://api.github.com/repos/dataquest-dev/\
dspace-angular/actions/workflows/deploy.yml/dispatches \
--data "{\"ref\":\"refs/heads/dtq-dev\"}"
--data "{\"ref\":\"refs/heads/customer/TUL\"}"
1 change: 0 additions & 1 deletion dspace-api/src/test/data/dspaceFolder/config/local.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -264,4 +264,3 @@ webui.browse.link.2 = subject:dc.subject.*

# If the versioning is disabled Versioning Integration Tests will fail - allow it for the tests
versioning.enabled=true

Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ public void afterPropertiesSet() throws Exception {
service = new DatabaseReader.Builder(
new BufferedInputStream(Files.newInputStream(Paths.get(dbfile)))).build();
} catch (IOException e) {
log.debug("ERROR: Unable to load GeoLite Database file (" + dbfile + ")! " +
log.error("Unable to load GeoLite Database file (" + dbfile + ")! " +
"You may need to reinstall it. See the DSpace installation instructions for more details.", e);
}
} else {
log.debug("ERROR: The required 'dbfile' configuration is missing in solr-statistics.cfg!");
log.error("The required 'dbfile' configuration is missing in solr-statistics.cfg!");
}
locationService = service;

Expand All @@ -100,7 +100,7 @@ public void afterPropertiesSet() throws Exception {
}

public String createFeedsContent() {
log.debug("Going to create feeds content.");
log.info("Going to create feeds content.");
String[] feedsConfig = configurationService.getArrayProperty("discojuice.feeds");
String shibbolethDiscoFeedUrl = configurationService.getProperty("shibboleth.discofeed.url");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public void cronJobSch() {
if (!isAllowed) {
return;
}
log.debug("CRON Job - going to download the discojuice feeds.");

log.info("CRON Job - going to download the discojuice feeds.");
String newFeedsContent = clarinDiscoJuiceFeedsDownloadService.createFeedsContent();
if (isNotBlank(newFeedsContent)) {
feedsContent = newFeedsContent;
Expand Down
17 changes: 8 additions & 9 deletions dspace/config/clarin-dspace.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ featured.service.teitok.description = A web-based platform for viewing, creating

##### Shibboleth #####
# Turn off the discofeed, it is allowed by default
# shibboleth.discofeed.allowed = false

shibboleth.discofeed.allowed = false
# File where is DiscoJuiceFeed response
shibboleth.discofeed.url = https://lindat.mff.cuni.cz/Shibboleth.sso/DiscoFeed

Expand All @@ -149,29 +148,29 @@ statistics.cache-server.uri = http://cache-server.none


##### Citacepro config #####
# citace.pro.url = https://www.citacepro.com/api/dspace/citace/oai
# citace.pro.university = dspace.tul.cz
citace.pro.url = https://www.citacepro.com/api/dspace/citace/oai
citace.pro.university = dspace.tul.cz

# only use true or false for the value of citace pro allowed
# citace.pro.allowed = true
citace.pro.allowed = true

#google config
# google.analytics.key =
google.analytics.key=UA-134956309-1

# The max number of events held in the GA buffer (default: 256)
# google.analytics.buffer.limit = 256
google.analytics.buffer.limit=256

# Define cron for how frequently events tracked in the DSpace backend will be sent to Google Analytics
# This MUST be enabled if you wish to use `google.analytics.api-secret` to track bitstream download statistics (and similar)
# Cron syntax is defined at https://www.quartz-scheduler.org/api/2.3.0/org/quartz/CronTrigger.html
# Keep in mind, changing the schedule requires rebooting your servlet container, e.g. Tomcat.
# The below example will run this task daily, every 5 minutes
# google.analytics.cron = 0 0/1 * * * ?
google.analytics.cron = 0 0/1 * * * ?

# Defines a Measurement Protocol API Secret to be used to track interactions which occur outside of the user's browser.
# For example , this is required to track downloads of bitstreams. This setting is only used by Google Analytics 4.
# For more details see https://developers.google.com/analytics/devguides/collection/protocol/ga4
# google.analytics.api-secret =
# google.analytics.api-secret = EvBfmLs_QPaKei9XRibauw

##### Importing #####
import.metadata.field.not.update = dc.description.provenance, dc.date.available, dc.date.accessioned, dc.identifier.uri
Expand Down
2 changes: 1 addition & 1 deletion dspace/config/dspace.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ identifier.doi.user = username
identifier.doi.password = password

# URL for the DOI resolver. This will be the stem for generated DOIs.
#identifier.doi.resolver = https://doi.org
identifier.doi.resolver = https://doi.org

# DOI prefix used to mint DOIs. All DOIs minted by DSpace will use this prefix.
# The Prefix will be assigned by the registration agency.
Expand Down
3 changes: 0 additions & 3 deletions dspace/config/spring/api/discovery.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
<!-- Additional indexing plugin enables searching by supervised (true,false) -->
<bean id="solrServiceSupervisionOrderIndexingPlugin" class="org.dspace.discovery.SolrServiceSupervisionOrderIndexingPlugin"/>

<!-- Additional indexing plugin enables searching by supervised (true,false) -->
<bean id="solrServiceSupervisionOrderIndexingPlugin" class="org.dspace.discovery.SolrServiceSupervisionOrderIndexingPlugin"/>

<!--Bean that is used for mapping communities/collections to certain discovery configurations.-->
<bean id="org.dspace.discovery.configuration.DiscoveryConfigurationService" class="org.dspace.discovery.configuration.DiscoveryConfigurationService">
<property name="map">
Expand Down
31 changes: 0 additions & 31 deletions dspace/config/submission-forms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -785,37 +785,6 @@
<externalsources/>
</relation-field>
</row>
<row>
<relation-field>
<relationship-type>isProjectOfPerson</relationship-type>
<search-configuration>person</search-configuration>
<repeatable>true</repeatable>
<label>Investigator</label>
<hint>Enter the investigator's name (Family name, Given names).</hint>
<linked-metadata-field>
<dc-schema>project</dc-schema>
<dc-element>investigator</dc-element>
<input-type>onebox</input-type>
</linked-metadata-field>
<externalsources>orcid</externalsources>
</relation-field>
</row>
<row>
<relation-field>
<relationship-type>isProjectOfOrgUnit</relationship-type>
<search-configuration>orgunit</search-configuration>
<repeatable>false</repeatable>
<label>Organization</label>
<hint>Enter the organization's name</hint>
<linked-metadata-field>
<dc-schema>project</dc-schema>
<dc-element>funder</dc-element>
<dc-qualifier>name</dc-qualifier>
<input-type>onebox</input-type>
</linked-metadata-field>
<externalsources/>
</relation-field>
</row>
<row>
<field>
<dc-schema>dc</dc-schema>
Expand Down

0 comments on commit 1387026

Please sign in to comment.