You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/09/13 08:24:08 UTC

[incubator-dlab] 01/02: [DLAB-1056]: added project parameter to configuration model

This is an automated email from the ASF dual-hosted git repository.

ankovalyshyn pushed a commit to branch DLAB-1056
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit f303f8a74a3803b314f51c127980d96eec4925bc
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Fri Sep 13 11:22:24 2019 +0300

    [DLAB-1056]: added project parameter to configuration model
---
 .../src/main/resources/webapp/src/dictionary/aws.dictionary.ts        | 4 +++-
 .../src/main/resources/webapp/src/dictionary/azure.dictionary.ts      | 4 +++-
 .../src/main/resources/webapp/src/dictionary/gcp.dictionary.ts        | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

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 49677fe..e4b3db3 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
@@ -96,7 +96,8 @@ export class ReportingConfigModel {
         public shape: Array<string>,
         public date_start: string,
         public date_end: string,
-        public dlab_id: string
+        public dlab_id: string,
+        public project?: Array<string>
     ) { }
 
     defaultConfigurations(): void {
@@ -108,5 +109,6 @@ export class ReportingConfigModel {
         this.date_start = '';
         this.date_end = '';
         this.dlab_id = '';
+        // this.project = [];
     }
 }
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 73f0661..535dce6 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
@@ -97,7 +97,8 @@ export class ReportingConfigModel {
         public size: Array<string>,
         public date_start: string,
         public date_end: string,
-        public dlab_id: string
+        public dlab_id: string,
+        public project?: Array<string>
     ) { }
 
     defaultConfigurations(): void {
@@ -109,5 +110,6 @@ export class ReportingConfigModel {
         this.date_start = '';
         this.date_end = '';
         this.dlab_id = '';
+        this.project = [];
     }
 }
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 ff3e9eb..8b2c3eb 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
@@ -102,7 +102,8 @@ export class ReportingConfigModel {
         public shape: Array<string>,
         public date_start: string,
         public date_end: string,
-        public dlab_id: string
+        public dlab_id: string,
+        public project?: Array<string>
     ) { }
 
     defaultConfigurations(): void {
@@ -114,5 +115,6 @@ export class ReportingConfigModel {
         this.date_start = '';
         this.date_end = '';
         this.dlab_id = '';
+        this.project = [];
     }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org