7 Commits

Author SHA1 Message Date
Miguel Caballer
2cfb765146 Bugfix the error in DataEntity.validate_datatype with functions
Change-Id: I42a369cccfb890ccdb8d49e01a220752cd710b4d
Related-Bug: 1583022
2016-05-18 10:29:01 +02:00
Miguel Caballer
df84de4860 Bugfix to show correct error message show in case of unknown field in a datatype
Change-Id: I3207b0ba7bf02154381e472dd2ee0496efdb5f20
Related-Bug: 1573139
2016-04-29 10:24:53 +02:00
Matt Rutkowski
0a91862a05 Implement PortSpec datatype and all spec. requirements
Support the built-in PortSpec datatype beyond basic schema by
checking for all sub properties and additional requirements
during validation.

Change-Id: Idb7ecbe7a8587badee59eae96c8f2b487e9dc0e6
2016-04-20 08:36:54 -05:00
Zahra
9f3e954a89 Added support for range type
The current code is missing support for handling range type which
is used is in PortSpec. Hence added support for it

Change-Id: I97bf1c68280dce3dba01938790ff4f4aee86dc1a
Closes-Bug: #1528164
2016-03-29 08:58:29 -05:00
Vahid Hashemian
ea4b3cdfc6 Update error message to a uniform format
Update error messages so they follow the same format.
Also, add i18n where it is missing, fix typo and grammatical
errors in messages, and fix vague messages so they are more
clear.

Change-Id: I06d29b4d8448f8c08fa199a316942f373b968d22
Closes-Bug: #1517271
2015-11-18 16:39:09 -08:00
Vahid Hashemian
8585e8fe1e Full validation of TOSCA templates
Modify the exception handling in TOSCA Parser so that all possible
validation errors are captured during parsing (instead of stopping
the parsing when the first error is encountered) and reported when
parsing is done.

Reporting the line number of each error will be implemented in a
separate patch.

Change-Id: I032c371fe0a73cdf901599ed4ae113f9157d8a1b
Partially-Implements: blueprint tosca-tpl-cli-validator
2015-11-13 16:11:46 -08:00
spzala
0a1568ba38 Redefine respository structure
Change the file structure to make appropriate for stand alone parser.

Change-Id: I6d5259b61b1cd82949262fee4930fa66703ad036
2015-08-25 08:18:39 -07:00