summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/store.py
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-05-02 05:58:59 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-05-02 05:58:59 +0000
commit5842f30c2abd2ca2b296257910b48c0c1b3567a8 (patch)
tree5475aae60227ae0b66fa9b88728b24134f7f8f84 /sca-cpp/trunk/modules/edit/store.py
parent636e046fd1cdf7a6f1a365e4f02f5bbc2f593c70 (diff)
Change app data model a bit. Store app properties in separate files and support app cloning.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1098491 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-cpp/trunk/modules/edit/store.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/sca-cpp/trunk/modules/edit/store.py b/sca-cpp/trunk/modules/edit/store.py
index 052605d2d6..9598cdf7fa 100644
--- a/sca-cpp/trunk/modules/edit/store.py
+++ b/sca-cpp/trunk/modules/edit/store.py
@@ -16,8 +16,6 @@
# under the License.
# stores collection implementation
-import uuid
-import sys
from util import *
# Convert a particular store tag to a store id
@@ -31,15 +29,6 @@ def getstore(id, cache):
return ()
return store
-# Post a new app to a store
-def post(collection, app, cache):
- tag = car(collection)
- id = (str(uuid.uuid1()),)
- newapp = list("'entry", cadr(car(app)), list("'id", id), cadddr(car(app)))
- store = cons(newapp, getstore(storeid(tag), cache))
- cache.put(storeid(tag), store)
- return id
-
# Put an app into a store
def put(key, app, cache):
def putapp(app, store):