No description, website, or topics provided.
Switch branches/tags
Nothing to show
Pull request Compare This branch is 4 commits ahead, 14 commits behind eburtsev:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
contacts-connector
doc
docs-connector
google-spreadsheet
sample-app
.gitignore
LICENSE.md
README.md
pom.xml

README.md

Google Connectors

  1. Create your connector

    <gcontacts:config name="google-contacts" clientId="${client.id}" clientSecret="${client.secret}"> <gcontacts:oauth-callback-config domain="localhost" localPort="${http.port}" remotePort="${http.port}"/> </gcontacts:config>

You can get your client ID and secret here: https://code.google.com/apis/console

  1. You can then authorize your connector by creating a flow like this:

    <flow name="authorize"> <inbound-endpoint address="http://localhost:${http.port}/authorize"/> <gcontacts:authorize/> </flow>

And browsing to the URL http://localhost:${http.port}/authorize

  1. You can invoke your connector like so:

    <flow name="get contacts"> <gcontacts:get-contacts/> <logger level="INFO" message="Contacts: #[payload]"/> </flow>