generated from coulomb/repo-seed
Add ISSUE_CORE_API_KEY auth to IssueCoreRestSink
Issue-core requires a shared ingestion key on POST /issues/. The REST sink now sends Authorization: Bearer using ISSUE_CORE_API_KEY and fails fast when the key is missing under ISSUE_SINK_TYPE=rest. Updates .env.example, emission boundary docs, and unit tests for the header contract and missing-key error.
This commit is contained in:
@@ -18,7 +18,9 @@ STATE_HUB_URL=http://127.0.0.1:8000
|
||||
# Repo scoping — used by the repo-scoping context adapter. Binds {} on failure.
|
||||
REPO_SCOPING_URL=http://127.0.0.1:8020
|
||||
# Issue Core — task emission backend.
|
||||
ISSUE_CORE_URL=http://127.0.0.1:8010
|
||||
ISSUE_CORE_URL=http://127.0.0.1:8765
|
||||
# Shared ingestion key — must match issue-core's ISSUE_CORE_API_KEY.
|
||||
ISSUE_CORE_API_KEY=
|
||||
# Sink type: 'rest' (POST to issue-core) or 'null' (discard, for dry-run).
|
||||
ISSUE_SINK_TYPE=rest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user