databricks-sdk-java
databricks-sdk-java copied to clipboard
Databricks SDK for Java
should be possible to set env context ```java @ExtendWith(EnvTest.class) public class UsersIT2 { @Test @EnvContext("account") void lists(DatabricksAccount a) { Iterable list = a.users().list(new ListAccountUsersRequest()); java.util.List all = CollectionUtils.asList(list); CollectionUtils.assertUnique(all); }...
## Changes Add a new config in proxy hosts to provide non proxy hosts. Related system property info here: https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html ## Tests Tested locally
## Changes Jobs GetRun 2.2 behind the scenes pagination ## Tests Unit tests
We're trying to pass a header `User-Agent` to http requests for ISV product integration I had to copy entire CommonsHttpClient class and change only the makeClosableHttpClient implementation to allow me...
## Issue Description Exceptions are not deserialized correctly, the message field contains the response JSON and the string 'Cannot construct instance of com.databricks.sdk.core.error.ErrorDetail, problem: Cannot invoke "Object.getClass()" because "m" is...
## Changes Add integration tests for Jobs API. Note that these aren't very high-value tests at the moment, as they provide little assurances other than asserting the operations reach a...
## Changes Check if queries are null in tests ## Tests Run tests
**Description** When using the inputs field only the inputs field is allowed and nothing more. Otherwise the server fails to parse the inputs. **Reproduction** ``` import com.databricks.sdk.WorkspaceClient; import com.databricks.sdk.service.serving.QueryEndpointInput; WorkspaceClient...
## Changes ## Tests
**Description** There is no CAN_MONITOR permission in the SQL Warehouse Permissions (or specifically `com.databricks.sdk.service.iam.PermissionLevel`). (Sorry if this is the wrong issue kind) **Reproduction** ```java PermissionLevel.CAN_MONITOR ``` **Expected behavior** The `CAN_MONITOR`...