aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/plugins/maven2-repository/src
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-10-02 15:12:16 +0000
committerOlivier Lamy <olamy@apache.org>2012-10-02 15:12:16 +0000
commita8c549a9bb88fd2f6abea3435cae7361335811df (patch)
treedc79c17ce8dbda4918984d313c6895623b82c104 /archiva-modules/plugins/maven2-repository/src
parent163e2753eb3ec596f5b1a911f4240c9d277fadbc (diff)
downloadarchiva-a8c549a9bb88fd2f6abea3435cae7361335811df.tar.gz
archiva-a8c549a9bb88fd2f6abea3435cae7361335811df.zip
[MRM-1681] addProxy Connectors Rules screen
implements backend part. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1392951 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/plugins/maven2-repository/src')
-rw-r--r--archiva-modules/plugins/maven2-repository/src/test/java/org/apache/archiva/configuration/MockRepoAdmin.java27
1 files changed, 26 insertions, 1 deletions
diff --git a/archiva-modules/plugins/maven2-repository/src/test/java/org/apache/archiva/configuration/MockRepoAdmin.java b/archiva-modules/plugins/maven2-repository/src/test/java/org/apache/archiva/configuration/MockRepoAdmin.java
index fe6a4a557..3a5e991aa 100644
--- a/archiva-modules/plugins/maven2-repository/src/test/java/org/apache/archiva/configuration/MockRepoAdmin.java
+++ b/archiva-modules/plugins/maven2-repository/src/test/java/org/apache/archiva/configuration/MockRepoAdmin.java
@@ -24,6 +24,7 @@ import org.apache.archiva.admin.model.RepositoryAdminException;
import org.apache.archiva.admin.model.beans.ManagedRepository;
import org.apache.archiva.admin.model.beans.NetworkProxy;
import org.apache.archiva.admin.model.beans.ProxyConnector;
+import org.apache.archiva.admin.model.beans.ProxyConnectorRule;
import org.apache.archiva.admin.model.beans.RemoteRepository;
import org.apache.archiva.admin.model.managed.ManagedRepositoryAdmin;
import org.apache.archiva.admin.model.networkproxy.NetworkProxyAdmin;
@@ -51,7 +52,7 @@ public class MockRepoAdmin
implements RemoteRepositoryAdmin, ManagedRepositoryAdmin, ProxyConnectorAdmin, NetworkProxyAdmin
{
@Inject
- @Named( value = "archivaConfiguration#test" )
+ @Named (value = "archivaConfiguration#test")
private ArchivaConfiguration archivaConfiguration;
public List<RemoteRepository> getRemoteRepositories()
@@ -280,4 +281,28 @@ public class MockRepoAdmin
? null
: new BeanReplicator().replicateBean( proxyConnectorConfiguration, ProxyConnector.class );
}
+
+ public List<ProxyConnectorRule> getProxyConnectorRules()
+ throws RepositoryAdminException
+ {
+ return null;
+ }
+
+ public void addProxyConnectorRule( ProxyConnectorRule proxyConnectorRule )
+ throws RepositoryAdminException
+ {
+
+ }
+
+ public void deleteProxyConnectorRule( ProxyConnectorRule proxyConnectorRule )
+ throws RepositoryAdminException
+ {
+
+ }
+
+ public void updateProxyConnectorRule( ProxyConnectorRule proxyConnectorRule )
+ throws RepositoryAdminException
+ {
+
+ }
}