Hi Aaron,

You can copy the connector zip file to
[ESB_HOME]/repository/deployment/server/synapse-libs/ folder. This will
deploy the connector to the server.

If you need to enable the connector, instead of using the UI or admin
services, you can create a file as attached (for Instagram) and copy it to
[ESB_HOME]/repository/deployment/server/synapse-configs/default/imports.
Make sure the file name is as {<package path>}<connector_name>.xml .

Thanks,

Maheeka Jayasuriya
Associate Technical Lead
Mobile : +94777750661

On Mon, Mar 27, 2017 at 6:16 AM, Aaron Watkins <
[email protected]> wrote:

> Hello,
>
>
>
> I’m currently working on setting up the WSO2 ESB via puppet. I’ve got the
> basic setup all working, but need to add the file connector.
>
>
>
> Is there a way to automate the installation of a connector? Specifically,
> I don’t want to use the GUI to upload the zip file, but want to be able to
> add the connector from the command line. I’ve seen the following web page:
> http://stackoverflow.com/questions/28946865/is-it-
> possible-to-manage-wso2-esb-connectors-in-commandline, but that doesn’t
> upload the zip or anything, so doesn’t appear to actually do anything.
>
>
>
> Is there a location we could put the file (eg. repository/components/lib)
> or similar before enabling?
>
>
>
> Any tips would be greatly appreciated
>
>
>
>
>
> Aaron Watkins
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
<?xml version="1.0" encoding="UTF-8"?>
<import xmlns="http://ws.apache.org/ns/synapse";
        name="instagram"
        package="org.wso2.carbon.connector"
        status="enabled"/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to