berryworld 1.0.0.194147__py3-none-any.whl → 1.0.0.194150__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- berryworld/credentials.py +7 -7
- {berryworld-1.0.0.194147.dist-info → berryworld-1.0.0.194150.dist-info}/METADATA +1 -1
- {berryworld-1.0.0.194147.dist-info → berryworld-1.0.0.194150.dist-info}/RECORD +6 -6
- {berryworld-1.0.0.194147.dist-info → berryworld-1.0.0.194150.dist-info}/WHEEL +0 -0
- {berryworld-1.0.0.194147.dist-info → berryworld-1.0.0.194150.dist-info}/licenses/LICENSE +0 -0
- {berryworld-1.0.0.194147.dist-info → berryworld-1.0.0.194150.dist-info}/top_level.txt +0 -0
berryworld/credentials.py
CHANGED
|
@@ -79,15 +79,15 @@ class BCCredentials:
|
|
|
79
79
|
def simple_creds(self):
|
|
80
80
|
try:
|
|
81
81
|
if self.auth:
|
|
82
|
-
scope = os.environ.get("
|
|
83
|
-
client_id = os.environ.get("
|
|
84
|
-
client_secret = os.environ.get("
|
|
82
|
+
scope = os.environ.get("BC-AUTH-SCOPE")
|
|
83
|
+
client_id = os.environ.get("BC-AUTH-CLIENT-ID")
|
|
84
|
+
client_secret = os.environ.get("BC-AUTH-CLIENT-SECRET")
|
|
85
85
|
|
|
86
86
|
return {'scope': scope,
|
|
87
87
|
'client_id': client_id,
|
|
88
88
|
'client_secret': client_secret}
|
|
89
89
|
elif self.db_name is not None:
|
|
90
|
-
server_type = os.environ.get(f"
|
|
90
|
+
server_type = os.environ.get(f"BC-ENV-SERVER-{self.db_name.upper()}")
|
|
91
91
|
|
|
92
92
|
return {'server_type': server_type}
|
|
93
93
|
else:
|
|
@@ -162,9 +162,9 @@ class SnowflakeCredentials:
|
|
|
162
162
|
|
|
163
163
|
def simple_creds(self):
|
|
164
164
|
try:
|
|
165
|
-
account = os.environ.get("
|
|
166
|
-
user_name = os.environ.get("
|
|
167
|
-
password = os.environ.get("
|
|
165
|
+
account = os.environ.get("SNOWFLAKE-" + self.db_name.upper() + '-ACCOUNT')
|
|
166
|
+
user_name = os.environ.get("SNOWFLAKE-" + self.db_name.upper() + '-USERNAME')
|
|
167
|
+
password = os.environ.get("SNOWFLAKE-" + self.db_name.upper() + '-PASSWORD')
|
|
168
168
|
|
|
169
169
|
return {
|
|
170
170
|
'account': account,
|
|
@@ -4,7 +4,7 @@ berryworld/allocation_solver.py,sha256=asFtaCAze6-eHUGWXA0kAp67UBS-Upj1KKdrVLj_t
|
|
|
4
4
|
berryworld/app_logs.py,sha256=MKzKPYd3JuPfOQNAapIgaeZeFHw1z_w2mbn9I6QCADE,4180
|
|
5
5
|
berryworld/app_logs_query.py,sha256=U94b-z3X9cuY_KFozupUcfaYciXWBn7p_RHkoRsfROU,4376
|
|
6
6
|
berryworld/cache_data.py,sha256=AWAhV4PPkilZ4Xb1pUXuuu6UdHICAx8QqDtb9rVnjDM,2254
|
|
7
|
-
berryworld/credentials.py,sha256=
|
|
7
|
+
berryworld/credentials.py,sha256=oyBvdf0q6KrofONGWIhLDTcIIon0pkA0vGOyI_dt8AE,6649
|
|
8
8
|
berryworld/devops.py,sha256=7mRbyZPGzk5ox-6J2etv3NxCcfP4cprG0_Xelh7prn8,9776
|
|
9
9
|
berryworld/email_con.py,sha256=uSBzs_Ijz9pUPWt9e7U3TCB7i6q7hU1bB5vhsTB_tmw,14448
|
|
10
10
|
berryworld/email_logging.py,sha256=LeSrTExhQhar49gJR2wGC1dS0lqsNpFl9pS3eYWqnuo,4936
|
|
@@ -26,12 +26,12 @@ berryworld/verify_keys.py,sha256=X4Nuz3o0XbRDYofbJGvxIDeN5gfWj19PN7lhO6T3hR8,435
|
|
|
26
26
|
berryworld/vivantio.py,sha256=QfZo0UKqkzVRg_LyiwivNd3aEup4TH57x4KxLZkCJwc,10627
|
|
27
27
|
berryworld/vivantio_logging.py,sha256=ciy7gA4u3FrgUIpEBnMgocbNPp6jcu9TPoy-kLcrTZU,5736
|
|
28
28
|
berryworld/xml_parser.py,sha256=HWD71NaTN3DaIOGT6Wzxs4CEsroFhGQwe9iPLIL80Co,957
|
|
29
|
-
berryworld-1.0.0.
|
|
29
|
+
berryworld-1.0.0.194150.dist-info/licenses/LICENSE,sha256=vtkVCJM6E2af2gnsi2XxKPr4WY-uIbvzVLXieFND0UU,1074
|
|
30
30
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
31
31
|
tests/test_allocation_config.py,sha256=e12l6fE9U57eSPS35g6ekJ_hol7-RHg89JV60_m1BlE,4633
|
|
32
32
|
tests/test_handy_mix_config.py,sha256=Un56mz9KJmdn4K4OwzHAHLSRzDU1Xv2nFrONNuzOG04,2594
|
|
33
33
|
tests/test_xml_parser.py,sha256=3QTlhFEd6KbK6nRFKZnc35tad6wqukTbe4QrFi8mr_8,859
|
|
34
|
-
berryworld-1.0.0.
|
|
35
|
-
berryworld-1.0.0.
|
|
36
|
-
berryworld-1.0.0.
|
|
37
|
-
berryworld-1.0.0.
|
|
34
|
+
berryworld-1.0.0.194150.dist-info/METADATA,sha256=9tjHXUhBt7cDlqa_9c_nD8BygR8htzVNh6WtXFW4XEg,1445
|
|
35
|
+
berryworld-1.0.0.194150.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
36
|
+
berryworld-1.0.0.194150.dist-info/top_level.txt,sha256=GIZ5qy-P5oxfEH755vA1IMFeTVdX3-40JxMe6nOe5I8,17
|
|
37
|
+
berryworld-1.0.0.194150.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|