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/07/26 09:37:33 UTC

[incubator-dlab] branch DLAB-933 created (now 66cb67a)

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

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


      at 66cb67a  [DLAB-933]: fixed model parameters for dataproc cluster creation

This branch includes the following new commits:

     new 66cb67a  [DLAB-933]: fixed model parameters for dataproc cluster creation

The 1 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] 01/01: [DLAB-933]: fixed model parameters for dataproc cluster creation

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

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

commit 66cb67a4bf607c35dedbec0bb9c1c0427d59df66
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Fri Jul 26 12:37:22 2019 +0300

    [DLAB-933]: fixed model parameters for dataproc cluster creation
---
 .../computational-resource-create.model.ts                   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create.model.ts b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create.model.ts
index 00b34d7..87b2fae 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create.model.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create.model.ts
@@ -50,16 +50,16 @@ export class ComputationalResourceModel {
       });
     } else if (DICTIONARY.cloud_provider === 'gcp' && image.image === 'docker.dlab-dataengine-service') {
       return this.userResourceService.createComputationalResource_DataengineService({
-        name: parameters.cluster_alias_name,
-        dataproc_slave_count: (parameters.instance_number - 1),
         template_name: image.template_name,
-        notebook_name: env.name,
         image: image.image,
-        dataproc_master_instance_type: parameters.shape_master,
-        dataproc_slave_instance_type: parameters.shape_slave,
-        dataproc_version: image.version,
+        notebook_name: env.name,
+        name: parameters.cluster_alias_name,
         dataproc_master_count: 1,
+        dataproc_slave_count: (parameters.instance_number - 1),
         dataproc_preemptible_count: parameters.preemptible_instance_number,
+        dataproc_master_instance_type: parameters.shape_master,
+        dataproc_slave_instance_type: parameters.shape_slave,
+        dataproc_version: parameters.version,
         config: config,
         project: env.project,
         custom_tag: parameters.custom_tag


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