wso2-extensions / esb-connector-gmail Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
In the refresh flow for Gmail, spreadsheet and some other connectors we set the access token to the same property uri.var.accessToken. If we use those two connectors in a single use case it will break the flow because in the second connector authentication flow always check the first connectors access token value from the uri.var.accessToken property.
Solution.
Need to change the property name as uri.var..accessToken
Using the gmail connector we can't able to send a mail with rich text/HTML in the message body. This was missing in the connector.
Description:
Test cases failed with EI 6.2.0.
Tests run: 22, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 145.646 sec <<< FAILURE!
testCreateLabelsWithMandatoryParameters(org.wso2.carbon.connector.integration.test.gmail.GmailConnectorIntegrationTest) Time elapsed: 0.844 sec <<< FAILURE!
java.lang.AssertionError: expected:<200> but was:<409>
at org.testng.Assert.fail(Assert.java:89)
at org.testng.Assert.failNotEquals(Assert.java:489)
at org.testng.Assert.assertEquals(Assert.java:118)
at org.testng.Assert.assertEquals(Assert.java:365)
at org.testng.Assert.assertEquals(Assert.java:375)
at org.wso2.carbon.connector.integration.test.gmail.GmailConnectorIntegrationTest.testCreateLabelsWithMandatoryParameters(GmailConnectorIntegrationTest.java:427)
testCreateLabelsWithOptionalParameters(org.wso2.carbon.connector.integration.test.gmail.GmailConnectorIntegrationTest) Time elapsed: 0.614 sec <<< FAILURE!
java.lang.AssertionError: expected:<200> but was:<409>
at org.testng.Assert.fail(Assert.java:89)
at org.testng.Assert.failNotEquals(Assert.java:489)
at org.testng.Assert.assertEquals(Assert.java:118)
at org.testng.Assert.assertEquals(Assert.java:365)
at org.testng.Assert.assertEquals(Assert.java:375)
at org.wso2.carbon.connector.integration.test.gmail.GmailConnectorIntegrationTest.testCreateLabelsWithOptionalParameters(GmailConnectorIntegrationTest.java:447)
Description:
Since file path is hardcoded in https://github.com/wso2-extensions/esb-connector-gmail/blob/master/src/test/resources/artifacts/ESB/connector/config/gmail.properties#L25 testSendMailWithAttachment test case is failed with FileNotFoundException.
Description:
Need to create the Github documentation for gmail connector.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.