From 1328d3bb0ae1cb6a2416cd4e0d0bd46a4e531b0d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 23:47:52 +0000 Subject: [PATCH] chore: nightly automatic updates --- CHANGELOG.md | 5 + README.adoc | 2 +- badge.out | 2 +- coverage | 2 +- coverage.out | 173 +++++++----------- .../informers/externalversions/factory.go | 7 + 6 files changed, 83 insertions(+), 108 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25159a56b8..661ab6fd74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Closed issues:** +- Drop support for Registry trait [\#5737](https://github.com/apache/camel-k/issues/5737) - Drop support for Swagger \(Openapi v2.0\) in favour of Openapi 3.0 [\#5735](https://github.com/apache/camel-k/issues/5735) - Upgrade to Golang 1.22 [\#5720](https://github.com/apache/camel-k/issues/5720) - Remove `STAGING_RUNTIME_REPO` variable from Makefile [\#5616](https://github.com/apache/camel-k/issues/5616) @@ -17,6 +18,10 @@ **Merged pull requests:** +- chore\(deps\): bump golang.org/x/oauth2 from 0.21.0 to 0.22.0 [\#5744](https://github.com/apache/camel-k/pull/5744) ([dependabot[bot]](https://github.com/apps/dependabot)) +- chore\(deps\): bump golang.org/x/time from 0.5.0 to 0.6.0 [\#5743](https://github.com/apache/camel-k/pull/5743) ([dependabot[bot]](https://github.com/apps/dependabot)) +- chore\(deps\): bump linter [\#5741](https://github.com/apache/camel-k/pull/5741) ([squakez](https://github.com/squakez)) +- chore\(trait\): drop support for registry [\#5738](https://github.com/apache/camel-k/pull/5738) ([squakez](https://github.com/squakez)) - feat\(trait\): drop support for swagger [\#5736](https://github.com/apache/camel-k/pull/5736) ([squakez](https://github.com/squakez)) - chore\(deps\): bump knative.dev/serving from 0.40.1 to 0.42.1 [\#5734](https://github.com/apache/camel-k/pull/5734) ([dependabot[bot]](https://github.com/apps/dependabot)) - chore\(deps\): update controllergen [\#5733](https://github.com/apache/camel-k/pull/5733) ([squakez](https://github.com/squakez)) diff --git a/README.adoc b/README.adoc index a1db3d19c8..7377376dcb 100644 --- a/README.adoc +++ b/README.adoc @@ -11,7 +11,7 @@ image:https://github.com/apache/camel-k/actions/workflows/common.yml/badge.svg[" image:https://github.com/apache/camel-k/workflows/knative/badge.svg["Knative", link="https://github.com/apache/camel-k/actions/workflows/knative.yml"] image:https://github.com/apache/camel-k/actions/workflows/nightly-release.yml/badge.svg["Nightly releases", link="https://github.com/apache/camel-k/actions/workflows/nightly-release.yml"] image:https://github.com/apache/camel-k/actions/workflows/nightly-native-test.yml/badge.svg["Quarkus native", link="https://github.com/apache/camel-k/actions/workflows/nightly-native-test.yml"] -image:https://img.shields.io/badge/Coverage-30.3%25-yellow.svg["Go coverage", link="https://github.com/apache/camel-k/actions/workflows/nightly-coverage.yml"] +image:https://img.shields.io/badge/Coverage-30.7%25-yellow.svg["Go coverage", link="https://github.com/apache/camel-k/actions/workflows/nightly-coverage.yml"] image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg["Chat on Zulip", link="https://camel.zulipchat.com"] Apache Camel K is a lightweight integration framework built from **Apache Camel** that runs natively on Kubernetes and is specifically designed for serverless and microservice architectures. Users of `Camel K` can instantly run integration code written in Camel DSL on their preferred **Cloud** provider. diff --git a/badge.out b/badge.out index 94eed803ea..b1ef97ca0f 100644 --- a/badge.out +++ b/badge.out @@ -1,2 +1,2 @@ -![Coverage](https://img.shields.io/badge/Coverage-30.3%25-yellow) \ No newline at end of file +![Coverage](https://img.shields.io/badge/Coverage-30.7%25-yellow) \ No newline at end of file diff --git a/coverage b/coverage index 38a1220e28..da0a4ca887 100644 --- a/coverage +++ b/coverage @@ -1 +1 @@ -30.3 +30.7 diff --git a/coverage.out b/coverage.out index f2251700a1..1ceecb0b28 100644 --- a/coverage.out +++ b/coverage.out @@ -190,11 +190,11 @@ github.com/apache/camel-k/v2/cmd/util/doc-gen/generators/traitdocgen.go:355: github.com/apache/camel-k/v2/cmd/util/doc-gen/generators/traitmetadatagen.go:60: NewtraitMetaDataGen 0.0% github.com/apache/camel-k/v2/cmd/util/doc-gen/generators/traitmetadatagen.go:68: Filename 0.0% github.com/apache/camel-k/v2/cmd/util/doc-gen/generators/traitmetadatagen.go:72: Filter 0.0% -github.com/apache/camel-k/v2/cmd/util/doc-gen/generators/traitmetadatagen.go:81: GenerateType 0.0% -github.com/apache/camel-k/v2/cmd/util/doc-gen/generators/traitmetadatagen.go:90: getTraitID 0.0% -github.com/apache/camel-k/v2/cmd/util/doc-gen/generators/traitmetadatagen.go:103: buildDescription 0.0% -github.com/apache/camel-k/v2/cmd/util/doc-gen/generators/traitmetadatagen.go:122: buildFields 0.0% -github.com/apache/camel-k/v2/cmd/util/doc-gen/generators/traitmetadatagen.go:129: buildMembers 0.0% +github.com/apache/camel-k/v2/cmd/util/doc-gen/generators/traitmetadatagen.go:85: GenerateType 0.0% +github.com/apache/camel-k/v2/cmd/util/doc-gen/generators/traitmetadatagen.go:94: getTraitID 0.0% +github.com/apache/camel-k/v2/cmd/util/doc-gen/generators/traitmetadatagen.go:107: buildDescription 0.0% +github.com/apache/camel-k/v2/cmd/util/doc-gen/generators/traitmetadatagen.go:126: buildFields 0.0% +github.com/apache/camel-k/v2/cmd/util/doc-gen/generators/traitmetadatagen.go:133: buildMembers 0.0% github.com/apache/camel-k/v2/cmd/util/doc-gen/main.go:30: main 0.0% github.com/apache/camel-k/v2/cmd/util/json-schema-gen/main.go:38: main 0.0% github.com/apache/camel-k/v2/cmd/util/json-schema-gen/main.go:54: generate 0.0% @@ -531,7 +531,7 @@ github.com/apache/camel-k/v2/pkg/apis/camel/v1/trait/zz_generated.deepcopy.go:10 github.com/apache/camel-k/v2/pkg/apis/camel/v1/trait/zz_generated.deepcopy.go:1036: DeepCopyInto 0.0% github.com/apache/camel-k/v2/pkg/apis/camel/v1/trait/zz_generated.deepcopy.go:1045: DeepCopy 0.0% github.com/apache/camel-k/v2/pkg/apis/camel/v1/trait/zz_generated.deepcopy.go:1055: DeepCopyInto 0.0% -github.com/apache/camel-k/v2/pkg/apis/camel/v1/trait/zz_generated.deepcopy.go:1061: DeepCopy 40.0% +github.com/apache/camel-k/v2/pkg/apis/camel/v1/trait/zz_generated.deepcopy.go:1061: DeepCopy 0.0% github.com/apache/camel-k/v2/pkg/apis/camel/v1/trait/zz_generated.deepcopy.go:1071: DeepCopyInto 0.0% github.com/apache/camel-k/v2/pkg/apis/camel/v1/trait/zz_generated.deepcopy.go:1084: DeepCopy 0.0% github.com/apache/camel-k/v2/pkg/apis/camel/v1/trait/zz_generated.deepcopy.go:1094: DeepCopyInto 0.0% @@ -949,17 +949,17 @@ github.com/apache/camel-k/v2/pkg/builder/project.go:163: getServerTagInd github.com/apache/camel-k/v2/pkg/builder/project.go:193: injectDependencies 100.0% github.com/apache/camel-k/v2/pkg/builder/project.go:198: sanitizeDependencies 100.0% github.com/apache/camel-k/v2/pkg/builder/project.go:202: injectProfiles 0.0% -github.com/apache/camel-k/v2/pkg/builder/quarkus.go:40: init 100.0% -github.com/apache/camel-k/v2/pkg/builder/quarkus.go:68: resolveBuildSources 28.6% -github.com/apache/camel-k/v2/pkg/builder/quarkus.go:85: prepareProjectWithSources 72.2% -github.com/apache/camel-k/v2/pkg/builder/quarkus.go:115: loadCamelQuarkusCatalog 85.7% -github.com/apache/camel-k/v2/pkg/builder/quarkus.go:132: generateQuarkusProject 100.0% -github.com/apache/camel-k/v2/pkg/builder/quarkus.go:147: generateQuarkusProjectCommon 100.0% -github.com/apache/camel-k/v2/pkg/builder/quarkus.go:187: buildQuarkusRunner 83.3% -github.com/apache/camel-k/v2/pkg/builder/quarkus.go:210: BuildQuarkusRunnerCommon 70.0% -github.com/apache/camel-k/v2/pkg/builder/quarkus.go:228: computeApplicationProperties 80.0% -github.com/apache/camel-k/v2/pkg/builder/quarkus.go:269: computeQuarkusDependencies 90.9% -github.com/apache/camel-k/v2/pkg/builder/quarkus.go:287: ProcessQuarkusTransitiveDependencies 84.6% +github.com/apache/camel-k/v2/pkg/builder/quarkus.go:42: init 100.0% +github.com/apache/camel-k/v2/pkg/builder/quarkus.go:70: resolveBuildSources 28.6% +github.com/apache/camel-k/v2/pkg/builder/quarkus.go:87: prepareProjectWithSources 72.2% +github.com/apache/camel-k/v2/pkg/builder/quarkus.go:125: loadCamelQuarkusCatalog 85.7% +github.com/apache/camel-k/v2/pkg/builder/quarkus.go:142: generateQuarkusProject 100.0% +github.com/apache/camel-k/v2/pkg/builder/quarkus.go:157: generateQuarkusProjectCommon 100.0% +github.com/apache/camel-k/v2/pkg/builder/quarkus.go:197: buildQuarkusRunner 83.3% +github.com/apache/camel-k/v2/pkg/builder/quarkus.go:220: BuildQuarkusRunnerCommon 70.0% +github.com/apache/camel-k/v2/pkg/builder/quarkus.go:238: computeApplicationProperties 80.0% +github.com/apache/camel-k/v2/pkg/builder/quarkus.go:279: computeQuarkusDependencies 90.9% +github.com/apache/camel-k/v2/pkg/builder/quarkus.go:297: ProcessQuarkusTransitiveDependencies 84.6% github.com/apache/camel-k/v2/pkg/builder/runtime_support.go:41: BuildCommands 0.0% github.com/apache/camel-k/v2/pkg/builder/runtime_support.go:46: Directory 0.0% github.com/apache/camel-k/v2/pkg/builder/runtime_support.go:51: TargetDirectory 0.0% @@ -2565,69 +2565,44 @@ github.com/apache/camel-k/v2/pkg/cmd/root.go:252: PrintVerboseOut github.com/apache/camel-k/v2/pkg/cmd/root.go:258: PrintfVerboseOutf 0.0% github.com/apache/camel-k/v2/pkg/cmd/root.go:263: PrintfVerboseErrf 0.0% github.com/apache/camel-k/v2/pkg/cmd/root.go:269: wrappedFlagUsages 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:79: newCmdRun 100.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:171: decode 87.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:239: validateArgs 100.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:247: validate 80.6% -github.com/apache/camel-k/v2/pkg/cmd/run.go:303: filterBuildPropertyFiles 100.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:314: run 28.3% -github.com/apache/camel-k/v2/pkg/cmd/run.go:404: postRun 18.2% -github.com/apache/camel-k/v2/pkg/cmd/run.go:425: waitForIntegrationReady 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:444: syncIntegration 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:505: createOrUpdateIntegration 77.1% -github.com/apache/camel-k/v2/pkg/cmd/run.go:601: showIntegrationOutput 100.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:609: showIntegrationKitOutput 100.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:617: getIntegration 88.9% -github.com/apache/camel-k/v2/pkg/cmd/run.go:645: applyLabels 16.7% -github.com/apache/camel-k/v2/pkg/cmd/run.go:657: applyAnnotations 38.5% -github.com/apache/camel-k/v2/pkg/cmd/run.go:684: resolveSources 85.7% -github.com/apache/camel-k/v2/pkg/cmd/run.go:715: convertOptionsToTraits 50.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:753: parseAndConvertToTrait 22.2% -github.com/apache/camel-k/v2/pkg/cmd/run.go:774: convertToTrait 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:778: applyProperties 84.6% -github.com/apache/camel-k/v2/pkg/cmd/run.go:799: convertToTraitParameter 78.6% -github.com/apache/camel-k/v2/pkg/cmd/run.go:822: applyDependencies 19.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:862: getPlatform 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:885: GetIntegrationName 100.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:900: mergePropertiesWithPrecedence 92.9% -github.com/apache/camel-k/v2/pkg/cmd/run.go:926: extractProperties 60.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:940: loadPropertyFile 71.4% -github.com/apache/camel-k/v2/pkg/cmd/run.go:952: resolvePodTemplate 73.3% -github.com/apache/camel-k/v2/pkg/cmd/run.go:983: parseFileURI 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:997: getRegistry 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1005: skipChecksums 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1009: skipPom 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1013: classpath 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1017: getTargetPath 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1022: uploadDependency 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1102: getMountPath 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1116: uploadPomFromJar 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1158: extractFromZip 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1175: extractGav 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1215: uploadAsMavenArtifact 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1234: extractGavFromPom 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1260: uploadChecksumFiles 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1269: uploadChecksumFile 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1291: writeChecksumToFile 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1302: getSpectrumOptions 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1321: getArtifactHTTPPath 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1335: createDefaultGav 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1356: isPom 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1360: isJar 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1364: getFileRelativePathAndExtension 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run.go:1373: getDirName 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run_support.go:41: addDependency 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run_support.go:47: parseConfig 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run_support.go:69: filterFileLocation 100.0% -github.com/apache/camel-k/v2/pkg/cmd/run_support.go:80: keyValueProps 100.0% -github.com/apache/camel-k/v2/pkg/cmd/run_support.go:84: loadPropertiesFromSecret 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run_support.go:96: loadPropertiesFromConfigMap 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run_support.go:106: fromMapToProperties 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run_support.go:127: downloadDependency 81.8% -github.com/apache/camel-k/v2/pkg/cmd/run_support.go:159: validatePropertyFiles 75.0% -github.com/apache/camel-k/v2/pkg/cmd/run_support.go:169: validatePropertyFile 57.1% -github.com/apache/camel-k/v2/pkg/cmd/run_support.go:183: createCamelCatalog 0.0% -github.com/apache/camel-k/v2/pkg/cmd/run_support.go:193: extractTraitNames 100.0% +github.com/apache/camel-k/v2/pkg/cmd/run.go:67: newCmdRun 100.0% +github.com/apache/camel-k/v2/pkg/cmd/run.go:159: decode 87.0% +github.com/apache/camel-k/v2/pkg/cmd/run.go:227: validateArgs 100.0% +github.com/apache/camel-k/v2/pkg/cmd/run.go:235: validate 80.6% +github.com/apache/camel-k/v2/pkg/cmd/run.go:291: filterBuildPropertyFiles 100.0% +github.com/apache/camel-k/v2/pkg/cmd/run.go:302: run 28.3% +github.com/apache/camel-k/v2/pkg/cmd/run.go:392: postRun 18.2% +github.com/apache/camel-k/v2/pkg/cmd/run.go:413: waitForIntegrationReady 0.0% +github.com/apache/camel-k/v2/pkg/cmd/run.go:432: syncIntegration 0.0% +github.com/apache/camel-k/v2/pkg/cmd/run.go:493: createOrUpdateIntegration 77.1% +github.com/apache/camel-k/v2/pkg/cmd/run.go:589: showIntegrationOutput 100.0% +github.com/apache/camel-k/v2/pkg/cmd/run.go:597: showIntegrationKitOutput 100.0% +github.com/apache/camel-k/v2/pkg/cmd/run.go:605: getIntegration 88.9% +github.com/apache/camel-k/v2/pkg/cmd/run.go:633: applyLabels 16.7% +github.com/apache/camel-k/v2/pkg/cmd/run.go:645: applyAnnotations 38.5% +github.com/apache/camel-k/v2/pkg/cmd/run.go:672: resolveSources 85.7% +github.com/apache/camel-k/v2/pkg/cmd/run.go:703: convertOptionsToTraits 50.0% +github.com/apache/camel-k/v2/pkg/cmd/run.go:741: parseAndConvertToTrait 22.2% +github.com/apache/camel-k/v2/pkg/cmd/run.go:762: convertToTrait 0.0% +github.com/apache/camel-k/v2/pkg/cmd/run.go:766: applyProperties 84.6% +github.com/apache/camel-k/v2/pkg/cmd/run.go:787: convertToTraitParameter 78.6% +github.com/apache/camel-k/v2/pkg/cmd/run.go:810: applyDependencies 27.3% +github.com/apache/camel-k/v2/pkg/cmd/run.go:835: GetIntegrationName 100.0% +github.com/apache/camel-k/v2/pkg/cmd/run.go:850: mergePropertiesWithPrecedence 92.9% +github.com/apache/camel-k/v2/pkg/cmd/run.go:876: extractProperties 60.0% +github.com/apache/camel-k/v2/pkg/cmd/run.go:890: loadPropertyFile 71.4% +github.com/apache/camel-k/v2/pkg/cmd/run.go:902: resolvePodTemplate 73.3% +github.com/apache/camel-k/v2/pkg/cmd/run_support.go:36: addDependency 0.0% +github.com/apache/camel-k/v2/pkg/cmd/run_support.go:42: parseConfig 0.0% +github.com/apache/camel-k/v2/pkg/cmd/run_support.go:64: filterFileLocation 100.0% +github.com/apache/camel-k/v2/pkg/cmd/run_support.go:75: keyValueProps 100.0% +github.com/apache/camel-k/v2/pkg/cmd/run_support.go:79: loadPropertiesFromSecret 0.0% +github.com/apache/camel-k/v2/pkg/cmd/run_support.go:91: loadPropertiesFromConfigMap 0.0% +github.com/apache/camel-k/v2/pkg/cmd/run_support.go:101: fromMapToProperties 0.0% +github.com/apache/camel-k/v2/pkg/cmd/run_support.go:121: validatePropertyFiles 75.0% +github.com/apache/camel-k/v2/pkg/cmd/run_support.go:131: validatePropertyFile 57.1% +github.com/apache/camel-k/v2/pkg/cmd/run_support.go:145: createCamelCatalog 0.0% +github.com/apache/camel-k/v2/pkg/cmd/run_support.go:155: extractTraitNames 100.0% github.com/apache/camel-k/v2/pkg/cmd/source/content.go:40: LoadRawContent 70.0% github.com/apache/camel-k/v2/pkg/cmd/source/content.go:78: IsBinary 100.0% github.com/apache/camel-k/v2/pkg/cmd/source/content.go:84: CompressToString 75.0% @@ -3385,28 +3360,16 @@ github.com/apache/camel-k/v2/pkg/trait/quarkus.go:230: validateNativeSu github.com/apache/camel-k/v2/pkg/trait/quarkus.go:248: newIntegrationKit 63.2% github.com/apache/camel-k/v2/pkg/trait/quarkus.go:297: propagateKitTraits 85.7% github.com/apache/camel-k/v2/pkg/trait/quarkus.go:313: propagate 33.3% -github.com/apache/camel-k/v2/pkg/trait/quarkus.go:340: applyWhenBuildSubmitted 62.8% -github.com/apache/camel-k/v2/pkg/trait/quarkus.go:417: isNativeKit 50.0% -github.com/apache/camel-k/v2/pkg/trait/quarkus.go:428: isIncrementalImageBuild 75.0% -github.com/apache/camel-k/v2/pkg/trait/quarkus.go:439: applyWhenKitReady 28.6% -github.com/apache/camel-k/v2/pkg/trait/quarkus.go:453: isNativeIntegration 100.0% -github.com/apache/camel-k/v2/pkg/trait/quarkus.go:459: isEmbedded 66.7% -github.com/apache/camel-k/v2/pkg/trait/quarkus.go:469: containsMode 100.0% -github.com/apache/camel-k/v2/pkg/trait/quarkus.go:478: packageType 80.0% -github.com/apache/camel-k/v2/pkg/trait/quarkus.go:490: sourcesRequiredAtBuildTime 100.0% -github.com/apache/camel-k/v2/pkg/trait/quarkus.go:496: propagateSourcesRequiredAtBuildTime 80.0% -github.com/apache/camel-k/v2/pkg/trait/registry.go:51: newRegistryTrait 100.0% -github.com/apache/camel-k/v2/pkg/trait/registry.go:58: InfluencesKit 100.0% -github.com/apache/camel-k/v2/pkg/trait/registry.go:62: Configure 28.6% -github.com/apache/camel-k/v2/pkg/trait/registry.go:81: Apply 0.0% -github.com/apache/camel-k/v2/pkg/trait/registry.go:113: getRegistryCaAndSecret 0.0% -github.com/apache/camel-k/v2/pkg/trait/registry.go:139: addRegistryAndExtensionToMaven 0.0% -github.com/apache/camel-k/v2/pkg/trait/registry.go:164: getOpenShiftRegistrySecret 0.0% -github.com/apache/camel-k/v2/pkg/trait/registry.go:188: extractMavenServerCredentialsFromSecret 0.0% -github.com/apache/camel-k/v2/pkg/trait/registry.go:237: getDockerConfig 0.0% -github.com/apache/camel-k/v2/pkg/trait/registry.go:256: getOpenShiftImageRegistryCA 0.0% -github.com/apache/camel-k/v2/pkg/trait/registry.go:279: addImageRegistryCaToMavenBuild 0.0% -github.com/apache/camel-k/v2/pkg/trait/registry.go:296: decodeSecretKeySelector 0.0% +github.com/apache/camel-k/v2/pkg/trait/quarkus.go:338: applyWhenBuildSubmitted 62.8% +github.com/apache/camel-k/v2/pkg/trait/quarkus.go:415: isNativeKit 50.0% +github.com/apache/camel-k/v2/pkg/trait/quarkus.go:426: isIncrementalImageBuild 75.0% +github.com/apache/camel-k/v2/pkg/trait/quarkus.go:437: applyWhenKitReady 28.6% +github.com/apache/camel-k/v2/pkg/trait/quarkus.go:451: isNativeIntegration 100.0% +github.com/apache/camel-k/v2/pkg/trait/quarkus.go:457: isEmbedded 66.7% +github.com/apache/camel-k/v2/pkg/trait/quarkus.go:467: containsMode 100.0% +github.com/apache/camel-k/v2/pkg/trait/quarkus.go:476: packageType 80.0% +github.com/apache/camel-k/v2/pkg/trait/quarkus.go:488: sourcesRequiredAtBuildTime 100.0% +github.com/apache/camel-k/v2/pkg/trait/quarkus.go:494: propagateSourcesRequiredAtBuildTime 80.0% github.com/apache/camel-k/v2/pkg/trait/route.go:48: newRouteTrait 100.0% github.com/apache/camel-k/v2/pkg/trait/route.go:58: IsAllowedInProfile 100.0% github.com/apache/camel-k/v2/pkg/trait/route.go:62: Configure 100.0% @@ -3545,9 +3508,9 @@ github.com/apache/camel-k/v2/pkg/trait/util.go:559: NewSpecTraitsOption github.com/apache/camel-k/v2/pkg/trait/util.go:563: NewTraitsOptionsForPipe 87.5% github.com/apache/camel-k/v2/pkg/trait/util.go:581: NewTraitsOptionsForKameletBinding 0.0% github.com/apache/camel-k/v2/pkg/trait/util.go:599: containsEndpoint 86.7% -github.com/apache/camel-k/v2/pkg/trait/util.go:624: HasMatchingTraits 92.3% +github.com/apache/camel-k/v2/pkg/trait/util.go:624: HasMatchingTraits 84.6% github.com/apache/camel-k/v2/pkg/trait/util.go:650: matchesComparableTrait 69.2% -github.com/apache/camel-k/v2/pkg/trait/util.go:671: matchesTrait 100.0% +github.com/apache/camel-k/v2/pkg/trait/util.go:671: matchesTrait 0.0% github.com/apache/camel-k/v2/pkg/util/bindings/api_support.go:24: AsYamlDSL 0.0% github.com/apache/camel-k/v2/pkg/util/bindings/api_support.go:36: GenerateID 100.0% github.com/apache/camel-k/v2/pkg/util/bindings/api_support.go:46: GenerateID 0.0% @@ -4140,4 +4103,4 @@ github.com/apache/camel-k/v2/pkg/util/watch/watch.go:127: HandlePlatform github.com/apache/camel-k/v2/pkg/util/watch/watch.go:179: HandleIntegrationPlatformEvents 0.0% github.com/apache/camel-k/v2/pkg/util/watch/watch.go:220: WaitPodToTerminate 0.0% github.com/apache/camel-k/v2/pkg/util/watch/watch.go:244: isAllowed 0.0% -total: (statements) 30.3% +total: (statements) 30.7% diff --git a/pkg/client/camel/informers/externalversions/factory.go b/pkg/client/camel/informers/externalversions/factory.go index 99956bea62..f7c93892a0 100644 --- a/pkg/client/camel/informers/externalversions/factory.go +++ b/pkg/client/camel/informers/externalversions/factory.go @@ -95,6 +95,13 @@ func NewSharedInformerFactory(client versioned.Interface, defaultResync time.Dur return NewSharedInformerFactoryWithOptions(client, defaultResync) } +// NewFilteredSharedInformerFactory constructs a new instance of sharedInformerFactory. +// Listers obtained via this SharedInformerFactory will be subject to the same filters +// as specified here. +// Deprecated: Please use NewSharedInformerFactoryWithOptions instead +func NewFilteredSharedInformerFactory(client versioned.Interface, defaultResync time.Duration, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) SharedInformerFactory { + return NewSharedInformerFactoryWithOptions(client, defaultResync, WithNamespace(namespace), WithTweakListOptions(tweakListOptions)) +} // NewSharedInformerFactoryWithOptions constructs a new instance of a SharedInformerFactory with additional options. func NewSharedInformerFactoryWithOptions(client versioned.Interface, defaultResync time.Duration, options ...SharedInformerOption) SharedInformerFactory {