This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I2eecc45d29554825b959b6df1d9d28b30b4e9c8d
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.
This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.
See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html
Needed-By: I32f02e904d36ed21a22a1e535b35a15318e1ee16
Change-Id: I70e83ea22be75e6c31428f56c6e68c49976d1eab
Now it is possible to set whole resource value through fuel2
using --value and --type without --key.
Partial-Bug: #1644814
Change-Id: Iea3c949c86e1376cfdfafbc86f7e3e3a4f5e1516
Keys operations tests moved from test_resources to
test_resource_key_operations.
Change-Id: Ie29007ed4e0fc046e0e75cbdb020608adf0dfc34
Partial-Bug: #1642330
Nested key can be specified with '.' separator: key1.key2.key3.
Nested keys handled in the API and in the fuel2.
Tests for keys operations moved from the test for resource values
to the test for resource key operations.
Change-Id: I73b5fd9a4a4720a96af351d7e6a7cea14d816f75
Partial-Bug: #1642330
Referecne to level values added to DB model and level marshalling.
Fuel2 commands lvl show, lvl list added.
Change-Id: I11fb465c00c411464d75229fc2f8bffdbb8dcc53
Closes-Bug: #1642326
In python-fuelclient >= 10 APIClient was renamed to DefaultAPIClient
Number of saving items decreased in the
test_get_resource_values_effective_lot_of_data
for fix test timeout error on the CI servers.
Change-Id: Icdad2f7acfc6a05684bb2d9e8f73d18a252f20e6
Closes-Bug: #1627944
Now only required resource values are fetched on calculating
effective values.
Calculation of effective values optimised to use indexed resource
values insead of going throw nested for loop.
Test for fetching values and effective values for 500 items
(nodes) added. Each resource value contains over than 10000 keys.
Logging added to the resource values fetching.
Change-Id: Icea7ece8a2bc6957bcb00c9d90d8cf59e5ca1da0
Closes-Bug: #1626147
Python 3.3 support would be dropped by
Infra team from mitaka,CI would no longer be testing it,
so projects should drop it also.
Change-Id: I2cccd7ff3ceb24acc7387e0baa6786978b31937b
We don't need to redirect client if name is passed instead
of the resource id. After redirect we will fetch exactly the
same object. So with redirects we had only overhead with API
requests handling and loading objects from the DB.
Change-Id: Id36de2f961a45c479dbab3dd2e842a5a5a4f71f6
Closes-Bug: #1625223
Error is rased now if nonexistent level specified in the set
resource value request. For instance we have env levels: ['a'].
Request to set resource value with levels ['a', 'b'] raises error
now.
Change-Id: I6ce8dc99b288196092a7e4cf69be9756d5b0f6dd
Closes-Bug: #1624271
Closes-Bug: #1614551
Keys deletion for values/overrides handled.
Default cliff formatter used for values/overrides operations.
Message on values/overrides set command added.
Change-Id: Ie47ff6a1cb98764447d045816ea6472a0701dcc3
Closes-Bug: #1622600
Standard cliff formatters used.
Environments operations refactored to use TuningBox
errors on object not found error.
Change-Id: I2bf66ec8169fd72dc4abd70ebc56501a58923e8e
Closes-Bug: #1616867
Now update/remove commands return messages on success or error.
Resource definitions operations refactored to use TuningBox
errors on object not found error.
Change-Id: I8bc4590a1ca28207562e03cb347d99801f421ff8
Closes-Bug: #1616866
Closes-Bug: #1619264
For debug purposes it is useful to know from which level value
or override came. Fetching lookup path debug info can be enabled
by adding parameter show_lookup to the get request.
Change-Id: Ic9e68930a206d36c00212289d6842c2c6eaea09c
Cascade deletion of resource definitons on the component deletion
fixed. Cascade only on the DB level is not enougth for deletion
referenced objects.
Resources definitions creation is not supported yet in the
component creation call. Resource definition would be able to
add to the component in the create resource definition call.
Update of resource definitions list is supported in the component
creation call.
Standard cliff formatters are used for fuel2 components operations.
Python-fuelclient added to test requirements.
Change-Id: If572f7437f48bdde65de114f6f70af3c071c1d0e
Requirement on package six added.
Detailed error description propagated for 404 errors.
Parse of comma separated client params implemented.
Delete and patch operation added to http client.
Change-Id: Id30358f9358047a0a6f6fd23341ab270edfa5874
Only name changing implemented under hierarchy_levels url. Whole
hierarchy change should be performed throught environment update.
Cascade deletion added to hierarchy levels on environment deletion.
Order of hierarchy levels fixed for environments GET requests.
Module levels_hierarchy was renamed to hierarchy_levels.
Change-Id: I0642892b517357ebc95427617413048f4db6fba3
Accordingly to REST API best practices we have the following urls
schema:
- /objects - for collection objects operations and new object creation,
- /objects/<id> - for specific object operations.
Change-Id: Ifebc613ab5dac1674a6de488dce5757da2362cd4
We don't need to have duplicate of levels hierarchy in the
level values. Without duplication we can easy change hierarchy
levels in the environment.
Cascade deletion added on level deletion to level values.
Change-Id: I9aded18c93b8c3f0f08e59817d33e7d21ff12d54
Implementation of resource values operations moved to library.
Filtration of resource definition with respect to envirionment id
implemented.
Implementation of resource overrides operations moved to library.
All business logic finally moved from the app to the library.
Change-Id: If5d14699e56485761ca6c54bd8bbf34dd21e9155