diff --git a/dist/camel-xml2dsl-0.0.24.tar.gz b/dist/camel-xml2dsl-0.0.24.tar.gz deleted file mode 100644 index 2760723..0000000 Binary files a/dist/camel-xml2dsl-0.0.24.tar.gz and /dev/null differ diff --git a/dist/camel_xml2dsl-0.0.24-py3-none-any.whl b/dist/camel_xml2dsl-0.0.24-py3-none-any.whl deleted file mode 100644 index f096307..0000000 Binary files a/dist/camel_xml2dsl-0.0.24-py3-none-any.whl and /dev/null differ diff --git a/setup.cfg b/setup.cfg index 0e3f567..31d8c85 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = camel-xml2dsl -version = 0.0.24 +version = 0.0.25 author = Jorge Castro author_email = jorgecastro05@hotmail.com description = xml definition to dsl definition routes diff --git a/src/camel_xml2dsl.egg-info/PKG-INFO b/src/camel_xml2dsl.egg-info/PKG-INFO index cb8a8b6..4543c4f 100644 --- a/src/camel_xml2dsl.egg-info/PKG-INFO +++ b/src/camel_xml2dsl.egg-info/PKG-INFO @@ -1,13 +1,11 @@ Metadata-Version: 2.1 Name: camel-xml2dsl -Version: 0.0.24 +Version: 0.0.25 Summary: xml definition to dsl definition routes Home-page: https://github.com/jorgecastro05/script-aro.git Author: Jorge Castro Author-email: jorgecastro05@hotmail.com -License: UNKNOWN Project-URL: Bug Tracker, https://github.com/jorgecastro05/script-aro.git -Platform: UNKNOWN Classifier: Programming Language :: Python :: 3 Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent @@ -40,5 +38,26 @@ 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 diff --git a/src/camel_xml2dsl.egg-info/SOURCES.txt b/src/camel_xml2dsl.egg-info/SOURCES.txt index fc8ba31..9e5921b 100644 --- a/src/camel_xml2dsl.egg-info/SOURCES.txt +++ b/src/camel_xml2dsl.egg-info/SOURCES.txt @@ -9,4 +9,5 @@ src/camel_xml2dsl.egg-info/entry_points.txt src/camel_xml2dsl.egg-info/requires.txt src/camel_xml2dsl.egg-info/top_level.txt src/xml2dsl/__init__.py -src/xml2dsl/xml2dsl.py \ No newline at end of file +src/xml2dsl/xml2dsl.py +tests/test_xml2dsl.py \ No newline at end of file diff --git a/tests/camel-context.xml b/tests/camel-context.xml index 7b4062a..d17e687 100644 --- a/tests/camel-context.xml +++ b/tests/camel-context.xml @@ -96,7 +96,6 @@ ${body[0]} - ${header.unmarshall} @@ -187,10 +186,10 @@ - + - +