File tree Expand file tree Collapse file tree 2 files changed +29
-2
lines changed
acceptance/bundle/resources/model_serving_endpoints/basic Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 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" : {
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" : {
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments