ae9c701f90
This adds a executor backed job dispatching base class and has the existing blocking executor use it by running jobs and dispatching jobs into a sync executor. It also allows for dispatching jobs into a thread executor, or other executor via a new '_executor_factory' method that can generate executors (it can be overriden in the non-blocking executor to provide your own executors instances). This does alter the behavior in that now that jobs are dispatched into an executor we no longer can immediatly know if a job was dispatched and raised an exception or whether it will raise an exception in the future, so we now alter the 'local_dispatched' to just be a boolean that is used to determine if any dispatches happened (failure or not). Change-Id: I485770e8f4c85d3833892a453c9fb5168d8f0407
75 lines
2.4 KiB
INI
75 lines
2.4 KiB
INI
[metadata]
|
|
name = taskflow
|
|
summary = Taskflow structured state management library.
|
|
description-file =
|
|
README.rst
|
|
author = Taskflow Developers
|
|
author-email = taskflow-dev@lists.launchpad.net
|
|
home-page = https://launchpad.net/taskflow
|
|
keywords = reliable,tasks,execution,parallel,dataflow,workflows,distributed
|
|
classifier =
|
|
Development Status :: 4 - Beta
|
|
Environment :: OpenStack
|
|
Intended Audience :: Developers
|
|
Intended Audience :: Information Technology
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.4
|
|
Topic :: Software Development :: Libraries
|
|
Topic :: System :: Distributed Computing
|
|
|
|
[global]
|
|
setup-hooks =
|
|
pbr.hooks.setup_hook
|
|
|
|
[files]
|
|
packages =
|
|
taskflow
|
|
|
|
[entry_points]
|
|
taskflow.jobboards =
|
|
zookeeper = taskflow.jobs.backends.impl_zookeeper:ZookeeperJobBoard
|
|
redis = taskflow.jobs.backends.impl_redis:RedisJobBoard
|
|
|
|
taskflow.conductors =
|
|
blocking = taskflow.conductors.backends.impl_blocking:BlockingConductor
|
|
nonblocking = taskflow.conductors.backends.impl_nonblocking:NonBlockingConductor
|
|
|
|
taskflow.persistence =
|
|
dir = taskflow.persistence.backends.impl_dir:DirBackend
|
|
file = taskflow.persistence.backends.impl_dir:DirBackend
|
|
memory = taskflow.persistence.backends.impl_memory:MemoryBackend
|
|
mysql = taskflow.persistence.backends.impl_sqlalchemy:SQLAlchemyBackend
|
|
postgresql = taskflow.persistence.backends.impl_sqlalchemy:SQLAlchemyBackend
|
|
sqlite = taskflow.persistence.backends.impl_sqlalchemy:SQLAlchemyBackend
|
|
zookeeper = taskflow.persistence.backends.impl_zookeeper:ZkBackend
|
|
|
|
taskflow.engines =
|
|
default = taskflow.engines.action_engine.engine:SerialActionEngine
|
|
serial = taskflow.engines.action_engine.engine:SerialActionEngine
|
|
parallel = taskflow.engines.action_engine.engine:ParallelActionEngine
|
|
worker-based = taskflow.engines.worker_based.engine:WorkerBasedActionEngine
|
|
workers = taskflow.engines.worker_based.engine:WorkerBasedActionEngine
|
|
|
|
[nosetests]
|
|
cover-erase = true
|
|
verbosity = 2
|
|
|
|
[pbr]
|
|
warnerrors = True
|
|
|
|
[wheel]
|
|
universal = 1
|
|
|
|
[build_sphinx]
|
|
source-dir = doc/source
|
|
build-dir = doc/build
|
|
all_files = 1
|
|
|
|
[upload_sphinx]
|
|
upload-dir = doc/build/html
|