1 # Specify chains of plugins
2 chains.* = relay,statistics
4 chains.categories = categories
5 chains.record = relay,holdings,recordcache,statistics
6 chains.show = relay,recordcache,statistics
7 chains.imageproxy = imageproxy
8 chains.exportrecords = exportrecords
9 chains.recordcache = recordcache
10 chains.clickout = statistics,clickout
13 # Map plug-in names to classes
14 plugins.relay = com.indexdata.serviceproxy.plugins.Pazpar2RelayPlugin
15 plugins.authn = com.indexdata.serviceproxy.plugins.AuthNTorusPlugin
16 plugins.ace = com.indexdata.serviceproxy.plugins.AcePlugin
17 plugins.holdings = com.indexdata.serviceproxy.plugins.HoldingsPlugin
18 plugins.categories = com.indexdata.serviceproxy.plugins.TargetCategoriesPlugin
19 plugins.imageproxy = com.indexdata.serviceproxy.plugins.ImageProxyPlugin
20 plugins.statistics = com.indexdata.serviceproxy.plugins.StatisticsPlugin
21 plugins.ace = com.indexdata.serviceproxy.plugins.AcePlugin
22 plugins.exportrecords = com.indexdata.serviceproxy.plugins.ExportRecordsPlugin
23 plugins.recordcache = com.indexdata.serviceproxy.plugins.recordcache.RecordCachePlugin
24 plugins.clickout = com.indexdata.serviceproxy.plugins.ClickOutPlugin
25 plugins.ils = com.indexdata.serviceproxy.plugins.ILSPlugin
29 # Properties for plug-ins
33 relay.PAZPAR2_URL = http://localhost:8004/search.pz2
34 relay.PAZPAR2_SERVICE_ID = mk2demo
35 relay.TORUS_BASEURL = http://${thisHost}/torus2/
37 relay.TORUS_PARAMS = ?param1=value1
38 relay.STREAMBUFF_SIZE = 4096
39 relay.PARSE_RESPONSES = true
40 relay.SERIALIZE_REQUESTS = false
43 authn.MASTER_TORUS_URL = http://${thisHost}/torus2/admin.admin/records/
44 authn.TORUS_URL = http://${thisHost}/torus2/identity.USERS/records/
45 authn.ACTION_SEQUENCE = check,cookie,referrer,ipauth
46 authn.REQUIRED_COOKIES = InstCode BrCode
47 authn.COOKIE_QUERY = shibId=${InstCode}
48 authn.AGGRESSIVE_SESSION_INVALIDATION = yes
51 categories.TORUS_BASEURL = http://${thisHost}/torus2/
52 categories.EXCLUDE_EMPTY_CATEGORIES = true
53 categories.TORUS_BASEURL_SEARCHABLE = http://${thisHost}/torus2/
54 categories.CACHE_CATEGORIES_ON_SESSION = true
57 ace.PZ2P_CLIENT_LIFETIME_MSECS = 55000
58 ace.TIME_BETWEEN_ACE_AND_RECORD_MSECS = 100
59 ace.ACE_SEARCH_TIME_OUT = 5000
60 ace.RECORD_TIME_OUT = 2500
61 ace.DUMP_RECORDS_TO_CONSOLE = false
62 ace.PUSH!PZ2_ACE_CLIENT = record
63 ace.TYPE!PZ2_ACE_CLIENT = com.indexdata.serviceproxy.plugins.ace.Pz2AceRecordSession
64 ace.PULL!PZ2_ACE_CLIENT = record
65 ace.DUMP_BYTARGET_DOC = false
66 ace.PER_TARGET_HITS_THRESHOLD = 100
69 holdings.DUMP_RECORDS_TO_CONSOLE = true
70 holdings.RECORD_TIME_OUT = 2500
71 #holdings.PULL!PZ2_ACE_CLIENT = record
72 holdings.PUSH!ACE_RESPONSE : record
73 holdings.TYPE!ACE_RESPONSE = org.w3c.dom.Document
74 holdings.DUMP_TARGET_SETTINGS_TO_CONSOLE = false
75 holdings.PAZPAR2_URL = REF:relay.PAZPAR2_URL
78 imageproxy.OPEN_LIBRARY_IMAGE_URL = http://covers.openlibrary.org/b/isbn/${isbn}-${size}.jpg
79 imageproxy.CACHE_ON_SERVER = true
80 imageproxy.CACHE_IN_BROWSER = true
81 imageproxy.CACHE_MISSING_IMAGE = true
84 statistics.MAX_BACKUP_INDEX = 5
85 statistics.MAX_FILE_SIZE = 10000KB
88 exportrecords.BRANDING = MasterKey
89 exportrecords.SMTP_HOST_NAME = kebab.indexdata.com
90 exportrecords.SMTP_PORT = 25
91 exportrecords.SMTP_AUTH = false
92 exportrecords.EMAIL_SUBJECT = Export by email
93 exportrecords.EMAIL_FROM = info@indexdata.com
94 exportrecords.PERMALINK_PROTOCOL = http
95 exportrecords.PERMALINK_DOMAIN = ${thisHost}
96 exportrecords.PERMALINK_PATH = item.html
97 exportrecords.PERMALINK_REC_ID= prefixrecid=rec_${recid}
98 #exportrecords.PERMALINK_REC_QRY = au="${md-author}" and ti="${md-title}"
100 # Record Cache Settings
101 recordcache.MAX_BASKET_SIZE = 50
102 recordcache.MAX_VIEWED_SIZE = 10
104 # ClickOut plug-in (in order to generate click out statistics)
105 clickout.PARAMETER = No parameters required for this plug-in
107 ils.CFWS_URL = http://connect.indexdata.com:9000/connector