This is an automated email from the ASF dual-hosted git repository.
mykolabodnar pushed a commit to branch DLAB-1565-aws
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1565-aws by this push:
new 8f4f526 [DLAB-1565]: [GCP] - billing on local endpoint fixed
8f4f526 is described below
commit 8f4f52661603b1495027f3a0bec9c14d45116c1e
Author: bodnarmykola <[email protected]>
AuthorDate: Tue Mar 31 16:42:54 2020 +0300
[DLAB-1565]: [GCP] - billing on local endpoint fixed
---
.../src/general/lib/os/debian/ssn_lib.py | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
b/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
index ca7e8ac..6e2f0b7 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/ssn_lib.py
@@ -180,8 +180,8 @@ def start_ss(keyfile, host_string, dlab_conf_dir, web_path,
locale, region_info, ldap_login, tenant_id,
application_id, hostname, data_lake_name, subscription_id,
validate_permission_scope, dlab_id, usage_date, product,
- usage_type, usage, cost, resource_id, tags, billing_dataset_name,
mongo_host,
- keycloak_client_id, keycloak_client_secret,
keycloak_auth_server_url, report_path=''):
+ usage_type, usage, cost, resource_id, tags, billing_dataset_name,
keycloak_client_id,
+ keycloak_client_secret, keycloak_auth_server_url, report_path=''):
try:
if not exists(os.environ['ssn_dlab_path'] + 'tmp/ss_started'):
java_path = sudo("update-alternatives --query java | grep 'Value:
' | grep -o '/.*/jre'")
@@ -287,8 +287,8 @@ def start_ss(keyfile, host_string, dlab_conf_dir, web_path,
'--resource_id {} ' \
'--tags {} ' \
'--billing_dataset_name "{}" '\
- '--mongo_host {} ' \
- '--mongo_port {} ' \
+ '--mongo_host local ' \
+ '--mongo_port 27017 ' \
'--service_base_name {} ' \
'--os_user {} ' \
'--keystore_password {} ' \
@@ -319,8 +319,6 @@ def start_ss(keyfile, host_string, dlab_conf_dir, web_path,
resource_id,
tags,
billing_dataset_name,
- mongo_host,
- mongo_port,
service_base_name,
os_user,
keystore_passwd,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]