This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git
The following commit(s) were added to refs/heads/main by this push:
new b1d63fce6 Cleanup
b1d63fce6 is described below
commit b1d63fce6ed610f87a8cf4f5feac466e6265cb75
Author: JB Onofré <[email protected]>
AuthorDate: Mon Nov 30 14:01:04 2026 +0100
Cleanup
---
.claude/skills/camel-karaf-feature-itest/SKILL.md | 20 +++++++++++++++++++-
.../list-untested-features.sh | 1 +
.../skills/camel-karaf-feature-itest/reference.md | 19 +++++++++++++++++++
3 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/.claude/skills/camel-karaf-feature-itest/SKILL.md
b/.claude/skills/camel-karaf-feature-itest/SKILL.md
index 8be696e78..14791831c 100644
--- a/.claude/skills/camel-karaf-feature-itest/SKILL.md
+++ b/.claude/skills/camel-karaf-feature-itest/SKILL.md
@@ -2,6 +2,24 @@
name: camel-karaf-feature-itest
description: Create a Pax Exam integration test under tests/features for a
Camel Karaf feature (camel-<component>) that has none yet, following the shared
camel-integration-test framework. Use when asked to add, write or scaffold an
integration test / itest for a Camel component, dataformat or language feature,
to find which features lack tests, or to check that a feature installs and
works in Karaf.
---
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
# Add a feature integration test (tests/features)
@@ -44,7 +62,7 @@ Pick the **first** row that fits. Most tests (about 65 of 75)
are rows 1–3.
| 3 | Consumer only / scheduler (timer, cron, quartz) | `producerEnabled() =
false`; `consumerRoute()` | none |
| 4 | Needs an in-JVM server or a free port (ftp, mina, netty) | as 2 | custom
`ExternalResource`, `AvailablePortProvider` |
| 5 | Mainly used from Blueprint, or needs beans you can only wire in XML |
**no supplier**; `OSGI-INF/blueprint/route.xml` | `isBlueprintTest = true` |
-| 6 | Several scenarios for the same feature | several suppliers + ITests
filtered with `camelRouteSuppliers`, or one `AbstractCamelRouteWithBundleITest`
with nested route tests | see reference.md §6 |
+| 6 | Several scenarios for the same feature | several suppliers + ITests
filtered with `camelRouteSuppliers`, or one `AbstractCamelRouteWithBundleITest`
with nested route tests | see reference.md §7 |
Rows 1–3 and 5 are about 20 lines of Java each. If yours grows much bigger,
check that you are not testing Camel itself. The goal is: **does the feature
diff --git a/.claude/skills/camel-karaf-feature-itest/list-untested-features.sh
b/.claude/skills/camel-karaf-feature-itest/list-untested-features.sh
index 6aecdb553..553877415 100755
--- a/.claude/skills/camel-karaf-feature-itest/list-untested-features.sh
+++ b/.claude/skills/camel-karaf-feature-itest/list-untested-features.sh
@@ -26,6 +26,7 @@
# --tested print the tested features instead of the untested ones
set -euo pipefail
+export LC_ALL=C
ROOT="$(git -C "$(dirname "$0")" rev-parse --show-toplevel)"
FEATURES_XML="$ROOT/features/src/main/feature/camel-features.xml"
diff --git a/.claude/skills/camel-karaf-feature-itest/reference.md
b/.claude/skills/camel-karaf-feature-itest/reference.md
index efea1bd8a..81895ba89 100644
--- a/.claude/skills/camel-karaf-feature-itest/reference.md
+++ b/.claude/skills/camel-karaf-feature-itest/reference.md
@@ -1,3 +1,22 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
# Templates and framework reference
Replace `Foo`/`foo` with the feature (for example `camel-foo-bar` → `FooBar` /
`foo-bar`).