3c7ffc66eecabf00073e4f7bf753a1558980103b
[mkws-moved-to-github.git] / tools / service-proxy / service-proxy-mike-mac.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
10
11 # Configuration properties for individual plug-ins
12
13 # relay plugin, proxies commands through to Pazpar2
14 relay.PROXY_MODE = 3
15 relay.PAZPAR2_URL = http://localhost:8004
16 relay.PAZPAR2_SERVICE_ID = mkc
17 relay.TORUS_BASEURL = http://x.mkc-admin.indexdata.com:8181/torus2/
18 relay.TORUS_REALM = *
19 relay.TORUS_PARAMS = ?param1=value1
20 relay.STREAMBUFF_SIZE = 4096
21 relay.PARSE_RESPONSES = true
22 relay.CF_ENGINE_ADDRESS = localhost:9003
23
24 # authn plugin, for torus based authentication
25 authn.TORUS_URL        = http://x.mkc-admin.indexdata.com:8181/torus2/identity.USERS/records/
26 authn.MASTER_TORUS_URL = http://x.mkc-admin.indexdata.com:8181/torus2/admin.admin/records/
27 authn.ACTION_SEQUENCE = check,login,referrer,constraint,ipauth
28 authn.SPECIFIC_CONSTRAINT = hostName=${thisHost} 
29
30 # categories plugin, for Torus-based target categories
31 categories.TORUS_BASEURL            = http://x.mkc-admin.indexdata.com:8181/torus2/
32 categories.TORUS_BASEURL_SEARCHABLE = http://x.mkc-admin.indexdata.com:8181/torus2/
33 categories.EXCLUDE_EMPTY_CATEGORIES = true
34
35 # ils plugin, for ILS operations such as holds and renewals
36 ils.CFWS_URL = http://localhost:9003/connector
37
38
39 # Map SP commands to command-separated sequences of plugins
40 chains.auth = authn
41 chains.categories = categories
42 chains.ils = ils
43 # Map all other commands to the Pazpar2 relayer
44 chains.* = relay
45
46
47 # Just so I can check that this particular SP config is in use
48 chains.mike = info
49 plugins.info = com.indexdata.serviceproxy.plugins.InfoPlugin