[
https://issues.apache.org/jira/browse/SLING-3898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marius Petria updated SLING-3898:
---------------------------------
Attachment: SLING-3898.patch
I have introduced a ReplicationComponentProvider that can build components
using existing ones or from scratch using a detailed config map.
{code}
{
"jcr:primaryType" : "sling:OsgiConfig",
"name" : "publish",
"type" : "simple",
"packageExporter" : [
"type=local",
"packageBuilder/type=vlt",
"packageBuilder/username=admin",
"packageBuilder/password=admin"
],
"packageImporter": [
"type=remote",
"authentication.properties[user]=admin",
"authentication.properties[password]=admin",
"endpoints[0]=http://localhost:4503/libs/sling/replication/services/importers/default",
"authenticationFactory/type=service",
"authenticationFactory/name=user",
"packageBuilder/type=vlt",
"packageBuilder/username=admin",
"packageBuilder/password=admin"
],
"queueProvider" : [
"type=service",
"name=sjh"
],
"queueDistributionStrategy" : [
"type=service",
"name=error"
]
}
{code}
> Add replication agent factory that can create an agent and its components
> from a single configuration file
> ----------------------------------------------------------------------------------------------------------
>
> Key: SLING-3898
> URL: https://issues.apache.org/jira/browse/SLING-3898
> Project: Sling
> Issue Type: Improvement
> Components: Replication
> Reporter: Marius Petria
> Attachments: SLING-3898.patch
>
>
> Currently the SimpleReplicationAgentFactory can only configure the
> ReplicationAgent itself, not the subcomponents. In order to make the
> management of agents simpler we need a way to fully configure an agent in one
> configuration file.
> We will retain also the possibility of referencing other osgi services.
--
This message was sent by Atlassian JIRA
(v6.2#6252)