iguazio.dashboard-controls 1.2.15 → 1.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SECURITY.md +21 -0
- package/dist/i18n/en/functions.json +2 -0
- package/dist/js/iguazio.dashboard-controls.js +4236 -4234
- package/dist/less/iguazio.dashboard-controls.less +937 -937
- package/package.json +1 -1
- package/src/i18n/en/functions.json +2 -0
- package/src/nuclio/functions/version/version-monitoring/version-monitoring.component.js +6 -4
- package/src/nuclio/functions/version/version-monitoring/version-monitoring.tpl.html +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iguazio.dashboard-controls",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
4
4
|
"main": "dist/js/iguazio.dashboard-controls.js",
|
|
5
5
|
"description": "Collection of resources (such as CSS styles, fonts and images) and AngularJs 1.x components and services to share among different Iguazio repos.",
|
|
6
6
|
"repository": {
|
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
"EDIT_FUNCTION_EVENT": "Edit the function event",
|
|
94
94
|
"EDIT_PROJECT": "Edit the project",
|
|
95
95
|
"ENDPOINT": "Endpoint",
|
|
96
|
+
"ENRICHED_SERVICE_ACCOUNT": "Enriched service account",
|
|
96
97
|
"ENTER_HOST_TO_SEE_ENDPOINT": "Enter host to see endpoint",
|
|
97
98
|
"ERROR_MSG": {
|
|
98
99
|
"COULD_NOT_READ_FILE": "Could not read file",
|
|
@@ -329,6 +330,7 @@
|
|
|
329
330
|
"DISABLE_CACHE": "Build the function's Docker image from scratch without reusing any previously built Docker image layers.",
|
|
330
331
|
"DISABLED_FUNCTION": "Only running and scaled-to-zero functions can be tested.",
|
|
331
332
|
"DO_NOT_CREATE_HTTP_TRIGGER_BY_DEFAULT": "When not checked, an http trigger will be created for the function by default.",
|
|
333
|
+
"ENRICHED_SERVICE_ACCOUNT": "The service account is enriched from the platform, project, and function specifications, where the project takes precedence over the platform specification, and the function specification takes precedence over the projects specification.",
|
|
332
334
|
"GIT": {
|
|
333
335
|
"BRANCH": "The Git repository branch from which to download the function code.",
|
|
334
336
|
"BRANCH_TAG_REFERENCE_DISABLED": "Exactly one of Branch, Tag, and Reference fields must be filled. When one is filled, the others are disabled.",
|
|
@@ -30,6 +30,7 @@ such restriction.
|
|
|
30
30
|
var ctrl = this;
|
|
31
31
|
|
|
32
32
|
ctrl.enrichedNodeSelectors = [];
|
|
33
|
+
ctrl.enrichedServiceAccount = '';
|
|
33
34
|
ctrl.scrollConfig = {
|
|
34
35
|
advanced: {
|
|
35
36
|
updateOnContentResize: true
|
|
@@ -62,7 +63,7 @@ such restriction.
|
|
|
62
63
|
function onInit() {
|
|
63
64
|
ctrl.isFunctionDeploying = lodash.partial(FunctionsService.isFunctionDeploying, ctrl.version);
|
|
64
65
|
|
|
65
|
-
|
|
66
|
+
initEnrichedData();
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
/**
|
|
@@ -71,7 +72,7 @@ such restriction.
|
|
|
71
72
|
*/
|
|
72
73
|
function onChanges(changes) {
|
|
73
74
|
if (lodash.has(changes, 'version')) {
|
|
74
|
-
|
|
75
|
+
initEnrichedData();
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
78
|
|
|
@@ -88,9 +89,10 @@ such restriction.
|
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
/**
|
|
91
|
-
* Generates
|
|
92
|
+
* Generates enriched content
|
|
92
93
|
*/
|
|
93
|
-
function
|
|
94
|
+
function initEnrichedData() {
|
|
95
|
+
ctrl.enrichedServiceAccount = lodash.get(ctrl.version, 'status.enrichedServiceAccount', '');
|
|
94
96
|
ctrl.enrichedNodeSelectors = lodash.chain(ctrl.version)
|
|
95
97
|
.get('status.enrichedNodeSelector', {})
|
|
96
98
|
.map(function (key, value) {
|
|
@@ -60,6 +60,15 @@
|
|
|
60
60
|
</ncl-key-value-input>
|
|
61
61
|
</div>
|
|
62
62
|
</div>
|
|
63
|
+
<div data-ng-if="$ctrl.enrichedServiceAccount">
|
|
64
|
+
<span class="title">{{ 'functions:ENRICHED_SERVICE_ACCOUNT' | i18next }}: </span>
|
|
65
|
+
<igz-more-info
|
|
66
|
+
data-description="{{ 'functions:TOOLTIP.ENRICHED_SERVICE_ACCOUNT' | i18next }}"
|
|
67
|
+
data-trigger="click"
|
|
68
|
+
data-is-html-enabled="true">
|
|
69
|
+
</igz-more-info>
|
|
70
|
+
<p>{{$ctrl.enrichedServiceAccount}}</p>
|
|
71
|
+
</div>
|
|
63
72
|
</div>
|
|
64
73
|
</div>
|
|
65
74
|
<div class="row">
|