Skip to content

refactor(api): standardize request header key prefixes#714

Merged
Ahoo-Wang merged 1 commit intomainfrom
standardize-request-header-key-prefixes
Feb 4, 2026
Merged

refactor(api): standardize request header key prefixes#714
Ahoo-Wang merged 1 commit intomainfrom
standardize-request-header-key-prefixes

Conversation

@Ahoo-Wang
Copy link
Owner

  • Introduce COSEC_EXTEND_KEY_PREFIX constant for consistent header naming
  • Update AppIdCapable to use prefixed header key format
  • Update DeviceIdCapable to use prefixed header key format
  • Update RequestIdCapable to use prefixed header key format
  • Update SpaceIdCapable to use prefixed header key format
  • Create new ExtendKey.kt file with prefix constant definition

- Introduce COSEC_EXTEND_KEY_PREFIX constant for consistent header naming
- Update AppIdCapable to use prefixed header key format
- Update DeviceIdCapable to use prefixed header key format
- Update RequestIdCapable to use prefixed header key format
- Update SpaceIdCapable to use prefixed header key format
- Create new ExtendKey.kt file with prefix constant definition

Signed-off-by: Ahoo Wang <ahoowang@qq.com>
@Ahoo-Wang Ahoo-Wang added the enhancement New feature or request label Feb 4, 2026
@Ahoo-Wang Ahoo-Wang merged commit a8decd8 into main Feb 4, 2026
5 of 6 checks passed
@Ahoo-Wang Ahoo-Wang deleted the standardize-request-header-key-prefixes branch February 4, 2026 07:26
@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.15%. Comparing base (8e4af7e) to head (89a8396).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #714   +/-   ##
=========================================
  Coverage     92.15%   92.15%           
  Complexity      612      612           
=========================================
  Files           149      149           
  Lines          1823     1823           
  Branches        156      156           
=========================================
  Hits           1680     1680           
  Misses           74       74           
  Partials         69       69           
Flag Coverage Δ
unittests 92.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant