- 10 Oct, 2011 5 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
The configuration will not be modified in comming weeks
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 07 Oct, 2011 4 commits
-
-
Romain Courteaud authored
url_string is not more the default email property. coordinate_text can also be used.
-
Romain Courteaud authored
-
Romain Courteaud authored
This reverts commit 3326057a. Conflicts: master/bt5/vifib_erp5/bt/revision
-
Romain Courteaud authored
Security configuration is now based on the role base categories. More permissions are given to all users (anyone can add software, computer and request instance). Add compatibility with the supply method of slap library. Squashed commit of the following: commit 6c27a4e65c02fd2d95818b23257b03baf097e98e Merge: b2250f3 37a6f91d Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 7 13:44:18 2011 +0200 Merge remote-tracking branch 'origin/master' into updated_category Conflicts: master/bt5/vifib_base/bt/revision master/bt5/vifib_erp5/bt/revision master/bt5/vifib_slap/bt/revision commit b2250f31704707d4f72e575a8fbfb15a2b86814e Author: Romain Courteaud <romain@nexedi.com> Date: Fri Oct 7 10:47:05 2011 +0200 Validate computer before requesting installation commit 30fdfae93b62b306b9a4159a4ecf93bdf7017d90 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 6 17:59:46 2011 +0200 Correctly export test_vifib_customer_a local roles commit 95f2b8336a709a80e65b1b1eae941970b5f2ef1f Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 6 17:02:35 2011 +0200 Typo commit ad363ca61814a0937fd9a85c7f0fb614254bf5b1 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 6 16:51:13 2011 +0200 Import P-VIFIB-ERP5.Categories-008-en.ods commit ac3b73f9088ba7eff23f324a424943cdb2160e16 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 6 16:32:52 2011 +0200 Fix hr admin assignment commit bcbcd346ae3adfdcea250c59994be53b9fdb24bd Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 6 16:24:42 2011 +0200 Fix assignment function commit 4ea30ff4c267180ab95a95ebc0dc7f3387a56834 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 6 16:11:36 2011 +0200 Only allow computer agent to accept computer registration commit 88a78a85d22649cd90ae74e3d72cc26391c6e2d3 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Oct 6 16:01:49 2011 +0200 Typo commit c0dae73e5c77acddb11101fc0bf56a8fb83c1965 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 17:15:38 2011 +0200 Fix currency local roles commit ff12d85af18664e556390145aa4101924f8c323b Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 17:08:16 2011 +0200 Restore view access on organisation commit f7aba6b8a456d0042b2c188e3fb3b7f2ed94db39 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 16:54:23 2011 +0200 Restore view access for Computer on Business Process commit 10c7c84151bb328074def9b262ff76984e1e4972 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 16:47:14 2011 +0200 Security should be based on role commit 77819c92ef8f450aaed2045e33131a27d5c42dd4 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 16:33:16 2011 +0200 Restore Sale Trade Condition access to Computer commit 17ddb1d0ad020222de7585abd66c0fa9ad5b1ba6 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 15:38:56 2011 +0200 Give back access to hosting subscription for Computer commit c8296c1ea1aeb21ba979b0f15c8c26faf3c8ec40 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 15:28:21 2011 +0200 Change default assignment created by credential commit be53092f5c3f581fcdaa944c20f2d83f6118c2ae Author: Romain Courteaud <romain@nexedi.com> Date: Wed Oct 5 11:45:34 2011 +0200 Allow computer to access the hosting subscription module commit f2f2c1ca1dc54413e6c18f26d05b4950ab287849 Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 15:26:11 2011 +0200 Restore full read access on Computer. Security restriction will be done later, after categories are fully migrated commit 109b69d5fe1ea7350a19fbf7e4b4f3c87dbff43c Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 11:47:16 2011 +0200 No need to access the document itself commit 7afe9f326c0b706312373be1127d9f609d494aac Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:58:46 2011 +0200 Do not access document. It is not needed for the user to have access permission on those documents commit 6dcbf0ee168a8b96138598b1c95001b392b7a48e Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:53:38 2011 +0200 Define the service to setup a software commit 7789db052f79d68883485e42dae46bc4a0f2231f Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:49:50 2011 +0200 Typo commit 1600ca99d0a02631ddc93cb60fa025b84e8ea8f0 Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:46:37 2011 +0200 Allow to trigger request_software_release transition from draft state. commit c4567f3c96bbea45fe6c5e66863e086d58b3e2c7 Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:36:12 2011 +0200 Use Computer API to trigger software release installation commit 8956c4e109ddc9b9cb32b2d6b861443e4f861edb Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:30:02 2011 +0200 Implement supplySupply method in slaptool. This is used by the slap library to request a software release installation. commit 904ca429ec9f4285155c5f03d3a94ac0e85e3656 Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:29:06 2011 +0200 Use Computer API to request software installation commit 91a71ae7747326c46a8cff2734200179bbb1b5dd Author: Romain Courteaud <romain@nexedi.com> Date: Tue Oct 4 10:24:49 2011 +0200 Allow to request software release installation from Computer document itself commit da932855e6cf52a67a96612b4d73df1307412a9d Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 16:48:49 2011 +0200 Fix vifib_internet configuration commit 4f3e5011981f9f982791e6521d99740a76e2bf4b Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 16:34:13 2011 +0200 Configure software release roles. commit c7d8aeca1c68901d8a2adb6245dfcacdac105706 Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 16:18:09 2011 +0200 Fix wrong copy/paste from Software Product Module commit f52352fe4881e02bdaad8512ade0fd16a15c7137 Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 16:12:37 2011 +0200 Allow SlapOS software publisher to create Software Product commit 508f8d599f990a4ed885d9c236730198b3795be1 Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 15:36:26 2011 +0200 Give member role to all users commit 270b6c883e81b04df4aba283b64cdb2f2a3527d6 Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 15:05:38 2011 +0200 Update test users assignment commit b35532463b7d9ed3e8800a5c86e2999ed008880a Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 11:07:33 2011 +0200 Security groups are now mostly generated from the role categories commit c039f7749e6d6c3db946ce8bf91ee09551896dfb Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 10:58:12 2011 +0200 Update document local roles commit a24a9865f252f07f01c8e13c760f7b5d7d6deae0 Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 10:56:41 2011 +0200 Update document local_roles commit 9cdc44c5046dbac6922d94491cc5006f74be78db Author: Romain Courteaud <romain@nexedi.com> Date: Mon Oct 3 10:32:41 2011 +0200 Configure categories codification commit 24c718fecb4e99204be61bf4a463609ffe3aae76 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Sep 30 18:22:07 2011 +0200 Rewrite the security configuration based on the new categories. Restrict access to some objects. commit fd79fc7b3793ccfd575f49fff00e70ad691b0db0 Author: Romain Courteaud <romain@nexedi.com> Date: Fri Sep 30 15:24:10 2011 +0200 Import P-VIFIB-ERP5.Categories-005-en.ods commit 1229a18ec9406a4ee33bf6cd65bc82adf9c2da68 Author: Romain Courteaud <romain@nexedi.com> Date: Thu Sep 29 15:31:20 2011 +0200 Remove unmaintained test. This test has been replaced by other working tests already commit e374df25dbfbb08ceda2e2b577edc9fe99d0ee10 Author: Romain Courteaud <romain@nexedi.com> Date: Wed Sep 28 17:58:36 2011 +0200 Base categories have been commited in erp5_computer_immobilisation commit 9d20981f5701a3bcb6b6bdf143d5004abb96d9cf Author: Romain Courteaud <romain@nexedi.com> Date: Wed Sep 28 17:01:03 2011 +0200 Add new base categories, to be used on Computer commit 1a9393ea91f8d349a8ed7d4e4ce2a6649a5f988e Author: Romain Courteaud <romain@nexedi.com> Date: Wed Sep 28 16:42:08 2011 +0200 Import P-VIFIB-ERP5.Categories-004-en.ods This integrate computer classification and change all assignment categories.
-
- 05 Oct, 2011 1 commit
-
-
Łukasz Nowak authored
Some conditions were missing (WHY??).
-
- 04 Oct, 2011 6 commits
-
-
Yingjie Xu authored
-
Antoine Catton authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
It allows to bang all software instances related to one comptuer -- eg in case of issue on computer. Squashed commit of the following: commit 7197adeb6899639faa086e48ea67fa0f0f56b0a8 Merge: eb27743 d3bfe2ff Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 11:40:05 2011 +0200 Merge branch 'master' into bang Conflicts: master/bt5/vifib_base/WorkflowTemplateItem/portal_workflow/software_instance_slap_interface_workflow/scripts/SoftwareInstance_bangSoftwareInstanceTree.xml master/bt5/vifib_base/bt/revision commit eb277438da78a60df0aa85c2b2db6af0939ce9de Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 11:26:19 2011 +0200 Cover a case when computer administrator uses Computer.bang commit 8816c49a48e9962f1ad8f6b98640106f2a0118d0 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 11:18:04 2011 +0200 Test Computer.bang. commit 6421b1c18d8c988631eb7361bd8262f5dad4a0b4 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 11:08:45 2011 +0200 Bang all busy partitions on self bang. commit 772df7b015121daa90d1b013fcc9760eb8f4899f Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:54:20 2011 +0200 Add skeleton for Computer's bang transition. commit d38da3948fa471a3ae63c06542e13fbe993fdd8d Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:52:04 2011 +0200 Implement server side computerBang commit 16e20fd09d80140f0bb639140edd228621ba59e3 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:48:10 2011 +0200 Implement client-side Computer.bang commit 2002039a58e82ae6cbaaecea35523dae42e3cbad Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:41:28 2011 +0200 Rename to cover more cases. Computer.bang will be done in same test. commit 7abb808da143f7b6d7701378768e8bad2ed334a8 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:39:41 2011 +0200 Work in activities. It will allow to "serialize" errors per document, and so the whole bang would not be stopped because of one failing partition. commit afaaaf6e76de96b70b9b1d3625cbc408024c280e Merge: 6e3ed1e c2a1455e Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:18:58 2011 +0200 Merge branch 'master' into bang Conflicts: master/bt5/vifib_base/bt/revision master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py commit 6e3ed1ef90d4916b6d3bdfb29a97f78c950feb4b Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:11:06 2011 +0200 Check that message sent by bang is correctly stored. commit 0774d6f5ed21ae47f44d4d405095247532df45b3 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 09:59:41 2011 +0200 Prove that bang in any part of tree updates the whole tree. commit 2d9b44971d35ba33af6671c94d3ed1778d80beb4 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 09:34:45 2011 +0200 Fix finding root. commit b3c42077c076a7edae8dc7824283fa45e973e717 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 18:14:23 2011 +0200 Initialise bang testing. commit 95d16bc41050a35325065c08927a24b9b1beda6e Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 16:35:30 2011 +0200 Implement bang on the whole software instance tree. commit 6f251837c8e6265209b06600f177267b8239f71f Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 16:16:42 2011 +0200 Pick the newest buildout. commit df5ae80624b9788030c93e7cd01482f20926f443 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 15:56:37 2011 +0200 Implement server side softwareInstanceBang support. commit 8145f0bc1b5d7d92b234a4e5204924a9bf5f5089 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 15:54:17 2011 +0200 Implement ComputerPartition.bang commit 949488534c541d1c960b5e1a8f82de5067aaf706 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 14:47:49 2011 +0200 Cover person begin requesting. commit 09fb07bcae69e806c82953762cf95c7762f62973 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 14:26:23 2011 +0200 Prove that no update packing list is created when request is in progress. commit 93dfc1fc1015da6ee53cd2aa061e994994f6a8a5 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 11:29:03 2011 +0200 Rewrite test in order to follow logic. It raises before, but leave required checks. commit 328666079187437bf23d259abf7e2e132fefe5ae Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 11:04:16 2011 +0200 Prove that during destruction in progress no update is created. Again: such operation will result in update software instance. commit 5b7a0abe18e325d16eb228794eb8546c236bf49f Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:58:02 2011 +0200 Prove that during start in progress no update is done. commit 420c66b7f3d9ff3bde7a483d3a72107fe591f754 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:54:25 2011 +0200 Do not interfere with start or destruction in progress. Those actions will result in instance update, no need to create any. commit e7e7c1a40cb57dafb4d0044d39ba6eae00716e81 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:32:54 2011 +0200 One another place to avoid update creation. Add notes about impossibly to fetch correct tag. commit 41bc0f1b92d5b836635b6c43ba98d9c5b6095d4d Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:28:46 2011 +0200 Another lock test to avoid update during request. commit 3c9d408c8ac6381e6a8706543dfa85857eef43bd Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 09:45:11 2011 +0200 Revert "Avoid resetting test CA." This reverts commit a3e246e8156d4b016723aaa13ddc116f0dad14e2. Conflicts: master/product/Vifib/tests/VifibMixin.py commit 70a6f27faf44bdeeeb6930516b4b45b53cedab96 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 09:41:00 2011 +0200 Revert "For safety make small gap." This reverts commit 925c10370d7cf002188500f704d3ae882ba7aeb1. commit 8a510bcfa1d24fe005e3383e7dec093e672e303d Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 17:23:47 2011 +0200 No, setup in delivered is NOT supported. commit 925c10370d7cf002188500f704d3ae882ba7aeb1 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 17:21:33 2011 +0200 For safety make small gap. commit 4efecddd41251928f8f0116dfd2dc8f804978b44 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:41:05 2011 +0200 Cover ignored cases. commit 58d502c49633468e8c8df66660cb870e5f06d1f1 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:32:47 2011 +0200 OpenSSL serials are in base 16. commit aec5e64ad158f5eec0c61bb2cfb22450b3841486 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:27:11 2011 +0200 Check started and special stopped state. Started is usual state. When instance was requested in stopped state, instace update shall support case of instance setup packing list. commit 8ab1ffe4f5beb8047523461dd4072f7db63a97f7 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:25:41 2011 +0200 Support case of request SI with stopped state. In such case there is only Instance Setup Packing List which if in stopped state allows to deliver inset update PPL. commit 43568cd2017cfbc4ed4676f075535394caf77352 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:47:42 2011 +0200 Proof that update works on stopped software instance. commit 8a855c01f1cdcfa70b819609ff423ed574ed949b Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:25:40 2011 +0200 Typo. commit 30dc522284e5ff23681966c44b6d73c5eac5ed15 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:22:34 2011 +0200 It is better to reset test environment instead of CA. commit 85accd973f72e98cc33356644701fe910adbea0a Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:07:36 2011 +0200 Define tests. commit 9621885fd1be692b7d5387c59f0f596257ec89e7 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:34:04 2011 +0200 Drop local_permission_vifib_interaction_workflow It is defined and configured in vifib_erp5. commit 6279404c4bd48c933c6a0e17e2e258affdc6d2b9 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:17:40 2011 +0200 Do not set slap_interaction_workflow in vifib_base. This workflow is available in vifib_slap, and those types are configured in former business template. commit 9bf84264777283f5c876d45d4b6b74a3fdc1ba3e Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:10:48 2011 +0200 Skeleton for update packing list tests. commit 8dfacef65bc5f4e7c940164a30f746db1e7b0534 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:08:32 2011 +0200 Avoid plurals. commit 784511374d47a89255b29d0fe69fa41e66d856e4 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:06:25 2011 +0200 Cleanup imports. It lowers pyflakes complaints and allows to have minimalist required test module. commit 8b7bc851d1724f40f2b843636d9f5a5f080ae15f Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 13:55:32 2011 +0200 Separate bug related tests. commit d775aa6f6f95e40753c31235fe13f607312c613a Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 13:50:12 2011 +0200 Keep "compatibility" If not update packing list was defined in active state fallback to previous "failing" behaviour. It is not defined what shall happen in cases when not correct (eg: stopped->stopped) is requested, and new functionality shall not impact it. commit ff88c3704cde5aa8da0fee65ddbe8105a0bbe64b Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:39:57 2011 +0200 Process update packing list on started and stopped responses. commit 2a833c884e558860dbeef3989adae95edbe6ff29 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:39:09 2011 +0200 Provide update packing list delivery script. If there update packing list was found and it was in correct state, this scripts returns True, to indicate that update packing list was managed. commit 4b9923f10730ad95816f70fff20c96531ef0d741 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:38:35 2011 +0200 Allow to pass own state_list. commit e34819d6d4892248cf4ca550e1d5fb710a1fe14f Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:37:36 2011 +0200 Support update packing list. It impacts presence of partition on list. commit b95b568c7a90f71566bbf072058b2a623d736abf Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:25:26 2011 +0200 Support update resource. commit aecca5f228f7607c7037d28c14ac852885c352f5 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 10:43:26 2011 +0200 Destroy is "unsupported" too. commit 96fc577fff652a0311d1d1c4bc7def491fd8dd7e Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 10:42:25 2011 +0200 Create update packing list. Create only when Instance Hosting or Setup are in correct states. commit 2a95ee39a9d81ba7a2ade496556844e867d634d3 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 10:42:13 2011 +0200 Support None tag. commit e56bc4390a084d1d3162c1c0c2c3c8b75b012e6d Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:44:56 2011 +0200 Call proper script. commit a3e246e8156d4b016723aaa13ddc116f0dad14e2 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:20:45 2011 +0200 Avoid resetting test CA. It allows to live coexist test instance and development site on same instance. commit dacd5ab8a2e1d77ef88051e8e6d9aa82d1e0342c Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:17:19 2011 +0200 Make it pass consistency check. commit 83f08e4ff8c3a1c066df8a2e0aca027abe7916b2 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:10:55 2011 +0200 Add vifib_instance_update to data. commit 2a5ef6f082a9ff2c2d05208a67419fab7bfdbd69 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:06:56 2011 +0200 Add preferred_instance_update_resource_property with UI. commit 420eaddf73f8ca41cc2089325372d14d870a533c Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:57:46 2011 +0200 Export from ERP5. Seems like file was edited locally. commit fd4377bca8a79ff25908c19b8b929396a49b8a13 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:57:20 2011 +0200 Add missing BT5 metadata. commit ce7d695587c81aa53a9f5c5680233b34183c22bb Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:49:56 2011 +0200 Partially revert mistake in 324c9104 Person document class was removed. commit 206ec5c30e59ecfb62ea58eee9f6f4c35dc24aa4 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:46:38 2011 +0200 Add request_update_computer_partition. Also remove update_slave_partition_list, which seems like wrongly commited BT5.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Implementeded parts: * client side slap.ComputerPartition.bang * server side reportComputerPartitionBang This method triggers update of whole instance tree by using requestUpdateComputerPartition. Squashed commit of the following: commit afaaaf6e76de96b70b9b1d3625cbc408024c280e Merge: 6e3ed1e c2a1455e Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:18:58 2011 +0200 Merge branch 'master' into bang Conflicts: master/bt5/vifib_base/bt/revision master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py commit 6e3ed1ef90d4916b6d3bdfb29a97f78c950feb4b Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 10:11:06 2011 +0200 Check that message sent by bang is correctly stored. commit 0774d6f5ed21ae47f44d4d405095247532df45b3 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 09:59:41 2011 +0200 Prove that bang in any part of tree updates the whole tree. commit 2d9b44971d35ba33af6671c94d3ed1778d80beb4 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Oct 4 09:34:45 2011 +0200 Fix finding root. commit b3c42077c076a7edae8dc7824283fa45e973e717 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 18:14:23 2011 +0200 Initialise bang testing. commit 95d16bc41050a35325065c08927a24b9b1beda6e Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 16:35:30 2011 +0200 Implement bang on the whole software instance tree. commit 6f251837c8e6265209b06600f177267b8239f71f Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 16:16:42 2011 +0200 Pick the newest buildout. commit df5ae80624b9788030c93e7cd01482f20926f443 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 15:56:37 2011 +0200 Implement server side softwareInstanceBang support. commit 8145f0bc1b5d7d92b234a4e5204924a9bf5f5089 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 15:54:17 2011 +0200 Implement ComputerPartition.bang commit 949488534c541d1c960b5e1a8f82de5067aaf706 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 14:47:49 2011 +0200 Cover person begin requesting. commit 09fb07bcae69e806c82953762cf95c7762f62973 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 14:26:23 2011 +0200 Prove that no update packing list is created when request is in progress. commit 93dfc1fc1015da6ee53cd2aa061e994994f6a8a5 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 11:29:03 2011 +0200 Rewrite test in order to follow logic. It raises before, but leave required checks. commit 328666079187437bf23d259abf7e2e132fefe5ae Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 11:04:16 2011 +0200 Prove that during destruction in progress no update is created. Again: such operation will result in update software instance. commit 5b7a0abe18e325d16eb228794eb8546c236bf49f Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:58:02 2011 +0200 Prove that during start in progress no update is done. commit 420c66b7f3d9ff3bde7a483d3a72107fe591f754 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:54:25 2011 +0200 Do not interfere with start or destruction in progress. Those actions will result in instance update, no need to create any. commit e7e7c1a40cb57dafb4d0044d39ba6eae00716e81 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:32:54 2011 +0200 One another place to avoid update creation. Add notes about impossibly to fetch correct tag. commit 41bc0f1b92d5b836635b6c43ba98d9c5b6095d4d Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:28:46 2011 +0200 Another lock test to avoid update during request. commit 3c9d408c8ac6381e6a8706543dfa85857eef43bd Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 09:45:11 2011 +0200 Revert "Avoid resetting test CA." This reverts commit a3e246e8156d4b016723aaa13ddc116f0dad14e2. Conflicts: master/product/Vifib/tests/VifibMixin.py commit 70a6f27faf44bdeeeb6930516b4b45b53cedab96 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 09:41:00 2011 +0200 Revert "For safety make small gap." This reverts commit 925c10370d7cf002188500f704d3ae882ba7aeb1. commit 8a510bcfa1d24fe005e3383e7dec093e672e303d Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 17:23:47 2011 +0200 No, setup in delivered is NOT supported. commit 925c10370d7cf002188500f704d3ae882ba7aeb1 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 17:21:33 2011 +0200 For safety make small gap. commit 4efecddd41251928f8f0116dfd2dc8f804978b44 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:41:05 2011 +0200 Cover ignored cases. commit 58d502c49633468e8c8df66660cb870e5f06d1f1 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:32:47 2011 +0200 OpenSSL serials are in base 16. commit aec5e64ad158f5eec0c61bb2cfb22450b3841486 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:27:11 2011 +0200 Check started and special stopped state. Started is usual state. When instance was requested in stopped state, instace update shall support case of instance setup packing list. commit 8ab1ffe4f5beb8047523461dd4072f7db63a97f7 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:25:41 2011 +0200 Support case of request SI with stopped state. In such case there is only Instance Setup Packing List which if in stopped state allows to deliver inset update PPL. commit 43568cd2017cfbc4ed4676f075535394caf77352 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:47:42 2011 +0200 Proof that update works on stopped software instance. commit 8a855c01f1cdcfa70b819609ff423ed574ed949b Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:25:40 2011 +0200 Typo. commit 30dc522284e5ff23681966c44b6d73c5eac5ed15 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:22:34 2011 +0200 It is better to reset test environment instead of CA. commit 85accd973f72e98cc33356644701fe910adbea0a Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:07:36 2011 +0200 Define tests. commit 9621885fd1be692b7d5387c59f0f596257ec89e7 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:34:04 2011 +0200 Drop local_permission_vifib_interaction_workflow It is defined and configured in vifib_erp5. commit 6279404c4bd48c933c6a0e17e2e258affdc6d2b9 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:17:40 2011 +0200 Do not set slap_interaction_workflow in vifib_base. This workflow is available in vifib_slap, and those types are configured in former business template. commit 9bf84264777283f5c876d45d4b6b74a3fdc1ba3e Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:10:48 2011 +0200 Skeleton for update packing list tests. commit 8dfacef65bc5f4e7c940164a30f746db1e7b0534 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:08:32 2011 +0200 Avoid plurals. commit 784511374d47a89255b29d0fe69fa41e66d856e4 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:06:25 2011 +0200 Cleanup imports. It lowers pyflakes complaints and allows to have minimalist required test module. commit 8b7bc851d1724f40f2b843636d9f5a5f080ae15f Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 13:55:32 2011 +0200 Separate bug related tests. commit d775aa6f6f95e40753c31235fe13f607312c613a Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 13:50:12 2011 +0200 Keep "compatibility" If not update packing list was defined in active state fallback to previous "failing" behaviour. It is not defined what shall happen in cases when not correct (eg: stopped->stopped) is requested, and new functionality shall not impact it. commit ff88c3704cde5aa8da0fee65ddbe8105a0bbe64b Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:39:57 2011 +0200 Process update packing list on started and stopped responses. commit 2a833c884e558860dbeef3989adae95edbe6ff29 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:39:09 2011 +0200 Provide update packing list delivery script. If there update packing list was found and it was in correct state, this scripts returns True, to indicate that update packing list was managed. commit 4b9923f10730ad95816f70fff20c96531ef0d741 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:38:35 2011 +0200 Allow to pass own state_list. commit e34819d6d4892248cf4ca550e1d5fb710a1fe14f Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:37:36 2011 +0200 Support update packing list. It impacts presence of partition on list. commit b95b568c7a90f71566bbf072058b2a623d736abf Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:25:26 2011 +0200 Support update resource. commit aecca5f228f7607c7037d28c14ac852885c352f5 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 10:43:26 2011 +0200 Destroy is "unsupported" too. commit 96fc577fff652a0311d1d1c4bc7def491fd8dd7e Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 10:42:25 2011 +0200 Create update packing list. Create only when Instance Hosting or Setup are in correct states. commit 2a95ee39a9d81ba7a2ade496556844e867d634d3 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 10:42:13 2011 +0200 Support None tag. commit e56bc4390a084d1d3162c1c0c2c3c8b75b012e6d Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:44:56 2011 +0200 Call proper script. commit a3e246e8156d4b016723aaa13ddc116f0dad14e2 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:20:45 2011 +0200 Avoid resetting test CA. It allows to live coexist test instance and development site on same instance. commit dacd5ab8a2e1d77ef88051e8e6d9aa82d1e0342c Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:17:19 2011 +0200 Make it pass consistency check. commit 83f08e4ff8c3a1c066df8a2e0aca027abe7916b2 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:10:55 2011 +0200 Add vifib_instance_update to data. commit 2a5ef6f082a9ff2c2d05208a67419fab7bfdbd69 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:06:56 2011 +0200 Add preferred_instance_update_resource_property with UI. commit 420eaddf73f8ca41cc2089325372d14d870a533c Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:57:46 2011 +0200 Export from ERP5. Seems like file was edited locally. commit fd4377bca8a79ff25908c19b8b929396a49b8a13 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:57:20 2011 +0200 Add missing BT5 metadata. commit ce7d695587c81aa53a9f5c5680233b34183c22bb Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:49:56 2011 +0200 Partially revert mistake in 324c9104 Person document class was removed. commit 206ec5c30e59ecfb62ea58eee9f6f4c35dc24aa4 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:46:38 2011 +0200 Add request_update_computer_partition. Also remove update_slave_partition_list, which seems like wrongly commited BT5.
-
- 03 Oct, 2011 8 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
New workflow method available on software instance (requestUpdateComputerPartition) allows update software instance. It reuses need_modification flag and informs slapos node that computer partition shall be modified. No changes are required on nodes, as this supports proper replies from nodes. Squashed commit of the following: commit 949488534c541d1c960b5e1a8f82de5067aaf706 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 14:47:49 2011 +0200 Cover person begin requesting. commit 09fb07bcae69e806c82953762cf95c7762f62973 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 14:26:23 2011 +0200 Prove that no update packing list is created when request is in progress. commit 93dfc1fc1015da6ee53cd2aa061e994994f6a8a5 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 11:29:03 2011 +0200 Rewrite test in order to follow logic. It raises before, but leave required checks. commit 328666079187437bf23d259abf7e2e132fefe5ae Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 11:04:16 2011 +0200 Prove that during destruction in progress no update is created. Again: such operation will result in update software instance. commit 5b7a0abe18e325d16eb228794eb8546c236bf49f Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:58:02 2011 +0200 Prove that during start in progress no update is done. commit 420c66b7f3d9ff3bde7a483d3a72107fe591f754 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:54:25 2011 +0200 Do not interfere with start or destruction in progress. Those actions will result in instance update, no need to create any. commit e7e7c1a40cb57dafb4d0044d39ba6eae00716e81 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:32:54 2011 +0200 One another place to avoid update creation. Add notes about impossibly to fetch correct tag. commit 41bc0f1b92d5b836635b6c43ba98d9c5b6095d4d Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 10:28:46 2011 +0200 Another lock test to avoid update during request. commit 3c9d408c8ac6381e6a8706543dfa85857eef43bd Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 09:45:11 2011 +0200 Revert "Avoid resetting test CA." This reverts commit a3e246e8156d4b016723aaa13ddc116f0dad14e2. Conflicts: master/product/Vifib/tests/VifibMixin.py commit 70a6f27faf44bdeeeb6930516b4b45b53cedab96 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Oct 3 09:41:00 2011 +0200 Revert "For safety make small gap." This reverts commit 925c10370d7cf002188500f704d3ae882ba7aeb1. commit 8a510bcfa1d24fe005e3383e7dec093e672e303d Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 17:23:47 2011 +0200 No, setup in delivered is NOT supported. commit 925c10370d7cf002188500f704d3ae882ba7aeb1 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 17:21:33 2011 +0200 For safety make small gap. commit 4efecddd41251928f8f0116dfd2dc8f804978b44 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:41:05 2011 +0200 Cover ignored cases. commit 58d502c49633468e8c8df66660cb870e5f06d1f1 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:32:47 2011 +0200 OpenSSL serials are in base 16. commit aec5e64ad158f5eec0c61bb2cfb22450b3841486 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:27:11 2011 +0200 Check started and special stopped state. Started is usual state. When instance was requested in stopped state, instace update shall support case of instance setup packing list. commit 8ab1ffe4f5beb8047523461dd4072f7db63a97f7 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 16:25:41 2011 +0200 Support case of request SI with stopped state. In such case there is only Instance Setup Packing List which if in stopped state allows to deliver inset update PPL. commit 43568cd2017cfbc4ed4676f075535394caf77352 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:47:42 2011 +0200 Proof that update works on stopped software instance. commit 8a855c01f1cdcfa70b819609ff423ed574ed949b Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:25:40 2011 +0200 Typo. commit 30dc522284e5ff23681966c44b6d73c5eac5ed15 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:22:34 2011 +0200 It is better to reset test environment instead of CA. commit 85accd973f72e98cc33356644701fe910adbea0a Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 15:07:36 2011 +0200 Define tests. commit 9621885fd1be692b7d5387c59f0f596257ec89e7 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:34:04 2011 +0200 Drop local_permission_vifib_interaction_workflow It is defined and configured in vifib_erp5. commit 6279404c4bd48c933c6a0e17e2e258affdc6d2b9 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:17:40 2011 +0200 Do not set slap_interaction_workflow in vifib_base. This workflow is available in vifib_slap, and those types are configured in former business template. commit 9bf84264777283f5c876d45d4b6b74a3fdc1ba3e Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:10:48 2011 +0200 Skeleton for update packing list tests. commit 8dfacef65bc5f4e7c940164a30f746db1e7b0534 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:08:32 2011 +0200 Avoid plurals. commit 784511374d47a89255b29d0fe69fa41e66d856e4 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 14:06:25 2011 +0200 Cleanup imports. It lowers pyflakes complaints and allows to have minimalist required test module. commit 8b7bc851d1724f40f2b843636d9f5a5f080ae15f Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 13:55:32 2011 +0200 Separate bug related tests. commit d775aa6f6f95e40753c31235fe13f607312c613a Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 13:50:12 2011 +0200 Keep "compatibility" If not update packing list was defined in active state fallback to previous "failing" behaviour. It is not defined what shall happen in cases when not correct (eg: stopped->stopped) is requested, and new functionality shall not impact it. commit ff88c3704cde5aa8da0fee65ddbe8105a0bbe64b Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:39:57 2011 +0200 Process update packing list on started and stopped responses. commit 2a833c884e558860dbeef3989adae95edbe6ff29 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:39:09 2011 +0200 Provide update packing list delivery script. If there update packing list was found and it was in correct state, this scripts returns True, to indicate that update packing list was managed. commit 4b9923f10730ad95816f70fff20c96531ef0d741 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:38:35 2011 +0200 Allow to pass own state_list. commit e34819d6d4892248cf4ca550e1d5fb710a1fe14f Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:37:36 2011 +0200 Support update packing list. It impacts presence of partition on list. commit b95b568c7a90f71566bbf072058b2a623d736abf Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 11:25:26 2011 +0200 Support update resource. commit aecca5f228f7607c7037d28c14ac852885c352f5 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 10:43:26 2011 +0200 Destroy is "unsupported" too. commit 96fc577fff652a0311d1d1c4bc7def491fd8dd7e Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 10:42:25 2011 +0200 Create update packing list. Create only when Instance Hosting or Setup are in correct states. commit 2a95ee39a9d81ba7a2ade496556844e867d634d3 Author: Łukasz Nowak <luke@nexedi.com> Date: Wed Sep 28 10:42:13 2011 +0200 Support None tag. commit e56bc4390a084d1d3162c1c0c2c3c8b75b012e6d Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:44:56 2011 +0200 Call proper script. commit a3e246e8156d4b016723aaa13ddc116f0dad14e2 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:20:45 2011 +0200 Avoid resetting test CA. It allows to live coexist test instance and development site on same instance. commit dacd5ab8a2e1d77ef88051e8e6d9aa82d1e0342c Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:17:19 2011 +0200 Make it pass consistency check. commit 83f08e4ff8c3a1c066df8a2e0aca027abe7916b2 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:10:55 2011 +0200 Add vifib_instance_update to data. commit 2a5ef6f082a9ff2c2d05208a67419fab7bfdbd69 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 18:06:56 2011 +0200 Add preferred_instance_update_resource_property with UI. commit 420eaddf73f8ca41cc2089325372d14d870a533c Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:57:46 2011 +0200 Export from ERP5. Seems like file was edited locally. commit fd4377bca8a79ff25908c19b8b929396a49b8a13 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:57:20 2011 +0200 Add missing BT5 metadata. commit ce7d695587c81aa53a9f5c5680233b34183c22bb Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:49:56 2011 +0200 Partially revert mistake in 324c9104 Person document class was removed. commit 206ec5c30e59ecfb62ea58eee9f6f4c35dc24aa4 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 17:46:38 2011 +0200 Add request_update_computer_partition. Also remove update_slave_partition_list, which seems like wrongly commited BT5.
-
Łukasz Nowak authored
It lowers pyflakes complaints and allows to have minimalist required test module.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
utils module is imported, not just one method.
-
- 27 Sep, 2011 6 commits
-
-
Romain Courteaud authored
By using portal_catalog it is assured that only available to current user objects will be returned. Also raise NotImplementedError in case of not covered scenario instead of silently ignoring it.
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
OpenOrder.request and ComputerPartition.request are not raising ResourceNotReady anymore. Instead if there is need to access value which needs server connection and ComputerPartition class detects that request have to be done, it is begin invoked, which *can* result with late ResourceNotReady. Some tests were moved from ERP5 Vifib test suite to slapos.core package, to do checks on library level, instead of client level. ERP5 Vifib test suite was updated in order to follow non raising Request. Also simplification was done, as there is no need to repeat logic of library testing. Squashed commit of the following: commit 4abc0e3d6bc22955ef062c9066ec2139fa74ff1b Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 11:14:01 2011 +0200 Rename in order to follow reality. This steps are checking for HTTP responses directly, and not library exception. commit 9222aab2fe026ff7e5ae63d0a0ce7c0a95e72b43 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 11:13:04 2011 +0200 Remove not used garbage. commit 9b035f2b497c5d33a01e8bde9e23154ec9fa844c Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 11:11:31 2011 +0200 Move specialised steps to proper module. commit 70ceace0ca08c55803d9c5f6db40f11a07bcb5cf Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 11:05:31 2011 +0200 Drop person based request with NotReadyResponse. commit 1464473c3ef99e89513df40b69b8ae096d183dac Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 10:53:07 2011 +0200 Drop not ready, tic in normal request (slave scenario). commit 9bf8944c168ef1d4394a6133aeb1ef09218dc3d1 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 10:52:49 2011 +0200 NotReady is not raised anymore by library. commit d85d73a3ddb386c048dc3cff688abb5a9fb8bcfa Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 10:49:46 2011 +0200 Logic of slave request is the same. slap library itself implements such tests, and change was applied: no NotReadyResponse is raised. commit 444b8d3f5b853e3a3120e36c7fc3451565ea0219 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 10:40:59 2011 +0200 No need to request twice. Library is sending request, which is being fulfilled after first call, as tic happens immediately on server side. commit 95232273592a79f91050c903469990c0c6243c85 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 10:35:17 2011 +0200 Covered in dc4cb3dcda23418e57c8faabdd7520850830aa5e commit dc4cb3dcda23418e57c8faabdd7520850830aa5e Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 10:34:04 2011 +0200 Cover more logic. Check that request is really send (with rest of tests replaces test_ComputerPartition_request_firstNotReady) commit f27992b951dff29072ba9c34fe29b8e32beac7bb Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 10:22:01 2011 +0200 Follow new BT5 addition. commit 3165c700faac2d32a9332438a94dfaab60bfdd88 Author: Łukasz Nowak <luke@nexedi.com> Date: Tue Sep 27 10:19:46 2011 +0200 Follow egg restructuring. commit 1eddc381ff7bf055e29061804b1f44f920eab07d Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 18:13:58 2011 +0200 Tic in order to have all... ...but this test fails in Vifib. It shall be reimplemented on slap library level. commit 98ce5cc53fb5604bdff3c81262a5fcb60a0d30bc Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 18:07:24 2011 +0200 Typo. commit ac8cc9acfe6a05c71f06884ea01b36653feb8db8 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 17:55:54 2011 +0200 Request in simple manner. commit 9aa538e5f1e432f9db3c6d1890e9f430addba5eb Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 18:03:34 2011 +0200 Support requestComputerPartition. commit 5a3376d62567a405da91d6a05ddf0828a45788d6 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 18:02:05 2011 +0200 Really request during request. Just in case of ResourceNotReady request later. commit 085ae669f2763f02a955f2450ae1cec95e3c17f8 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 17:49:39 2011 +0200 Forgotten tic after another request. commit aef8445dfdefa09a806a6b94c64af7af61ce4fb6 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 17:46:49 2011 +0200 Typo. commit 1ac2cde4df2ef53a14418170a1c9fb1e81003160 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 17:41:54 2011 +0200 Drop ResourceNotReady exception. stepRequestComputerPartitionNotReadyResponse is removed, as request became asynchronous and stepRequestComputerPartition does all what is needed to have correctly requested partition. commit 9a7cf1c65cd8b17a08dee687e3a1657b048fab62 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 17:39:05 2011 +0200 Do not except ResourceNotReady while requesting. commit c8845909d24777e74d68cad292c341569a0cfb17 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 17:36:41 2011 +0200 Do not access async parameter. getId would raise ResourceNotReady. commit ebb3380d9ac0357a76393024eb19388360bc57c0 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 17:35:25 2011 +0200 Follow asynchronous request functionality. It raises ResourceNotReady in case of accessing first remote based parameter. commit 6650b58fec82242f4eb00f445155247849a6572d Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 17:16:12 2011 +0200 Follow ComputerPartition.request coverage. commit 5064bb93bf085d82e618bad6b0cf365f9c10b330 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 17:13:11 2011 +0200 Rename method name. commit b502321daff6562f81194357726da389bbbde846 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 17:00:29 2011 +0200 Cover more cases. Check that requesting raises correctly in case if not fulfilled. Check that data are fetched in async way in case of request. commit 3c2ed706f1c158ef0f25ca384b68331e743233b9 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 16:38:18 2011 +0200 Return passed status. commit 4c01e36979a0c023b69bfcffdd586e79dc87781e Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 16:33:00 2011 +0200 Mock current method. commit 4364b1de3c01f745a6b8de6893e9d6e1c692f92f Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 16:32:34 2011 +0200 Return always proper method call. commit 9366301aa8dddf91d77f515f78da0037179056d2 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 15:57:10 2011 +0200 Prove that request method is async and do not raise. commit 145a58332539ce2445b909da11c35072e864af39 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 15:50:56 2011 +0200 Use mocked server. commit 34068539f865b4e79f798e06790f14ec4c2d38b2 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 15:24:24 2011 +0200 Check parameters on runtime. commit 2269d2283b11bee74345e13482d8e7a3aa0aaea7 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 14:15:55 2011 +0200 Make request asynchronous. Do communication when data of computer partition are being accessed, thanks to this request method returns "lazy" CP object, and does not do any communication itself. commit 8bd6d7587821def17617c455be9729c71e8fd5df Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 15:42:20 2011 +0200 User not password are not used in slap. Authentication is done by SSL keys. commit 89fd61f45f60d9999dd281152e34bec24a50bb47 Author: Łukasz Nowak <luke@nexedi.com> Date: Mon Sep 26 15:41:42 2011 +0200 Move and make test running (!=passing)
-
Łukasz Nowak authored
-
- 23 Sep, 2011 4 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
There might be many Email object with same email, but as they are subcontent of other types, the unicity key shall be extended with parent type.
-
Łukasz Nowak authored
-
- 22 Sep, 2011 6 commits
-
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
-