aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/app/scripts/view-models/component-viewer/properties/service-properties-view.html
blob: 01f872c13c30f18cd388a791d44e02865445976e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<div class="w-sdc-component-viewer-right-properties">

    <h4 class="w-sdc-resource-viewer-right-title">General Information</h4>
    <div class="w-sdc-resource-viewer-right-content-section">
        <div class='sdc-resource-viewer-sidebar-section-content-column-1'>
            <div class="sdc-resource-viewer-sidebar-section-content-item">
                <span class="sdc-resource-viewer-sidebar-section-content-item-label" translate="GENERAL_LABEL_TYPE"></span>
                <span class="sdc-resource-viewer-sidebar-section-content-item-value" translate="GENERAL_LABEL_SERVICE"></span>
            </div>
            <div class="sdc-resource-viewer-sidebar-section-content-item">
                <span class="sdc-resource-viewer-sidebar-section-content-item-label" translate="GENERAL_LABEL_VERSION"></span>
                <span class="sdc-resource-viewer-sidebar-section-content-item-value" data-ng-bind="component.version"></span>
            </div>
            <div class="sdc-resource-viewer-sidebar-section-content-item">
                <span class="sdc-resource-viewer-sidebar-section-content-item-label" translate="GENERAL_LABEL_CATEGORY"></span>
                <span class="sdc-resource-viewer-sidebar-section-content-item-value" tooltips tooltip-content="{{component.categories[0].name}}" data-ng-bind="component.categories[0].name"></span>
            </div>
            <div class="sdc-resource-viewer-sidebar-section-content-item">
                <span class="sdc-resource-viewer-sidebar-section-content-item-label" translate="GENERAL_LABEL_CREATION_DATE"></span>
                <span class="sdc-resource-viewer-sidebar-section-content-item-value" data-ng-bind="component.creationDate | date: 'MM/dd/yyyy'"></span>
            </div>
            <div class="sdc-resource-viewer-sidebar-section-content-item">
                <span class="sdc-resource-viewer-sidebar-section-content-item-label" translate="GENERAL_LABEL_AUTHOR"></span>
                <span class="sdc-resource-viewer-sidebar-section-content-item-value" data-ng-bind="component.creatorFullName"></span>
            </div>
            <div class="sdc-resource-viewer-sidebar-section-content-item">
                <span class="sdc-resource-viewer-sidebar-section-content-item-label" translate="GENERAL_LABEL_CONTACT_ID"></span>
                <span class="sdc-resource-viewer-sidebar-section-content-item-value" data-ng-bind="component.contactId"></span>
            </div>
            <div class="sdc-resource-viewer-sidebar-section-content-item">
                <span class="sdc-resource-viewer-sidebar-section-content-item-label" translate="GENERAL_LABEL_PROJECT_CODE"></span>
                <span class="sdc-resource-viewer-sidebar-section-content-item-value" data-ng-bind="component.projectCode"></span>
            </div>
            <div class="sdc-resource-viewer-sidebar-section-content-item">
                <span class="sdc-resource-viewer-sidebar-section-content-item-label">Life Cycle Status:</span>
                <span class="sdc-resource-viewer-sidebar-section-content-item-value"> {{sdcMenu.LifeCycleStatuses[component.lifecycleState].text}}</span>
            </div>
            <div class="sdc-resource-viewer-sidebar-section-content-item">
                <span class="sdc-resource-viewer-sidebar-section-content-item-label">Distribution Status:</span>
                <span class="sdc-resource-viewer-sidebar-section-content-item-value">{{sdcMenu.DistributionStatuses[component.distributionStatus].text}}</span>
            </div>

            <div class="sdc-resource-viewer-sidebar-section-content-item">
                <span class="sdc-resource-viewer-sidebar-section-content-item-label">System Name:</span>
                <span class="sdc-resource-viewer-sidebar-section-content-item-value" tooltips tooltip-content="{{component.systemName}}" data-ng-bind="component.systemName"></span>
            </div>
        </div>
        <div class='sdc-resource-viewer-sidebar-section-content-column-2'>
            <div class="sdc-resource-viewer-sidebar-section-content-item description">
                <span class="sdc-resource-viewer-sidebar-section-content-item-label" translate="GENERAL_LABEL_DESCRIPTION"></span>
                <span class="sdc-resource-viewer-sidebar-section-content-item-value" data-ng-bind="component.description"></span>
            </div>
            <div class="sdc-resource-viewer-sidebar-section-content-item" >
                <span class="sdc-resource-viewer-sidebar-section-content-item-label" translate="GENERAL_LABEL_TAGS"></span>
                <span tooltips tooltip-content="{{component.tags.join(', ')}}" class="sdc-resource-viewer-sidebar-section-content-tags" data-ng-repeat="(tag, tagName) in component.tags">{{tagName}}{{$last ? '' : ','}}</span>
            </div>
        </div>
    </div>
    <h4 class="w-sdc-resource-viewer-right-title">Additional Information</h4>

    <div class="sdc-properties-container w-sdc-resource-viewer-right-content-section">
        <table class="w-sdc-resource-viewer-right-table" data-ng-show="additionalInformations.length">
            <thead class="w-sdc-resource-viewer-right-table-head">
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-2">Key</th>
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-2">Value</th>
            </thead>
            <tbody>
            <tr data-ng-repeat="additionalInformation in additionalInformations">
                <td><span class="ellipsis-cols2" tooltips tooltip-content="{{additionalInformation.key}}">{{additionalInformation.key}}</span></td>
                <td><span class="ellipsis-cols2" tooltips tooltip-content="{{additionalInformation.value}}">{{additionalInformation.value}}</span></td>
            </tr>
            </tbody>
        </table>
    </div>

    <h4 class="w-sdc-resource-viewer-right-title">Inputs</h4>

    <div class="sdc-properties-container w-sdc-resource-viewer-right-content-section">
        <table class="w-sdc-resource-viewer-right-table" data-ng-show="inputs.length">
            <thead class="w-sdc-resource-viewer-right-table-head">
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-2">Name</th>
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-3">Type (Constraints)</th>
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-3">Default Value</th>
            </thead>
            <tbody>
            <tr data-ng-repeat="input in inputs">
                <td><span class="ellipsis-cols2" data-tests-id="{{input.name}}" tooltips tooltip-content="{{input.name}}">{{input.name}}</span></td>
                <td>{{input.type}}</td>
                <td><span class="ellipsis-cols3" data-tests-id="{{input.value}}" tooltips tooltip-content="{{input.value}}">{{input.value}}</span></td>
            </tr>
            </tbody>
        </table>
    </div>

    <h4 class="w-sdc-resource-viewer-right-title">API Artifacts</h4>

    <div class="sdc-requirements-container w-sdc-resource-viewer-right-content-section">
        <table class="w-sdc-resource-viewer-right-table" data-ng-show="hasItems(component.serviceApiArtifacts)">
            <thead class="w-sdc-resource-viewer-right-table-head">
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-2">Name</th>
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-3">File</th>
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-3">Version</th>
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-3"></th>
            </thead>
            <tbody>
            <tr data-ng-repeat="(artifactLogicName, artifact) in component.serviceApiArtifacts">
                <td><span class="ellipsis-cols2" data-tests-id="{{artifact.artifactDisplayName}}" tooltips tooltip-content="{{artifact.artifactDisplayName}}">{{artifact.artifactDisplayName}}</span></td>
                <td><span class="ellipsis-cols3" data-tests-id="{{artifact.artifactName}}" tooltips tooltip-content="{{artifact.artifactName}}">{{artifact.artifactName}}</span></td>
                <td><span class="ellipsis-cols3" data-tests-id="{{artifact.artifactVersion}}" tooltips tooltip-content="{{artifact.artifactVersion}}" data-ng-if="artifact.esId">{{artifact.artifactVersion}}</span></td>
                <td class="cols-3">
                    <download-artifact class="sdc-information-artifacts-icon download" data-ng-if="artifact.artifactName" component="component" artifact="artifact"></download-artifact>
                    <!--span class="sdc-information-artifacts-icon preview"></span-->
                </td>
            </tr>
            </tbody>
        </table>
    </div>

    <h4 class="w-sdc-resource-viewer-right-title">Deployment Artifacts</h4>

    <div class="sdc-information-container w-sdc-resource-viewer-right-content-section">
        <table class="w-sdc-resource-viewer-right-table" data-ng-show="hasItems(component.deploymentArtifacts)">
            <thead class="w-sdc-resource-viewer-right-table-head">
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-2">Name</th>
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-3">File</th>
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-3">Version</th>
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-3"></th>
            </thead>
            <tbody>
            <tr data-ng-repeat="(artifactLogicName, artifact) in component.deploymentArtifacts">
                <td><span class="ellipsis-cols2" data-tests-id="{{artifact.artifactDisplayName}}" tooltips tooltip-content="{{artifact.artifactDisplayName}}">{{artifact.artifactDisplayName}}</span></td>
                <td><span class="ellipsis-cols3" data-tests-id="{{artifact.artifactName}}" tooltips tooltip-content="{{artifact.artifactName}}">{{artifact.artifactName}}</span></td>
                <td><span class="ellipsis-cols3" data-tests-id="{{artifact.artifactVersion}}" tooltips tooltip-content="{{artifact.artifactVersion}}" data-ng-if="artifact.esId">{{artifact.artifactVersion}}</span></td>
                <td class="cols-3">
                    <download-artifact class="sdc-information-artifacts-icon download" data-ng-if="artifact.artifactName" component="component" artifact="artifact"></download-artifact>
                    <!--span class="sdc-information-artifacts-icon preview"></span-->
                </td>
            </tr>
            </tbody>
        </table>
    </div>


    <h4 class="w-sdc-resource-viewer-right-title">Information Artifacts</h4>

    <div class="sdc-information-container w-sdc-resource-viewer-right-content-section">
        <table class="w-sdc-resource-viewer-right-table" data-ng-show="hasItems(component.artifacts)">
            <thead class="w-sdc-resource-viewer-right-table-head">
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-2">Name</th>
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-3">File</th>
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-3">Version</th>
                <th class="w-sdc-resource-viewer-right-table-head-cell cols-3"></th>
            </thead>
            <tbody>
            <tr data-ng-repeat="(artifactLogicName, artifact) in component.artifacts">
                <td><span class="ellipsis-cols2" data-tests-id="{{artifact.artifactDisplayName}}" tooltips tooltip-content="{{artifact.artifactDisplayName}}">{{artifact.artifactDisplayName}}</span></td>
                <td><span class="ellipsis-cols3" data-tests-id="{{artifact.artifactName}}" tooltips tooltip-content="{{artifact.artifactName}}">{{artifact.artifactName}}</span></td>
                <td><span class="ellipsis-cols3" data-tests-id="{{artifact.artifactVersion}}" tooltips tooltip-content="{{artifact.artifactVersion}}" data-ng-if="artifact.esId">{{artifact.artifactVersion}}</span></td>
                <td class="cols-3">
                    <download-artifact class="sdc-information-artifacts-icon download" data-ng-if="artifact.artifactName" component="component" artifact="artifact"></download-artifact>
                    <!--span class="sdc-information-artifacts-icon preview"></span-->
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</div>