From: Wolfram Schneider Date: Thu, 10 Jul 2014 12:13:01 +0000 (+0000) Subject: Merge remote branch 'origin/popup' X-Git-Tag: 1.0.0~388 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=f956458b27064c782f5903919a9edb5f0471c806;hp=5c49a3a7a6ac3b23e8c74686c33fcbe2a29fe62e Merge remote branch 'origin/popup' --- diff --git a/tools/service-proxy/service-proxy.properties b/tools/service-proxy/service-proxy.properties new file mode 100644 index 0000000..126a119 --- /dev/null +++ b/tools/service-proxy/service-proxy.properties @@ -0,0 +1,58 @@ +## Service Proxy configuration for MKWS (host sp-mkws.indexdata.com) +## Based on MKC's configuration, mk2-config-mkcadmin/service-proxy/service-proxy.properties + +## chains. controls plugin mapping to the chain invoked with +## 'command=' param, can contain comma-separated list of plugins + +## by default map everything to pazpar2 relayer +chains.* = relay +chains.record = relay + +## other plugins may be mapped to specific commands +chains.auth = authn +chains.categories = categories +chains.ils = ils + +## register pugin classes with custom names +plugins.relay = com.indexdata.serviceproxy.plugins.Pazpar2RelayPlugin +plugins.authn = com.indexdata.serviceproxy.plugins.AuthNTorusPlugin +plugins.categories = com.indexdata.serviceproxy.plugins.TargetCategoriesPlugin +plugins.ils = com.indexdata.serviceproxy.plugins.ILSPlugin +#inlead, maps to 'record' +#plugins.holdings-json = com.indexdata.serviceproxy.plugins.SecondaryLookup +#plugins.rdf-json = com.indexdata.serviceproxy.plugins.SecondaryLookup + +## Configuration properties for plug-ins + +## relay plugin +relay.PROXY_MODE = 3 +relay.PAZPAR2_URL = http://localhost:8004 +relay.PAZPAR2_SERVICE_ID = mkc +relay.TORUS_BASEURL = http://mkc-admin.indexdata.com/torus2/ +relay.TORUS_REALM = * +relay.TORUS_PARAMS = ?param1=value1 +relay.STREAMBUFF_SIZE = 4096 +relay.PARSE_RESPONSES = true +relay.CF_ENGINE_ADDRESS = localhost:9003 + +## authn plugin +## used for torus based authentication +authn.TORUS_URL = http://mkc-admin.indexdata.com/torus2/identity.USERS/records/ +authn.MASTER_TORUS_URL = http://mkc-admin.indexdata.com/torus2/admin.admin/records/ + +## categories plugin, for torus based target categories +categories.TORUS_BASEURL = http://mkc-admin.indexdata.com/torus2/ +categories.EXCLUDE_EMPTY_CATEGORIES = true +categories.TORUS_BASEURL_SEARCHABLE = http://mkc-admin.indexdata.com/torus2/ + +ils.CFWS_URL = http://localhost:9003/connector + +# holdings-json.URL_PATTERN = http://www.deich.folkebibl.no/cgi-bin/rest_service/copies/1.0-alpha/data/${md-id/u} + +#holdings-json.IN_LOC_ID = z3950.deich.folkebibl.no:210/data +#holdings-json.OUT_LOC_ID = z3950.deich.folkebibl.no:210/data + +#rdf-json.URL_PATTERN = http://data.deichman.no/resource/tnr_${md-id/u}.json + +#rdf-json.IN_LOC_ID = z3950.deich.folkebibl.no:210/data +#rdf-json.OUT_LOC_ID = z3950.deich.folkebibl.no:210/data diff --git a/tools/sp-htdocs/index.html b/tools/sp-htdocs/index.html index 6328a36..b098e0c 100644 --- a/tools/sp-htdocs/index.html +++ b/tools/sp-htdocs/index.html @@ -5,3 +5,8 @@ It provides a service on /service-proxy/.

+

+ Maybe you meant to go to + http://mkws.indexdata.com/? +