Skip to content

ammachado/camel-xml2dsl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML to DSL route

Image!

Installing the script:

pip install camel_xml2dsl-0.0.x-py3-none-any.whl

Where x belongs to release version

Running the script

xml2dsl --xml xml_context_file.xml

Building the project (for developers)

Install dependencies

python3 -m pip install --upgrade build
python -m build

build and install

python -m build && pip install dist/camel_xml2dsl-0.0.1-py3-none-any.whl --force-reinstall

Docker run

A dockerfile is provided for creating the app container image, can be used with docker or podman.

Example with podman:

podman build -t xml2dsl .

Example with docker

docker build -t xml2dsl .

For run the app mount a volume where the xml is located and run the container in interactive mode:

podman run --privileged -it -v /home/user/Downloads/:/app:ro xml2dsl:latest /bin/bash

docker run -it -v /home/user/Downloads/:/app:ro xml2dsl:latest /bin/bash

Then run the utility

xml2dsl --xml context.xml

About

Camel XML to Java DSL convert utility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Dockerfile 0.4%