summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrudence Au <prudence.au@bell.com>2020-08-25 08:48:18 -0400
committerPrudence Au <prudence.au@amdocs.com>2020-08-25 08:59:45 -0400
commit036881817211d3d69455fe20610d472fae94322e (patch)
treea3758ee25dd3dd0b12dce2df9ee21bfc9065297a
parent46961c4794a17f72643bd491af6c159ea7e53380 (diff)
AAI-2958 Fix data-router in crash loopback state when there is no internet access
The problem is due to the fact in the data-router-oxm.xml file was referencing spring-context-4.2.xsd but it's not part of the spring-context-<xxx>.jar. Therefore, it needs to reach out to the internet to download the internet. And in spring 5, it started to use versionless spring-context.xsd and it's part of spring-context-5.1.13.jar (which is packaged in data-router 1.6.2). The fix is to update data-router-oxm.xml to use the versionless spring-context.xsd (and it's only accessible via https). Change-Id: Icf62978b73ae097fc3bcbaf3e96a8f63706dc4fc Signed-off-by: Prudence Au <prudence.au@amdocs.com> Issue-ID: AAI-2958
-rw-r--r--components/aai-data-router/resources/dynamic/conf/data-router-oxm.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/aai-data-router/resources/dynamic/conf/data-router-oxm.xml b/components/aai-data-router/resources/dynamic/conf/data-router-oxm.xml
index f564797..2e3361d 100644
--- a/components/aai-data-router/resources/dynamic/conf/data-router-oxm.xml
+++ b/components/aai-data-router/resources/dynamic/conf/data-router-oxm.xml
@@ -1,9 +1,9 @@
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context"
xmlns:task="http://www.springframework.org/schema/task"
- 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/task http://www.springframework.org/schema/task/spring-task.xsd">
+ xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd
+ http://www.springframework.org/schema/task https://www.springframework.org/schema/task/spring-task.xsd">
<context:property-placeholder
location="file:${CONFIG_HOME}/schemaIngest.properties"