You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by bh...@apache.org on 2019/09/06 12:10:27 UTC

[incubator-dlab] branch DLAB-terraform updated: DLAB-000 added subnet name to mongo settings for azure

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

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


The following commit(s) were added to refs/heads/DLAB-terraform by this push:
     new 60e9977  DLAB-000 added subnet name to mongo settings for azure
60e9977 is described below

commit 60e9977009b89ca995f2466031ad24792f9b4616
Author: bhliva <bo...@epam.com>
AuthorDate: Fri Sep 6 15:10:06 2019 +0300

    DLAB-000 added subnet name to mongo settings for azure
---
 .../epam/dlab/backendapi/dropwizard/listeners/MongoStartupListener.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/services/self-service/src/main/java/com/epam/dlab/backendapi/dropwizard/listeners/MongoStartupListener.java b/services/self-service/src/main/java/com/epam/dlab/backendapi/dropwizard/listeners/MongoStartupListener.java
index 1651c80..de98a28 100644
--- a/services/self-service/src/main/java/com/epam/dlab/backendapi/dropwizard/listeners/MongoStartupListener.java
+++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/dropwizard/listeners/MongoStartupListener.java
@@ -72,6 +72,7 @@ public class MongoStartupListener implements ServerLifecycleListener {
 		if (configuration.getCloudProvider() == CloudProvider.AZURE) {
 			settingsDAO.setAzureRegion(cloudConfiguration.getRegion());
 			settingsDAO.setAzureVpcName(cloudConfiguration.getVpcId());
+			settingsDAO.setAzureSubnetName(cloudConfiguration.getSubnetId());
 			settingsDAO.setAzureDataLakeClientId(cloudConfiguration.getAzureClientId());
 			settingsDAO.setAzureResourceGroupName(cloudConfiguration.getAzureResourceGroupName());
 			settingsDAO.setAzureSecurityGroupName(cloudConfiguration.getSecurityGroupIds());


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