You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2017/09/13 17:06:56 UTC

[3/4] brooklyn-server git commit: include default password in sql for backwards compatibility

include default password in sql for backwards compatibility


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/61c19881
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/61c19881
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/61c19881

Branch: refs/heads/master
Commit: 61c1988120ca8fd2284bcbd9ec2b61535eaded1f
Parents: c6b41cb
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Wed Sep 13 17:58:53 2017 +0100
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Wed Sep 13 17:58:53 2017 +0100

----------------------------------------------------------------------
 .../src/test/resources/visitors-creation-script.sql              | 4 +++-
 launcher/src/test/resources/visitors-creation-script.sql         | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/61c19881/camp/camp-brooklyn/src/test/resources/visitors-creation-script.sql
----------------------------------------------------------------------
diff --git a/camp/camp-brooklyn/src/test/resources/visitors-creation-script.sql b/camp/camp-brooklyn/src/test/resources/visitors-creation-script.sql
index 304c060..1640d1b 100644
--- a/camp/camp-brooklyn/src/test/resources/visitors-creation-script.sql
+++ b/camp/camp-brooklyn/src/test/resources/visitors-creation-script.sql
@@ -21,7 +21,9 @@ use visitors;
 
 
 # the below will create user (and note create user not supported in some dialects)
-grant usage on *.* to 'brooklyn'@'%' identified by '${config["creation.script.password"]}';
+# default password specified for compatibility with older blueprints that don't provide config;
+# if your blueprint sets the password it can be removed here
+grant usage on *.* to 'brooklyn'@'%' identified by '${config["creation.script.password"]!"br00k11n"}';
 grant all privileges on visitors.* to 'brooklyn'@'%';
 # useful if sockets work also
 grant all privileges on visitors.* to 'brooklyn'@'localhost';

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/61c19881/launcher/src/test/resources/visitors-creation-script.sql
----------------------------------------------------------------------
diff --git a/launcher/src/test/resources/visitors-creation-script.sql b/launcher/src/test/resources/visitors-creation-script.sql
index 304c060..1640d1b 100644
--- a/launcher/src/test/resources/visitors-creation-script.sql
+++ b/launcher/src/test/resources/visitors-creation-script.sql
@@ -21,7 +21,9 @@ use visitors;
 
 
 # the below will create user (and note create user not supported in some dialects)
-grant usage on *.* to 'brooklyn'@'%' identified by '${config["creation.script.password"]}';
+# default password specified for compatibility with older blueprints that don't provide config;
+# if your blueprint sets the password it can be removed here
+grant usage on *.* to 'brooklyn'@'%' identified by '${config["creation.script.password"]!"br00k11n"}';
 grant all privileges on visitors.* to 'brooklyn'@'%';
 # useful if sockets work also
 grant all privileges on visitors.* to 'brooklyn'@'localhost';