Zemian Deng committed 2f98d16 Merge

Merged clean up code.

Comments (0)

Files changed (2)


+# Use configure scripting service that take -Dscript parameter as input to run
 timemachine.scheduler.userservice.scriptingService.class = timemachine.scheduler.userservice.ScriptingService
 ScriptingService.scriptEngineName = Groovy
 ScriptingService.initScript = ${script}
-timemachine.scheduler.schedulerName = TimeMachineScheduler
-timemachine.scheduler.nodeName = Node1
-# Use MySQL for scheduler as data store
+# Configure a dataStore service you want the script to operate on.
 timemachine.scheduler.dataStore.class = timemachine.scheduler.hibernate.HibernateDataStore = update
 timemachine.scheduler.dataStore.hibernateDataStore.hibernate.connection.driver_class = com.mysql.jdbc.Driver
 timemachine.scheduler.dataStore.hibernateDataStore.hibernate.connection.url = jdbc:mysql://localhost:3306/tmscheduler
 timemachine.scheduler.dataStore.hibernateDataStore.hibernate.connection.username = admin


+		<!-- For testing purpose, we will add groovy profile -->
+		<profile>
+			<id>groovy</id>
+			<dependencies>
+				<dependency>
+					<groupId>org.codehaus.groovy</groupId>
+					<artifactId>groovy-jsr223</artifactId>
+					<version>2.0.0</version>
+				</dependency>
+			</dependencies>
+		</profile>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.