You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by dg...@apache.org on 2020/09/30 08:52:42 UTC
[incubator-datalab] 01/03: Fix datalab_id
This is an automated email from the ASF dual-hosted git repository.
dgnatyshyn pushed a commit to branch new-datalab-name
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 364f52a208117ea7a4ecc509f11dac72af31b338
Author: Dmytro_Gnatyshyn <di...@ukr.net>
AuthorDate: Wed Sep 30 11:37:55 2020 +0300
Fix datalab_id
---
.../reporting/reporting-grid/reporting-grid.component.html | 8 ++++----
.../src/main/resources/webapp/src/dictionary/aws.dictionary.ts | 2 +-
.../src/main/resources/webapp/src/dictionary/azure.dictionary.ts | 2 +-
.../src/main/resources/webapp/src/dictionary/gcp.dictionary.ts | 2 +-
.../src/main/resources/webapp/src/dictionary/global.dictionary.ts | 4 ++--
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.html b/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.html
index eab3dc9..93bdf48 100644
--- a/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/reports/reporting/reporting-grid/reporting-grid.component.html
@@ -39,12 +39,12 @@
<div class="label"><span class="text"> Resource name</span></div>
<button mat-icon-button aria-label="More" class="ar" (click)="toggleFilterRow()">
<i class="material-icons">
- <span *ngIf="filteredReportData.data_lab_id.length > 0; else data_lab_id_filtered">filter_list</span>
- <ng-template #data_lab_id_filtered>more_vert</ng-template>
+ <span *ngIf="filteredReportData.datalab_id.length > 0; else datalab_id_filtered">filter_list</span>
+ <ng-template #datalab_id_filtered>more_vert</ng-template>
</i>
</button>
</th>
- <td mat-cell *matCellDef="let element"><span class="table-item">{{element.data_lab_id}}</span></td>
+ <td mat-cell *matCellDef="let element"><span class="table-item">{{element.datalab_id}}</span></td>
<td mat-footer-cell *matFooterCellDef class="table-footer"></td>
</ng-container>
@@ -199,7 +199,7 @@
<th mat-header-cell *matHeaderCellDef class="filter-row-item">
<div class="input-wrapper">
<input #nameFilter type="text" placeholder="Filter by environment name" class="form-control filter-field"
- [value]="filtered?.data_lab_id" (input)="filteredReportData.data_lab_id = $event.target['value']" (keyup)="checkFilters()"/>
+ [value]="filtered?.datalab_id" (input)="filteredReportData.datalab_id = $event.target['value']" (keyup)="checkFilters()"/>
</div>
</th>
</ng-container>
diff --git a/services/self-service/src/main/resources/webapp/src/dictionary/aws.dictionary.ts b/services/self-service/src/main/resources/webapp/src/dictionary/aws.dictionary.ts
index 17e0245..78fb9a5 100644
--- a/services/self-service/src/main/resources/webapp/src/dictionary/aws.dictionary.ts
+++ b/services/self-service/src/main/resources/webapp/src/dictionary/aws.dictionary.ts
@@ -43,7 +43,7 @@ export const NAMING_CONVENTION_AWS = {
'type': 'resource_type',
'resourceType': 'data_lab_resource_type',
'instance_size': 'shape',
- 'data_lab_id': 'data_lab_id'
+ 'datalab_id': 'datalab_id'
},
'service': 'Service',
'type': 'Type',
diff --git a/services/self-service/src/main/resources/webapp/src/dictionary/azure.dictionary.ts b/services/self-service/src/main/resources/webapp/src/dictionary/azure.dictionary.ts
index 7e77e24..ddce787 100644
--- a/services/self-service/src/main/resources/webapp/src/dictionary/azure.dictionary.ts
+++ b/services/self-service/src/main/resources/webapp/src/dictionary/azure.dictionary.ts
@@ -44,7 +44,7 @@ export const NAMING_CONVENTION_AZURE = {
'type': '',
'resourceType': 'resource_type',
'instance_size': 'size',
- 'data_lab_id': 'data_lab_id'
+ 'datalab_id': 'datalab_id'
},
'service': 'Category',
'type': '',
diff --git a/services/self-service/src/main/resources/webapp/src/dictionary/gcp.dictionary.ts b/services/self-service/src/main/resources/webapp/src/dictionary/gcp.dictionary.ts
index cec5e88..a71804c 100644
--- a/services/self-service/src/main/resources/webapp/src/dictionary/gcp.dictionary.ts
+++ b/services/self-service/src/main/resources/webapp/src/dictionary/gcp.dictionary.ts
@@ -43,7 +43,7 @@ export const NAMING_CONVENTION_GCP = {
'type': 'data_lab_resource_type',
'resourceType': 'data_lab_resource_type',
'instance_size': 'shapes',
- 'data_lab_id': 'data_lab_id'
+ 'datalab_id': 'datalab_id'
},
'service': 'Product',
'type': 'Resource',
diff --git a/services/self-service/src/main/resources/webapp/src/dictionary/global.dictionary.ts b/services/self-service/src/main/resources/webapp/src/dictionary/global.dictionary.ts
index 27247ab..a6b160d 100644
--- a/services/self-service/src/main/resources/webapp/src/dictionary/global.dictionary.ts
+++ b/services/self-service/src/main/resources/webapp/src/dictionary/global.dictionary.ts
@@ -43,7 +43,7 @@ export class ReportingConfigModel {
public shapes: Array<string>,
public date_start: string,
public date_end: string,
- public data_lab_id: string,
+ public datalab_id: string,
public projects: Array<string>
) { }
@@ -55,7 +55,7 @@ export class ReportingConfigModel {
this.shapes = [];
this.date_start = '';
this.date_end = '';
- this.data_lab_id = '';
+ this.datalab_id = '';
this.projects = [];
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org