[
https://issues.apache.org/jira/browse/CAMEL-18277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-18277:
--------------------------------
Fix Version/s: Future
(was: 3.x)
> Google Pubsub: MessageOrderingIT test does not work with real account
> ---------------------------------------------------------------------
>
> Key: CAMEL-18277
> URL: https://issues.apache.org/jira/browse/CAMEL-18277
> Project: Camel
> Issue Type: Bug
> Components: camel-google-pubsub, tests
> Affects Versions: 3.18.0
> Reporter: Jiri Ondrusek
> Assignee: Jiri Ondrusek
> Priority: Minor
> Fix For: Future
>
>
> I'm working on test coverage of _camel-pubsub_ extension in Camel-quarkus
> ([issue|[https://github.com/apache/camel-quarkus/issues/3910]).]
> I noticed:
> * There is no easy way of running integration tests with the real account.
> It would be nice to have an option to export for example a several env.
> properties (like export GOOGLE_APPLICATION_CREDENTIALS=.. and export
> GOOGLE_PROJECT_ID=...) and allow execution of the tests with the real account.
> * _MessageOrderingIT_ does not work with the real cloud account. You can see
> an exception, which is probably caused by the use of regional endpoint.
> {code:java}
> java.util.concurrent.ExecutionException:
> com.google.api.gax.rpc.UnauthenticatedException:
> io.grpc.StatusRuntimeException: UNAUTHENTICATED: Request had invalid
> authentication credentials. Expected OAuth 2 access token, login cookie or
> other valid authentication credential. See
> https://developers.google.com/identity/sign-in/web/devconsole-project.
> at
> com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:588)
> at
> com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:567)
> at com.google.api.core.AbstractApiFuture.get(AbstractApiFuture.java:55)
> at
> org.apache.camel.component.google.pubsub.GooglePubsubProducer.send(GooglePubsubProducer.java:117)
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)