Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: revert google-api-services-gmail upgrade #7282

Merged
merged 1 commit into from Nov 29, 2019

Conversation

zregvart
Copy link
Member

This reverts the upgrade of com.google.apis:google-api-services-gmail
which was causing a runtime exception at the integration startup:

Caused by: java.lang.NoSuchMethodError: com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient$Builder.setBatchPath(Ljava/lang/String;)Lcom/google/api/client/googleapis/services/AbstractGoogleClient$Builder;
    at com.google.api.services.gmail.Gmail$Builder.setBatchPath (Gmail.java:9868)
    at com.google.api.services.gmail.Gmail$Builder.<init> (Gmail.java:9847)

Also adds a integration test that only checks if the integration can be
started, as we have no way of stubbing the www.googleapis.com endpoint
that will be contacted otherwise.

Ref. https://issues.jboss.org/browse/ENTESB-12192

This reverts the upgrade of `com.google.apis:google-api-services-gmail`
which was causing a runtime exception at the integration startup:

```
Caused by: java.lang.NoSuchMethodError: com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient$Builder.setBatchPath(Ljava/lang/String;)Lcom/google/api/client/googleapis/services/AbstractGoogleClient$Builder;
    at com.google.api.services.gmail.Gmail$Builder.setBatchPath (Gmail.java:9868)
    at com.google.api.services.gmail.Gmail$Builder.<init> (Gmail.java:9847)
```

Also adds a integration test that only checks if the integration can be
started, as we have no way of stubbing the www.googleapis.com endpoint
that will be contacted otherwise.
Copy link
Contributor

@christophd christophd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@pure-bot
Copy link
Contributor

pure-bot bot commented Nov 29, 2019

Pull request approved by @christophd - applying pr/approved label

@pure-bot pure-bot bot added the pr/approved Applied by pure-bot when a review is approved label Nov 29, 2019
@pure-bot pure-bot bot merged commit b347eef into syndesisio:master Nov 29, 2019
@zregvart zregvart deleted the issue/ENTESB-12192 branch November 29, 2019 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/approved Applied by pure-bot when a review is approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants