GitHub user tliron opened a pull request: https://github.com/apache/incubator-ariatosca/pull/207
ARIA-1 Parser test suite This commit additionally fixes many parser bugs revealed by the test suite, which includes adding validations that were missing. A new "extensions" tox suite is introduced. The /tests/parser cases were refactored into /tests/topology and /tests/extensions. The Hello World example was fixed and refactored, as it in fact had invalid TOSCA (it previously passed due to a missing validation). Parser performance was greatly improved by: 1. Switching to the YAML C library 2. Aggressive caching of parsed presentations 3. The ability to skip importing the TOSCA profile 4. A new deepcopy_fast util 5. A new BlockingExecutor that is much faster for single-threaded use Unicode is now fully supported for all validation and log message. This requires the use a unicode (u'' notation) for all .format specs. Additionally, PyLint comment directives have been standardized by pushing them to column 100. You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/incubator-ariatosca ARIA-1-parser-test-suite Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-ariatosca/pull/207.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #207 ---- commit 22cee6d90c5873230eabe7449b5bbccf33222bad Author: Tal Liron <tal.li...@gmail.com> Date: 2017-08-17T22:50:27Z ARIA-1 Parser test suite This commit additionally fixes many parser bugs revealed by the test suite, which includes adding validations that were missing. A new "extensions" tox suite is introduced. The /tests/parser cases were refactored into /tests/topology and /tests/extensions. The Hello World example was fixed and refactored, as it in fact had invalid TOSCA (it previously passed due to a missing validation). Parser performance was greatly improved by: 1. Switching to the YAML C library 2. Aggressive caching of parsed presentations 3. The ability to skip importing the TOSCA profile 4. A new deepcopy_fast util 5. A new BlockingExecutor that is much faster for single-threaded use Unicode is now fully supported for all validation and log message. This requires the use a unicode (u'' notation) for all .format specs. Additionally, PyLint comment directives have been standardized by pushing them to column 100. ---- ---