The *_domain_name options are always ignored because the *_domain_id
options have the default values. This moves the default definition from
id options to name options so that setting the *_domain_name options
work.
Change-Id: I124a81c8eca2392916bb3ec638bb9ae61d5226a2
MySQLOpportunisticTestCase was removed in oslo.db 13.0.0[1] and the
MySQLOpportunisticFixture should instead be used.
Also fixed bindep so that it works in Debian 12.
[1] a609333c5482228ee69baab91858e1812909cd55
Closes-Bug: #2038473
Change-Id: I56f7e055876204940bc65cc6309c3481b22c1c6c
Calling processutils.execute() other than subprocess to
fix bytes-like and str issue in python3.
Closes-bug: #2029392
Change-Id: I16436aa19da2cf53951c9ad27bca14033194651a
This reverts commit 5a7636786e.
Reason for revert: We do not handle href links properly and this breaks other services depending on Zaqar.
Change-Id: I5fb0f2f25c280dd69cfb99d9f9b320df552462dc
After this change, Zaqar-wsgi will not be forced to port 8888 by
devstack. Use apache proxy now and the endpoint will be like:
http://IP/messaging by default.
Change-Id: I413cd24a9ef70a8bbada46d63d5dfdff09366b3e
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I29fcb9afa016b1321b0b4c0118a8d7ffbc00b02e
oslo project provide jsonutils, the others project use it
this PS to update the json moudule to oslo jsonutils.
Closes-bug: #1966401
Change-Id: I9cbe9f03c32e4f42822def727aa2871d502641f4
We don't need this in a Python 3-only world.
Remove six in follows:
1. lower-constraints.txt
2. requirements.txt
3. zaqar/bench/observer.py
4. zaqar/common/api/api.py
5. zaqar/common/api/request.py
6. zaqar/common/api/response.py
7. zaqar/common/pipeline.py
8. zaqar/common/storage/select.py
Change-Id: I8669061e00fd929c24e62ce9fd4ba31aab63e0d4
pymongo has removed the ensure_index since 4.0.0.
So we need to update ensure_index to create_index
Fix the error that couldn't create subscription sucessfully.
Change-Id: Ic27e6e885ec5a575ebc168d91eee761177013b9d
The following arguments of the RequestContext class are deprecated
since oslo.context 2.18[1].
user : renamed to user_id
tenant : renamed to project_id
domain : renamed to domain_id
user_domain : renamed to user_domain_id
project_domain: renamed to project_domain_id
Change-Id: I29d901a8fa96acf55dc53f826a501a3109c0c7af
ABCs in collections should be imported from collections.abc and direct
import from collections is deprecated since Python 3.3.
Closes-Bug: #1936667
Change-Id: I60679f9e78e91bce1145d899332e871dd62d3a9c
Introduce "EXTRA-SPEC" request header to handling
the extra information when confirming subscription.
Developer could extend the tasks to support more functions.
User needs to specify the task name in value of "EXTRA-SPEC".
Change-Id: I9bca9a772d0f5a37c0d780c320ea2307c745a1e8
Implements: blueprint support-extra-specs-to-subscription-confirming
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:
1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.
2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.
Also replace policy.json to policy.yaml ref from doc and tests.
[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
Change-Id: I595b8c7cad7bb02486c8f0dd29fdc40789fc8e50
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I5f86837c601eb64dff3c370decd2670f2a6276b6
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
We don't need this in a Python 3-only world.
Remove six in follows:mport six
1. zaqar/storage/utils.py
2. zaqar/tests/functional/base.py
3. zaqar/tests/functional/http.py
4. zaqar/tests/functional/wsgi/v1/test_queues.py
5. zaqar/tests/functional/wsgi/v1_1/test_queues.py
6. zaqar/tests/helpers.py
Change-Id: I5bb806fd544bd10c7c6e561ef0eeffd6986897f0