Added another context configuration file. Made the datasource config property more obvious.
This commit is contained in:
1
resources/test/WEB-INF/classes/context.properties
Normal file
1
resources/test/WEB-INF/classes/context.properties
Normal file
@ -0,0 +1 @@
|
||||
nlsongs.media.baseUrl=https://s3.amazonaws.com/new-life-austin-songs/public
|
@ -1,10 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- This web.xml file is not required when using Servlet 3.0 container,
|
||||
see implementation details http://jersey.java.net/nonav/documentation/latest/jax-rs.html -->
|
||||
<!-- PRODUCTION -->
|
||||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
|
||||
<context-param>
|
||||
<param-name>datasource.config.file</param-name>
|
||||
<param-value>/datasource.properties</param-value>
|
||||
</context-param>
|
||||
|
||||
<context-param>
|
||||
<param-name>context.config.file</param-name>
|
||||
<param-value>/datasource.test.properties</param-value>
|
||||
<param-value>/context.properties</param-value>
|
||||
</context-param>
|
||||
|
||||
<listener>
|
||||
|
Reference in New Issue
Block a user