Kong / Kong/volcano-sdk-js

feat(functions): expose HTTP-mode metadata and webhook invocation

Open
#39 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
0
Forks
0
Avg merge
5h 43m
Merged PRs (30d)
85

Description

Follow-up to Kong/volcano-hosting#908.

Update the JavaScript SDK for function HTTP mode:

  • expose invocation_mode, http_auth_mode, and nullable openapi_spec on function types
  • preserve existing RPC invoke behavior
  • add a raw HTTP-mode helper, or document direct fetch(invoke_url + path), without wrapping the body in {payload}
  • do not attach Volcano credentials when a caller explicitly selects unauthenticated webhook access
  • preserve repeated response headers where the runtime permits
  • add contract tests for authenticated HTTP mode and public http_auth_mode=none
  • document that webhook signatures must be verified by function code

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the JavaScript SDK's function type definitions and existing RPC invocation path, then trace how invoke_url and Volcano credentials are handled. Add HTTP-mode metadata and invocation behavior without changing RPC calls, and cover authenticated HTTP mode plus public http_auth_mode=none in contract tests. Update the documentation to explain direct webhook access and signature verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, authentication, documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.