You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2020/12/08 15:43:17 UTC
[incubator-datalab] branch dev-azure-test updated: [DATALAB-2173]:
removed test prints
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch dev-azure-test
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/dev-azure-test by this push:
new b6b44f4 [DATALAB-2173]: removed test prints
b6b44f4 is described below
commit b6b44f415cbce0ec7c6a8d6e97558b9ddf94a8a0
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Dec 8 17:42:48 2020 +0200
[DATALAB-2173]: removed test prints
---
infrastructure-provisioning/src/general/lib/azure/meta_lib.py | 6 ------
1 file changed, 6 deletions(-)
diff --git a/infrastructure-provisioning/src/general/lib/azure/meta_lib.py b/infrastructure-provisioning/src/general/lib/azure/meta_lib.py
index 03f8a29..9d23cb4 100644
--- a/infrastructure-provisioning/src/general/lib/azure/meta_lib.py
+++ b/infrastructure-provisioning/src/general/lib/azure/meta_lib.py
@@ -42,19 +42,13 @@ class AzureMeta:
def __init__(self):
os.environ['AZURE_AUTH_LOCATION'] = '/root/azure_auth.json'
-
self.compute_client = get_client_from_auth_file(ComputeManagementClient)
-
self.resource_client = get_client_from_auth_file(ResourceManagementClient)
self.network_client = get_client_from_auth_file(NetworkManagementClient)
self.storage_client = get_client_from_auth_file(StorageManagementClient)
- print('Step 1.1')
self.datalake_client = get_client_from_auth_file(DataLakeStoreAccountManagementClient)
- print('Step 1.2')
#self.authorization_client = get_client_from_auth_file(AuthorizationManagementClient)
- print('Step 1.3')
self.sp_creds = json.loads(open(os.environ['AZURE_AUTH_LOCATION']).read())
- print('Step 1.4')
self.dl_filesystem_creds = lib.auth(tenant_id=json.dumps(self.sp_creds['tenantId']).replace('"', ''),
client_secret=json.dumps(self.sp_creds['clientSecret']).replace('"', ''),
client_id=json.dumps(self.sp_creds['clientId']).replace('"', ''),
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org