Skip to content

[backport camel-4.14.x] CAMEL-24349: camel-google-functions - name the header createFunction is missing - #25585

Open
oscerd wants to merge 1 commit into
apache:camel-4.14.xfrom
oscerd:backport/CAMEL-24349-camel-4.14.x
Open

[backport camel-4.14.x] CAMEL-24349: camel-google-functions - name the header createFunction is missing#25585
oscerd wants to merge 1 commit into
apache:camel-4.14.xfrom
oscerd:backport/CAMEL-24349-camel-4.14.x

Conversation

@oscerd

@oscerd oscerd commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Backport of #25563 (merged on main).

createFunction fed nullable headers straight into protobuf setters, so a missing one surfaced as a bare NullPointerException instead of naming the header; listFunctions also asked for a page size of Integer.MAX_VALUE while iterating with iterateAll().

Cherry-picked from main with no adaptation needed. Module tests and the full reactor build are green on this branch.

Claude Code on behalf of oscerd

🤖 Generated with Claude Code

…is missing (apache#25563)

createFunction passed the entryPoint, runtime and sourceArchiveUrl headers
straight into the protobuf setters, which reject null, so a request missing any
of them failed with a bare NullPointerException instead of saying which header
the operation needs.

listFunctions also asked for a page size of Integer.MAX_VALUE while iterating
with iterateAll, which follows the pages by itself; the oversized page size is
dropped.

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
(cherry picked from commit bdebd92)
@oscerd
oscerd requested a review from davsclaus August 22, 2026 18:58
@oscerd oscerd added the bug Something isn't working label Aug 22, 2026
@oscerd
oscerd requested a review from Croway August 22, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant