oscerd opened a new pull request, #23539:
URL: https://github.com/apache/camel/pull/23539

   Backports the **camel-google-functions** and **camel-google-secret-manager**
   portions of #23467 to `camel-4.18.x`. The original PR also renamed
   `camel-google-vision`, `camel-google-text-to-speech` and
   `camel-google-speech-to-text`, but those components were added after the
   4.18.x branch point and **do not exist** on this maintenance branch, so the
   backport is intentionally scoped down to the two components that DO exist.
   
   Cherry-pick of merge commit `3addcc5d10a` with two adaptations:
   1. The original PR's upgrade-guide entry was added to
      `camel-4x-upgrade-guide-4_21.adoc`, which does not exist on 4.18.x. Per
      the project's backport policy the same content (scoped to the two
      surviving components) has been added to
      `camel-4x-upgrade-guide-4_18.adoc` instead.
   2. The vision / text-to-speech / speech-to-text deletions surfaced by the
      cherry-pick were `git rm`-ed because the components do not exist on
      4.18.x.
   
   ## Summary
   
   Renames the Exchange header string values in `GoogleCloudFunctionsConstants`
   and `GoogleSecretManagerConstants` that had a `GoogleCloud<Service>` /
   `GoogleSecretManager` prefix to `CamelGoogle<Service><Name>` so they sit
   inside the `Camel` namespace filtered by the default `HeaderFilterStrategy`.
   
   | Constant | Previous value | New value |
   |----------|----------------|-----------|
   | `GoogleCloudFunctionsConstants.OPERATION` | 
`GoogleCloudFunctionsOperation` | `CamelGoogleCloudFunctionsOperation` |
   | `GoogleCloudFunctionsConstants.ENTRY_POINT` | 
`GoogleCloudFunctionsEntryPoint` | `CamelGoogleCloudFunctionsEntryPoint` |
   | `GoogleCloudFunctionsConstants.RUNTIME` | `GoogleCloudFunctionsRuntime` | 
`CamelGoogleCloudFunctionsRuntime` |
   | `GoogleCloudFunctionsConstants.SOURCE_ARCHIVE_URL` | 
`GoogleCloudFunctionsSourceArchiveUrl` | 
`CamelGoogleCloudFunctionsSourceArchiveUrl` |
   | `GoogleCloudFunctionsConstants.RESPONSE_OBJECT` | 
`GoogleCloudFunctionsResponseObject` | 
`CamelGoogleCloudFunctionsResponseObject` |
   | `GoogleSecretManagerConstants.OPERATION` | `GoogleSecretManagerOperation` 
| `CamelGoogleSecretManagerOperation` |
   
   `GoogleSecretManagerConstants.SECRET_ID`, `VERSION_ID` and `REPLICATION` were
   already `Camel`-prefixed and are unchanged.
   
   DSL accessor names unchanged (e.g. `googleCloudFunctionsOperation()`); they
   now return the new `Camel`-prefixed values.
   
   ## Test plan
   
   - [x] `mvn test` in `components/camel-google/camel-google-functions` on
         4.18.x — BUILD SUCCESS
   - [x] `mvn test` in `components/camel-google/camel-google-secret-manager` on
         4.18.x — BUILD SUCCESS
   - [x] Cherry-pick applied with the two adaptations described above (no merge
         marker shipped)
   - [x] Upgrade-guide entry added under
         `=== camel-google-functions / camel-google-secret-manager - potential
         breaking change` in `camel-4x-upgrade-guide-4_18.adoc`, with an
         explicit NOTE that vision/tts/stt are not backported
   
   Tracker: CAMEL-23577
   
   _Reported by Claude Code on behalf of Andrea Cosentino_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to