From: chenjiankun Date: Fri, 29 Sep 2017 08:13:55 +0000 (+0000) Subject: Remove checkno.png and checkyes.png due to license issue X-Git-Tag: opnfv-5.0.RC1~121 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F43705%2F1;p=yardstick.git Remove checkno.png and checkyes.png due to license issue JIRA: YARDSTICK-817 Since checkno.png and checkyes.png is not Apache-2 license based. so we need to remove them. Change-Id: I40dd303fb54a3736ca969ac1c186d2cd23408436 Signed-off-by: chenjiankun (cherry picked from commit da0163b7b7aaf3ede4e757a0b7d94a5ea99b1083) --- diff --git a/api/resources/v2/containers.py b/api/resources/v2/containers.py index 66dc94120..8a6e6f8a3 100644 --- a/api/resources/v2/containers.py +++ b/api/resources/v2/containers.py @@ -259,13 +259,13 @@ class V2Containers(ApiResource): def _create_dashboard(self, ip): url = 'http://admin:admin@{}:{}/api/dashboards/db'.format(ip, 3000) - path = os.path.join(consts.REPOS_DIR, 'dashboard', '*dashboard.json') + path = os.path.join(consts.REPOS_DIR, 'dashboard', 'opnfv_yardstick_tc*.json') for i in sorted(glob.iglob(path)): with open(i) as f: data = jsonutils.load(f) try: - HttpClient().post(url, data) + HttpClient().post(url, {'dashboard': data}) except Exception: LOG.exception('Create dashboard %s failed', i) raise diff --git a/gui/app/images/checkno.png b/gui/app/images/checkno.png deleted file mode 100644 index 7c6841930..000000000 Binary files a/gui/app/images/checkno.png and /dev/null differ diff --git a/gui/app/images/checkyes.png b/gui/app/images/checkyes.png deleted file mode 100644 index ef6028310..000000000 Binary files a/gui/app/images/checkyes.png and /dev/null differ diff --git a/gui/app/views/modal/environmentDialog.html b/gui/app/views/modal/environmentDialog.html index 4c539fc33..4c4906972 100644 --- a/gui/app/views/modal/environmentDialog.html +++ b/gui/app/views/modal/environmentDialog.html @@ -139,8 +139,8 @@ status - - + + {{name}} {{value.description}} {{value.status}} diff --git a/gui/app/views/modal/taskCreate.html b/gui/app/views/modal/taskCreate.html index e7812cf2b..2d7f1dc3b 100644 --- a/gui/app/views/modal/taskCreate.html +++ b/gui/app/views/modal/taskCreate.html @@ -18,8 +18,8 @@
{{env.name}}
- - + +
@@ -52,8 +52,8 @@
{{test.Name}}
{{test.Description}}
- - + +
@@ -68,8 +68,8 @@
{{suite}}
- - + +
diff --git a/gui/app/views/taskmodify.html b/gui/app/views/taskmodify.html index a4593f745..d12df4ba2 100644 --- a/gui/app/views/taskmodify.html +++ b/gui/app/views/taskmodify.html @@ -22,8 +22,8 @@
{{env.name}}
- - + +
@@ -72,8 +72,8 @@
{{test.Name}}
{{test.Description}}
- - + +
@@ -88,8 +88,8 @@
{{suite}}
- - + +
diff --git a/gui/app/views/testcasechoose.html b/gui/app/views/testcasechoose.html index 12bdb834f..12fb28c90 100644 --- a/gui/app/views/testcasechoose.html +++ b/gui/app/views/testcasechoose.html @@ -17,8 +17,8 @@ -->
- - + +
{{test.Name}}
{{test.Description}}