summaryrefslogtreecommitdiffstats
path: root/runtime/extra/sql
diff options
context:
space:
mode:
authorsaul.gill <saul.gill@est.tech>2021-07-23 10:48:25 +0100
committersaul.gill <saul.gill@est.tech>2021-07-29 14:19:29 +0100
commit4045d5fd60013534f4ecf85f553ae7da3e32220d (patch)
tree4c6a134b4a529b87d8564399be4abeea40635a9a /runtime/extra/sql
parent096c230515b1dc2f773e8742725c9e78444ee4f3 (diff)
Added endpoint for common or instance properties
Runtime-controlloop and Camel endpoionts added Flag common can be used - true common props - false - instance props Changed getServiceTemplate endpoint to return less Added creation of controlloop db to clamp scripts Issue-ID: POLICY-3439 Change-Id: I9d189ca030868b47b46a2e0bc5e731c23fba2a61 Signed-off-by: saul.gill <saul.gill@est.tech>
Diffstat (limited to 'runtime/extra/sql')
-rw-r--r--runtime/extra/sql/bulkload/create-db.sql6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/extra/sql/bulkload/create-db.sql b/runtime/extra/sql/bulkload/create-db.sql
index ea4d97c1b..5fa34ca04 100644
--- a/runtime/extra/sql/bulkload/create-db.sql
+++ b/runtime/extra/sql/bulkload/create-db.sql
@@ -7,5 +7,9 @@ USE `cldsdb4`;
DROP USER 'clds';
CREATE USER 'clds';
GRANT ALL on cldsdb4.* to 'clds' identified by 'sidnnd83K' with GRANT OPTION;
+CREATE DATABASE `controlloop`;
+USE `controlloop`;
+DROP USER 'policy';
+CREATE USER 'policy';
+GRANT ALL on controlloop.* to 'policy' identified by 'P01icY' with GRANT OPTION;
FLUSH PRIVILEGES;
-