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/11/20 10:45:37 UTC

[incubator-dlab] branch DLAB-1235 created (now 5ff0ab9)

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

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


      at 5ff0ab9  [DLAB-1274]: extended timezone list; added zones per uniqueoffset

This branch includes the following new commits:

     new 5caa44f  eject moment locales from vendor; added parameters to compilerOptions
     new 9a35920  Merge branch 'develop' of github.com:apache/incubator-dlab into DLAB-1235
     new 5ff0ab9  [DLAB-1274]: extended timezone list; added zones per uniqueoffset

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[incubator-dlab] 03/03: [DLAB-1274]: extended timezone list; added zones per uniqueoffset

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 5ff0ab976ef3a761a751f9b63ea1ae0df518952b
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Wed Nov 20 12:45:23 2019 +0200

    [DLAB-1274]: extended timezone list; added zones per uniqueoffset
---
 .../computational-resources-list.component.html                  | 9 ++-------
 .../app/resources/resources-grid/resources-grid.component.scss   | 6 +++---
 .../webapp/src/app/resources/scheduler/scheduler.component.html  | 4 +++-
 3 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resources-list/computational-resources-list.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resources-list/computational-resources-list.component.html
index 2d1e9b3..0b9e110 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resources-list/computational-resources-list.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resources-list/computational-resources-list.component.html
@@ -25,13 +25,8 @@
   <div *ngIf="resources?.length">
     <div *ngFor="let resource of resources" class="resource-wrap">
       <div class="resource-name">
-        <a
-          class="detailed-link"
-          (click)="detailComputationalResources(environment, resource)"
-          matTooltip="{{resource.computational_name}}"
-          [matTooltipShowDelay]="2000"
-          matTooltipPosition="left"
-        >
+        <a class="detailed-link" (click)="detailComputationalResources(environment, resource)"
+          matTooltip="{{resource.computational_name}}" [matTooltipShowDelay]="2000" matTooltipPosition="left">
           {{resource.computational_name}}
         </a>
       </div>
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
index a2bc35a..e7d9907 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
@@ -57,8 +57,8 @@ table {
           overflow: hidden;
           text-overflow: ellipsis;
         }
-        &.resources-col{
-          max-width: 250px;
+
+        &.resources-col {
           overflow: hidden;
           text-overflow: ellipsis;
         }
@@ -371,7 +371,7 @@ tr.detail-row {
   font-size: 18px;
 }
 
-.info{
+.info {
   padding: 40px;
   text-align: center;
 }
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/scheduler/scheduler.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/scheduler/scheduler.component.html
index 3a5852d..e3cd8e6 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/scheduler/scheduler.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/scheduler/scheduler.component.html
@@ -90,7 +90,9 @@
                 <mat-form-field class="timezone-offset">
                   <mat-select placeholder="Select offset" [(value)]="tzOffset"
                     [disabled]="destination.type === 'СOMPUTATIONAL' && inherit || !enableSchedule">
-                    <mat-option *ngFor="let zone of zones" [value]="zone">{{ zone }}</mat-option>
+                    <mat-option *ngFor="let zone of zones | keys" [value]="zone.key" matTooltip="{{ zone.value }}"
+                      matTooltipShowDelay="1000" matTooltipPosition="above"> GMT {{zone.key}} {{ zone.value }}
+                    </mat-option>
                   </mat-select>
                 </mat-form-field>
               </div>


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


[incubator-dlab] 01/03: eject moment locales from vendor; added parameters to compilerOptions

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 5caa44ff9543a9e777f02815f397142568de097c
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Mon Nov 18 15:00:21 2019 +0200

    eject moment locales from vendor; added parameters to compilerOptions
---
 .../src/main/resources/webapp/src/tsconfig.app.json            | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/tsconfig.app.json b/services/self-service/src/main/resources/webapp/src/tsconfig.app.json
index 116e716..be171af 100644
--- a/services/self-service/src/main/resources/webapp/src/tsconfig.app.json
+++ b/services/self-service/src/main/resources/webapp/src/tsconfig.app.json
@@ -12,7 +12,15 @@
     ],
     "outDir": "../out-tsc/app",
     "baseUrl": "",
-    "types": []
+    "types": [],
+    "paths": {
+      "moment": [
+        "../node_modules/moment/min/moment.min.js"
+      ],
+      "moment-timezone": [
+        "../node_modules/moment-timezone/builds/moment-timezone-with-data-2012-2022.min.js"
+      ]
+    }
   },
   "typeRoots": [
     "node_modules/@types"


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


[incubator-dlab] 02/03: Merge branch 'develop' of github.com:apache/incubator-dlab into DLAB-1235

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 9a35920241abc14f21b3782ce053f0d9acad308d
Merge: 5caa44f 5cac7af
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Wed Nov 20 10:24:39 2019 +0200

    Merge branch 'develop' of github.com:apache/incubator-dlab into DLAB-1235

 .../src/general/lib/aws/actions_lib.py             |   6 +-
 .../src/general/scripts/azure/project_prepare.py   |   2 +-
 .../src/ssn/files/aws/mongo_roles.json             |  20 ++--
 .../src/ssn/files/gcp/mongo_roles.json             |   4 +-
 .../backendapi/resources/EnvironmentResource.java  |  12 +--
 .../backendapi/service/EnvironmentService.java     |  15 ++-
 .../service/impl/EnvironmentServiceImpl.java       |  52 +++------
 .../service/impl/ProjectServiceImpl.java           |  10 +-
 .../src/main/resources/mongo/aws/mongo_roles.json  |  10 ++
 .../src/main/resources/mongo/gcp/mongo_roles.json  |  10 ++
 .../management/endpoints/endpoints.component.html  |   2 +-
 .../management/endpoints/endpoints.component.scss  |   3 +
 .../reporting-grid/reporting-grid.component.scss   |   2 +
 .../computational-resources-list.component.html    |   8 +-
 .../computational-resources-list.component.ts      |  11 +-
 .../detail-dialog/detail-dialog.component.html     |  10 +-
 .../resources-grid/resources-grid.component.html   |  10 +-
 .../resources-grid/resources-grid.component.scss   |  14 +++
 .../resources/webapp/src/assets/styles/_theme.scss |   1 +
 .../src/main/resources/webapp/src/styles.scss      |   9 ++
 .../resources/EnvironmentResourceTest.java         |  61 +++++------
 .../backendapi/resources/ProjectResourceTest.java  |   2 +-
 .../service/impl/EnvironmentServiceImplTest.java   | 116 +++------------------
 23 files changed, 177 insertions(+), 213 deletions(-)


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