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>
asteroide [Wed, 22 Jul 2015 13:34:04 +0000 (15:34 +0200)]
Fix bugs by executing tests (need more work)
Change-Id: I4ab59ab0e9269568e26e48c6364a636e9b5088f1
WuKong [Tue, 21 Jul 2015 13:46:59 +0000 (15:46 +0200)]
add super_extension
Change-Id: I2f9e7bc1aa658e8a7ffb222a49abb2370cf1492f
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
asteroide [Tue, 21 Jul 2015 13:44:25 +0000 (15:44 +0200)]
Merge filter functions.
Change-Id: I3b49f78f31f83b7ac54cc936009842fee4f33e3a
asteroide [Tue, 21 Jul 2015 09:33:25 +0000 (11:33 +0200)]
Modify __load_* functions and object and action related functions.
Change-Id: I9016d1202d8fa93997f069706f1abe2e68a4c176
WuKong [Tue, 21 Jul 2015 12:00:00 +0000 (14:00 +0200)]
add super_extension
Change-Id: I7b234759a4aed653228f02d39df16021286242ed
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Tue, 21 Jul 2015 09:50:33 +0000 (11:50 +0200)]
finish sql backend
Change-Id: I20537a9612bd1206b34464a2f259d3b91497c05d
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Tue, 21 Jul 2015 09:32:53 +0000 (11:32 +0200)]
review code
Change-Id: Ibfceb83f2a33b1971d1b460ee4899a9a72689688
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Tue, 21 Jul 2015 08:44:19 +0000 (10:44 +0200)]
review code
Change-Id: Id4e35498271093f44694b9640daeedbdca5a8c69
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Tue, 21 Jul 2015 07:17:01 +0000 (09:17 +0200)]
review code
Change-Id: I346c07b6903d584bd236d72ff58ada040b0751e0
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Mon, 20 Jul 2015 17:44:01 +0000 (19:44 +0200)]
review code
Change-Id: I51abe36356ff91f1142d0307a69c48dff1a08a46
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Mon, 20 Jul 2015 10:56:02 +0000 (12:56 +0200)]
review code
Change-Id: I16e40a78609687751fad4e80f3f709038513f229
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Mon, 20 Jul 2015 08:06:31 +0000 (10:06 +0200)]
review code
Change-Id: I53e2ffd8c23fd13b8320fd902b1118b1f597a863
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Fri, 17 Jul 2015 13:27:50 +0000 (15:27 +0200)]
review backends
Change-Id: Ic82081a421e672a3fff0559f5fbd82736316803e
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Thu, 16 Jul 2015 17:37:10 +0000 (19:37 +0200)]
review code
Change-Id: I75979fd4da0b42b5dd0262acbb15b6229b35bc03
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Thu, 16 Jul 2015 16:06:45 +0000 (18:06 +0200)]
reivew code
Change-Id: I912698ca09a6c1161c02502a7ea551a5ee905949
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Wed, 15 Jul 2015 16:40:14 +0000 (18:40 +0200)]
review core.py
Change-Id: Icbeed742bdaabefe443696003e74b1a6c4587ae3
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Tue, 14 Jul 2015 15:58:16 +0000 (17:58 +0200)]
review controllers.py and core.py
Change-Id: Ia71986f174f6cbf92868f7535504523292472e25
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
asteroide [Fri, 10 Jul 2015 15:35:34 +0000 (17:35 +0200)]
Hamonize the uses of UUID and name in core.py.
Change-Id: I15e3c2e8a3f3ce5778bb8366c78eb2657b317686
WuKong [Mon, 13 Jul 2015 09:52:36 +0000 (11:52 +0200)]
review routers.py and controllers.py
Change-Id: Ic53e3e6efa5c297b31bdb30983d1a3d9976074f8
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Fri, 10 Jul 2015 16:55:16 +0000 (18:55 +0200)]
review routers.py and controllers.py
Change-Id: Ie4556e5553389412d053077ac00988bdc52d342a
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Thu, 9 Jul 2015 14:13:11 +0000 (16:13 +0200)]
update controller interface
Change-Id: I3b08007d3becf13787791631bc154ce1745c854a
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
asteroide [Thu, 9 Jul 2015 09:05:46 +0000 (11:05 +0200)]
Add which exceptions must be raised in get_[item]_category_assignment_dict.
Change-Id: Ia2a7710a686a4dd096ee2f429af9ca18b1db9b6e
WuKong [Wed, 8 Jul 2015 16:42:14 +0000 (18:42 +0200)]
change function name get_rules to get_rule_dict
Change-Id: I21cdd5c2aa3ecb7883fca409573f11f3d28bf43a
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Wed, 8 Jul 2015 16:29:07 +0000 (18:29 +0200)]
add a new example of policy for release 2 of moon
Change-Id: I6c64ddecb6c7ed3f3947b9582e40e945ec76ed21
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Wed, 8 Jul 2015 16:14:12 +0000 (18:14 +0200)]
authz policy engine
Change-Id: I4edc67a09e1de000b0983d734bea21eb2655d74e
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
WuKong [Wed, 8 Jul 2015 09:19:13 +0000 (11:19 +0200)]
dev
Change-Id: Ife2b12398a8107949729e700fed19dd202b637b3
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Ruan HE [Wed, 8 Jul 2015 09:17:35 +0000 (09:17 +0000)]
Merge "Fix some bugs on the enforce function."
asteroide [Wed, 8 Jul 2015 09:01:09 +0000 (11:01 +0200)]
Fix some bugs on the enforce function.
Change-Id: I2da7fef6bc448c9efa1e14080cd51cfc19d9632f
Ruan HE [Tue, 7 Jul 2015 16:49:22 +0000 (16:49 +0000)]
Merge "Add unit tests for LogManager and fix some bugs."
WuKong [Tue, 7 Jul 2015 15:58:34 +0000 (17:58 +0200)]
through the normination procedure, decided to add Thomas and WuKong as new committers.
Change-Id: Ie1d095006c970e2c7033787be5d9de01d4eec695
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
asteroide [Tue, 7 Jul 2015 12:11:51 +0000 (14:11 +0200)]
Add unit tests for LogManager and fix some bugs.
Change-Id: I42dfbdf8f83928e6437dba7026d1a2905d46ab44
asteroide [Mon, 6 Jul 2015 15:19:47 +0000 (17:19 +0200)]
Add tests for Authz exceptions.
Change-Id: Ib7d438148a4c45c79f541a370c0eee9a4519fecd
Add the MetaRule Exceptions.
Change-Id: I1d34246da04b0cdd53b8e85fb8ca112a23dc7ed8
asteroide [Thu, 2 Jul 2015 16:03:24 +0000 (18:03 +0200)]
Add hierarchical exceptions in Moon.
Change-Id: I609b39980760cf40fed651320e8683578f9bd919