Currently while listing the sync_jobs.Kingbird doesnt display
the parameter (created_at) and source_region in the job_details.
Change-Id: I4814f8039dfc080dc340a15c94d0292e57604e1b
Currently the oslo.messaging has update its configuration to use
transport_url for message bus configuration, and openstack endpoint
creation aslo has new strutucture, need to update the installation
guide to make it work in new release.
python-kingbirdclient was introduced, so the usage
guide is updated to use python-kingbirdclient. The new feature
key pair synchronization is also included in the usage guide.
Change-Id: I725da3a8dbb83109130473d9bc86381303d2c174
Signed-off-by: joehuang <joehuang@huawei.com>
Kingbird has two bug fixes 1652747,1654569 cause tempest failures,
This commit provides fix for the same.
Depends-on: I6fd74f63cde69c8a21d3e347cea206fc629e7c36
Change-Id: I7ea8a4f14b68f4f9d0a81379d9207063811e3ce6
Added Tempest testcases for Kingbird keypair_sync.
Added resource_management directory to Kingbird tempest
which contains tempest testcases for keypair_sync.
Change-Id: I6fd74f63cde69c8a21d3e347cea206fc629e7c36
Keypair_sync syncs multiple keypairs from one region to another region.
Add test-case for the same.
Partially Depends on: Iba1c789715aa7c7d00a7a2ec23a449c72a757ac1
closes-Bug: 1640162
Change-Id: I42ed749f8e2c91740249735d32ef8494e50f17f8
Create two tables sync_job and resource_sync.
Sync_job contains job details of which id is the primary-key.
id is taken as a foreign-key and is also a part of composite primary key
along with Resource,Region off the resource_sync table.
Also created the api-calls with which interaction between the
application and the database occurs.
Added Test_cases for the same.
Change-Id: Iba1c789715aa7c7d00a7a2ec23a449c72a757ac1
Currently Non-admin tenants can view quota of other tenants.
With this change we can restrict such actions by throwing exception
"Admin required". Added test_cases for the same.
Currently there is no validation for the url in the Curl Request.
With this change we can validate the URL and restrict such actions.
Added test_cases and made compatible for tempest.
closes-bug: 1652747
closes-bug: 1654569
Change-Id: Ia27801e61004b1aef6397db8f6bfa183761949a4
To be co-installable with other OpenStack projects and have consistent
testing it's a good idea (tm) to use constraints when creating tox
environments.
Change-Id: I71b8abd0e7caaca2e0403ef2bfa1cfa15d434448
We need enabled users to perform sync job for user specific
resources such as keypairs.
Extended current OpenStack, Keystone drivers to return the users.
Added UTs for the same.
Modified UTs for listing enabled projects.
Change-Id: I0a439d4a95afc0e7960b2255ac1779eb683d041e
1. If token expired, keystone.tokens.validate would receive a 401 code and raise an Unauthorized exception.
2. Make sure the token dose not expire soon.
Change-Id: Id88d5319b58ca12ab40d482499c2c428f17ce5e4
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
In some part in the code we import objects. In the Openstack style
guidelines they recommend to import only modules.
http://docs.openstack.org/developer/hacking/#imports
Change-Id: I16375787fd1216c8ac26cbbb9dd0a433b839f76a
There were minor issues with context object
manipulation which was raising exception during
db access with non admin role users, fixed it.
Change-Id: I8bf2b272b6feefc989a390e7b7869dbb58386534
Closes-Bug: #1610610