diff options
author | Herbert Eiselt <herbert.eiselt@highstreet-technologies.com> | 2019-02-18 18:49:32 +0100 |
---|---|---|
committer | Herbert Eiselt <herbert.eiselt@highstreet-technologies.com> | 2019-02-18 18:50:01 +0100 |
commit | 9fbb2c4ed57dbdf9137bbd62f9925e177f940dd3 (patch) | |
tree | 16b41b66748462eeaf65f1dda40ae94d2bf12495 /sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/_site/index.html | |
parent | 7422dda6b2ca0b124e6a45fea876721c00f395db (diff) |
Increase Test coverage
Increase Test coverage over 50 for SDN-R devicemanager
Change-Id: I03eb5887d955abdfd4bdefa58c79c7f5356c9401
Issue-ID: SDNC-650
Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/_site/index.html')
-rw-r--r-- | sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/_site/index.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/_site/index.html b/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/_site/index.html new file mode 100644 index 000000000..4e07bab0b --- /dev/null +++ b/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/_site/index.html @@ -0,0 +1,33 @@ +<!DOCTYPE html> + +<html> + <head> + <meta charset="UTF-8"> + <title>elasticsearch-head</title> + <link rel="stylesheet" href="base/reset.css"> + <link rel="stylesheet" href="vendor.css"> + <link rel="stylesheet" href="app.css"> + <script src="i18n.js" data-baseDir="lang" data-langs="en,fr,pt,zh,tr"></script> + <script src="vendor.js"></script> + <script src="app.js"></script> + <script> + window.onload = function() { + if(location.href.contains("/_plugin/")) { + var base_uri = location.href.replace(/_plugin\/.*/, ''); + } + var args = location.search.substring(1).split("&").reduce(function(r, p) { + r[decodeURIComponent(p.split("=")[0])] = decodeURIComponent(p.split("=")[1]); return r; + }, {}); + new app.App("body", { + id: "es", + base_uri: args["base_uri"] || base_uri, + auth_user : args["auth_user"] || "", + auth_password : args["auth_password"], + dashboard: args["dashboard"] + }); + }; + </script> + <link rel="icon" href="base/favicon.png" type="image/png"> + </head> + <body></body> +</html> |