Translate non-heat templates to Heat Orchestration Template.
Go to file
Yoshiro Watanabe 10569ba4a4 [WIP]Move test samples to reduce setuptools warnings
Previously there are a lot of warning messages of setuptools
in the log files of tox jobs. This is mainly caused by test
samples because these are in python codes directories.

This patch moves test samples from under
{heat-translator_root}/translator/tests to under
{heat-translator_root}/samples/tests.

This patch also contains the following changes:
* Remove "skipsdist = True" from tox.ini
* Fixed usage.rst command example.
* Changeing unit tests that reference external URL to use mock

Change-Id: I25f5bd945bfcfa029641de4828cfad13e3d3d516
2024-04-24 02:21:26 +00:00
doc [WIP]Move test samples to reduce setuptools warnings 2024-04-24 02:21:26 +00:00
samples [WIP]Move test samples to reduce setuptools warnings 2024-04-24 02:21:26 +00:00
translator [WIP]Move test samples to reduce setuptools warnings 2024-04-24 02:21:26 +00:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:27:05 +00:00
.gitignore Added a module for intrinsic function. 2014-07-14 17:41:55 +03:00
.gitreview OpenDev Migration Patch 2019-04-19 19:35:22 +00:00
.mailmap Add .gitreview file and apply cookiecutter template. 2014-04-01 09:43:50 -05:00
.testr.conf Add .gitreview file and apply cookiecutter template. 2014-04-01 09:43:50 -05:00
.zuul.yaml Switch to 2023.1 Python3 unit tests and generic template name 2022-09-14 09:29:59 +00:00
CONTRIBUTING.rst [ussuri][goal] Update contributor documentation 2021-06-02 15:49:45 +00:00
HACKING.rst Update hacking version 2018-12-10 05:25:03 -05:00
heat_translator.py Create command line entry point 2015-10-02 14:41:37 -04:00
LICENSE Add .gitreview file and apply cookiecutter template. 2014-04-01 09:43:50 -05:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-23 16:59:45 +08:00
requirements.txt Drop lower-constraints.txt and its testing 2022-08-26 17:14:56 +09:00
run_py-tosca-parser-master.sh [ussuri][goal] Drop python 2.7 support and testing 2020-02-04 21:02:09 +01:00
setup.cfg Update metadata in setup.cfg 2023-09-23 06:35:09 +00:00
setup.py [ussuri][goal] Drop python 2.7 support and testing 2020-02-04 21:02:09 +01:00
test-requirements.txt Fix gate by adding extras to test-requirements.txt 2024-02-09 14:25:13 +00:00
tox.ini [WIP]Move test samples to reduce setuptools warnings 2024-04-24 02:21:26 +00:00

Team and repository tags

image

Heat-Translator

Overview

Heat-Translator is an Openstack project and licensed under Apache 2. It is a command line tool which takes non-Heat templates as an input and produces a Heat Orchestration Template (HOT) which can be deployed by Heat. Currently the development and testing is done with an aim to translate OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) templates to HOT. However, the tool is designed to be easily extended to use with any format other than TOSCA.

Architecture

Heat-Translator project takes a non-Heat template (e.g. TOSCA flat YAML template or template embedded in TOSCA Cloud Service Archive (CSAR) format) as an input, calls an appropriate Parser (e.g. TOSCA Parser) per the type of input template to parse it and create an in-memory graph, maps it to Heat resources and then produces a Heat Orchestration Template (HOT) as an output.

How To Use

Please refer to doc/source/usage.rst

Directory Structure

Three main directories related to the heat-translator are:

  1. hot: It is the generator, that has logic of converting TOSCA in memory graph to HOT YAML files.
  2. common: It has all the file that can support the execution of parser and generator.
  3. tests: It contains test programs and more importantly several templates which are used for testing.

Project Info