I hereby claim:
- I am kshepherd on github.
- I am kshepherd (https://keybase.io/kshepherd) on keybase.
- I have a public key whose fingerprint is 0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var Promise = require('bluebird'); | |
/* | |
* Safe Delayed Retries | |
* | |
* This test pattern simulates a single delayed retry for an operation | |
* that might have failed but doesn't always... in my case, a MSSQL 'deadlocked transaction, please run again' | |
* error response that I want to retry rather than skipping that transaction or failing outright. | |
* | |
* I've set it up so that on >=0.5 random roll, the operation passes. | |
* On a pass, results are handled and app carries on. |
The DSpace Contribution HOWTO
(2017) Kim Shepherd, Hardy Pottinger, Art Lowel
Presented at Open Repositories 2017, Brisbane, Australia, June 26-30 2017
https://figshare.com/articles/DSpace_Contribution_HOWTO/5160847
Search Everything: Discovery with search microservices
(2016) Jared Watts, Ian Jones, Kim Shepherd
Presented at Open Repositories 2016, Dublin, Ireland, June 13-16 2016
https://figshare.com/articles/Search_Everything_Discovery_with_search_microservices/7093214
// Turn STDIN lines into DSpace value pairs with indenting for inclusion in input-forms.xml | |
// (simple displayed value = stored value case) | |
import sys | |
print "<value-pairs value-pairs-name=\"insert-name-here\" dc-term=\"insert-term-here\">" | |
for line in sys.stdin: | |
print " <pair>\n <displayed-value>" + line.strip() + "</displayed-value>\n <stored-value>" + line.strip() + "</stored-value>\n </pair>" | |
print "</value-pairs>" |
package org.dspace.xoai.tests; | |
import org.apache.solr.client.solrj.SolrClient; | |
import org.apache.solr.client.solrj.impl.HttpSolrClient; | |
import org.dspace.discovery.MockSolrSearchCore; | |
import org.dspace.services.factory.DSpaceServicesFactory; | |
import org.dspace.solr.MockSolrServer; | |
import org.springframework.beans.factory.DisposableBean; | |
import org.springframework.beans.factory.InitializingBean; |
package org.dspace.xoai.tests; | |
import org.apache.logging.log4j.LogManager; | |
import org.apache.logging.log4j.Logger; | |
import org.apache.solr.client.solrj.SolrClient; | |
import org.apache.solr.client.solrj.SolrServerException; | |
import org.dspace.xoai.services.api.config.ConfigurationService; | |
import org.dspace.xoai.services.api.solr.SolrServerResolver; | |
import org.dspace.xoai.services.impl.solr.DSpaceSolrServerResolver; | |
import org.springframework.beans.factory.annotation.Autowired; |
/** | |
* The contents of this file are subject to the license and copyright | |
* detailed in the LICENSE and NOTICE files at the root of the source | |
* tree and available online at | |
* <p> | |
* http://www.dspace.org/license/ | |
*/ | |
package org.dspace.example; | |
import java.io.IOException; |
version: '3' | |
services: | |
fcrepo: | |
container_name: fcrepo | |
image: fcrepo/fcrepo | |
networks: | |
fedoranet: | |
aliases: | |
- fcrepo | |
ports: |