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."
asteroide [Thu, 24 Sep 2015 09:27:16 +0000 (11:27 +0200)]
Delete tests for intra_extensions because they are in tests_tenants.json
Change-Id: I1aa888142ccf87654b9701986a02d63b57d9d93f
asteroide [Thu, 24 Sep 2015 09:21:23 +0000 (11:21 +0200)]
Create user in Keystone database when needed.
Change-Id: Ie898bd663e572785bd98b4d9143caa6a9bc5cead
asteroide [Thu, 24 Sep 2015 07:26:52 +0000 (09:26 +0200)]
Delete unneeded egg information.
Change-Id: I8decd141ac29de5b3aea56b49ccf94dbb84c04ba
asteroide [Wed, 23 Sep 2015 20:21:52 +0000 (22:21 +0200)]
Automatically create tenant in Keystone if tenant name doesn't exist in Keystone.
Change-Id: I773c2508092b3aeb921a9f7a4133331ca04c1858
WuKong [Wed, 23 Sep 2015 12:30:45 +0000 (14:30 +0200)]
finish moonclient-review2, only problem about intra-extension
Change-Id: I2867ca2ce1498dd06cbdd0d6b672a5cb2e920f37
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Wed, 23 Sep 2015 09:58:00 +0000 (11:58 +0200)]
review moonclient
Change-Id: I0969fe42fd756c025d549d0cffe07943cddd2d15
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Ruan HE [Tue, 22 Sep 2015 20:22:19 +0000 (20:22 +0000)]
Merge "Remove some unneeded logs."
asteroide [Tue, 22 Sep 2015 19:51:38 +0000 (21:51 +0200)]
Remove some unneeded logs.
Change-Id: I9a39b183f2613081eafef28bc8e385b7c2fbb628
asteroide [Tue, 22 Sep 2015 19:49:24 +0000 (21:49 +0200)]
Fix all rule commands.
Change-Id: Ib0f30f2a9e26b4a9ac22af94c2b526a4e4f79e2e
WuKong [Tue, 22 Sep 2015 15:30:12 +0000 (17:30 +0200)]
moonclient documentation
Change-Id: I82a8f4fc4a66fbe2b751b7a0653616256ed689ed
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Ruan HE [Tue, 22 Sep 2015 09:09:31 +0000 (09:09 +0000)]
Merge "Remove unneeded files in tree."
Ruan HE [Tue, 22 Sep 2015 09:04:18 +0000 (09:04 +0000)]
Merge "Change the regular expression used to catch ''"
asteroide [Tue, 22 Sep 2015 09:04:18 +0000 (11:04 +0200)]
Remove unneeded files in tree.
Change-Id: I55fd30cf60d8854f84b37b65bbe135690df545fb
Ruan HE [Tue, 22 Sep 2015 09:03:48 +0000 (09:03 +0000)]
Merge "Delete all references to the AggregationAlgorithms SQL table."
asteroide [Tue, 22 Sep 2015 08:59:20 +0000 (10:59 +0200)]
Change the regular expression used to catch ''
Change-Id: I62a6f21b0a22fac0c82799a77b8cab202242b5c0
asteroide [Tue, 22 Sep 2015 08:30:36 +0000 (10:30 +0200)]
Delete all references to the AggregationAlgorithms SQL table.
Change-Id: Ia508870842d17e6b8e2d8f34bd362cf3377f1594
asteroide [Tue, 22 Sep 2015 08:12:04 +0000 (10:12 +0200)]
Fix all SubMetaRule commands.
Change-Id: I9aa775be6843e11e321e9deca254204618719fcd
Ruan HE [Mon, 21 Sep 2015 17:10:04 +0000 (17:10 +0000)]
Merge topic 'moon-abe-stable'
* changes:
abe stable
abe stable
WuKong [Mon, 21 Sep 2015 17:08:15 +0000 (19:08 +0200)]
abe stable
Change-Id: I24636de149d71b3c9fcdec7587c5f71ade23fe4b
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Mon, 21 Sep 2015 17:07:08 +0000 (19:07 +0200)]
abe stable
Change-Id: I52379627346ce52264042110c133f544284a8f00
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
asteroide [Mon, 21 Sep 2015 14:50:16 +0000 (16:50 +0200)]
Put the ID of aggregation algorithm for a particular IntraExtension in the intraextensions table and generate a static UUID for each aggregation algorithms in the memory backend.
Change-Id: Ic56dc05ca3d7e099e1d529c5bb88b5d93de88ae1
asteroide [Fri, 18 Sep 2015 13:38:28 +0000 (15:38 +0200)]
Fix the configuration commands and add the tests for them.
Change-Id: I47beb7dd0854e749fece1cd10a4591d8e9115dcc
Ruan HE [Fri, 18 Sep 2015 12:34:53 +0000 (12:34 +0000)]
Merge "Add action assignments commands and the tests for them."
asteroide [Fri, 18 Sep 2015 12:30:56 +0000 (14:30 +0200)]
Add action assignments commands and the tests for them.
Change-Id: I5d6f41179a68e77b2a0fd3bc052da1a4a65103e0
asteroide [Fri, 18 Sep 2015 12:25:54 +0000 (14:25 +0200)]
Add object assignments commands and the tests for them.
Change-Id: Icec67fd57fec3468b5a0c63e98d85aa2ae6d5da1
Ruan HE [Fri, 18 Sep 2015 10:24:59 +0000 (10:24 +0000)]
Merge "Add subject assignments commands and the tests for them."
Ruan HE [Fri, 18 Sep 2015 10:24:31 +0000 (10:24 +0000)]
Merge "Change the way the data strings are replaced to allow similar variables on the same line."
asteroide [Fri, 18 Sep 2015 10:21:47 +0000 (12:21 +0200)]
Add subject assignments commands and the tests for them.
Change-Id: I11312fa5413b02b505b853785bf7fbd4d27a806a
asteroide [Fri, 18 Sep 2015 10:19:10 +0000 (12:19 +0200)]
Change the way the data strings are replaced to allow similar variables on the same line.
Change-Id: I0ba5f0151ebc144015196b758c1bde587da63e7b
asteroide [Fri, 18 Sep 2015 09:50:38 +0000 (11:50 +0200)]
Fix a bug when adding an assignment.
Change-Id: Ic3055c39ce0202808c8f7ca0d1d4dfac71145af0
Ruan HE [Fri, 18 Sep 2015 07:50:14 +0000 (07:50 +0000)]
Merge "Fix a bug in subjects tests."
asteroide [Fri, 18 Sep 2015 07:21:54 +0000 (09:21 +0200)]
Fix a bug in subjects tests.
Change-Id: I0919a806437682aaa45df8bf48b06ac36fc5d9ac
asteroide [Thu, 17 Sep 2015 21:01:35 +0000 (23:01 +0200)]
Add all commands for scopes and add tests for them.
Change-Id: Id6fd4755158e52aa35569579aa6d60e4a0b2b535
Ruan HE [Thu, 17 Sep 2015 15:24:15 +0000 (15:24 +0000)]
Merge "Fix some bugs in subjects tests and add objects and actions tests"
Ruan HE [Thu, 17 Sep 2015 15:23:04 +0000 (15:23 +0000)]
Merge "Fix subject, object and action categories commands and add tests for them."
asteroide [Thu, 17 Sep 2015 15:21:23 +0000 (17:21 +0200)]
Fix subject, object and action categories commands and add tests for them.
Change-Id: I36dac141516da4a21c71cd7dadbb468fde255df7
asteroide [Thu, 17 Sep 2015 15:01:52 +0000 (17:01 +0200)]
Fix some bugs in subjects tests and add objects and actions tests
Change-Id: Ie9c1954f7989385dee3fc909a65ee36ccc893626
asteroide [Thu, 17 Sep 2015 14:49:29 +0000 (16:49 +0200)]
In controllers, user_id is the Keystone ID and that don't match with the id in the core.enforce.
Change-Id: Ib7dc8452b16da3f82ff48b74bd29cf04f3390834
asteroide [Thu, 17 Sep 2015 07:56:48 +0000 (09:56 +0200)]
Add a select command to IntraExtension.
Change-Id: Ia78a10b51a17e9376e125130973f3813cc423f94
Ruan HE [Wed, 16 Sep 2015 14:53:19 +0000 (14:53 +0000)]
Merge "Add more checks when setting tenant."
asteroide [Wed, 16 Sep 2015 14:41:29 +0000 (16:41 +0200)]
Add more checks when setting tenant.
Change-Id: I76d812d94c2c2a9c48ee26395f45a3f130883201
asteroide [Wed, 16 Sep 2015 14:38:55 +0000 (16:38 +0200)]
Add a better output to tests command.
Change-Id: If581feabafc9c36e5923a3c3939e4d5a61b64619
Ruan HE [Wed, 16 Sep 2015 14:11:54 +0000 (14:11 +0000)]
Merge "Fix a bug in object_assignments SQL table."
asteroide [Wed, 16 Sep 2015 13:56:45 +0000 (15:56 +0200)]
Fix a bug in object_assignments SQL table.
Change-Id: Iad6a13fac0081ad077a99e2a07514ee6e96329ce
asteroide [Wed, 16 Sep 2015 13:55:12 +0000 (15:55 +0200)]
Add tests for subjects.
Change-Id: Ic50fe0edea69d73569011005534f1bbea180635d
Ruan HE [Wed, 16 Sep 2015 08:57:54 +0000 (08:57 +0000)]
Merge "Correct all the action commands."
asteroide [Wed, 16 Sep 2015 08:43:33 +0000 (10:43 +0200)]
Correct all the action commands.
Change-Id: Ife449552171a995b36c168fa516428b0d7c4058e
asteroide [Wed, 16 Sep 2015 08:41:36 +0000 (10:41 +0200)]
Add the tests command to MoonClient.
Change-Id: I7f294e7f388af25473aba686958d4d9207580baf
Ruan HE [Tue, 15 Sep 2015 14:04:45 +0000 (14:04 +0000)]
Merge "Add informations about tenant in the Moon Application."
asteroide [Tue, 15 Sep 2015 13:57:01 +0000 (15:57 +0200)]
Add informations about tenant in the Moon Application.
Change-Id: I8d8a5e2aaa58d5f7a1974b977b321ed01127189f
asteroide [Tue, 15 Sep 2015 13:54:51 +0000 (15:54 +0200)]
Correct all the object commands.
Change-Id: I69663f5e1bc8628ca7853f2c6c3e4b9691697de4
Ruan HE [Tue, 15 Sep 2015 09:25:06 +0000 (09:25 +0000)]
Merge "Correct all the subject commands."
Ruan HE [Tue, 15 Sep 2015 09:23:50 +0000 (09:23 +0000)]
Merge "Rebuild the intraextension attribute with the new Moon API."
asteroide [Tue, 15 Sep 2015 09:23:50 +0000 (11:23 +0200)]
Correct all the subject commands.
Change-Id: I54b29c7cee95b39d55f5bd9a722d5a20f6e5d2e2
asteroide [Tue, 15 Sep 2015 09:19:53 +0000 (11:19 +0200)]
Rebuild the intraextension attribute with the new Moon API.
Change-Id: Ibcbec7b1ebc9bdc29a894312a29dd3f9e3823c3a
asteroide [Tue, 15 Sep 2015 09:14:47 +0000 (11:14 +0200)]
The genre attribute may be not set. So automatically setting it, by looking to the name of the model.
Change-Id: I744ee376e6b235bfb3a7ac75582e8d9426746d35
asteroide [Fri, 11 Sep 2015 15:45:54 +0000 (17:45 +0200)]
Debug all the tenant commands in moonclient and fix some bugs in opnfv-moon related to tenant.
Change-Id: I1d21df2a55545582a98c17181255ab53cab5689b
Ruan HE [Fri, 11 Sep 2015 09:09:51 +0000 (09:09 +0000)]
Merge "Change the deletion behaviour of scope and assignment when deleting an intra-extension because of foreign key contraints."
asteroide [Fri, 11 Sep 2015 08:55:17 +0000 (10:55 +0200)]
Change the deletion behaviour of scope and assignment when deleting an intra-extension because of foreign key contraints.
Change-Id: I8451eb583052327e97ff06097e5f6e6baaa7619b
asteroide [Thu, 10 Sep 2015 09:47:38 +0000 (11:47 +0200)]
Add a forgotten foreing key in Rules table.
Change-Id: Iab99fe52206abcf85fcbe56f2cc83d63eef9091a
Ruan HE [Thu, 10 Sep 2015 07:46:59 +0000 (07:46 +0000)]
Merge "get_aggregation_algorithm_dict now return an empty dictionnary if algorithm is not found."
asteroide [Thu, 10 Sep 2015 07:41:16 +0000 (09:41 +0200)]
get_aggregation_algorithm_dict now return an empty dictionnary if algorithm is not found.
Change-Id: I53d821ea88958e53ba72467f44251fabcc1ae55e
asteroide [Tue, 8 Sep 2015 12:43:58 +0000 (14:43 +0200)]
Add_tenant can now be used even if the tenant ID is unknown.
Change-Id: I623483c99a349bd1ccc3b5b88c3973ce28dfd633
Ruan HE [Mon, 7 Sep 2015 12:34:45 +0000 (12:34 +0000)]
Merge "End of Keystone code update to branch Master and fix some bugs."
Ruan HE [Mon, 7 Sep 2015 12:34:26 +0000 (12:34 +0000)]
Merge "First modifications of moonclient to comply with the current Moon API."
asteroide [Fri, 4 Sep 2015 15:14:14 +0000 (17:14 +0200)]
End of Keystone code update to branch Master and fix some bugs.
Change-Id: Iad3c4f0e6fc78532b92761aa46f2d8508f46a7da
asteroide [Fri, 4 Sep 2015 15:12:29 +0000 (17:12 +0200)]
First modifications of moonclient to comply with the current Moon API.
Change-Id: I8c5e2f6edb17409729d5735f3d49fbdc906a2ca8
Ruan HE [Fri, 4 Sep 2015 07:35:22 +0000 (07:35 +0000)]
Merge "init attribute-based encription"
Ruan HE [Fri, 4 Sep 2015 07:35:06 +0000 (07:35 +0000)]
Merge "init attribute-based encryption"
WuKong [Fri, 4 Sep 2015 07:32:20 +0000 (09:32 +0200)]
init attribute-based encription
Change-Id: I5549c390d7ee376d65b0833826c11f6c4023c7e4
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Fri, 4 Sep 2015 07:25:34 +0000 (09:25 +0200)]
init attribute-based encryption
Change-Id: Iba1a3d722110abf747a0fba366f3ebc911d25b25
asteroide [Tue, 1 Sep 2015 14:03:26 +0000 (16:03 +0200)]
Update Keystone code from official Github repository with branch Master on 09/01/2015.
Change-Id: I0ff6099e6e2580f87f502002a998bbfe12673498
asteroide [Mon, 31 Aug 2015 10:00:56 +0000 (12:00 +0200)]
Fix all tests.
Change-Id: I62fcce5942dee7ed5755fe20d012e4a0d5c535c9
WuKong [Mon, 10 Aug 2015 12:28:27 +0000 (14:28 +0200)]
review code
Change-Id: Ie3be0aa22331803a9e2ef8837f8637bb762ae720
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Fri, 7 Aug 2015 16:08:59 +0000 (18:08 +0200)]
review code
Change-Id: Idf3aedc0355fbe714a4a4808fcd2e4749da53195
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
asteroide [Fri, 31 Jul 2015 14:49:31 +0000 (16:49 +0200)]
Play unit tests and modify code accordingly. (some tests are still not OK).
Change-Id: I021081710411be12ffbbb0a3c8192626dbf9f8ce
Ruan HE [Mon, 27 Jul 2015 16:58:51 +0000 (16:58 +0000)]
Merge "Raise AuthzException in IntraExtensionAuthzManager whenn needed (untested)."
Ruan HE [Mon, 27 Jul 2015 16:27:08 +0000 (16:27 +0000)]
Merge "Add, del, set subjects in both IntraAuthzExtension, IntraAdminExtension. (untested)"
Ruan HE [Mon, 27 Jul 2015 16:26:23 +0000 (16:26 +0000)]
Merge "Add more log in authz function. (untested)"
Ruan HE [Mon, 27 Jul 2015 16:25:52 +0000 (16:25 +0000)]
Merge "Add deletion of secondary keys in core.py and add a forgotten API function in driver (del_aggregation_algorithm) (untested)"
asteroide [Mon, 27 Jul 2015 15:48:09 +0000 (17:48 +0200)]
Raise AuthzException in IntraExtensionAuthzManager whenn needed (untested).
Change-Id: Ibf7771c97804a632456a4f0807b909ce99365c1a
asteroide [Mon, 27 Jul 2015 15:42:05 +0000 (17:42 +0200)]
Add, del, set subjects in both IntraAuthzExtension, IntraAdminExtension. (untested)
Change-Id: Ifca8f915fd50e3557478d9e3dcc1cd96dc22e277
asteroide [Mon, 27 Jul 2015 14:58:49 +0000 (16:58 +0200)]
Add more log in authz function. (untested)
Change-Id: Iae7323a1865bc61f72107e9e8521c6d1a237ccb6
asteroide [Mon, 27 Jul 2015 14:31:21 +0000 (16:31 +0200)]
Add deletion of secondary keys in core.py and add a forgotten API function in driver (del_aggregation_algorithm) (untested)
Change-Id: I442d874846d375d7266df1567f40110e32ef0c57
asteroide [Mon, 27 Jul 2015 09:36:27 +0000 (11:36 +0200)]
Add initialization for ADMIN_ID and ROOT_EXTENSION_ID in core.py.
Change-Id: I25e69dbc19e7c4d896c0a0430805198a76f06957
WuKong [Fri, 24 Jul 2015 12:28:44 +0000 (14:28 +0200)]
review core tenant test
Change-Id: Ic18de1a039fc57451b12220b60cb913ce43051a6
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
asteroide [Fri, 24 Jul 2015 10:36:12 +0000 (12:36 +0200)]
add_tenant function in controllers.py nox check if tenant name exist in Keystone
fix some bugs in enforce function and SQL functions
Change-Id: Ie760aad146d249fa6d98edbbb64dae732724e756
WuKong [Wed, 22 Jul 2015 13:46:03 +0000 (15:46 +0200)]
finish review code
Change-Id: Ie39003b523b287837d4f93f82c035b8f921067a5
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Wed, 22 Jul 2015 13:36:11 +0000 (15:36 +0200)]
finish review code
Change-Id: Ic5c9dcff1efe48f39cdb3f614675c0f945fe9a27
Signed-off-by: WuKong <rebirthmonkey@gmail.com>