[Container-tools] Templating in Atomic App & xpath like params
Václav Pavlín
vpavlin at redhat.com
Wed Jul 1 13:46:24 UTC 2015
Hi Daniel,
To understand what's needed for
https://github.com/projectatomic/nulecule/issues/70
you will want to look at this method:
_applyTemplate() -
https://github.com/projectatomic/atomicapp/blob/master/atomicapp/run.py#L101
And in connection to that at
_processArtifacts() -
https://github.com/projectatomic/atomicapp/blob/master/atomicapp/run.py#L121
where the apply function is called.
To simply describe the code - it goes through the graph and it
substitutes values from params/answers for each component for a specific
provider in each artifact.
Should you have more questions, feel free to ask.
Regards,
Vašek
--
Architect - Senior Software Engineer
Developer Experience
Brno, Czech Republic
Phone: +420 739 666 824
More information about the Container-tools
mailing list