summaryrefslogtreecommitdiffstats
path: root/ll-store-binding/store.sh
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2017-10-24 13:34:38 +0200
committerLoïc Collignon <loic.collignon@iot.bzh>2017-10-24 13:34:38 +0200
commit97325dd67f3b7858bd093fc161d0a56e7c7bc9bd (patch)
tree6478f34c28889205ddd7f000e3dd75aef68316cd /ll-store-binding/store.sh
parent4f50493fc0ef4d0c33124ebf52908849196ad685 (diff)
replaced store binding with a database binding based on a berkeley db
Change-Id: I03978ecbf996ebc6d53a88dfd2b275051080016f Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'll-store-binding/store.sh')
-rwxr-xr-xll-store-binding/store.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/ll-store-binding/store.sh b/ll-store-binding/store.sh
deleted file mode 100755
index d2dfbc7..0000000
--- a/ll-store-binding/store.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-case "$1" in
- "get")
- if [ "$#" -ne "4" ]; then
- echo "Usage: store get <user> <app> <tag>"
- exit 1
- fi
- curl -v "http://localhost:9001/api/ll-store/get?username=$2&appname=$3&tagname=$4&token="
- ;;
- "set")
- if [ "$#" -ne "5" ]; then
- echo "Usage: store get <user> <app> <tag> <value>"
- exit 1
- fi
- curl -v "http://localhost:9001/api/ll-store/set?username=$2&appname=$3&tagname=$4&value=$5&token="
- ;;
- *)
- echo "Usage: store <action> <user> <app> <tag> <value>"
- echo " Action can be 'get' or 'set'."
- ;;
-esac
-