From e88d2fcf5d12f10e14ce9e991cec8242475b33eb Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Sun, 10 Mar 2013 21:07:29 +0530 Subject: [PATCH] simulator: removing cyclic dependency from simulator The database creator caused a cyclic dependecny in the simulator which is removed with this commit. Additionally the simulator profile is now merged with developer profile and a test for server health is included Steps to run: $ mvn -Pdeveloper clean install $ mvn -Pdeveloper -pl developer -Ddeploydb $ mvn -Pdeveloper -pl developer -Ddeploydb-simulator $ mvn -pl client jetty:run To deploy an adv. zone and test the server health: $ mvn -Pdeveloper,marvin -Dmarvin.config=`find . -name simulator.cfg` -pl :cloud-marvin test --- client/tomcatconf/componentContext.xml.in | 365 ++++++++++++---------- pom.xml | 18 +- 2 files changed, 198 insertions(+), 185 deletions(-) diff --git a/client/tomcatconf/componentContext.xml.in b/client/tomcatconf/componentContext.xml.in index dd02a07ecd7..a15a5b3b714 100644 --- a/client/tomcatconf/componentContext.xml.in +++ b/client/tomcatconf/componentContext.xml.in @@ -1,4 +1,3 @@ - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + + - - + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + - - - - + + + + - - - + - - - - + - - + + - - + - - - - - + - + + + - + - - - + + @@ -214,10 +252,7 @@ - - - - + @@ -226,62 +261,61 @@ - - - - - - - - - - - - - - - - - - - - - - - + + - - - - + - - - + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + @@ -319,9 +353,6 @@ - - - - - - - - - - - - - - + + diff --git a/pom.xml b/pom.xml index 4e6f7e69aea..ad82902590b 100644 --- a/pom.xml +++ b/pom.xml @@ -191,12 +191,12 @@ junit ${cs.junit.version} test - - - org.springframework - spring-core - ${org.springframework.version} - + + + org.springframework + spring-core + ${org.springframework.version} + org.springframework spring-context @@ -219,12 +219,6 @@ ${org.springframework.version} test - - org.springframework - spring-test - ${org.springframework.version} - test - org.aspectj aspectjrt