-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add to_xml and from_xml filter plugin #56
Add to_xml and from_xml filter plugin #56
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please add unit and integration tests
putting this out for conversation, does simply |
As its only specific to json and xml conversion and xml to json i think xml_to_json and json_to_xml are valid names. if we are supporting from any data format to xml then to_xml sounds good. @cidrblock @ganeshrn please let me know your inputs on this. |
I was thinking more about this pattern: {{ some_variable | to_json }} where the transform is being done from data ansible has (which is a python object, not specifically json) in the case of from_xml, the user is left with a native data object as well. WDYT ganesh? |
|
added uts and integration testcases |
@cidrblock @ashwini-mhatre As per your earlier comment we can rename the plugins to |
@ganeshrn @cidrblock will rename these plugins as to_xml and from_xml. |
tttlease enter the commit message for your changes. Lines starting
t Please enter the commit message for your changes. Lines starting
recheck |
recheck |
SUMMARY
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION