{"head":"c47d034358ebb2474fd124b34a886842266f03d6","size":1,"push_id":44118863,"shas":[["c47d034358ebb2474fd124b34a886842266f03d6","6b3799be4300e44489a08090123f3842e6419da5@nexedi.com","Implement asynchronous request call.\n\nOpenOrder.request and ComputerPartition.request are not raising\nResourceNotReady anymore.\n\nInstead if there is need to access value which needs server connection and\nComputerPartition class detects that request have to be done, it is begin\ninvoked, which *can* result with late ResourceNotReady.\n\nSome tests were moved from ERP5 Vifib test suite to slapos.core package, to do\nchecks on library level, instead of client level.\n\nERP5 Vifib test suite was updated in order to follow non raising Request. Also\nsimplification was done, as there is no need to repeat logic of library testing.\n\nSquashed commit of the following:\n\ncommit 4abc0e3d6bc22955ef062c9066ec2139fa74ff1b\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Tue Sep 27 11:14:01 2011 +0200\n\n    Rename in order to follow reality.\n\n    This steps are checking for HTTP responses directly, and not library exception.\n\ncommit 9222aab2fe026ff7e5ae63d0a0ce7c0a95e72b43\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Tue Sep 27 11:13:04 2011 +0200\n\n    Remove not used garbage.\n\ncommit 9b035f2b497c5d33a01e8bde9e23154ec9fa844c\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Tue Sep 27 11:11:31 2011 +0200\n\n    Move specialised steps to proper module.\n\ncommit 70ceace0ca08c55803d9c5f6db40f11a07bcb5cf\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Tue Sep 27 11:05:31 2011 +0200\n\n    Drop person based request with NotReadyResponse.\n\ncommit 1464473c3ef99e89513df40b69b8ae096d183dac\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Tue Sep 27 10:53:07 2011 +0200\n\n    Drop not ready, tic in normal request (slave scenario).\n\ncommit 9bf8944c168ef1d4394a6133aeb1ef09218dc3d1\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Tue Sep 27 10:52:49 2011 +0200\n\n    NotReady is not raised anymore by library.\n\ncommit d85d73a3ddb386c048dc3cff688abb5a9fb8bcfa\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Tue Sep 27 10:49:46 2011 +0200\n\n    Logic of slave request is the same.\n\n    slap library itself implements such tests, and change was applied: no\n    NotReadyResponse is raised.\n\ncommit 444b8d3f5b853e3a3120e36c7fc3451565ea0219\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Tue Sep 27 10:40:59 2011 +0200\n\n    No need to request twice.\n\n    Library is sending request, which is being fulfilled after first call, as tic\n    happens immediately on server side.\n\ncommit 95232273592a79f91050c903469990c0c6243c85\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Tue Sep 27 10:35:17 2011 +0200\n\n    Covered in dc4cb3dcda23418e57c8faabdd7520850830aa5e\n\ncommit dc4cb3dcda23418e57c8faabdd7520850830aa5e\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Tue Sep 27 10:34:04 2011 +0200\n\n    Cover more logic.\n\n    Check that request is really send (with rest of tests replaces\n    test_ComputerPartition_request_firstNotReady)\n\ncommit f27992b951dff29072ba9c34fe29b8e32beac7bb\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Tue Sep 27 10:22:01 2011 +0200\n\n    Follow new BT5 addition.\n\ncommit 3165c700faac2d32a9332438a94dfaab60bfdd88\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Tue Sep 27 10:19:46 2011 +0200\n\n    Follow egg restructuring.\n\ncommit 1eddc381ff7bf055e29061804b1f44f920eab07d\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 18:13:58 2011 +0200\n\n    Tic in order to have all...\n\n    ...but this test fails in Vifib.\n\n    It shall be reimplemented on slap library level.\n\ncommit 98ce5cc53fb5604bdff3c81262a5fcb60a0d30bc\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 18:07:24 2011 +0200\n\n    Typo.\n\ncommit ac8cc9acfe6a05c71f06884ea01b36653feb8db8\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 17:55:54 2011 +0200\n\n    Request in simple manner.\n\ncommit 9aa538e5f1e432f9db3c6d1890e9f430addba5eb\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 18:03:34 2011 +0200\n\n    Support requestComputerPartition.\n\ncommit 5a3376d62567a405da91d6a05ddf0828a45788d6\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 18:02:05 2011 +0200\n\n    Really request during request.\n\n    Just in case of ResourceNotReady request later.\n\ncommit 085ae669f2763f02a955f2450ae1cec95e3c17f8\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 17:49:39 2011 +0200\n\n    Forgotten tic after another request.\n\ncommit aef8445dfdefa09a806a6b94c64af7af61ce4fb6\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 17:46:49 2011 +0200\n\n    Typo.\n\ncommit 1ac2cde4df2ef53a14418170a1c9fb1e81003160\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 17:41:54 2011 +0200\n\n    Drop ResourceNotReady exception.\n\n    stepRequestComputerPartitionNotReadyResponse is removed, as request became\n    asynchronous and stepRequestComputerPartition does all what is needed to have\n    correctly requested partition.\n\ncommit 9a7cf1c65cd8b17a08dee687e3a1657b048fab62\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 17:39:05 2011 +0200\n\n    Do not except ResourceNotReady while requesting.\n\ncommit c8845909d24777e74d68cad292c341569a0cfb17\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 17:36:41 2011 +0200\n\n    Do not access async parameter.\n\n    getId would raise ResourceNotReady.\n\ncommit ebb3380d9ac0357a76393024eb19388360bc57c0\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 17:35:25 2011 +0200\n\n    Follow asynchronous request functionality.\n\n    It raises ResourceNotReady in case of accessing first remote based parameter.\n\ncommit 6650b58fec82242f4eb00f445155247849a6572d\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 17:16:12 2011 +0200\n\n    Follow ComputerPartition.request coverage.\n\ncommit 5064bb93bf085d82e618bad6b0cf365f9c10b330\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 17:13:11 2011 +0200\n\n    Rename method name.\n\ncommit b502321daff6562f81194357726da389bbbde846\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 17:00:29 2011 +0200\n\n    Cover more cases.\n\n    Check that requesting raises correctly in case if not fulfilled.\n    Check that data are fetched in async way in case of request.\n\ncommit 3c2ed706f1c158ef0f25ca384b68331e743233b9\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 16:38:18 2011 +0200\n\n    Return passed status.\n\ncommit 4c01e36979a0c023b69bfcffdd586e79dc87781e\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 16:33:00 2011 +0200\n\n    Mock current method.\n\ncommit 4364b1de3c01f745a6b8de6893e9d6e1c692f92f\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 16:32:34 2011 +0200\n\n    Return always proper method call.\n\ncommit 9366301aa8dddf91d77f515f78da0037179056d2\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 15:57:10 2011 +0200\n\n    Prove that request method is async and do not raise.\n\ncommit 145a58332539ce2445b909da11c35072e864af39\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 15:50:56 2011 +0200\n\n    Use mocked server.\n\ncommit 34068539f865b4e79f798e06790f14ec4c2d38b2\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 15:24:24 2011 +0200\n\n    Check parameters on runtime.\n\ncommit 2269d2283b11bee74345e13482d8e7a3aa0aaea7\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 14:15:55 2011 +0200\n\n    Make request asynchronous.\n\n    Do communication when data of computer partition are being accessed, thanks\n    to this request method returns \"lazy\" CP object, and does not do any\n    communication itself.\n\ncommit 8bd6d7587821def17617c455be9729c71e8fd5df\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 15:42:20 2011 +0200\n\n    User not password are not used in slap.\n\n    Authentication is done by SSL keys.\n\ncommit 89fd61f45f60d9999dd281152e34bec24a50bb47\nAuthor: Łukasz Nowak <luke@nexedi.com>\nDate:   Mon Sep 26 15:41:42 2011 +0200\n\n    Move and make test running (!=passing)","Łukasz Nowak"]],"ref":"refs/heads/master"}