commit | 5631cac79799da576e1af0103bf5cb242d223c74 | [log] [tgz] |
---|---|---|
author | Zhao, Qingwen <qingwzhao@ebay.com> | Thu Aug 11 14:49:35 2016 +0800 |
committer | Hao Chen <hao@apache.org> | Thu Aug 11 14:49:35 2016 +0800 |
tree | 049738a4bc716329f2311ccb053c197743d9172d | |
parent | edce7a5dc2bd832944d9321624945cd5270d1553 [diff] |
[EAGLE-404] Updating configuration format check at the front end https://issues.apache.org/jira/browse/EAGLE-404 Author: Zhao, Qingwen <qingwzhao@ebay.com> Closes #287 from qingwen220/EAGLE-404.
diff --git a/eagle-assembly/src/main/bin/eagle-topology-init.sh b/eagle-assembly/src/main/bin/eagle-topology-init.sh index dc9dd59..a8035ed 100755 --- a/eagle-assembly/src/main/bin/eagle-topology-init.sh +++ b/eagle-assembly/src/main/bin/eagle-topology-init.sh
@@ -25,7 +25,7 @@ ## AlertDataSource: data sources bound to sites -echo "Begin to initialize HBase tables ..." +echo "Begin to initialize metadata for eagle topologies ..." echo "" echo "Importing sample site ..."
diff --git a/eagle-webservice/src/main/webapp/app/public/js/common.js b/eagle-webservice/src/main/webapp/app/public/js/common.js index 4c5e82f..f94b58f 100644 --- a/eagle-webservice/src/main/webapp/app/public/js/common.js +++ b/eagle-webservice/src/main/webapp/app/public/js/common.js
@@ -176,7 +176,7 @@ common.properties.check = function (str) { var pass = true; - var regex = /^\s*[\w\.]+\s*=(.*)$/; + var regex = /^\s*[\w\.-]+\s*=(.*)$/; $.each((str || "").trim().split(/[\r\n\s]+/g), function (i, line) { if(!regex.test(line)) { pass = false;