From 036881817211d3d69455fe20610d472fae94322e Mon Sep 17 00:00:00 2001 From: Prudence Au Date: Tue, 25 Aug 2020 08:48:18 -0400 Subject: [PATCH] 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-.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 Issue-ID: AAI-2958 --- .../aai-data-router/resources/dynamic/conf/data-router-oxm.xml | 6 +++--- 1 file 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 @@ + 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">