Commit f28430b
authored
Add integration test for host metadata resolution (#719)
## 🥞 Stacked PR
Use this
[link](https://github.com/databricks/databricks-sdk-java/pull/719/files)
to review incremental changes.
-
[**hectorcast-db/stack/port-7-integration-test-metadata**](#719)
[[Files
changed](https://github.com/databricks/databricks-sdk-java/pull/719/files)]
-
[hectorcast-db/stack/port-8-remove-unified-flag](#720)
[[Files
changed](https://github.com/databricks/databricks-sdk-java/pull/720/files/cbd81a9a8534a735250b64fe3957a3923b6da899..34394bc5a5eb92745574c42c336a326c8719cebd)]
---------
## Summary
Port of Go SDK
[#1546](databricks/databricks-sdk-go#1546).
Adds an integration test verifying that `config.resolve()` populates
`accountId`, `workspaceId`, and `discoveryUrl` from the host's
`/.well-known/databricks-config` endpoint.
**Changes:**
- `HostMetadataIT`: integration test for metadata resolution (requires
`DATABRICKS_HOST` via `ucws` env context)
`NO_CHANGELOG=true`
## Test plan
- [x] All unit tests pass (no production code changes)
- [x] `HostMetadataIT` runs against live workspace1 parent f3156e2 commit f28430b
File tree
1 file changed
+42
-0
lines changed- databricks-sdk-java/src/test/java/com/databricks/sdk/integration
1 file changed
+42
-0
lines changedLines changed: 42 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
0 commit comments