From 7e0574b0ef0c8aa7c52865f4d80f96018bd5821b Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Fri, 29 Sep 2017 08:13:55 +0000 Subject: [PATCH] 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) --- api/resources/v2/containers.py | 4 ++-- gui/app/images/checkno.png | Bin 5849 -> 0 bytes gui/app/images/checkyes.png | Bin 6423 -> 0 bytes gui/app/views/modal/environmentDialog.html | 4 ++-- gui/app/views/modal/taskCreate.html | 12 ++++++------ gui/app/views/taskmodify.html | 12 ++++++------ gui/app/views/testcasechoose.html | 4 ++-- 7 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 gui/app/images/checkno.png delete mode 100644 gui/app/images/checkyes.png 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 7c6841930b8e7b8bcba8e15fc07fffcacd59d3e8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5849 zcmcIo2{@GP`hQV&QnpI^#z-V)wPcKKW^CEQ2+=ZTUSl$5#>`lYs4OiXNm(P>h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hqq zK_)qQ*0#sC>Rc?$RBE4iSk~HiRx5q#((;7pJ<*|a8J@MF+C1QP&N#eivDD(%9O2yDyYg78q-^?#;s3dlJKK2}c^HL?#P55F# z(wih<+Q!}&H#ZLMzd14Y(YOzu)UME1681xpQPu#q^UGmH#K~1F(>^C6_C8N=IB4>Ku;SywYBm z!sX8sqZYY0^8E&z^oWk|&1T`#2VK2l`PZLYjJ;UX*?f9GRuqNodSCDk{`i4wjeAWM z9vd|k2i(=k;R;87oQyerdZR$NZ`^UyL8YBLcKmt7IFtQ#3*zM5+?)#39(Wjh+nI68 zbzr`c+fz(1`kdiQ%a($I$*5lQ%=v5_=I?Ju9Mu4($H((&RViimbd9b!Uro1G z&$5u+BW1lsEv=F4Rx+76QbSKr6xU+04d0GDsrSzHO-9e|b z(=T0`5~Su9@2?XcXMGmg{Gh2!4U03+eey|wiFG=(exJl7U%H^#ReR5A#3}Fdk$zD3-&6#{tz6?ZaqE)1H77s{k7j#IW{@>nrkxU!r6gGizwTHPoF=#N`?gE z@pz%SyCHjZ{YA%)cD_xhnJU_DhkM>l2PbXAe5 zjc@dzyB;#-23~#q7`S))>Cin!)QY}7sEEmxuArqm1TNlIEbbq#ZW|Ng#Eo~Rr=>|9 z>3LNke6x=#T_?XepPSM}YncfA;w}2Ax3^bx^Pb_`l_d?}uSdU$Uw<;rit31MN?0xh zfVV6Z%{Xs>HeZprMcbVRFsSJ3j%|tMKg~XA!)9I<#{y1xt~4BH@;6{ zR+MRcWvrBepBoy&52Qzn0fD;ouJpFZ`Yd;tY=2|TbpyoK^X$A&-G=Y8Hd_eCV3xYM zy_oM ztvuWj#X%oDnAc^HO<`Pl+*$A)j!ixAret;4tKOjHs`f!Hz$H7=UvU8E1(qVf+}H+N JVs!ZUKLH;yW7z-z 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}}
-- 2.16.6