Skip to content

Commit 1638a5c

Browse files
vignesh-maneldavsclaus
authored andcommitted
refactored to plugin
1 parent 2552610 commit 1638a5c

22 files changed

Lines changed: 2016 additions & 1002 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
2+
// AUTO-GENERATED by camel-package-maven-plugin - DO NOT EDIT THIS FILE
3+
= camel diagram
4+
5+
Visualize Camel routes using Hawtio
6+
7+
8+
== Usage
9+
10+
[source,bash]
11+
----
12+
camel diagram [options]
13+
----
14+
15+
16+
17+
== Options
18+
19+
[cols="2,5,1,2",options="header"]
20+
|===
21+
| Option | Description | Default | Type
22+
| `--browser` | Playwright browser to use (chromium only) | chromium | String
23+
| `--jolokia-port` | Jolokia port to attach when exporting PNG | 8778 | int
24+
| `--keep-running` | Keep the background Camel integration running after exiting Hawtio | false | boolean
25+
| `--name` | Name or pid of running Camel integration | | String
26+
| `--openUrl` | To automatic open Hawtio web console in the web browser | true | boolean
27+
| `--output` | Write a PNG snapshot of the route diagram to the given file | | Path
28+
| `--playwright-browser-path` | Path to the Playwright browser executable | | String
29+
| `--port` | Port number to use for Hawtio web console (port 8888 by default) | 8888 | int
30+
| `--renderer` | Renderer to use (hawtio) | hawtio | String
31+
| `--route-id` | Route id to render (defaults to the first route) | | String
32+
| `-h,--help` | Display the help and sub-commands | | boolean
33+
|===

dsl/camel-jbang/camel-jbang-core/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,6 @@
103103
<artifactId>ascii-table</artifactId>
104104
<version>${ascii-table-version}</version>
105105
</dependency>
106-
<dependency>
107-
<groupId>com.microsoft.playwright</groupId>
108-
<artifactId>playwright</artifactId>
109-
<version>${playwright-version}</version>
110-
</dependency>
111106

112107
<!-- jolokia -->
113108
<dependency>

dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/CamelJBangMain.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ public void execute(String... args) {
130130
.addSubcommand("list", new CommandLine(new DependencyList(this)))
131131
.addSubcommand("runtime", new CommandLine(new DependencyRuntime(this)))
132132
.addSubcommand("update", new CommandLine(new DependencyUpdate(this))))
133-
.addSubcommand("diagram", new CommandLine(new Diagram(this)))
134133
.addSubcommand("dirty", new CommandLine(new Dirty(this)))
135134
.addSubcommand("eval", new CommandLine(new EvalCommand(this))
136135
.addSubcommand("expression", new CommandLine(new EvalExpressionCommand(this))))

0 commit comments

Comments
 (0)