From 888bdb88733764ae1e81c199a954c35a583a9738 Mon Sep 17 00:00:00 2001 From: charithag Date: Wed, 2 Sep 2015 17:00:45 +0530 Subject: [PATCH] Update sample distributions to add datasource definitions directly to master-datasources.xml --- modules/samples/android_sense/build.xml | 29 +++++++++++++++++++++++ modules/samples/arduino/build.xml | 29 +++++++++++++++++++++++ modules/samples/common.xml | 1 + modules/samples/digital_display/build.xml | 29 +++++++++++++++++++++++ modules/samples/firealarm/build.xml | 29 +++++++++++++++++++++++ modules/samples/raspberrypi/build.xml | 29 +++++++++++++++++++++++ modules/samples/sensebot/build.xml | 29 +++++++++++++++++++++++ 7 files changed, 175 insertions(+) diff --git a/modules/samples/android_sense/build.xml b/modules/samples/android_sense/build.xml index a47db292..dd7b7205 100644 --- a/modules/samples/android_sense/build.xml +++ b/modules/samples/android_sense/build.xml @@ -28,6 +28,32 @@ ]]> + + + + ${data_source} + The datasource used for Arduino database + + jdbc/${data_source} + + + + jdbc:h2:repository/database/${data_source};DB_CLOSE_ON_EXIT=FALSE + wso2carbon + wso2carbon + org.h2.Driver + 50 + 60000 + true + SELECT 1 + 30000 + + + + ]]> + + @@ -56,6 +82,9 @@ + + + \ No newline at end of file diff --git a/modules/samples/arduino/build.xml b/modules/samples/arduino/build.xml index 43b504f7..8dfd9c4a 100644 --- a/modules/samples/arduino/build.xml +++ b/modules/samples/arduino/build.xml @@ -27,6 +27,32 @@ ]]> + + + + ${data_source} + The datasource used for Arduino database + + jdbc/${data_source} + + + + jdbc:h2:repository/database/${data_source};DB_CLOSE_ON_EXIT=FALSE + wso2carbon + wso2carbon + org.h2.Driver + 50 + 60000 + true + SELECT 1 + 30000 + + + + ]]> + + @@ -55,6 +81,9 @@ + + + \ No newline at end of file diff --git a/modules/samples/common.xml b/modules/samples/common.xml index 042d6486..7693f6d9 100644 --- a/modules/samples/common.xml +++ b/modules/samples/common.xml @@ -1,6 +1,7 @@ + diff --git a/modules/samples/digital_display/build.xml b/modules/samples/digital_display/build.xml index c54a411f..fdd60784 100644 --- a/modules/samples/digital_display/build.xml +++ b/modules/samples/digital_display/build.xml @@ -27,6 +27,32 @@ ]]> + + + + ${data_source} + The datasource used for Arduino database + + jdbc/${data_source} + + + + jdbc:h2:repository/database/${data_source};DB_CLOSE_ON_EXIT=FALSE + wso2carbon + wso2carbon + org.h2.Driver + 50 + 60000 + true + SELECT 1 + 30000 + + + + ]]> + + @@ -55,6 +81,9 @@ + + + \ No newline at end of file diff --git a/modules/samples/firealarm/build.xml b/modules/samples/firealarm/build.xml index e7aa2140..8c190e19 100644 --- a/modules/samples/firealarm/build.xml +++ b/modules/samples/firealarm/build.xml @@ -28,6 +28,32 @@ ]]> + + + + ${data_source} + The datasource used for Arduino database + + jdbc/${data_source} + + + + jdbc:h2:repository/database/${data_source};DB_CLOSE_ON_EXIT=FALSE + wso2carbon + wso2carbon + org.h2.Driver + 50 + 60000 + true + SELECT 1 + 30000 + + + + ]]> + + @@ -56,6 +82,9 @@ + + + \ No newline at end of file diff --git a/modules/samples/raspberrypi/build.xml b/modules/samples/raspberrypi/build.xml index 99318ed4..93d38ae3 100644 --- a/modules/samples/raspberrypi/build.xml +++ b/modules/samples/raspberrypi/build.xml @@ -27,6 +27,32 @@ ]]> + + + + ${data_source} + The datasource used for Arduino database + + jdbc/${data_source} + + + + jdbc:h2:repository/database/${data_source};DB_CLOSE_ON_EXIT=FALSE + wso2carbon + wso2carbon + org.h2.Driver + 50 + 60000 + true + SELECT 1 + 30000 + + + + ]]> + + @@ -55,6 +81,9 @@ + + + \ No newline at end of file diff --git a/modules/samples/sensebot/build.xml b/modules/samples/sensebot/build.xml index e7cea4bd..463b3192 100644 --- a/modules/samples/sensebot/build.xml +++ b/modules/samples/sensebot/build.xml @@ -26,6 +26,32 @@ ]]> + + + + ${data_source} + The datasource used for Arduino database + + jdbc/${data_source} + + + + jdbc:h2:repository/database/${data_source};DB_CLOSE_ON_EXIT=FALSE + wso2carbon + wso2carbon + org.h2.Driver + 50 + 60000 + true + SELECT 1 + 30000 + + + + ]]> + + @@ -58,6 +84,9 @@ + + + \ No newline at end of file