MarcelRosenberger opened a new issue, #1546:
URL: https://github.com/apache/camel-karavan/issues/1546

   ### Describe the solution you'd like
   
   I need to share (complete) projects from one karavan installation to another 
where the installations are isolated from each other.
   
   Currently, the only way to do it is by exporting files from git (using gitea 
web) and importing them into the other git again. This requires direct access 
to the underlying git file system or gitea web. Each file could also be copied 
one by one using karavan ui, but this is only feasible for a few files.
   
   Instead, I propose to implement an upload and download feature for projects 
directly from karavan ui (see the following screenshots).
   
   This feature would also allow to help friends / customers with their setup 
and quickly review their projects in one's own karavan installation.
   
   **Upload**
   A zip archive may contain the following files:
   - example-1/application.properties
   - example-2/docker-compose.yaml
   - example-2/whatever.txt
   - example-2/my-route.camel.yaml
   - kamelets/shared-custom-action.kamelet.yaml
   - example-1/application.properties
   - example-1/docker-compose.yaml
   - example-1/my-route.caml.yaml
   
   When uploading this zip archive I want the projects `example-1` and 
`example-2` to be created (if they do not exist). Existing files should be 
overwritten, but only if requested by the user explicitly.
   The kamelet `shared-custom-action.kamelet.yaml` should be created (or 
skipped if it exists and overwriting is not requested).
   
   **Download**
   The list of projects should include a button for creating a zip archive with 
all files of the project. This zip archive could be used to upload it again in 
another installation.
   
   **Screenshots**
   Project rows have a new download-icon that triggers the download of a zip 
archive:
   <img width="1185" height="593" alt="Image" 
src="https://github.com/user-attachments/assets/f42c0d9d-571d-493c-b155-882fc2e69507";
 />
   
   Project page shows a new Upload button on the right top:
   <img width="1191" height="603" alt="Image" 
src="https://github.com/user-attachments/assets/0ac2e26e-3352-4f99-af72-b84d7b124a54";
 />
   
   When clicking the Upload button this dialog asks for the zip archive file 
and if existing files should be overwritten:
   <img width="960" height="777" alt="Image" 
src="https://github.com/user-attachments/assets/44d8ee9e-b6de-4352-be01-7c221cdfaceb";
 />
   
   ### Variant
   
   Web Application
   
   ### Container Management (if applicable)
   
   None
   
   ### Operating System (for VS Code Extension)
   
   None


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to