mirror of https://github.com/apache/archiva.git
[MRM-1698] proxy connector update are not saved.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1399017 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1bdb2ec770
commit
6ed4fc14c3
|
@ -143,6 +143,7 @@ public class DefaultProxyConnectorAdmin
|
||||||
findProxyConnector( proxyConnector.getSourceRepoId(), proxyConnector.getTargetRepoId(), configuration );
|
findProxyConnector( proxyConnector.getSourceRepoId(), proxyConnector.getTargetRepoId(), configuration );
|
||||||
configuration.removeProxyConnector( proxyConnectorConfiguration );
|
configuration.removeProxyConnector( proxyConnectorConfiguration );
|
||||||
configuration.addProxyConnector( getProxyConnectorConfiguration( proxyConnector ) );
|
configuration.addProxyConnector( getProxyConnectorConfiguration( proxyConnector ) );
|
||||||
|
saveConfiguration( configuration );
|
||||||
triggerAuditEvent( proxyConnector.getSourceRepoId() + "-" + proxyConnector.getTargetRepoId(), null,
|
triggerAuditEvent( proxyConnector.getSourceRepoId() + "-" + proxyConnector.getTargetRepoId(), null,
|
||||||
AuditEvent.MODIFY_PROXY_CONNECTOR, auditInformation );
|
AuditEvent.MODIFY_PROXY_CONNECTOR, auditInformation );
|
||||||
return Boolean.TRUE;
|
return Boolean.TRUE;
|
||||||
|
|
Loading…
Reference in New Issue