Andrea Cosentino created CAMEL-28053:
----------------------------------------
Summary: camel-google: no component except google-pubsub can be
pointed at a local emulator
Key: CAMEL-28053
URL: https://issues.apache.org/jira/browse/CAMEL-28053
Project: Camel
Issue Type: Improvement
Components: camel-google
Reporter: Andrea Cosentino
Found during an audit of the cloud components (camel-aws, camel-azure,
camel-google, camel-huawei) at commit 7c0644752e17. Every item below was
verified against the source.
{{google-pubsub}} has {{pubsubEndpoint}}; no other Google scheme exposes any
endpoint, host or emulator override. google-storage, google-firestore,
google-bigquery, google-functions, google-secret-manager, google-vision,
google-speech-to-text, google-text-to-speech and google-vertexai all talk to
the public endpoint only.
By comparison all 38 AWS schemes have {{overrideEndpoint}} and
{{uriEndpointOverride}}.
Two consequences:
* integration tests cannot run against {{fake-gcs-server}}, the Firestore
emulator or the BigQuery emulator, which is the direction the test-infra work
is taking (CAMEL-26614, CAMEL-26626)
* a user on a VPC Service Controls or Private Service Connect endpoint cannot
configure it
Proposed change: add an endpoint-override option to the Google components whose
client builder supports {{setHost}} / a custom transport channel, starting with
storage, firestore and bigquery.
Related: CAMEL-18654 asks for the same thing for the Azure family.
_Claude Code on behalf of oscerd_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)