Skip to content

Commit

Permalink
chore(e2e): prepare languages deprecation
Browse files Browse the repository at this point in the history
It will be driven by the runtime setting though.
  • Loading branch information
squakez committed Sep 11, 2024
1 parent 032aee7 commit 66a346c
Show file tree
Hide file tree
Showing 16 changed files with 14 additions and 397 deletions.
3 changes: 0 additions & 3 deletions docs/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
** xref:languages/yaml.adoc[YAML]
** xref:languages/xml.adoc[XML]
** xref:languages/groovy.adoc[Groovy]
** xref:languages/javascript.adoc[Javascript]
** xref:languages/jsh.adoc[JSheel]
** xref:languages/kotlin.adoc[Kotlin]
* xref:configuration/configuration.adoc[Configuration]
** xref:configuration/dependencies.adoc[Dependencies]
** xref:configuration/build-time-properties.adoc[Build time properties]
Expand Down
38 changes: 0 additions & 38 deletions docs/modules/ROOT/pages/languages/javascript.adoc

This file was deleted.

25 changes: 0 additions & 25 deletions docs/modules/ROOT/pages/languages/jsh.adoc

This file was deleted.

124 changes: 0 additions & 124 deletions docs/modules/ROOT/pages/languages/kotlin.adoc

This file was deleted.

3 changes: 0 additions & 3 deletions docs/modules/ROOT/pages/languages/languages.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ Camel K supports multiple languages for writing integrations:
| 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)
| xref:languages/kotlin.adoc[Kotlin] | Kotlin Script `.kts` files are supported (experimental)
| xref:languages/jsh.adoc[JShell] | JShell (Java Shell) `.jsh` files are supported (experimental)
| xref:languages/javascript.adoc[JavaScript] | JavaScript `.js` 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.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/troubleshooting/debugging.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ As you can see in the logs, the CLI has configured the integration in debug mode

The JVM is suspended and waits for a debugger to attach by default: this behavior can be turned off using the `--suspend=false` option.

Last thing to do is, to start a remote debugger on `localhost:5005` with the **integration file (if using Java, Groovy or Kotlin), the Apache Camel project, or the Camel K Runtime project**, opened on your IDE.
Last thing to do is, to start a remote debugger on `localhost:5005` with the **integration file, the Apache Camel project, or the Camel K Runtime project**, opened on your IDE.

The following picture shows the configuration of a remote debugger in IntelliJ IDEA:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@
* limitations under the License.
*/

from("timer:tick")
.setHeader("m").constant("string!")
.setBody().simple("Magic\${header.m}")
.log("Kotlin \${body}");
import org.apache.camel.builder.RouteBuilder;

public class PolyglotJava extends RouteBuilder {
@Override
public void configure() throws Exception {
from("timer:tick")
.setHeader("m").constant("java")
.setBody().simple("Magicpolyglot-${header.m}")
.log("${body}");
}
}
21 changes: 0 additions & 21 deletions e2e/common/languages/files/js-polyglot.js

This file was deleted.

21 changes: 0 additions & 21 deletions e2e/common/languages/files/js.js

This file was deleted.

23 changes: 0 additions & 23 deletions e2e/common/languages/files/kotlin.kts

This file was deleted.

47 changes: 0 additions & 47 deletions e2e/common/languages/js_test.go

This file was deleted.

Loading

0 comments on commit 66a346c

Please sign in to comment.