extract latest git commit ID from github, MKWS-420
[mkws-moved-to-github.git] / tools / service-proxy / service-proxy.properties
1 # Service Proxy configuration for MKWS (host sp-mkws.indexdata.com)
2 # Initially based on MKC's configuration
3
4 # Register plugin classes with custom names
5 plugins.relay      = com.indexdata.serviceproxy.plugins.Pazpar2RelayPlugin
6 plugins.authn      = com.indexdata.serviceproxy.plugins.AuthNTorusPlugin
7 plugins.categories = com.indexdata.serviceproxy.plugins.TargetCategoriesPlugin
8 plugins.ils        = com.indexdata.serviceproxy.plugins.ILSPlugin
9 plugins.statistics = com.indexdata.serviceproxy.plugins.StatisticsPlugin
10
11
12 # Configuration properties for individual plug-ins
13
14 # relay plugin, proxies commands through to Pazpar2
15 relay.PROXY_MODE = 3
16 relay.PAZPAR2_URL = http://localhost:8004
17 relay.PAZPAR2_SERVICE_ID = mkc
18 relay.TORUS_BASEURL = http://mkc-admin.indexdata.com/torus2/
19 relay.TORUS_REALM = *
20 relay.TORUS_PARAMS = ?param1=value1
21 relay.STREAMBUFF_SIZE = 4096
22 relay.PARSE_RESPONSES = true
23 relay.CF_ENGINE_ADDRESS = localhost:9003
24 relay.USE_OPAQUE_ID = udb
25
26 # authn plugin, for torus based authentication
27 authn.TORUS_URL        = http://mkc-admin.indexdata.com/torus2/identity.USERS/records/
28 authn.MASTER_TORUS_URL = http://mkc-admin.indexdata.com/torus2/admin.admin/records/
29 authn.ACTION_SEQUENCE = check,login,referrer,ipauth,constraint
30 authn.SPECIFIC_CONSTRAINT = token="mkws-default"
31
32 # categories plugin, for Torus-based target categories
33 categories.TORUS_BASEURL            = http://mkc-admin.indexdata.com/torus2/
34 categories.TORUS_BASEURL_SEARCHABLE = http://mkc-admin.indexdata.com/torus2/
35 categories.EXCLUDE_EMPTY_CATEGORIES = true
36
37 # ils plugin, for ILS operations such as holds and renewals
38 ils.CFWS_URL = http://localhost:9003/connector
39
40
41 # Map SP commands to command-separated sequences of plugins
42 chains.auth = authn
43 chains.categories = categories
44 chains.ils = ils
45 # Map all other commands to the Pazpar2 relayer
46 chains.* = relay,statistics
47
48
49 # Just so I can check that this particular SP config is in use
50 chains.mike = info
51 plugins.info = com.indexdata.serviceproxy.plugins.InfoPlugin