diff options
author | Pierre Rioux <pierre.rioux@amdocs.com> | 2018-12-12 14:29:14 -0500 |
---|---|---|
committer | Pierre Rioux <pierre.rioux@amdocs.com> | 2018-12-12 14:31:22 -0500 |
commit | d8d4c7a637e70a75a59cac53e0385d1029c5d4d5 (patch) | |
tree | 2ebb40e25f05e9917f2b719674598f71fed82f0f /src/main/resources | |
parent | dd4b9bba96268900ce529030eeb3cf8b069ec198 (diff) |
[PIE-797] adding data-dictionary builtin rule
Change-Id: I08565199e34a5c88790e6879cf1e89bc9c513e92
Signed-off-by: Pierre Rioux <pierre.rioux@amdocs.com>
Issue-ID: LOG-404
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/validation-service-beans.xml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/main/resources/validation-service-beans.xml b/src/main/resources/validation-service-beans.xml index 4482c6e..862fd13 100644 --- a/src/main/resources/validation-service-beans.xml +++ b/src/main/resources/validation-service-beans.xml @@ -17,9 +17,11 @@ limitations under the License. ============LICENSE_END===================================================== --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" 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/context http://www.springframework.org/schema/context/spring-context-4.2.xsd"> + http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.2.xsd + http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"> <bean class="org.springframework.context.annotation.CommonAnnotationBeanPostProcessor" /> @@ -37,6 +39,8 @@ limitations under the License. <constructor-arg value="file:${APP_HOME}/bundleconfig/etc/appprops/model-instance-mapping.json_conf" type="java.io.InputStream" /> </bean> + <util:properties id="dataDictionaryProperties" location="file:${CONFIG_HOME}/rule-data-dictionary.properties" /> + <!-- ////////////////////////////////////////////////////////////////// --> <!-- CONFIG BEANS --> <!-- ////////////////////////////////////////////////////////////////// --> @@ -100,6 +104,15 @@ limitations under the License. <property name="authPolicyFile" value="${auth.policy.file}" /> </bean> + <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean"> + <property name="staticMethod" value="org.onap.aai.validation.ruledriven.rule.builtin.DataDictionary.setProperties" /> + <property name="arguments"> + <list> + <ref bean="dataDictionaryProperties" /> + </list> + </property> + </bean> + <!-- ////////////////////////////////////////////////////////////////// --> <!-- READER BEANS --> <!-- ////////////////////////////////////////////////////////////////// --> |