This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 9ec61db89c56fb2597e7748bcfa3c5db6fcb5a54
Author: Pasquale Congiusti <pasquale.congiu...@gmail.com>
AuthorDate: Tue Jan 7 18:27:35 2025 +0100

    chore: groovy is no longer supported DSL
---
 docs/modules/ROOT/nav.adoc                       |  1 -
 docs/modules/ROOT/pages/languages/languages.adoc |  1 -
 e2e/native/native_with_sources_test.go           | 13 -------------
 pkg/apis/camel/v1/common_types.go                |  4 ++++
 4 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index 150a50bf2..74fa462b5 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -31,7 +31,6 @@
 ** xref:languages/java.adoc[Java]
 ** xref:languages/yaml.adoc[YAML]
 ** xref:languages/xml.adoc[XML]
-** xref:languages/groovy.adoc[Groovy]
 * xref:configuration/configuration.adoc[Configuration]
 ** xref:configuration/dependencies.adoc[Dependencies]
 ** xref:configuration/build-time-properties.adoc[Build time properties]
diff --git a/docs/modules/ROOT/pages/languages/languages.adoc 
b/docs/modules/ROOT/pages/languages/languages.adoc
index 6352b0d18..80bb8388d 100644
--- a/docs/modules/ROOT/pages/languages/languages.adoc
+++ b/docs/modules/ROOT/pages/languages/languages.adoc
@@ -11,7 +11,6 @@ Camel K supports multiple languages for writing integrations:
 | xref:languages/java.adoc[Java]                | Integrations written in Java 
DSL are supported
 | xref:languages/xml.adoc[XML]                  | Integrations written in 
plain XML DSL are supported (Spring XML with <beans> or Blueprint XML with 
<blueprint> not supported)
 | xref:languages/yaml.adoc[YAML]                | Integrations written in YAML 
DSL are supported
-| xref:languages/groovy.adoc[Groovy]            | Groovy `.groovy` files are 
supported (experimental)
 |=======================
 
 More information about each language is located in the language specific 
sections. Mind that the compatibility of each DSL with Camel will depend on the 
runtime you'll use to run the Integration.
diff --git a/e2e/native/native_with_sources_test.go 
b/e2e/native/native_with_sources_test.go
index e2fb9f3dd..6ceeb3cf9 100644
--- a/e2e/native/native_with_sources_test.go
+++ b/e2e/native/native_with_sources_test.go
@@ -79,18 +79,5 @@ func TestNativeHighMemoryIntegrations(t *testing.T) {
 
                })
 
-               t.Run("groovy native support", func(t *testing.T) {
-                       name := RandomizedSuffixName("groovy-native")
-                       g.Expect(KamelRun(t, ctx, ns, "files/Groovy.groovy", 
"--name", name, "-t", "quarkus.build-mode=native", "-t", 
"builder.tasks-limit-memory=quarkus-native:9.5Gi").Execute()).To(Succeed())
-
-                       g.Eventually(IntegrationPodPhase(t, ctx, ns, name), 
TestTimeoutVeryLong).Should(Equal(corev1.PodRunning))
-                       g.Eventually(IntegrationPod(t, ctx, ns, name), 
TestTimeoutShort).
-                               Should(WithTransform(getContainerCommand(), 
MatchRegexp(".*camel-k-integration-\\d+\\.\\d+\\.\\d+[-A-Za-z]*-runner.*")))
-                       g.Eventually(IntegrationConditionStatus(t, ctx, ns, 
name, v1.IntegrationConditionReady), TestTimeoutShort).
-                               Should(Equal(corev1.ConditionTrue))
-
-                       g.Eventually(IntegrationLogs(t, ctx, ns, name), 
TestTimeoutShort).Should(ContainSubstring("Groovy Magicstring!"))
-               })
-
        })
 }
diff --git a/pkg/apis/camel/v1/common_types.go 
b/pkg/apis/camel/v1/common_types.go
index d181b1e92..c828016be 100644
--- a/pkg/apis/camel/v1/common_types.go
+++ b/pkg/apis/camel/v1/common_types.go
@@ -502,18 +502,22 @@ const (
        // LanguageJavaSource used for Java.
        LanguageJavaSource Language = "java"
        // LanguageGroovy used for Groovy.
+       // Deprecated: language no longer supported.
        LanguageGroovy Language = "groovy"
        // LanguageJavaScript  used for Javascript.
+       // Deprecated: language no longer supported.
        LanguageJavaScript Language = "js"
        // LanguageXML used for XML.
        LanguageXML Language = "xml"
        // LanguageKotlin used for Kotlin.
+       // Deprecated: language no longer supported.
        LanguageKotlin Language = "kts"
        // LanguageYaml used for YAML.
        LanguageYaml Language = "yaml"
        // LanguageKamelet used for Kamelets.
        LanguageKamelet Language = "kamelet"
        // LanguageJavaShell used for Java Shell.
+       // Deprecated: language no longer supported.
        LanguageJavaShell Language = "jsh"
 )
 

Reply via email to