-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c6cb42c
commit 6860bda
Showing
43 changed files
with
143 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
## Project structure | ||
1. karavan-generator | ||
Generate Camel Models and Api from Camel sources to Typescript in karavan-core | ||
2. karavan-core | ||
Front-end Camel Models and Api | ||
3. karavan-Designer | ||
KaravanDesigner UI component | ||
4. karavan-web | ||
Karavan Cloud Application | ||
* karavan-app | ||
Karavan Application to be installed into Kubernetes | ||
* karavan-cli | ||
Karavan CLI to install into Kubernetes | ||
* karavan-operator | ||
Karavan Operator to install into Openshift | ||
5. karavan-vscode | ||
VS Code extension based on Karavan Designer | ||
|
||
## How to build Karavan Web Application | ||
1. Generate Camel Models and API for Typescript | ||
``` | ||
mvn clean compile exec:java -Dexec.mainClass="org.apache.camel.karavan.generator.KaravanGenerator" -f karavan-generator | ||
``` | ||
|
||
2. Install Karavan core library | ||
``` | ||
cd karavan-core | ||
npm install | ||
``` | ||
|
||
3. Build Karavan app | ||
``` | ||
cd karavan-web | ||
mvn clean package -f karavan-app -Dquarkus.profile=public | ||
``` | ||
|
||
## How to build Karavan VS Code extension | ||
1. Generate Camel Models and API for Typescript | ||
``` | ||
mvn clean compile exec:java -Dexec.mainClass="org.apache.camel.karavan.generator.KaravanGenerator" -f karavan-generator | ||
``` | ||
|
||
2. Install Karavan core library | ||
``` | ||
cd karavan-core | ||
npm install | ||
``` | ||
|
||
3. Build Karavan VS Code extension | ||
``` | ||
cd karavan-vscode | ||
npm update && npm install | ||
npm install -g @vscode/vsce | ||
vsce package | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
![karavan-logo](../images/karavan-logo-dark.png#gh-dark-mode-only) | ||
![karavan-logo](../images/karavan-logo-light.png#gh-light-mode-only) | ||
|
||
# Documentation | ||
|
||
## User guide | ||
|
||
### Web Application | ||
|
||
Karavan Web Application is a container deployed into Kubernetes/OpenShift | ||
|
||
1. [Install](WEB_INSTALL.md) | ||
2. [How to use](WEB_HOWTO.md) | ||
|
||
### VS Code extensions | ||
|
||
VS Code extension available on the [Marketplace](https://marketplace.visualstudio.com/items?itemName=camel-karavan.karavan). | ||
|
||
Extensions for VS Code Compatible Editors available on [Open VSX Registry](https://open-vsx.org/extension/camel-karavan/karavan) | ||
|
||
1. [Install](VSCODE_INSTALL.md) | ||
2. [How to use](VSCODE_HOWTO.md) | ||
|
||
|
||
## Developer Guide | ||
|
||
1. [How to build Karavan](DEV.md) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Create and edit integration | ||
|
||
## Create new Integration | ||
|
||
![create](../images/create.png) | ||
|
||
## Edit an existing Integration | ||
|
||
![open](../images/open.png) | ||
|
||
|
||
# Run integration | ||
|
||
## Run integration locally | ||
* Run in UI: click `Run` button | ||
|
||
![run](../images/run.png) | ||
|
||
* Run using CLI | ||
```shell | ||
jbang -Dcamel.jbang.version=3.21.0 camel@apache/camel run $INTEGRATION.yaml --max-messages=10 --logging-level=info | ||
``` | ||
|
||
## Export integration to Maven project | ||
|
||
* Export using context menu | ||
![export](../images/export.png) | ||
|
||
* Export using CLI | ||
```shell | ||
jbang -Dcamel.jbang.version=3.21.0 camel@apache/camel export --directory=export | ||
``` | ||
|
||
# Issues | ||
|
||
If you find a new issue, please [create a new issue report in GitHub](https://github.com/apache/camel-karavan/issues)! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Installation | ||
|
||
## Prerequisites | ||
* Microsoft VS Code installed. You can get the most recent version from (https://code.visualstudio.com/) for your chosen operating system. | ||
* [Camel JBang] installed(https://camel.apache.org/manual/camel-jbang.html) | ||
|
||
## How to install | ||
1. Open your VS Code Integrated Development Environment (IDE). | ||
2. In the VS Code Activity Bar, select Extensions. (Alternatively, press Ctrl+Shift+X). | ||
3. In the search bar, type **Karavan** | ||
4. In the **Apache Camel Karavan** box, click **Install**. | ||
|
||
![install](../images/install.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
## How to use Karavan | ||
|
||
|
||
[![Watch the video](https://img.youtube.com/vi/trsZyzEvbWw/default.jpg)](https://youtu.be/trsZyzEvbWw) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters