adding orchestration type to service models view
[vid.git] / vid-app-common / src / main / webapp / app / vid / scripts / view-models / serviceModels.htm
index 1158f40..06fc7f6 100755 (executable)
@@ -2,7 +2,7 @@
   ============LICENSE_START=======================================================\r
   VID\r
   ================================================================================\r
-  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
+  Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.\r
   ================================================================================\r
   Licensed under the Apache License, Version 2.0 (the "License");\r
   you may not use this file except in compliance with the License.\r
@@ -30,7 +30,9 @@
                        <img src="app/vid/images/spinner.gif"></img>\r
                        </span>\r
                        <span class="statusLine" ng-class="{true:'progVisible', false:'progHidden'}[isProgressVisible]">\r
-                       <label>Status:</label><span class="status"><span ng-show="error"><font color='red'><b>Error: </b></font></span>{{status}}</span>\r
+                       <label>Status:</label><span class="status"><span ng-show="error"><font color='red'><b>Error: </b></font></span>{{status}} <br/>\r
+                       <button ng-show="error" class="btn btn-danger" ng-click="showReportWindow()" ng-if="isShowErrorReport()">create report</button>\r
+                       </span>\r
                </span>\r
        <br><br>\r
 \r
@@ -46,6 +48,7 @@
                                <tr>\r
                                        <th att-table-header key="action">Action</th>\r
                                        <th att-table-header key="uuid">UUID</th>\r
+                                       <th ng-if="isShowOrchestrationType()" att-table-header key="orchestrationType">Orchestration Type</th>\r
                                        <th att-table-header key="invariantUUID">Invariant UUID</th>\r
                                        <th att-table-header default-sort="A" key="name">Name</th>\r
                            <th att-table-header key="version">Version</th>\r
@@ -60,6 +63,7 @@
                                <tr class="sdcServiceModel" data-tests-id="Browse_SDC_Service_Models-uuid-{{service['uuid']}}">\r
                                        <td class="deploy" att-table-body ><button class="deploy-service-class" type=button data-tests-id="deploy-{{service['uuid']}}" ng-click="deployService(service)" att-button btn-type="{{deployButtonType}}" size="small">Deploy</button></td>\r
                                        <td class="uuid" att-table-body ng-bind="service['uuid']"></td>\r
+                                       <td ng-if="isShowOrchestrationType()" class="orchestrationType" att-table-body ng-bind="service['orchestrationType']"></td>\r
                                        <td class="invariantUUID" att-table-body data-tests-id="Invariant-{{service['invariantUUID']}}" ng-bind="service['invariantUUID']"></td>\r
                                        <td class="name" att-table-body ng-bind="service['name']"></td>\r
                                        <td class="version" att-table-body ng-bind="service['version']"></td>\r