You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by db...@apache.org on 2006/01/17 04:39:04 UTC
svn commit: r369659 - in /geronimo/gbuild/trunk: gbuild-agent/pom.xml
gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/MockContinuumStore.java
gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/ThreadContextContinuumStore.java
pom.xml
Author: dblevins
Date: Mon Jan 16 19:38:58 2006
New Revision: 369659
URL: http://svn.apache.org/viewcvs?rev=369659&view=rev
Log:
changed continuum version from 1.1-SNAPSHOT to 1.0.2
Modified:
geronimo/gbuild/trunk/gbuild-agent/pom.xml
geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/MockContinuumStore.java
geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/ThreadContextContinuumStore.java
geronimo/gbuild/trunk/pom.xml
Modified: geronimo/gbuild/trunk/gbuild-agent/pom.xml
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/pom.xml?rev=369659&r1=369658&r2=369659&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/pom.xml (original)
+++ geronimo/gbuild/trunk/gbuild-agent/pom.xml Mon Jan 16 19:38:58 2006
@@ -23,17 +23,14 @@
<dependency>
<groupId>org.apache.maven.continuum</groupId>
<artifactId>continuum-api</artifactId>
- <version>1.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.maven.continuum</groupId>
<artifactId>continuum-core</artifactId>
- <version>1.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.maven.continuum</groupId>
<artifactId>continuum-model</artifactId>
- <version>1.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
@@ -76,7 +73,7 @@
<artifactId>derby</artifactId>
<version>10.1.1.0</version>
</dependency>
-
+
<dependency>
<groupId>junit</groupId>
Modified: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/MockContinuumStore.java
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/MockContinuumStore.java?rev=369659&r1=369658&r2=369659&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/MockContinuumStore.java (original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/MockContinuumStore.java Mon Jan 16 19:38:58 2006
@@ -34,6 +34,7 @@
import java.util.Collection;
import java.util.List;
+import java.util.Map;
/**
* @version $Rev$ $Date$
@@ -192,7 +193,7 @@
throw new UnsupportedOperationException("Method getProjectGroupByGroupId not implemented");
}
- public BuildResult getLatestBuildResultForProject(int projectId) throws ContinuumStoreException {
+ public BuildResult getLatestBuildResultForProject(int projectId) {
throw new UnsupportedOperationException("Method getLatestBuildResultForProject not implemented");
}
@@ -286,5 +287,29 @@
public void removeUserGroup(UserGroup group) {
throw new UnsupportedOperationException("Method removeUserGroup not implemented");
+ }
+
+ public Map getDefaultBuildDefinitions() {
+ throw new UnsupportedOperationException("Method getDefaultBuildDefinitions not implemented");
+ }
+
+ public BuildDefinition getDefaultBuildDefinition(int projectId) {
+ throw new UnsupportedOperationException("Method getDefaultBuildDefinition not implemented");
+ }
+
+ public Map getProjectIdsAndBuildDefinitionIdsBySchedule(int scheduleId) throws ContinuumStoreException {
+ throw new UnsupportedOperationException("Method getProjectIdsAndBuildDefinitionIdsBySchedule not implemented");
+ }
+
+ public Map getLatestBuildResults() {
+ throw new UnsupportedOperationException("Method getLatestBuildResults not implemented");
+ }
+
+ public List getBuildResultByBuildNumber(int projectId, int buildNumber) {
+ throw new UnsupportedOperationException("Method getBuildResultByBuildNumber not implemented");
+ }
+
+ public Map getBuildResultsInSuccess() {
+ throw new UnsupportedOperationException("Method getBuildResultsInSuccess not implemented");
}
}
Modified: geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/ThreadContextContinuumStore.java
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/ThreadContextContinuumStore.java?rev=369659&r1=369658&r2=369659&view=diff
==============================================================================
--- geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/ThreadContextContinuumStore.java (original)
+++ geronimo/gbuild/trunk/gbuild-agent/src/main/java/org/apache/geronimo/gbuild/agent/ThreadContextContinuumStore.java Mon Jan 16 19:38:58 2006
@@ -34,6 +34,7 @@
import java.util.Collection;
import java.util.List;
+import java.util.Map;
/**
* @version $Rev$ $Date$
@@ -62,6 +63,14 @@
return getStore().storeNotifier(notifier);
}
+ public Map getDefaultBuildDefinitions() {
+ return getStore().getDefaultBuildDefinitions();
+ }
+
+ public BuildDefinition getDefaultBuildDefinition(int projectId) {
+ return getStore().getDefaultBuildDefinition(projectId);
+ }
+
public BuildDefinition getBuildDefinition(int buildDefinitionId) throws ContinuumStoreException, ContinuumObjectNotFoundException {
return getStore().getBuildDefinition(buildDefinitionId);
}
@@ -134,6 +143,10 @@
return getStore().getProject(projectId);
}
+ public Map getProjectIdsAndBuildDefinitionIdsBySchedule(int scheduleId) throws ContinuumStoreException {
+ return getStore().getProjectIdsAndBuildDefinitionIdsBySchedule(scheduleId);
+ }
+
public void updateProject(Project project) throws ContinuumStoreException {
getStore().updateProject(project);
}
@@ -202,8 +215,20 @@
return getStore().getProjectGroupByGroupId(groupId);
}
- public BuildResult getLatestBuildResultForProject(int projectId) throws ContinuumStoreException {
+ public BuildResult getLatestBuildResultForProject(int projectId) {
return getStore().getLatestBuildResultForProject(projectId);
+ }
+
+ public Map getLatestBuildResults() {
+ return getStore().getLatestBuildResults();
+ }
+
+ public List getBuildResultByBuildNumber(int projectId, int buildNumber) {
+ return getStore().getBuildResultByBuildNumber(projectId, buildNumber);
+ }
+
+ public Map getBuildResultsInSuccess() {
+ return getStore().getBuildResultsInSuccess();
}
public void addBuildResult(Project project, BuildResult build) throws ContinuumStoreException, ContinuumObjectNotFoundException {
Modified: geronimo/gbuild/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/geronimo/gbuild/trunk/pom.xml?rev=369659&r1=369658&r2=369659&view=diff
==============================================================================
--- geronimo/gbuild/trunk/pom.xml (original)
+++ geronimo/gbuild/trunk/pom.xml Mon Jan 16 19:38:58 2006
@@ -159,17 +159,17 @@
<dependency>
<groupId>org.apache.maven.continuum</groupId>
<artifactId>continuum-api</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.0.2</version>
</dependency>
<dependency>
<groupId>org.apache.maven.continuum</groupId>
<artifactId>continuum-core</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.0.2</version>
</dependency>
<dependency>
<groupId>org.apache.maven.continuum</groupId>
<artifactId>continuum-model</artifactId>
- <version>1.1-SNAPSHOT</version>
+ <version>1.0.2</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>