Skip to content

Commit 2ca1373

Browse files
spring4: migrate spring xmls to 4.x
Fixes schema locations that are 3.0 dependent Signed-off-by: Rohit Yadav <[email protected]>
1 parent a90968b commit 2ca1373

File tree

184 files changed

+573
-573
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+573
-573
lines changed

api/resources/META-INF/cloudstack/api-config/spring-api-config-context.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
xmlns:context="http://www.springframework.org/schema/context"
2222
xmlns:aop="http://www.springframework.org/schema/aop"
2323
xsi:schemaLocation="http://www.springframework.org/schema/beans
24-
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
25-
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
24+
http://www.springframework.org/schema/beans/spring-beans.xsd
25+
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
2626
http://www.springframework.org/schema/context
27-
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
27+
http://www.springframework.org/schema/context/spring-context.xsd"
2828
>
2929

3030
<bean id="apiServiceConfiguration" class="org.apache.cloudstack.config.ApiServiceConfiguration" />

api/resources/META-INF/cloudstack/api-planner/spring-api-planner-context.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
xmlns:context="http://www.springframework.org/schema/context"
2222
xmlns:aop="http://www.springframework.org/schema/aop"
2323
xsi:schemaLocation="http://www.springframework.org/schema/beans
24-
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
25-
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
24+
http://www.springframework.org/schema/beans/spring-beans.xsd
25+
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
2626
http://www.springframework.org/schema/context
27-
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
27+
http://www.springframework.org/schema/context/spring-context.xsd"
2828
>
2929

3030
<bean id="UserDispersingPlanner" class="com.cloud.deploy.UserDispersingPlanner">

client/resources/META-INF/cloudstack/webApplicationContext.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
xmlns:context="http://www.springframework.org/schema/context"
2222
xmlns:aop="http://www.springframework.org/schema/aop"
2323
xsi:schemaLocation="http://www.springframework.org/schema/beans
24-
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
25-
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
24+
http://www.springframework.org/schema/beans/spring-beans.xsd
25+
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
2626
http://www.springframework.org/schema/context
27-
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
27+
http://www.springframework.org/schema/context/spring-context.xsd"
2828
>
2929

3030
<!-- There is no reason to put anything here -->

core/resources/META-INF/cloudstack/allocator/spring-core-allocator-context.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
xmlns:context="http://www.springframework.org/schema/context"
2424
xmlns:aop="http://www.springframework.org/schema/aop"
2525
xsi:schemaLocation="http://www.springframework.org/schema/beans
26-
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
27-
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
26+
http://www.springframework.org/schema/beans/spring-beans.xsd
27+
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
2828
http://www.springframework.org/schema/context
29-
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
29+
http://www.springframework.org/schema/context/spring-context.xsd"
3030
>
3131

3232
<bean id="usageEventUtils" class="com.cloud.event.UsageEventUtils" />

core/resources/META-INF/cloudstack/allocator/spring-core-lifecycle-allocator-context-inheritable.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
xmlns:context="http://www.springframework.org/schema/context"
2424
xmlns:aop="http://www.springframework.org/schema/aop"
2525
xsi:schemaLocation="http://www.springframework.org/schema/beans
26-
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
27-
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
26+
http://www.springframework.org/schema/beans/spring-beans.xsd
27+
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
2828
http://www.springframework.org/schema/context
29-
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
29+
http://www.springframework.org/schema/context/spring-context.xsd"
3030
>
3131

3232
<bean class="org.apache.cloudstack.spring.lifecycle.registry.RegistryLifecycle">

core/resources/META-INF/cloudstack/api/spring-core-lifecycle-api-context-inheritable.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
xmlns:context="http://www.springframework.org/schema/context"
2424
xmlns:aop="http://www.springframework.org/schema/aop"
2525
xsi:schemaLocation="http://www.springframework.org/schema/beans
26-
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
27-
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
26+
http://www.springframework.org/schema/beans/spring-beans.xsd
27+
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
2828
http://www.springframework.org/schema/context
29-
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
29+
http://www.springframework.org/schema/context/spring-context.xsd"
3030
>
3131

3232
<bean class="org.apache.cloudstack.spring.lifecycle.registry.RegistryLifecycle">

core/resources/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
xmlns:context="http://www.springframework.org/schema/context"
2424
xmlns:aop="http://www.springframework.org/schema/aop"
2525
xsi:schemaLocation="http://www.springframework.org/schema/beans
26-
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
27-
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
26+
http://www.springframework.org/schema/beans/spring-beans.xsd
27+
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
2828
http://www.springframework.org/schema/context
29-
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
29+
http://www.springframework.org/schema/context/spring-context.xsd"
3030
>
3131

3232
<context:annotation-config />

core/resources/META-INF/cloudstack/bootstrap/spring-bootstrap-context.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
xmlns:context="http://www.springframework.org/schema/context"
2424
xmlns:aop="http://www.springframework.org/schema/aop"
2525
xsi:schemaLocation="http://www.springframework.org/schema/beans
26-
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
27-
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
26+
http://www.springframework.org/schema/beans/spring-beans.xsd
27+
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
2828
http://www.springframework.org/schema/context
29-
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
29+
http://www.springframework.org/schema/context/spring-context.xsd"
3030
>
3131

3232
<bean class="org.apache.cloudstack.spring.lifecycle.CloudStackLog4jSetup" />

core/resources/META-INF/cloudstack/compute/spring-core-lifecycle-compute-context-inheritable.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
xmlns:context="http://www.springframework.org/schema/context"
2424
xmlns:aop="http://www.springframework.org/schema/aop"
2525
xsi:schemaLocation="http://www.springframework.org/schema/beans
26-
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
27-
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
26+
http://www.springframework.org/schema/beans/spring-beans.xsd
27+
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
2828
http://www.springframework.org/schema/context
29-
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
29+
http://www.springframework.org/schema/context/spring-context.xsd"
3030
>
3131

3232
<bean class="org.apache.cloudstack.spring.lifecycle.registry.RegistryLifecycle">

core/resources/META-INF/cloudstack/core/spring-core-context.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
xmlns:context="http://www.springframework.org/schema/context"
2424
xmlns:aop="http://www.springframework.org/schema/aop"
2525
xsi:schemaLocation="http://www.springframework.org/schema/beans
26-
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
27-
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
26+
http://www.springframework.org/schema/beans/spring-beans.xsd
27+
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
2828
http://www.springframework.org/schema/context
29-
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
29+
http://www.springframework.org/schema/context/spring-context.xsd"
3030
>
3131

3232
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext">

0 commit comments

Comments
 (0)