forked from openstack/tosca-parser
-
Notifications
You must be signed in to change notification settings - Fork 4
Merge upstream #66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
micafer
wants to merge
73
commits into
master
Choose a base branch
from
devel
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Merge upstream #66
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Change-Id: I29f32edc2d84f6dde3c405bedacb41bd40f806a5
…ionship in "long" format. Change-Id: I7fefe31373bdc407599f1ebbf844c0a79aa0e241 Closes-Bug: 1779643
Change-Id: Iadcc341f80bd70ce95dc5aca27919f0ccbca0464
Small cleanups: * Use openstack-tox-cover template, this runs the cover job in the check queue only. Remove individual cover jobs. * Use openstack-lower-constraints-jobs template, remove individual jobs. * Sort list of templates Change-Id: I291ecf332983425be683c029b9c6e4f020192749
…t relationship in "long" format."
Change-Id: I5208080c1f7e12ed4a06dadec27193f98a6f8e0e
Change-Id: I5206cfa49701229e2d2d3821789f087ca8e27ad5
This patch adds `tosca.policies.reservation` policy_type in TOSCA definitions and it's related unit tests. Tacker Blueprint: https://blueprints.launchpad.net/tacker/+spec/reservation-vnfm Tacker Spec: https://review.openstack.org/#/c/561840/ Change-Id: Ic5d790df938b40d75bc50252e1e688e9c09eb568
Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: Ie628b74997cb4228d03f1b57280f7e42072e34fe
Change-Id: Ifbb15bd964db64374c9ebfe0bbaa1027395d65cf
Change-Id: I5fa4e69db7e059abd23a7252acc0fbe8c8b14369
All the integration testing has been moved to Bionic now[1] and py3.5 is not tested runtime for Train or stable/stein[2]. As per below ML thread, we are good to drop the py35 testing now: http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html [1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html [2] https://governance.openstack.org/tc/reference/runtimes/stein.html https://governance.openstack.org/tc/reference/runtimes/train.html Change-Id: Icca99a842cb4488e0fa1bd38bc383c4f233e61d7
This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
Sync sphinx dependency with global requirements. It caps python 2 since sphinx 2.0 no longer supports Python 2.7. Change-Id: I1a4715a60403ed9a76c9f2c55e566d83395bad7e Closes-Bug: 1831533
1. Replace git.openstack.org URLs with opendev.org URLs 2. Remove unncessary "==" 3. Update some URLs to latest Change-Id: If3b4940608ccaf9b005f8f512d83cc25e6744e3e
This is a mechanically generated patch to ensure unit testing is in place for all of the Tested Runtimes for Train. See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Change-Id: I8d0cb6cafdddbc8a0c61a4d0240c1ee0dc7058ac Story: #2005924 Task: #34209
Change-Id: Ia9140e45264e10dbd57759c6769ae41b2724d9ec Related-Bug: #1835505
Fixed a bug that can not be parsed if properties are not defined in the parent resource described in capabilities. Story: #2006298 Task: #36010 Change-Id: I32e3afbd454ccaa807f7d1b049f027c97a627701
Change-Id: Ieb7135c2f89c4217d97318d188b2ae7c23ce9122 Related-Bug: #1869350
The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Remove hacking and friends from lower-constraints, they are not needed for installation. Change-Id: If92e1e5e79b63497ca8bd29c403bbf2f0e907778
flake8 new release 3.8.0 added new checks and gate pep8 job start failing. hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new version with new checks. Though it is fixed in latest hacking but 2.0 and 3.0 has cap for flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also break the pep8 job if new check are added. To avoid similar gate break in future, we need to bump the hacking min version. - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html Change-Id: I1d5a9330e4b2a4be05ec1cd2fd2e73b7cb518299
Switch to openstackdocstheme 2.2.1 version. Using this version will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering problems Update Sphinx version as well. Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. Remove docs requirements from lower-constraints, they are not needed during install or test but only for docs building. openstackdocstheme renames some variables, so follow the renames before the next release removes them. A couple of variables are also not needed anymore, remove them. See also http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: Id214e9837a89e37ce1d26b7dad95682c53aff636
In load_yaml(), file descriptor is passed to yaml.load() without closing it. It causes unexpected `ResourceWarning`. Change-Id: Ib41b62deeac53485336353bf097b9f9d445e1013 Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
The mock third party library was needed for mock support in py2 runtimes. Since we now only support py36 and later, we don't need it in lower-constraints. These changes will help us to drop `mock` from openstack/requirements Change-Id: I6042360da647b8378d515d5dad35a9077b77e46d
Using `yaml.load()` without a loader is deprecated. This update replaces this method with `yaml.safe_load()` uses `yaml.SafeLoader`. Change-Id: I69caca2775d43de59e10c04a7684b22d999beab6 Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
"state" can be specified as a condition for event-based alarm. So this patch add it to the condition kayname list. https://review.opendev.org/#/c/700167/ Change-Id: Ib0d3a87c09aaea7b5c7863330285f86025f591ae
If user tries to load CSAR file with multiple flavours (eg: simple, complex) of VNFD, it only stores one object in nested_tosca_templates_with_topology. This patch fixes the issue for load VNFD that has multiple deployment flavours. Change-Id: I490b2189fd594f1acceb931215f8a665c758441c Closes-Bug: 1883220
…ype name Related-Bug #189726 Change-Id: I843fa7dfc928cb811ffd2fd8145644663e239976
Return the correct error in some cases where the unit is not set. Related-Bug #1897268 Change-Id: I83cfa7b8a26949026a6c51c50a5aec22eadd3725
Tosca-parser validates the required parameter for node_template but does not validate the required property of the policy like node_template. This patch fixes the issue for validation required property of policy. Change-Id: I137addfa0d7d46e6821573f7770214f5c1754172 Closes-Bug: 1903233
This update is to switch to wallaby jobs run with the latest tested runtimes. See Project Testing Interface for the details [1]. [1] https://governance.openstack.org/tc/reference/project-testing-interface.html Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com> Change-Id: Ic57383420558744f48eeb12eb8cbe6b1ab3dc0e3
This update is to drop six and all Python 2 support. Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com> Change-Id: Ieda51e621ee0477893fd3a0a06e696620c0a8f95
In the Node templates interfaces definition, Tosca parser only recognizes implementation as a file and not as an artifact name. ETSI SOL definition provides that Implementation may be an artifact name, and that the artifact definition will specify the artifact type and the file. This modification will allow both artifact name and file to be placed as value in "Implementation" definition. This is essential to allow onboarding of VNFD packages containing the Management Driver definition that specifies both Implementation definition value as the Artifact Name. https://review.opendev.org/#/c/740896/ Change-Id: I192d36499e7b731bbefaf3845f23f85d1e649ca5
Hacking 4.0.0 has introduce new optimal assert checks.
Please refer [1] for more details.
Additionally Hacking has enabled some new checks by default,
and the next update to the new release will introduce failures
in tosca-parser pep8 jobs.
The main impact is from I122d250cab90964c346e9d53046a97c25054bc00.
This patch adopts new optimal assert check.
[H211]: Change assertTrue(isinstance(A, B)) to assertIsInstance(A, B)
On bumping up the hacking version, below mention pep8 jobs failed.
This patch address the issues now, when the new hacking release starts
being used it will not cause a disruption.
pep8 run-test: commands[0] | flake8
./toscaparser/tests/test_toscatplvalidation.py:502:13:
H211: Use assert{Is,IsNot}instance
[1] https://docs.openstack.org/releasenotes/hacking/unreleased.html#relnotes-4-0-0
Change-Id: I5c83168267be63d4b3908ce6bb844a64bcee837d
UPPER_CONSTRAINTS_FILE is old name and deprecated, refer [1]. This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. [1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Change-Id: I7d08d44b2d631010d48b7bcb520eaab91eb40ede
In python 3, all strings are considered as unicode string. This patch drops the explicit unicode literal (u'...') or (u"..") appearances from the unicode strings. Change-Id: Idd8fde4c4330c5125ed33f85d12fa6a551165f96
The file babel.cfg is not used anymore. This patch removes the depreciated file and the translation sections in setup.cfg (extract_messages, compile_catalog and update_catalog) as these not needed anymore, Babel can generate translation files without them. Change-Id: I64879fdcc2cb2b1395d31947280d39081cf2676b
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.