Skip to content

Commit

Permalink
added base64 format
Browse files Browse the repository at this point in the history
  • Loading branch information
jcastro committed Mar 8, 2022
1 parent b572d22 commit 19c7eed
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 3 deletions.
Binary file removed dist/camel-xml2dsl-0.0.20.tar.gz
Binary file not shown.
Binary file added dist/camel-xml2dsl-0.0.21.tar.gz
Binary file not shown.
Binary file removed dist/camel_xml2dsl-0.0.20-py3-none-any.whl
Binary file not shown.
Binary file added dist/camel_xml2dsl-0.0.21-py3-none-any.whl
Binary file not shown.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = camel-xml2dsl
version = 0.0.20
version = 0.0.21
author = Jorge Castro
author_email = jorgecastro05@hotmail.com
description = xml definition to dsl definition routes
Expand Down
2 changes: 1 addition & 1 deletion src/camel_xml2dsl.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: camel-xml2dsl
Version: 0.0.20
Version: 0.0.21
Summary: xml definition to dsl definition routes
Home-page: https://github.com/jorgecastro05/script-aro.git
Author: Jorge Castro
Expand Down
1 change: 0 additions & 1 deletion src/camel_xml2dsl.egg-info/entry_points.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
[console_scripts]
xml2dsl = xml2dsl.xml2dsl:main

3 changes: 3 additions & 0 deletions src/xml2dsl/xml2dsl.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ def jaxb_def(self, node):
else:
return '.jaxb("' + node.attrib['contextPath']+'")'

def base64_def(self,node):
return '.base64()'

def setHeader_def(self, node):
setHeader_predicate = self.analyze_element(node[0])
return '\n.setHeader("'+node.attrib['headerName']+'",' + setHeader_predicate+')'
Expand Down

0 comments on commit 19c7eed

Please sign in to comment.