@dbx-tools/databricks 0.1.17 → 0.1.19
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.
- package/README.md +5 -5
- package/package.json +7 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @dbx-tools/
|
|
1
|
+
# @dbx-tools/databricks
|
|
2
2
|
|
|
3
3
|
Generic Node-side Databricks workspace and cloud infrastructure helpers.
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ Key features:
|
|
|
19
19
|
## Resolve Workspace Identity
|
|
20
20
|
|
|
21
21
|
```ts
|
|
22
|
-
import { workspace } from "@dbx-tools/
|
|
22
|
+
import { workspace } from "@dbx-tools/databricks";
|
|
23
23
|
|
|
24
24
|
const url = await workspace.getWorkspaceUrl();
|
|
25
25
|
const id = await workspace.getWorkspaceId();
|
|
@@ -33,7 +33,7 @@ script.
|
|
|
33
33
|
## Detect Cloud Provider And Region
|
|
34
34
|
|
|
35
35
|
```ts
|
|
36
|
-
import { cloud } from "@dbx-tools/
|
|
36
|
+
import { cloud } from "@dbx-tools/databricks";
|
|
37
37
|
|
|
38
38
|
const location = await cloud.resolveCloudLocation("https://adb-123.azuredatabricks.net");
|
|
39
39
|
```
|
|
@@ -49,7 +49,7 @@ developer diagnostics, not for security policy decisions.
|
|
|
49
49
|
## Resolve Network Details
|
|
50
50
|
|
|
51
51
|
```ts
|
|
52
|
-
import { net } from "@dbx-tools/
|
|
52
|
+
import { net } from "@dbx-tools/databricks";
|
|
53
53
|
|
|
54
54
|
const ips = await net.resolveHostIps("https://example.cloud.databricks.com");
|
|
55
55
|
const publicIp = await net.getPublicIp();
|
|
@@ -66,4 +66,4 @@ short-lived reuse.
|
|
|
66
66
|
- `net` - DNS A/AAAA resolution and outbound public-IP discovery.
|
|
67
67
|
|
|
68
68
|
Zerobus endpoint construction builds on these helpers in
|
|
69
|
-
[`@dbx-tools/
|
|
69
|
+
[`@dbx-tools/databricks-zerobus`](../databricks-zerobus).
|
package/package.json
CHANGED
|
@@ -12,13 +12,16 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@databricks/sdk-experimental": "^0.17.0",
|
|
15
|
-
"@dbx-tools/appkit": "0.1.
|
|
16
|
-
"@dbx-tools/shared-core": "0.1.
|
|
17
|
-
"@dbx-tools/core": "0.1.
|
|
15
|
+
"@dbx-tools/appkit": "0.1.19",
|
|
16
|
+
"@dbx-tools/shared-core": "0.1.19",
|
|
17
|
+
"@dbx-tools/core": "0.1.19"
|
|
18
18
|
},
|
|
19
19
|
"main": "index.ts",
|
|
20
20
|
"license": "UNLICENSED",
|
|
21
|
-
"
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public"
|
|
23
|
+
},
|
|
24
|
+
"version": "0.1.19",
|
|
22
25
|
"types": "index.ts",
|
|
23
26
|
"type": "module",
|
|
24
27
|
"exports": {
|