From 7ccb238420f77552219a6dd3c9255a3103714e22 Mon Sep 17 00:00:00 2001 From: shentao Date: Mon, 13 Nov 2017 10:56:31 +0800 Subject: Fix monitor display bug Change-Id: I831bb8ec2197b1aa1acf99072edfa8c02cd22085 Issue-Id: USECASEUI-54 Signed-off-by: shentao --- .../fusion/scripts/view-models/alarm-chart.html | 102 +++++++++ .../fusion/scripts/view-models/alarm-details.html | 99 ++++++++ .../app/uui/fusion/scripts/view-models/alarm.html | 36 ++- .../scripts/view-models/performance-chart.html | 118 ++++++++++ .../scripts/view-models/performance-details.html | 248 +++++---------------- .../fusion/scripts/view-models/performance.html | 15 +- 6 files changed, 402 insertions(+), 216 deletions(-) create mode 100644 usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm-chart.html create mode 100644 usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm-details.html create mode 100644 usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance-chart.html (limited to 'usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models') diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm-chart.html b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm-chart.html new file mode 100644 index 00000000..03579f60 --- /dev/null +++ b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm-chart.html @@ -0,0 +1,102 @@ + + + +
+
+

alarm Chart

+
+
+
+
+

+ +

+ +
+
+

+
+ +
+

+ +

+ +
+
+

+
+
+

+

+ +
+ +
+
+
+ +
+

+
+ +
+
+
Chart + +
+

+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm-details.html b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm-details.html new file mode 100644 index 00000000..96cf8460 --- /dev/null +++ b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm-details.html @@ -0,0 +1,99 @@ + +
+

VNF Alarm Details

+ + + + + +
+ Header Information + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Event Name{{eventName}}Event Id{{eventId}}
Source Id{{sourceId}}Source Name{{sourceName}}
Reporting Entity Id{{reportingEntityId}}Reporting Entity Name{{reportingEntityName}}
Priority{{priority}}Start Time{{startTIme}}
NFC Naming Code{{nfcNamingCode}}NF Naming Code{{nfNamingCode}}
+
+
+ + Detail Information + + + + + + + + + + + + + + + + + + + + +
Event Servrity{{eventServrity}}Event Source Type{{eventSourceType}}
Event Category{{eventCategory}}Alarm InterfaceA{{alarmInterfaceA}}
Alarm Condition{{alarmCondition}}Specific Problem{{specificProblem}}
+
+
+ + Additional Information + + + + + + + + + + +
Item NameItem Value
{{info.name}}{{info.value}}
+
+ +
\ No newline at end of file diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html index dc18c380..fdae95b9 100644 --- a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html +++ b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html @@ -14,24 +14,11 @@ limitations under the License. -->
-

Alarm

+

VNF Alarm

- +
    -
  • cpu
  • -
  • state
  • -
  • memory
  • +
  • Source Id
  • +
  • Source Name
  • +
  • Priority
    -
  • disk
  • -
  • Network
  • +
  • Start Time + +
    +
  • +
  • + End Time +
    +
@@ -71,7 +64,8 @@
- + +
diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance-chart.html b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance-chart.html new file mode 100644 index 00000000..9f9ccbb3 --- /dev/null +++ b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance-chart.html @@ -0,0 +1,118 @@ + + + +
+
+

Performance Chart

+
+
+
+
+

+ +

+ +
+
+

+
+ +
+

+ +

+ +
+
+

+
+
+

+

+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+

+
+ +
+
+
Chart + +
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance-details.html b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance-details.html index 054b5f5f..61c2bc57 100644 --- a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance-details.html +++ b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance-details.html @@ -13,192 +13,62 @@ See the License for the specific language governing permissions and limitations under the License. --> - - -
-
-

Performance Details

-
-
- - -
-
-
-
-
CPU - -
-

-
-
-
-
-
Memory -
-

-
-
-
-
-
-
-
Disk -
-

-
-
-
-
-
Network -
-

-
-
-
-
-
- -
-
-
-
-
CPU -
-

-
-
-
-
-
Memory -
-

-
-
-
-
-
-
-
Disk -
-

-
-
-
-
-
Network -
-

-
-
-
-
-
- -
-
-
-
-
CPU -
-

-
-
-
-
-
Memory -
-

-
-
-
-
-
-
-
Disk -
-

-
-
-
-
-
Network -
-

-
-
-
-
-
- -
-
-
-
-
CPU -
-

-
-
-
-
-
Memory -
-

-
-
-
-
-
-
-
Disk -
-

-
-
-
-
-
Network -
-

-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file +
+

VNF Performance Data Details

+ + + + + +
+ Header Information + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Event Name{{eventName}}Event Id{{eventId}}
Source Id{{sourceId}}Source Name{{sourceName}}
Reporting Entity Id{{reportingEntityId}}Reporting Entity Name{{reportingEntityName}}
Priority{{priority}}Start Time{{createTime}}
NFC Naming Code{{nfcNamingCode}}NF Naming Code{{nfNamingCode}}
+
+
+ + Additional Information + + + + + + + + + + +
Item NameItem Value
{{info.name}}{{info.value}}
+
+ +
\ No newline at end of file diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance.html b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance.html index 426836c6..f2fc7320 100644 --- a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance.html +++ b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/performance.html @@ -18,14 +18,16 @@

Performance

    -
  • cpu
  • -
  • state
  • -
  • memory
  • +
  • Source Id
  • +
  • Source Name
  • +
  • Priority
    -
  • disk
  • -
  • Network
  • +
  • Start Time +
  • +
  • End Time +
@@ -44,7 +46,8 @@
- + +