summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated from global requirements1.19.0OpenStack Proposal Bot2015-08-131-1/+1
| | | | Change-Id: I6431079cadca673c43e10ea96dfe692eaaf038d7
* Updated from global requirementsOpenStack Proposal Bot2015-08-111-1/+1
| | | | Change-Id: If5ac273fa9a93b6ee2f7ec1d190be3482ab67eb8
* Merge "Fix busted stevedore doc(s) link"Jenkins2015-08-112-2/+2
|\
| * Fix busted stevedore doc(s) linkJoshua Harlow2015-08-072-2/+2
| | | | | | | | Change-Id: If8cb052f695ac6c28574d8facf63d66986d37457
* | Merge "Add nicely made task structural diagram"Jenkins2015-08-113-0/+7
|\ \
| * | Add nicely made task structural diagramJoshua Harlow2015-08-103-0/+7
| |/ | | | | | | Change-Id: Ib1c4c0f2378f11c10c3ca0ecf40b3a64daa1b697
* | Updated from global requirementsOpenStack Proposal Bot2015-08-101-3/+3
|/ | | | Change-Id: Iea04e3a4823f294d8c7890bba155651c9e7a1dab
* Merge "Improve docstrings in graph flow to denote exceptions raised"Jenkins2015-08-071-4/+27
|\
| * Improve docstrings in graph flow to denote exceptions raisedJoshua Harlow2015-08-051-4/+27
| | | | | | | | | | | | | | | | | | | | | | Link the existing exceptions mentioned to there sphinx doc about them and also adds a section about when the 'DependencyFailure' exception is raised. Also tweaks the class docstring a little, to make it easier to understand. Change-Id: Ie4b989444c5ad73660cc61c0c3b2b1702b669087
* | Merge "Show intermediary compilation(s) when BLATHER is enabled"Jenkins2015-08-071-13/+16
|\ \ | |/ |/|
| * Show intermediary compilation(s) when BLATHER is enabledJoshua Harlow2015-08-021-13/+16
| | | | | | | | | | | | | | | | | | This information can be useful for analyzing why/what is generated during each intermediary flow/subflow and task compilation call so include showing it when and only when the BLATHER level logging is on. Change-Id: I8e9508b8250533a4830fe78705d867139b1eab36
* | Enable testr OS_DEBUG to be TRACE(blather) by defaultJoshua Harlow2015-08-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | This enables the oslo.test recent change to be able to capture/output the verbose trace/blather log level which taskflow has been using. This should help make it easier to diagnosis issues that happen when needed. Change-Id: Ia3c63e66e4b4ad5523a5e0c6ba44b35b918c2acd
* | Updated from global requirementsOpenStack Proposal Bot2015-08-041-1/+1
| | | | | | | | Change-Id: I3574313f90c1dcf69c2cdc4fa78caf0e91993b1d
* | Give the GC more of a break with regard to cycles1.18.0Joshua Harlow2015-08-013-12/+12
|/ | | | | | | | | | | | | We can avoid creating reference cycles relatively easily which will make the GC have to do less to garbage collect these objects so let's just give it a break to start. This is *safe* to do since the runtime components have the same lifetime as the runtime itself and they will never outlive the runtime objects existence (a runtime objects lifetime is directly the same as the engine objects lifetime). Change-Id: I7f1ee91e04f29dd27da1e57a462573e068aee45c
* Merge "Use the action engine '_check' helper method"Jenkins2015-08-011-4/+1
|\
| * Use the action engine '_check' helper methodJoshua Harlow2015-07-251-4/+1
| | | | | | | | Change-Id: I0822bbf1caf28a8fd2b4e914643aca61ae0c7f45
* | Merge "Base class for deciders"Jenkins2015-08-011-16/+29
|\ \
| * | Base class for decidersTimofey Durakov2015-07-311-16/+29
| | | | | | | | | | | | | | | | | | | | | To align decider classes interface new base class introduced in this patch Change-Id: I42c69d3daa89153f1f3f9da32bccaf8d840ab1be
* | | Merge "Avoid adding 1 to a failure (if it gets triggered)"Jenkins2015-07-311-1/+5
|\ \ \
| * | | Avoid adding 1 to a failure (if it gets triggered)Joshua Harlow2015-07-271-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes the CI gate times out and instead of returning normal results a failure object is returned, so be more careful on adding integers to those objects. Closes-Bug: 1478744 Change-Id: Ibdb9d30266d2a7f3bfeacc39e74cf61b44025a56
* | | | Merge "Replace the tree 'pformat()' recursion with non-recursive variant"Jenkins2015-07-316-46/+472
|\ \ \ \
| * | | | Replace the tree 'pformat()' recursion with non-recursive variantJoshua Harlow2015-07-276-46/+472
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adjusted variant creates the same output but is hopefully easier to understand and follow than the recursive version. This version is also not limited by the python stack limit which is a general good thing to avoid being limited by. It also adds a bunch of tests to make sure the format is as expected under various tree structures. Change-Id: I2ae42c7c1bf72794800929250bcf6ccbe658230b
* | | | | Merge "Remove extra runner layer and just use use machine in engine"Jenkins2015-07-316-230/+227
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Remove extra runner layer and just use use machine in engineJoshua Harlow2015-07-286-230/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just directly use the built machine in the action engine and avoid having another layer of abstraction that does not provide that much value. This makes the code cleaner, and more easy to understand (and so-on). Change-Id: Iae1279098112254338258c1941c15889f1ad1a79
* | | | | Updated from global requirementsOpenStack Proposal Bot2015-07-291-1/+1
|/ / / / | | | | | | | | | | | | Change-Id: I523faa336e00092301c9d066a274040f265deb5a
* | | | Merge ".gitignore update"Jenkins2015-07-291-1/+2
|\ \ \ \
| * | | | .gitignore updateTimofey Durakov2015-07-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After running tox some extra files were created. TrivialFix Change-Id: I3e5a38abf49cf3b246de436f78137b23154d8101
* | | | | Merge "Bump futurist and remove waiting code in taskflow"Jenkins2015-07-294-147/+6
|\ \ \ \ \
| * | | | | Bump futurist and remove waiting code in taskflowJoshua Harlow2015-07-254-147/+6
| | |_|_|/ | |/| | | | | | | | | | | | | Change-Id: Ifc9780aa129a4a2804cead301a519895c2bfc0b5
* | | | | Merge "Remove legacy py2.6 backwards logging compat. code"Jenkins2015-07-281-39/+1
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Remove legacy py2.6 backwards logging compat. codeJoshua Harlow2015-07-231-39/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We no longer provide support for py2.6 so we don't need the logging compatibility code to exist anymore. Change-Id: Iaefab67fd8b4e222475d99f57c2c3a7a5ce07d6e
* | | | | Merge "Fix seven typos and one readability on taskflow documentation"Jenkins2015-07-284-8/+8
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Fix seven typos and one readability on taskflow documentationAtsushi SAKAI2015-07-274-8/+8
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | retrys => retries 3 subseqent => subsequent tranfer => transfer exeception => exception overriden => overridden datastructure => data structure Change-Id: Ibb6e3541606f8405d8408c0204f8ad8edc3f058f Closes-Bug: #1478431
* | | | Merge "Remove no longer used '_was_failure' static method"Jenkins2015-07-271-5/+0
|\ \ \ \ | |/ / / |/| | |
| * | | Remove no longer used '_was_failure' static methodJoshua Harlow2015-07-231-5/+0
| |/ / | | | | | | | | | Change-Id: I74765d376cdaa2c23a6aaa4a74517da4e2df7ad8
* | | Merge "Use io.open vs raw open"1.17.0Jenkins2015-07-261-4/+4
|\ \ \ | |_|/ |/| |
| * | Use io.open vs raw openJoshua Harlow2015-07-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | The io.open call can take in a encoding so we don't need to read in binary mode, then convert it since it can just do that on our behalf. Change-Id: I0cce2841b40f1566ba07ff95a553cb18ea9059ee
* | | Merge "Add ability to reset an engine via a `reset` method"Jenkins2015-07-256-10/+222
|\ \ \
| * | | Add ability to reset an engine via a `reset` methodJoshua Harlow2015-07-186-10/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an engines work was previously partially completed and it is desired to reset it (and re-run) so that partially completed or ignored (or other) work inside of it can run again make that possible by exposing and documenting a new `reset` method (and use it internally as well). Change-Id: I47f82010a2108d5d8fd5e42ca9f7e5f165e65488
* | | | Merge "Modify listeners to handle the results now possible from revert()"Jenkins2015-07-252-23/+11
|\ \ \ \
| * | | | Modify listeners to handle the results now possible from revert()Joshua Harlow2015-07-232-23/+11
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that the REVERT and REVERT_FAILURE states can produce results or failure objects we need to take that into account in listeners that were not expecting those states to produce anything; this change adjusts the built-in listeners so that they now handle these states and the results they produce. Also removes some no longer needed py2.6 code used in the logging listener, as that is not needed anymore since we dropped py2.6 support. Change-Id: I0d0a9759648b2a2f27a97c68e19c7cdb6375a4f2
* | | | Merge "Create and use a serial retry executor"Jenkins2015-07-2512-101/+120
|\ \ \ \
| * | | | Create and use a serial retry executorJoshua Harlow2015-07-2112-101/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make it easily possible to change the retry atom execution from being in the engine thread this creates a retry executor (which is similar to the task executor) and provide that a serial executor (which it will use to execute with). This makes the retry and task actions closer to being the same and makes the surrounding code that much similar (which makes understanding it easier). Change-Id: I993e938280df3bd97f8076293183ef21989e2dba
* | | | | Merge "Make currently implemented jobs use @functools.total_ordering"Jenkins2015-07-242-3/+28
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Make currently implemented jobs use @functools.total_orderingJoshua Harlow2015-07-082-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows jobs to be fully be comparable using the total ordering function to provide the complexity around the various functions needed to achieve/perform comparisons. Also fixes up the various job __eq__ and __lt__ methods to correctly return 'NotImplemented' on unknown types and adds a __hash__ to the redis job (so that it can be used in hashable collections, just like the zookeeper job class). Change-Id: I8820d5cc6b2e7f346ac329f011f41b76fa94b777
* | | | | Merge "Updated from global requirements"Jenkins2015-07-232-3/+2
|\ \ \ \ \
| * | | | | Updated from global requirementsOpenStack Proposal Bot2015-07-222-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Depends-On: Idb046b0e4e23af49c947a80cf6f77fef3a9ec0c8 Change-Id: Id9969fbda10a86dd79d1000ec5ba5c34152fd162
* | | | | | Fix lack of space between functionsJoshua Harlow2015-07-221-0/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Somehow this passed through the gate and now it is causing related failures, so fix it so that those other failures will not happen. Change-Id: Idb046b0e4e23af49c947a80cf6f77fef3a9ec0c8
* | | | | Merge "Remove **most** usage of taskflow.utils in examples"Jenkins2015-07-2112-134/+159
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Remove **most** usage of taskflow.utils in examplesJoshua Harlow2015-07-1712-134/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It appears folks are using the taskflow.utils code in there own code-bases (likely taking it from the examples) which we do not want to encourage, so remove the usage of **most** of taskflow.utils code from the examples so that people are less likely to copy/paste/reference it. Change-Id: I0ce3c520de347e3e746e7912aa1366a515458424