Skip to content

couchdb couchbase header naming convention#23228

Merged
Croway merged 2 commits into
apache:mainfrom
Croway:quick-fix/couchdb-couchbase-header-naming-convention
May 15, 2026
Merged

couchdb couchbase header naming convention#23228
Croway merged 2 commits into
apache:mainfrom
Croway:quick-fix/couchdb-couchbase-header-naming-convention

Conversation

@Croway
Copy link
Copy Markdown
Contributor

@Croway Croway commented May 14, 2026

Align internal header like CouchDbId to CamelCouchDbId naming convention to follow standard

Croway added 2 commits May 14, 2026 17:51
…el naming convention

Rename the values of CouchDbConstants headers to follow the standard
CamelCouchDb* naming convention so that HttpHeaderFilterStrategy blocks
them on inbound HTTP requests. The constant field names are unchanged,
so routes referencing the constants continue to work as-is.

Add CouchDbHeaderInjectionIT to verify headers are Camel-prefixed and
that raw header injection cannot override database operations.
…amel naming convention

Rename the values of CouchbaseConstants headers (CCB_KEY, CCB_ID,
CCB_TTL, CCB_DDN, CCB_VN) to follow the standard CamelCouchbase*
naming convention so that HttpHeaderFilterStrategy blocks them on
inbound HTTP requests. The constant field names are unchanged, so
routes referencing the constants continue to work as-is.
@Croway Croway requested a review from oscerd May 14, 2026 15:52
@github-actions
Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@github-actions
Copy link
Copy Markdown
Contributor

🧪 CI tested the following changed modules:

  • catalog/camel-catalog
  • components/camel-couchbase
  • components/camel-couchdb
  • docs
  • dsl/camel-endpointdsl

⚠️ Some tests are disabled on GitHub Actions (@DisabledIfSystemProperty(named = "ci.env.name")) and require manual verification:

  • components/camel-couchbase: 6 test(s) disabled on GitHub Actions
All tested modules (11 modules)
  • Camel :: Catalog :: Camel Catalog
  • Camel :: CouchDB
  • Camel :: Couchbase
  • Camel :: Endpoint DSL
  • Camel :: JBang :: MCP
  • Camel :: JBang :: Plugin :: Route Parser
  • Camel :: JBang :: Plugin :: TUI
  • Camel :: JBang :: Plugin :: Validate
  • Camel :: Launcher :: Container
  • Camel :: YAML DSL :: Validator
  • Camel :: YAML DSL :: Validator Maven Plugin

⚙️ View full build and test results

@Croway Croway merged commit d0dfa4e into apache:main May 15, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants