asteroide [Wed, 16 Dec 2015 15:15:22 +0000 (16:15 +0100)]
Update and fix the new keystonemiddleware moon manager.
Change-Id: I76c318c7b10e9cfc9b134d4cc29daf3e247cdb20
asteroide [Fri, 11 Dec 2015 09:01:41 +0000 (10:01 +0100)]
Delete an unnecessary API link.
Change-Id: I907456ff282ec83234f66a979da18b1d46ca77fc
asteroide [Thu, 10 Dec 2015 16:10:06 +0000 (17:10 +0100)]
Change API calls to have less loops and change the API calls in the enforce function.
Change-Id: Ia8a2eebcd014967a34fd0f7bf6cd09e7cdad64ed
asteroide [Mon, 7 Dec 2015 10:08:28 +0000 (11:08 +0100)]
Fix a deletion after Keytone update from source.
Change-Id: I9aafe31377b467f2580f7781cec5b30c0150ee8b
asteroide [Thu, 3 Dec 2015 14:46:12 +0000 (15:46 +0100)]
Add try / except because moonlog_api is missing sometimes (need more investigations).
Change-Id: I6d6bb334984e9a33fd6e43c5a1b97d9e7500d8f8
asteroide [Wed, 2 Dec 2015 08:49:33 +0000 (09:49 +0100)]
Update keystone to the branch stable/liberty.
Change-Id: I7cce62ae4b4cbca525a7b9499285455bdd04993e
Ruan HE [Tue, 1 Dec 2015 16:25:58 +0000 (16:25 +0000)]
Merge topic 'r2-func-moonclient-tests'
* changes:
Fix an issue when executing all tests at the same time.
Add date and time in log files.
Ruan HE [Tue, 1 Dec 2015 16:25:13 +0000 (16:25 +0000)]
Merge "Add a debug output for testing purpose."
asteroide [Tue, 1 Dec 2015 14:51:17 +0000 (15:51 +0100)]
Fix an issue when executing all tests at the same time.
Change-Id: I1215c6e005438f19f042a4296fcaf156ea7d0ffe
asteroide [Tue, 1 Dec 2015 14:49:18 +0000 (15:49 +0100)]
Add date and time in log files.
Change-Id: I07a148c01afcab0330e4d95d118439635908013d
asteroide [Tue, 1 Dec 2015 14:22:57 +0000 (15:22 +0100)]
Add a debug output for testing purpose.
Change-Id: I3f830afa9f8d15c14e4685f3618d92acfaedbc1d
asteroide [Tue, 1 Dec 2015 14:00:30 +0000 (15:00 +0100)]
Fix an error on aggregation algorithm.
Change-Id: If5387e847c3102d78c71fe3ee194133e20959e1b
Ruan HE [Fri, 27 Nov 2015 13:27:21 +0000 (13:27 +0000)]
Merge "When deleting an intra-extension, deletion may be impossible due to foreign key constraints."
asteroide [Fri, 27 Nov 2015 09:36:00 +0000 (10:36 +0100)]
When deleting an intra-extension, deletion may be impossible due to foreign key constraints.
Change-Id: I6a8421e80f68abdf80516f76b87f611249a1e80a
asteroide [Fri, 27 Nov 2015 09:31:46 +0000 (10:31 +0100)]
Delete a moonclient test which is not necessary.
Change-Id: I938753f5c6072a75df32203dc13f3f8f8ad89ff7
asteroide [Wed, 25 Nov 2015 16:12:41 +0000 (17:12 +0100)]
Add an aggregator for moonclient tests.
Change-Id: I4c784def32998cdb998bc5532a24e6a7a6dcb3b7
Ruan HE [Wed, 25 Nov 2015 15:10:23 +0000 (15:10 +0000)]
Merge "Add a "no_result" key in JSON test files because "(?!...)" regular expression doesn't work as expected."
asteroide [Wed, 25 Nov 2015 14:45:29 +0000 (15:45 +0100)]
Add a "no_result" key in JSON test files because "(?!...)" regular expression doesn't work as expected.
Change-Id: I67a8b6a529b71bc7499ba68cb431403a63482c1c
asteroide [Wed, 25 Nov 2015 14:34:23 +0000 (15:34 +0100)]
Automatically delete assignments related to a category when user asks to delete this category.
Change-Id: Ic906572bb5938891d103b11fc49b6b392edc20ef
Ruan HE [Wed, 25 Nov 2015 14:05:28 +0000 (14:05 +0000)]
Merge "moon monthly meeting report"
wukong [Wed, 25 Nov 2015 14:04:40 +0000 (15:04 +0100)]
moon monthly meeting report
Change-Id: If769426ea57b3d458962f938f9b6263ed32dba16
asteroide [Wed, 25 Nov 2015 09:48:04 +0000 (10:48 +0100)]
Re-run unittests and fix some bugs.
Change-Id: Ibf63942a55bd4c3792bbfb4cd25d665923a3b1af
Ruan HE [Tue, 24 Nov 2015 14:47:33 +0000 (14:47 +0000)]
Merge "Fix a small bug in test."
Ruan HE [Tue, 24 Nov 2015 14:47:07 +0000 (14:47 +0000)]
Merge "Manage the case where the content from Keystone is empty."
Ruan HE [Tue, 24 Nov 2015 14:46:25 +0000 (14:46 +0000)]
Merge "Delete the unused shell_command."
asteroide [Tue, 24 Nov 2015 14:08:31 +0000 (15:08 +0100)]
Fix a small bug in test.
Change-Id: I0458f3105fe1fe3e84d3264f29a24f53b6967ebe
asteroide [Tue, 24 Nov 2015 14:06:24 +0000 (15:06 +0100)]
Manage the case where the content from Keystone is empty.
Change-Id: I0bb6ae144436114c569024115f9c835f7aab9e1d
asteroide [Tue, 24 Nov 2015 14:03:21 +0000 (15:03 +0100)]
Delete the unused shell_command.
Change-Id: I238ab36e06da03b7fd15772e2fdf70254405fd41
asteroide [Tue, 24 Nov 2015 14:01:11 +0000 (15:01 +0100)]
When deleting a subject, check if the authz/admin intra-extension exists in order to not try to delete a subject in a non-existent intra-extension.
Change-Id: Ief26dccc856ab565b3ba610cf6c7a95c20fab297
wukong [Mon, 23 Nov 2015 16:48:48 +0000 (17:48 +0100)]
moon-abe cleanup
Change-Id: Ie1259856db03f0b9e80de3e967ec6bd1f03191b3
Ruan HE [Mon, 23 Nov 2015 16:41:33 +0000 (16:41 +0000)]
Merge "Add password and authurl in global moonclient command."
Ruan HE [Mon, 23 Nov 2015 16:41:10 +0000 (16:41 +0000)]
Merge "Split time and message in logs from Keystone-Moon."
Ruan HE [Mon, 23 Nov 2015 16:40:22 +0000 (16:40 +0000)]
Merge "Fix 2 bugs in Logs (in controller and in DB)"
asteroide [Mon, 23 Nov 2015 15:48:41 +0000 (16:48 +0100)]
Add password and authurl in global moonclient command.
Change-Id: Idfa0716e0c9fb70c0f0000e2a110c3edf7ca7993
asteroide [Mon, 23 Nov 2015 15:28:25 +0000 (16:28 +0100)]
Split time and message in logs from Keystone-Moon.
Change-Id: I842f98b2018e9f15e64d68c2f6d2c5a3b213cc35
asteroide [Mon, 23 Nov 2015 15:25:09 +0000 (16:25 +0100)]
Fix 2 bugs in Logs (in controller and in DB)
Change-Id: Ifdf9fdbd5956335647d9fb44679f941a699fd7a2
Ruan HE [Mon, 23 Nov 2015 09:10:59 +0000 (09:10 +0000)]
Merge "Merge branch 'r3' to master"
Ruan HE [Sun, 22 Nov 2015 21:45:40 +0000 (21:45 +0000)]
Merge "Some aesthetic modifications in logs."
Ruan HE [Sun, 22 Nov 2015 21:45:19 +0000 (21:45 +0000)]
Merge "Get errors from Keystone-Moon and throw them from Moonclient"
Ruan HE [Sun, 22 Nov 2015 21:43:22 +0000 (21:43 +0000)]
Merge "Add tests for moonclient which authorize a new user to modify the admin intra-extension."
Ruan HE [Sun, 22 Nov 2015 21:42:39 +0000 (21:42 +0000)]
Merge "During authorization, the subject ID was sometime the Keystone ID which leads to a false authorization error."
asteroide [Fri, 20 Nov 2015 15:06:40 +0000 (16:06 +0100)]
Some aesthetic modifications in logs.
Change-Id: Ic6809bf6e9d9aab47adff1d65870c51e2e47fb8b
asteroide [Fri, 20 Nov 2015 15:04:31 +0000 (16:04 +0100)]
Get errors from Keystone-Moon and throw them from Moonclient
Change-Id: I686f2d49b0c41a8352ed9c18805fbf4058d8ad3d
asteroide [Fri, 20 Nov 2015 14:45:03 +0000 (15:45 +0100)]
Add tests for moonclient which authorize a new user to modify the admin intra-extension.
Change-Id: I6b942f43a67c1e148546b64b3dd0dcda8a6e78b1
asteroide [Fri, 20 Nov 2015 14:42:45 +0000 (15:42 +0100)]
During authorization, the subject ID was sometime the Keystone ID which leads to a false authorization error.
Change-Id: If2e0d2aa6cd1e759be3de500c91d72cbdbaa846e
asteroide [Fri, 20 Nov 2015 14:38:46 +0000 (15:38 +0100)]
Add an init API function to force the reload of the root intra-extension.
Change-Id: Ieee84a30cbd1ee0a5d4ca3359b7f5afbc39afffc
Wukong [Wed, 18 Nov 2015 20:39:13 +0000 (21:39 +0100)]
Merge branch 'r3' to master
Wukong [Wed, 18 Nov 2015 20:25:49 +0000 (21:25 +0100)]
keystonemiddleware create abe and authz mgrs
Change-Id: I5f93644cdaa850402f86996905a169ada5457f97
Signed-off-by: Wukong <rebirthmonkey@gmail.com>
Wukong [Wed, 18 Nov 2015 20:12:02 +0000 (21:12 +0100)]
keystonemiddleware, create moon_agent
Change-Id: I5447ac9f3ef2795ba4ed0592471fb9639e6bcc2c
Signed-off-by: Wukong <rebirthmonkey@gmail.com>
Wukong [Wed, 18 Nov 2015 19:58:09 +0000 (20:58 +0100)]
update .gitignore to cleanup moonclient build, dist
Change-Id: Iff2301abaf131158c260d46a59a0e452e35884c5
Signed-off-by: Wukong <rebirthmonkey@gmail.com>
wukong [Fri, 13 Nov 2015 09:40:41 +0000 (10:40 +0100)]
extension to sleep 10s for nova test
Change-Id: Ia49500e18ddc676a60016e7f720f14ad21ec027d
Signed-off-by: wukong <rebirthmonkey@gmail.com>
Thomas D [Fri, 13 Nov 2015 08:53:46 +0000 (08:53 +0000)]
Merge "keystonemiddleware/authz.py clean up token"
Ruan HE [Fri, 13 Nov 2015 08:49:50 +0000 (08:49 +0000)]
Merge "update gitignore for abe"
wukong [Thu, 12 Nov 2015 15:56:13 +0000 (16:56 +0100)]
keystonemiddleware/authz.py clean up token
Change-Id: I066c4de1abbb635bb954df5423bb250a4f0f22cf
Signed-off-by: wukong <rebirthmonkey@gmail.com>
Ruan HE [Mon, 9 Nov 2015 15:34:00 +0000 (15:34 +0000)]
Merge "Add 'special' test operation allowing to change authentication (name, url, ...) during test and add a shell operation in test procedure."
asteroide [Mon, 9 Nov 2015 15:07:16 +0000 (16:07 +0100)]
Add 'special' test operation allowing to change authentication (name, url, ...) during test and add a shell operation in test procedure.
Change-Id: I44f91b19d438dc92183d58f99047228ea5dc257a
asteroide [Mon, 9 Nov 2015 14:48:03 +0000 (15:48 +0100)]
Add an empty admin policy.
Change-Id: Iafd5faef37506416b736dba374e1839b5d380faa
asteroide [Mon, 9 Nov 2015 09:04:27 +0000 (10:04 +0100)]
Add username and tenant parameters to Moonclient
Change-Id: Ie96e7b579a5fe6e1cae4198cbd7ca59d7e39fb21
Ruan HE [Thu, 5 Nov 2015 17:07:13 +0000 (17:07 +0000)]
Merge "Delete tests_empty_policy file (move to tests_empty_policy_nova)"
Ruan HE [Thu, 5 Nov 2015 17:06:55 +0000 (17:06 +0000)]
Merge "Change middleware behaviour because of swift requests."
asteroide [Thu, 5 Nov 2015 13:37:39 +0000 (14:37 +0100)]
Delete tests_empty_policy file (move to tests_empty_policy_nova)
Change-Id: Id29fd1253e8c8ec01b54226c614e8a712246ea5a
asteroide [Thu, 5 Nov 2015 13:36:16 +0000 (14:36 +0100)]
Change middleware behaviour because of swift requests.
Change-Id: Ibb5c25d40a2004701a20a8903e70f1a6c8704ae1
asteroide [Thu, 5 Nov 2015 13:32:46 +0000 (14:32 +0100)]
Add a test file for swift command.
Change-Id: Ib0762510b0cf389dfa9c7b08da9dbb907755cf82
asteroide [Wed, 4 Nov 2015 09:45:47 +0000 (10:45 +0100)]
Add more tests (assignments for nova server set from low to high)
Change-Id: I3bd369cc3c6f3cfcc2c6e8ea207d7d638a9e08e5
Ruan HE [Tue, 3 Nov 2015 15:10:37 +0000 (15:10 +0000)]
Merge "Add an empty policy test file."
Ruan HE [Tue, 3 Nov 2015 15:10:16 +0000 (15:10 +0000)]
Merge "Add a overall result for test groups."
Ruan HE [Tue, 3 Nov 2015 15:09:40 +0000 (15:09 +0000)]
Merge "Fix a bug when setting an algorithm for submetarules."
Ruan HE [Tue, 3 Nov 2015 15:08:54 +0000 (15:08 +0000)]
Merge "Improve some exception logs mainly for debugging purposes."
asteroide [Tue, 3 Nov 2015 15:03:17 +0000 (16:03 +0100)]
Add an empty policy test file.
Change-Id: Idbc4130e0977f3d9ff3f995821809bbc1e56764c
asteroide [Tue, 3 Nov 2015 15:02:15 +0000 (16:02 +0100)]
Add a overall result for test groups.
Change-Id: I462de32b4c5ade21e336b1e9aa0bf825c5bf3b44
asteroide [Tue, 3 Nov 2015 15:00:13 +0000 (16:00 +0100)]
Fix a bug when setting an algorithm for submetarules.
Change-Id: Ieef5732ed02dd43cad81688c7201fea5986e6956
asteroide [Tue, 3 Nov 2015 14:57:49 +0000 (15:57 +0100)]
Improve some exception logs mainly for debugging purposes.
Change-Id: Ie6b2ba1bfdc5e8729605e935481669b90990b2d8
Ruan HE [Tue, 3 Nov 2015 14:40:08 +0000 (14:40 +0000)]
Merge "moon's monthly meeting for 2015-11-03"
wukong [Tue, 3 Nov 2015 14:29:27 +0000 (15:29 +0100)]
moon's monthly meeting for 2015-11-03
Change-Id: I5c67011380342ee9e8ba26e7ba9d00363cd93aad
Signed-off-by: wukong <rebirthmonkey@gmail.com>
Ruan HE [Mon, 2 Nov 2015 16:48:48 +0000 (16:48 +0000)]
Merge "Add the possibility to launch external command like 'nova list', 'nova pause ...', ..."
asteroide [Mon, 2 Nov 2015 16:45:55 +0000 (17:45 +0100)]
Add the possibility to launch external command like 'nova list', 'nova pause ...', ...
Change-Id: Ie563df0161693ea5e1c84cae3d6a3b23712ad3fc
asteroide [Mon, 2 Nov 2015 09:04:26 +0000 (10:04 +0100)]
Add an empty policy.
Change-Id: I8431b348e1df18c586aa5f1edf72803b152b6128
WuKong [Mon, 26 Oct 2015 09:50:08 +0000 (10:50 +0100)]
add officel projet docs
Change-Id: I4d3cd5f6806f25b7aa2cdd20415de9fd835a5c5a
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Fri, 23 Oct 2015 10:03:29 +0000 (12:03 +0200)]
review cleanup
Change-Id: Ic72d6fe4f8d88b1b676fdef2c975dbc614fc583f
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Fri, 23 Oct 2015 08:03:13 +0000 (10:03 +0200)]
update gitignore for abe
Change-Id: I648cc66a6fb9c45be785eead0832eb5ee3c42b5d
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Ruan HE [Wed, 14 Oct 2015 20:08:24 +0000 (20:08 +0000)]
Merge "When a tenant is not managed by Moon, the result of the authz function is always True."
asteroide [Wed, 14 Oct 2015 20:00:28 +0000 (22:00 +0200)]
When a tenant is not managed by Moon, the result of the authz function is always True.
Change-Id: Ic63d93371fb1661078367c47ce9ccd0c99537070
asteroide [Wed, 14 Oct 2015 19:24:57 +0000 (21:24 +0200)]
Change the way the tenant dict is updated with Keystone information on the add_tenant_dict.
Change-Id: Ifa164a51b0195f546b97267ffca677bbf3a18eca
asteroide [Mon, 12 Oct 2015 15:51:43 +0000 (17:51 +0200)]
Change the 'intraextension create' to 'intraextension add'.
Change-Id: I23932ce17e00044d87b8dcf2065571c0e82a7a30
asteroide [Mon, 12 Oct 2015 14:46:08 +0000 (14:46 +0000)]
Merge "Check the content of tenant_dict['intra_admin_extension_id'] to allow or not the synchronisation process."
asteroide [Mon, 12 Oct 2015 14:45:10 +0000 (16:45 +0200)]
Check the content of tenant_dict['intra_admin_extension_id'] to allow or not the synchronisation process.
Change-Id: Iba22a1ae8444f2367272ef68b8310b5bff7c2b0c
WuKong [Mon, 12 Oct 2015 13:58:32 +0000 (15:58 +0200)]
correct rbac policy
Change-Id: Id49873abe4abc7622cbf68704bf73ae998f54149
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
asteroide [Mon, 12 Oct 2015 13:09:28 +0000 (13:09 +0000)]
Merge "Fix a bug when sending a new log in moon_api."
asteroide [Mon, 12 Oct 2015 13:05:19 +0000 (15:05 +0200)]
Fix a bug when sending a new log in moon_api.
Change-Id: I8a457018bd2e03f2fcaed3143d2c4c2df7bcfbf7
asteroide [Mon, 12 Oct 2015 13:03:23 +0000 (15:03 +0200)]
Fix a bug when raising an exception.
Change-Id: Iec52a659d18f5589e533adc9da2da29f6a38adde
WuKong [Mon, 12 Oct 2015 12:29:11 +0000 (14:29 +0200)]
create scenario test
Change-Id: Id392d900583a31fb53a9da5bcb0c47746f34491a
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
asteroide [Sat, 26 Sep 2015 21:31:49 +0000 (23:31 +0200)]
Review the KeystoneMiddleware code, fix some bugs in the authz functions.
Change-Id: I9d9966c061fc71cd8ef5ce88217dcdfa63e0722f
Ruan HE [Fri, 25 Sep 2015 15:44:49 +0000 (15:44 +0000)]
Merge "Delete unexistant objects."
asteroide [Fri, 25 Sep 2015 15:29:05 +0000 (17:29 +0200)]
Delete unexistant objects.
Change-Id: Ib4fd2554e602df5d4170760972fd37516b524e04
asteroide [Fri, 25 Sep 2015 15:26:50 +0000 (17:26 +0200)]
Fix a bug in aggregation_algorithm functions.
Change-Id: Id480972ce81173c720e5e2461ad5fd472aecc90e
asteroide [Thu, 24 Sep 2015 14:27:16 +0000 (16:27 +0200)]
Update Keystone code from repository.
Change-Id: Ib3d0a06b10902fcc6d520f58e85aa617bc326d00
Ruan HE [Thu, 24 Sep 2015 12:58:47 +0000 (12:58 +0000)]
Merge "Update code from KeystoneMiddleware Github repository (Master)."
asteroide [Thu, 24 Sep 2015 12:39:09 +0000 (14:39 +0200)]
Update code from KeystoneMiddleware Github repository (Master).
Change-Id: Id28c5bf48b3dbb6c8a08e66411b5785029f6857d
Ruan HE [Thu, 24 Sep 2015 09:30:05 +0000 (09:30 +0000)]
Merge "Delete tests for intra_extensions because they are in tests_tenants.json"
Ruan HE [Thu, 24 Sep 2015 09:29:08 +0000 (09:29 +0000)]
Merge "Create user in Keystone database when needed."