Skip to content

Commit ec847a8

Browse files
committed
Merge pull request #1638 from shapeblue/spring4-java8-only
CLOUDSTACK-9456: Migrate master to Spring 4.xThis changes makes CloudStack use spring 4: ``` - Bump spring-framework version to 4.x and Jetty to version that runs with JDK7 - Bump servet dependency version - Migrates various xmls to use version independent schema uris ``` Outstanding issue: - Testing of various non-standard plugins such as network and storage plugins etc. Since, this is a big change pinging for review -- @jburwell @karuturi @wido @murali-reddy @abhinandanprateek @DaanHoogland @GaborApatiNagy @JayapalUradi @kishankavala @K0zka @nvazquez @rafaelweingartner @pyr and others @blueorangutan package * pr/1638: CLOUDSTACK-9456: Update Spring version in maven poms Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2 parents a9f45df + 0dce1c5 commit ec847a8

File tree

195 files changed

+610
-613
lines changed

Some content is hidden

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

195 files changed

+610
-613
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/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@
2020
<version>4.10.0.0-SNAPSHOT</version>
2121
</parent>
2222

23+
<repositories>
24+
<repository>
25+
<id>juniper-contrail</id>
26+
<url>http://juniper.github.io/contrail-maven/snapshots</url>
27+
</repository>
28+
</repositories>
29+
2330
<dependencies>
2431
<dependency>
2532
<groupId>org.apache.cloudstack</groupId>

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/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<dependency>
5151
<groupId>org.apache.commons</groupId>
5252
<artifactId>commons-compress</artifactId>
53-
<version>1.10</version>
53+
<version>1.12</version>
5454
</dependency>
5555
</dependencies>
5656

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" />

0 commit comments

Comments
 (0)