Commit fdb0611
ADC Authentication support for Integration tests in gcsio layer (GoogleCloudDataproc#1361)
* ADC Authentication support
* Removed unnecessary comments
* Refactor: Centralize GCS_TEST_APPLICATION_DEFAULT_ENABLE config access
Previously, GCS_TEST_APPLICATION_DEFAULT_ENABLE was retrieved directly
within the code consuming it. This commit moves the retrieval logic to
`TestConfiguration.java`.
* Added null check for environment variable and removed whitespaces by mvn spotless:apply
* Removed empty lines in the code
* Resolved spotless:apply iisues
* Modified nested if else block in GetCredentials and replaced it with ternary operator in GoogleCloudStorageTestHelper.java for better code readability.
---------
Co-authored-by: Animesh Gupta <animgupt@google.com>1 parent 3686c26 commit fdb0611
File tree
1 file changed
+6
-1
lines changed- gcsio/src/test/java/com/google/cloud/hadoop/gcsio/integration
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
105 | 110 | | |
106 | 111 | | |
107 | 112 | | |
| |||
0 commit comments