Skip to content

Commit

Permalink
Comment out all examples in datasources.ini.sample by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
EreMaijala committed Oct 12, 2023
1 parent 9791360 commit c1096c8
Showing 1 changed file with 103 additions and 103 deletions.
206 changes: 103 additions & 103 deletions conf/datasources.ini.sample
Original file line number Diff line number Diff line change
Expand Up @@ -117,118 +117,118 @@
;solrTransformation = oai_dc.properties

; Sample Voyager configuration using the OAI-PMH provider by NLF (http://www.exlibrisgroup.org/display/VoyagerCC/OAI-PMH+provider+for+Voyager)
[voyager]
url = https://voyager.server/cgi-bin/oai-pmh.cgi
set = normal
metadataPrefix = marc21
institution = SampleInstitution
format = marc
componentParts = merge_non_articles
dedup = true
building_mapping = voyager_locations.map
;[voyager]
;url = https://voyager.server/cgi-bin/oai-pmh.cgi
;set = normal
;metadataPrefix = marc21
;institution = SampleInstitution
;format = marc
;componentParts = merge_non_articles
;dedup = true
;building_mapping = voyager_locations.map

; Sample Koha configuration
[koha]
url = https://koha.address/cgi-bin/koha/opac/oai.pl
metadataPrefix = marc21
institution = SampleInstitution
format = marc
componentParts = merge_non_earticles
; Hierarchical format facet:
format_mapping[] = marc_format_to_hierarchy.map
format_mapping[] = sub_format.map,regexp
dedup = true
driverParams[] = "idIn999=true"
driverParams[] = "003InLinkingID=true"
driverParams[] = "kohaNormalization=true"
enrichments[] = MarcAuthEnrichment,final
;[koha]
;url = https://koha.address/cgi-bin/koha/opac/oai.pl
;metadataPrefix = marc21
;institution = SampleInstitution
;format = marc
;componentParts = merge_non_earticles
;; Hierarchical format facet:
;format_mapping[] = marc_format_to_hierarchy.map
;format_mapping[] = sub_format.map,regexp
;dedup = true
;driverParams[] = "idIn999=true"
;driverParams[] = "003InLinkingID=true"
;driverParams[] = "kohaNormalization=true"
;enrichments[] = MarcAuthEnrichment,final

; Sample DSpace configuration
[dspace]
url = http://dspace.server/dspace-oai/request
metadataPrefix = oai_dc
institution = SampleInstitution
format = dc
set = public
dedup = true
;[dspace]
;url = http://dspace.server/dspace-oai/request
;metadataPrefix = oai_dc
;institution = SampleInstitution
;format = dc
;set = public
;dedup = true

; Sample EAD configuration
[arc]
institution = MyInst
url = http://oai-pmh.ead-server/request
metadataPrefix = ead
recordSplitterClass = "\RecordManager\Base\Splitter\Ead"
format = ead
preTransformation = strip_namespaces.xsl
oaipmhTransformation = strip_namespaces.xsl
format_mapping = ead_level_to_format.map
non_inherited_fields[] = physdesc
prepend_title_with_subtitle = true
prepend_parent_title_with_unitid = true
recordXPath = //ead
oaiIDXPath = ../../header/identifier
;[arc]
;institution = MyInst
;url = http://oai-pmh.ead-server/request
;metadataPrefix = ead
;recordSplitterClass = "\RecordManager\Base\Splitter\Ead"
;format = ead
;preTransformation = strip_namespaces.xsl
;oaipmhTransformation = strip_namespaces.xsl
;format_mapping = ead_level_to_format.map
;non_inherited_fields[] = physdesc
;prepend_title_with_subtitle = true
;prepend_parent_title_with_unitid = true
;recordXPath = //ead
;oaiIDXPath = ../../header/identifier

; Sample SFX configuration
[sfx]
type = sfx
url = http://sfx.server/export/sfxtst41/
filePrefix = NDL
format = marc
normalization = sfx.properties
institution = SampleInstitution
;[sfx]
;type = sfx
;url = http://sfx.server/export/sfxtst41/
;filePrefix = NDL
;format = marc
;normalization = sfx.properties
;institution = SampleInstitution

; Sample configuration for Sierra REST API
[sierra]
type = sierra
sierraApiKey = "[api_key]"
sierraApiSecret = "[api_secret]"
sierraApiVersion = 5
url = https://kirjtuo1.helmet.fi/iii/sierra-api
batchSize = 100
; Support for asking for non-suppressed records exists with the setting below, but as
; long as the API doesn't return suppressed records as deleted in that case (as is
; the situation at least with API v3), don't use it, since records that go from
; unsuppressed to suppressed won't be detected.
;suppressedRecords = false
suppressedBibCode3 = 'c,d,n'
institution = SierraLib
format = marc
dedup = true
building_mapping = sierra_locations.map
;[sierra]
;type = sierra
;sierraApiKey = "[api_key]"
;sierraApiSecret = "[api_secret]"
;sierraApiVersion = 5
;url = https://kirjtuo1.helmet.fi/iii/sierra-api
;batchSize = 100
;; Support for asking for non-suppressed records exists with the setting below, but as
;; long as the API doesn't return suppressed records as deleted in that case (as is
;; the situation at least with API v3), don't use it, since records that go from
;; unsuppressed to suppressed won't be detected.
;;suppressedRecords = false
;suppressedBibCode3 = 'c,d,n'
;institution = SierraLib
;format = marc
;dedup = true
;building_mapping = sierra_locations.map

