mirror of
https://github.com/inspec/inspec
synced 2024-12-12 06:12:37 +00:00
175c3e1189
* adding database.xml with attributes to files and mocking it in the helper.rb Signed-off-by: Vern Burton <me@vernburton.com> * adding logic to test class returned by XPATH and using functions from respective classes to fill a array for return, and unit and integration tests to ensure functionality Signed-off-by: Vern Burton <me@vernburton.com> * updating docs to show how attributes are used Signed-off-by: Vern Burton <me@vernburton.com> * 'and' instead of 'or' makes more sense Signed-off-by: Vern Burton <me@vernburton.com> * adding default else for capturing unknown classes from REXML Signed-off-by: Vern Burton <me@vernburton.com> * removing extra newline Signed-off-by: Vern Burton <me@vernburton.com> * adding fail case with enough information to debug in future case Signed-off-by: Vern Burton <me@vernburton.com>
13 lines
No EOL
1 KiB
XML
13 lines
No EOL
1 KiB
XML
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd" default-lazy-init="true">
|
|
<bean id="dataSource" class="com.myapplication.base.persistency.support.DecoratedDataSource" parent="oracleBaseDataSource" scope="singleton" lazy-init="true">
|
|
<property name="type" ref="ORACLE_11" />
|
|
<property name="name" value="MYAPPLICATION" />
|
|
<property name="url" value="jdbc:oracle:thin:@databaseserver.domain.tld:1521/DBO.DOMAIN.TLD" />
|
|
<property name="username" value="MYUSERNAME" />
|
|
<property name="password">
|
|
<bean class="com.mycorp.core.util.crypt.PasswordHelper" factory-method="decrypt">
|
|
<constructor-arg value="" />
|
|
</bean>
|
|
</property>
|
|
</bean>
|
|
</beans> |