summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2013-09-18 16:04:41 -0700
committerJoshua Harlow <harlowja@gmail.com>2013-09-21 23:55:33 -0700
commit166bfff48ca6c22768066d394ff501cf210f3027 (patch)
tree6785fb3be93ab91cac2c9d8dc2f47abe6d7454ad /setup.cfg
parentc108f6a1f5bc32ef7e2041bcce7223740ddefaf8 (diff)
downloadtaskflow-166bfff48ca6c22768066d394ff501cf210f3027.tar.gz
Add a directory/filesystem based persistence layer
Add a nice non-memory-based but also non-db based persistence layer which is another good example of how a persistence layer can be created (and used). Example directory structure: /books /books/247c5311-d4ec-461b-9e76-51830d6a75b2 /books/247c5311-d4ec-461b-9e76-51830d6a75b2/metadata /books/247c5311-d4ec-461b-9e76-51830d6a75b2/flows /books/247c5311-d4ec-461b-9e76-51830d6a75b2/flows/25f18828-a067-411e-9035-8217536f925d /flows /flows/25f18828-a067-411e-9035-8217536f925d /flows/25f18828-a067-411e-9035-8217536f925d/metadata /flows/25f18828-a067-411e-9035-8217536f925d/tasks /flows/25f18828-a067-411e-9035-8217536f925d/tasks/a352fa2e-82cf-4c37-89ae-3aa10dbf1437 /tasks /tasks/a352fa2e-82cf-4c37-89ae-3aa10dbf1437 Change-Id: I63aaf56497187e21469bc500a49dd02de0c67f29
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index c966368..378ff74 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -29,6 +29,8 @@ packages =
[entry_points]
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