Skip to content

Commit

Permalink
feat: add a deprecation metadata to languages no longer supported
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Sep 11, 2024
1 parent 038ab77 commit 24dc85f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ private void processLoaders(CamelCatalogSpec.Builder specBuilder) {
"kts",
CamelLoader.fromArtifact("org.apache.camel.quarkus", "camel-quarkus-kotlin-dsl")
.addLanguage("kts")
.putMetadata("deprecated", "true")
.putMetadata("native", "true")
.putMetadata("sources-required-at-build-time", "true")
.build()
Expand All @@ -315,6 +316,7 @@ private void processLoaders(CamelCatalogSpec.Builder specBuilder) {
"js",
CamelLoader.fromArtifact("org.apache.camel.quarkus", "camel-quarkus-js-dsl")
.addLanguage("js")
.putMetadata("deprecated", "true")
// Guest languages are not yet supported on Mandrel in native mode.
.putMetadata("native", "false")
.build()
Expand Down Expand Up @@ -344,6 +346,7 @@ private void processLoaders(CamelCatalogSpec.Builder specBuilder) {
"jsh",
CamelLoader.fromArtifact("org.apache.camel.quarkus", "camel-quarkus-jsh-dsl")
.addLanguages("jsh")
.putMetadata("deprecated", "true")
// Native mode is not yet supported due to https://github.com/apache/camel-quarkus/issues/4458.
.putMetadata("native", "false")
.putMetadata("sources-required-at-build-time", "true")
Expand Down

0 comments on commit 24dc85f

Please sign in to comment.