From 0dfeb7cc94c619e427094c69d0cdeb14028212cb Mon Sep 17 00:00:00 2001
From: "Niels Erik G. Nielsen" For the web.xml configuration scheme (choosing WebXmlConfigReader in beans.xml)
- * to pre-define the URL of the Pazpar2 to use, the configuration could be:
* <context-param> * <param-name>PAZPAR2_URL</param-name> * <param-value>http://localhost:8004/</param-value> * </context-param> + * <context-param> + * <description>Service type. Possible values: SP, PZ2, TBD</description> + * <param-name>TYPE</param-name> + * <param-value>PZ2</param-value> + * </context-param> ** *
For the Mk2ConfigReader scheme to work, the web.xml must then contain pointers to the configuration directory - * and properties file. + * and properties file. The specific configuration itself would be in those files then. * In this example the configuration directory is in the web application itself (war://testconfig). A more regular * example would put it in a separate directory to not have it overwritten by each deployment of the war.
*-- 1.7.10.4