91da1aceec39e6d10349d26def46f94131320fcb
[mkws-moved-to-github.git] / tools / service-proxy / service-proxy.properties
1 ## Service Proxy configuration for MKWS (host sp-mkws.indexdata.com)
2 ## Based on MKC's configuration, mk2-config-mkcadmin/service-proxy/service-proxy.properties
3
4 ## chains.<name> controls plugin mapping to the chain invoked with 
5 ## 'command=<name>' param, can contain comma-separated list of plugins
6
7 ## by default map everything to pazpar2 relayer
8 chains.*      = relay
9 chains.record = relay
10
11 ## other plugins may be mapped to specific commands
12 chains.auth   = authn
13 chains.categories = categories
14 chains.ils = ils
15
16 ## register plugin classes with custom names
17 plugins.relay      = com.indexdata.serviceproxy.plugins.Pazpar2RelayPlugin
18 plugins.authn      = com.indexdata.serviceproxy.plugins.AuthNTorusPlugin
19 plugins.categories = com.indexdata.serviceproxy.plugins.TargetCategoriesPlugin
20 plugins.ils  = com.indexdata.serviceproxy.plugins.ILSPlugin
21 #inlead, maps to 'record'
22 #plugins.holdings-json  = com.indexdata.serviceproxy.plugins.SecondaryLookup
23 #plugins.rdf-json  = com.indexdata.serviceproxy.plugins.SecondaryLookup
24
25 ## Configuration properties for plug-ins 
26
27 ## relay plugin
28 relay.PROXY_MODE = 3
29 relay.PAZPAR2_URL = http://localhost:8004
30 relay.PAZPAR2_SERVICE_ID = mkc
31 relay.TORUS_BASEURL = http://mkc-admin.indexdata.com/torus2/
32 relay.TORUS_REALM = *
33 relay.TORUS_PARAMS = ?param1=value1
34 relay.STREAMBUFF_SIZE = 4096
35 relay.PARSE_RESPONSES = true
36 relay.CF_ENGINE_ADDRESS = localhost:9003
37
38 ## authn plugin
39 ## used for torus based authentication 
40 authn.TORUS_URL = http://mkc-admin.indexdata.com/torus2/identity.USERS/records/
41 authn.MASTER_TORUS_URL = http://mkc-admin.indexdata.com/torus2/admin.admin/records/
42
43 ## categories plugin, for torus based target categories
44 categories.TORUS_BASEURL = http://mkc-admin.indexdata.com/torus2/
45 categories.EXCLUDE_EMPTY_CATEGORIES = true
46 categories.TORUS_BASEURL_SEARCHABLE = http://mkc-admin.indexdata.com/torus2/
47
48 ils.CFWS_URL = http://localhost:9003/connector
49
50 # holdings-json.URL_PATTERN = http://www.deich.folkebibl.no/cgi-bin/rest_service/copies/1.0-alpha/data/${md-id/u}
51
52 #holdings-json.IN_LOC_ID = z3950.deich.folkebibl.no:210/data
53 #holdings-json.OUT_LOC_ID = z3950.deich.folkebibl.no:210/data
54
55 #rdf-json.URL_PATTERN = http://data.deichman.no/resource/tnr_${md-id/u}.json
56
57 #rdf-json.IN_LOC_ID = z3950.deich.folkebibl.no:210/data
58 #rdf-json.OUT_LOC_ID = z3950.deich.folkebibl.no:210/data