; Sample configuration for GeniePlus REST API
[GeniePlus]
type = GeniePlus
geniePlusDatabase = "[api_database_name]"
geniePlusOauthId = "[api_oauth_identifier]"
geniePlusUsername = "[api_username]"
geniePlusPassword = "[api_password]"
; This setting specifies the template within the API which contains catalog
; records:
geniePlusTemplate = Catalog
; These settings specify the GeniePlus API response fields containing unique ID
; and MARC data.
geniePlusIdField = UniqRecNum
geniePlusMarcField = MarcRecord
; These settings specify the GeniePlus API response fields containing item
; information, to be injected into 852 fields in the MARC record.
geniePlusLocationField = Inventory.Location.CodeDesc
geniePlusSublocationField = Inventory.SubLoc.CodeDesc
geniePlusCallnumberField = Inventory.CallNumLC
geniePlusBarcodeField = Inventory.Barcode
; When injecting 852 fields, you can limit the number of barcodes injected per
; location-sublocation-callnumber combination in order to control the length
; of generated MARC records. If you only need to index holdings-level data
; instead of item-level data, it is recommended that you set this to 1. If you
; do not want any location data, set it to 0. You can set it to -1 for no limit
; (the default setting).
geniePlusItemLimitPerLocationGroup = -1
; These settings control the MARC field/subfield in which unique GeniePlus IDs will
; be injected:
geniePlusUniqueIdOutputField = 999
geniePlusUniqueIdOutputSubfield = c
url = "[api_url]"
batchSize = 100
institution = GeniePlusLib
format = marc
dedup = false
;[GeniePlus]
;type = GeniePlus
;geniePlusDatabase = "[api_database_name]"
;geniePlusOauthId = "[api_oauth_identifier]"
;geniePlusUsername = "[api_username]"
;geniePlusPassword = "[api_password]"
;; This setting specifies the template within the API which contains catalog
;; records:
;geniePlusTemplate = Catalog
;; These settings specify the GeniePlus API response fields containing unique ID
;; and MARC data.
;geniePlusIdField = UniqRecNum
;geniePlusMarcField = MarcRecord
;; These settings specify the GeniePlus API response fields containing item
;; information, to be injected into 852 fields in the MARC record.
;geniePlusLocationField = Inventory.Location.CodeDesc
;geniePlusSublocationField = Inventory.SubLoc.CodeDesc
;geniePlusCallnumberField = Inventory.CallNumLC
;geniePlusBarcodeField = Inventory.Barcode
;; When injecting 852 fields, you can limit the number of barcodes injected per
;; location-sublocation-callnumber combination in order to control the length
;; of generated MARC records. If you only need to index holdings-level data
;; instead of item-level data, it is recommended that you set this to 1. If you
;; do not want any location data, set it to 0. You can set it to -1 for no limit
;; (the default setting).
;geniePlusItemLimitPerLocationGroup = -1
;; These settings control the MARC field/subfield in which unique GeniePlus IDs will
;; be injected:
;geniePlusUniqueIdOutputField = 999
;geniePlusUniqueIdOutputSubfield = c
;url = "[api_url]"
;batchSize = 100
;institution = GeniePlusLib
;format = marc
;dedup = false

0 comments on commit c1096c8

Please sign in to comment.