Skip to content

Commit c5d17f4

Browse files
committed
update
1 parent df6cc26 commit c5d17f4

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

acceptance/bundle/resources/model_serving_endpoints/basic/out.second-plan.direct.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"action": "recreate",
99
"new_state": {
1010
"value": {
11-
"name": "test-endpoint-[UNIQUE_NAME]-2"
11+
"name": "[ENDPOINT_NAME_2]"
1212
}
1313
},
1414
"remote_state": {
@@ -38,7 +38,7 @@
3838
"action": "recreate",
3939
"reason": "field_triggers",
4040
"old": "[ENDPOINT_NAME_1]",
41-
"new": "test-endpoint-[UNIQUE_NAME]-2",
41+
"new": "[ENDPOINT_NAME_2]",
4242
"remote": "[ENDPOINT_NAME_1]"
4343
},
4444
"route_optimized": {
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"method": "DELETE",
3+
"path": "/api/2.0/serving-endpoints/[ENDPOINT_NAME_1]"
4+
}
5+
{
6+
"method": "POST",
7+
"path": "/api/2.0/serving-endpoints",
8+
"body": {
9+
"name": "[ENDPOINT_NAME_2]"
10+
}
11+
}
12+
{
13+
"method": "PUT",
14+
"path": "/api/2.0/permissions/serving-endpoints/[ENDPOINT_ID_2]",
15+
"body": {
16+
"access_control_list": [
17+
{
18+
"permission_level": "CAN_VIEW",
19+
"user_name": "deco-test-user@databricks.com"
20+
},
21+
{
22+
"permission_level": "CAN_MANAGE",
23+
"service_principal_name": "[USERNAME]"
24+
}
25+
]
26+
}
27+
}

0 commit comments

Comments
 (0)