moved files to root folder. 5.99.1 5.99.2 5.99.3 5.99.4 5.99.5 5.99.6 6.90.0 flounder/5.99.1 flounder/5.99.2 flounder/5.99.3 flounder/5.99.4 flounder/5.99.5 flounder/5.99.6 flounder_5.99.1 flounder_5.99.2 flounder_5.99.3 flounder_5.99.4 flounder_5.99.5 flounder_5.99.6 guppy/6.90.0 guppy_6.90.0
authorLoïc Collignon <loic.collignon@iot.bzh>
Thu, 8 Feb 2018 10:06:33 +0000 (11:06 +0100)
committerLoïc Collignon <loic.collignon@iot.bzh>
Thu, 8 Feb 2018 10:17:04 +0000 (11:17 +0100)
Change-Id: I7103241843736e1a5747253781485afa457a64d0
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
15 files changed:
CMakeLists.txt [moved from ll-database-binding/CMakeLists.txt with 100% similarity]
README.md
conf.d/cmake/FindBerkeleyDB.cmake [moved from ll-database-binding/conf.d/cmake/FindBerkeleyDB.cmake with 100% similarity]
conf.d/cmake/FindGDBM.cmake [moved from ll-database-binding/conf.d/cmake/FindGDBM.cmake with 100% similarity]
conf.d/cmake/config.cmake [moved from ll-database-binding/conf.d/cmake/config.cmake with 99% similarity]
conf.d/wgt/config.xml.in [moved from ll-database-binding/conf.d/wgt/config.xml.in with 100% similarity]
htdocs/persistence/AFB-websock.js [moved from ll-database-binding/htdocs/persistence/AFB-websock.js with 100% similarity]
htdocs/persistence/binding-debug.css [moved from ll-database-binding/htdocs/persistence/binding-debug.css with 100% similarity]
htdocs/persistence/index.html [moved from ll-database-binding/htdocs/persistence/index.html with 100% similarity]
htdocs/persistence/persistence-binding.js [moved from ll-database-binding/htdocs/persistence/persistence-binding.js with 100% similarity]
ll-database-binding/.gitmodules [deleted file]
ll-database-binding/README.md [deleted file]
src/CMakeLists.txt [moved from ll-database-binding/src/CMakeLists.txt with 100% similarity]
src/export.map [moved from ll-database-binding/src/export.map with 100% similarity]
src/persistence-binding.c [moved from ll-database-binding/src/persistence-binding.c with 100% similarity]

index 1d1a1e8..fb420dc 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,2 +1,38 @@
-# agl-service-data-persistence
 
+# Database Binding
+This binding provide a database API with key/value semantics.
+The backend is currently a Berkeley DB.
+
+## Verbs
+* **insert**:
+       This verb insert a key/value pair in the database.
+       If the key already exist, the verb fails.
+       
+* **update**:
+       This verb update an existing record.
+       If the key doesn't exist, the verb fails.
+       
+* **delete**:
+       This verb remove an existing key/value pair from the database.
+       If no matching record is found, the verb fails.
+
+* **read**:
+       This verb get the value associated with the specified key.
+       If no matching record is found, the verb fails.
+
+## Arguments
+* The **read** and **delete** verbs need only a **key** to work:
+```
+{
+       "key": "mykey"
+}
+```
+
+* The **insert** and **update** verbs need a **key** and a **value** to work:
+```
+{
+       "key": "mykey",
+       "value": "my value"
+}
+```
+The **value** can be any valid json.
similarity index 99%
rename from ll-database-binding/conf.d/cmake/config.cmake
rename to conf.d/cmake/config.cmake
index a698e70..5f59f66 100644 (file)
@@ -31,7 +31,7 @@ set(PROJECT_LANGUAGES,"C")
 
 # Where are stored default templates files from submodule or subtree app-templates in your project tree
 # relative to the root project directory
-set(PROJECT_APP_TEMPLATES_DIR "../conf.d/app-templates")
+set(PROJECT_APP_TEMPLATES_DIR "conf.d/app-templates")
 
 # Where are stored your external libraries for your project. This is 3rd party library that you don't maintain
 # but used and must be built and linked.
diff --git a/ll-database-binding/.gitmodules b/ll-database-binding/.gitmodules
deleted file mode 100644 (file)
index e07cae1..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "conf.d/app-templates"]
-       path = conf.d/app-templates
-       url = https://gerrit.automotivelinux.org/gerrit/p/apps/app-templates.git
diff --git a/ll-database-binding/README.md b/ll-database-binding/README.md
deleted file mode 100644 (file)
index fb420dc..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-
-# Database Binding
-This binding provide a database API with key/value semantics.
-The backend is currently a Berkeley DB.
-
-## Verbs
-* **insert**:
-       This verb insert a key/value pair in the database.
-       If the key already exist, the verb fails.
-       
-* **update**:
-       This verb update an existing record.
-       If the key doesn't exist, the verb fails.
-       
-* **delete**:
-       This verb remove an existing key/value pair from the database.
-       If no matching record is found, the verb fails.
-
-* **read**:
-       This verb get the value associated with the specified key.
-       If no matching record is found, the verb fails.
-
-## Arguments
-* The **read** and **delete** verbs need only a **key** to work:
-```
-{
-       "key": "mykey"
-}
-```
-
-* The **insert** and **update** verbs need a **key** and a **value** to work:
-```
-{
-       "key": "mykey",
-       "value": "my value"
-}
-```
-The **value** can be any valid json.