Commit 2065651
authored
Fix Serving Endpoint resource field mapping for
## Summary
- Use Serving Endpoint name instead of id, as name is required for DABs
Proof:
https://docs.databricks.com/gcp/en/dev-tools/bundles/resources#app-resources-serving_endpoint
## Demo
(Tested against
databricks/appkit@main...pkosiec/model-serving-impl)
https://github.com/user-attachments/assets/d24d5dbf-d4fa-442e-8c40-b9468a259612
## Test plan
- [x] `go test ./libs/apps/generator/...` passes
- [x] Manual: `databricks apps init` with serving plugin produces
correct single-variable `databricks.yml`
Signed-off-by: Pawel Kosiec <pawel.kosiec@databricks.com>apps init flow (#4878)1 parent bb8b828 commit 2065651
File tree
3 files changed
+3
-3
lines changed- libs/apps
- generator
- prompt
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
| 395 | + | |
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| |||
0 commit comments