Create a command line entry point for heat-translator.
Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com>
Change-Id: I0a2970480d855d325f11393fade3f49732ef0411
Allow input templates and imported custom types to be provided as URLs
with Heat-Translator auto-detecting the type (file vs URL), and add
necessary unit tests.
Note, since for some test cases currently the required file does not
exist on github, we temporarily use files hosted somewhere else. Once
the patch is merged a follow-on patch will be submitted to fix that
issue and use URLs of the new files that are submitted with this patch.
Change-Id: I79c07c228d9d4de22f84ef384d46e3605b9a649e
Closes-Bug: #1340748
Partially Implements: blueprint tosca-namespaces
Update doc to remove toscalib references. Completing the work to remoev TOSCA
code from heat-translator herewith.
Change-Id: I6a36b443ea60ed9944caa05f0368623923715425
Implements: blueprint use-tosca-parser-library
Added heat-translator-logging.conf
heat-translator.py and osc/v1/translate.py reads configuration file.
Added warning log messages before raising exceptions
To be added proper log messages in the code with other log levels
Partially Implements: blueprint heat-translator-logging
Change-Id: I5aeb39a83dc8dcc59245968d3dd8a6451d93865c
Make the first change to use new TOSCA pypi library using updated
requirements. In order to keep Jenkins run smoothly, this work will
be done under few different patches with considerably small changes.
Partially Implements: blueprint use-tosca-parser-library
Change-Id: Icc1fa300e9003d8a6d51f0c69418a52a00816b22
Add translation support for tosca.datatypes.network.PortDef
data type and create unit tests for it.
Change-Id: Iec56590d2d00cfb1a36f03339bd041b9ab35dd12
Closes-Bug: #1477735
This program provide a good usage to test the Heat-Translator tool on the
command line with expection of similar usage via Heat python client in near
future. The TOSCA hello world use case is implemented for quick testing
as well.
implements blueprint tosca-translator-cli-test-utility
Change-Id: Ia4ddf65aafcbe440ea9551ccc2648de4a7c88c97