Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,38 @@
{
"mode": "java_v0",
"api_changelog": true,
"sync": {
"allow_from_packages": [
"**/*.java",
"**/*.{xml,html,tmpl,properties}",
"**/*.md",
"**/*.sh",
"**/testdata/**",
".codegen.json",
".codegen/{_last_sha,_openapi_sha}",
".gitattributes",
"**/.gitignore",
".github/actions/**/*.yml",
".github/conftest/**/*.rego",
".github/dependabot.yml",
".github/workflows/*.yml",
".package.json",
".release_metadata.json",
"DCO",
"LICENSE",
"Makefile",
"NOTICE",
"databricks-sdk-java/lockfile.json",
"lockfile.json"
],
"skip_from_source": [
".nextchanges",
"BUILD.bazel",
"CLAUDE.md",
"OWNERS",
"changelog_validate"
]
},
"version": {
"pom.xml": "<artifactId>databricks-sdk-parent</artifactId>\n <version>$VERSION</version>",
"databricks-sdk-java/pom.xml": "<artifactId>databricks-sdk-parent</artifactId>\n <version>$VERSION</version>",
Expand All @@ -14,6 +46,6 @@
"toolchain": {
"require": ["mvn", "java"],
"setup": ["bash scripts/cleanup-services.sh"],
"post_generate": ["bash scripts/mvn-spotless-apply.sh","mvn --errors clean compile"]
"post_generate": ["mvn --errors clean compile"]
}
}
1 change: 1 addition & 0 deletions .codegen/_last_sha
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
463ed2cce38f6306936a13c3a51822d7999553c3
108 changes: 0 additions & 108 deletions .github/workflows/next-changelog.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,8 @@ jobs:
- name: Setup build environment
uses: ./.github/actions/setup-build-environment
with:
# google-java-format 1.27.0 (pinned in pom.xml) requires JRE 17+ to run.
java-version: 17

- name: Check formatting
run: mvn --errors spotless:check

- name: Check for JFrog proxy URLs in lockfiles
run: |
make fix-lockfile
Expand Down
122 changes: 0 additions & 122 deletions .github/workflows/tagging.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

2 changes: 0 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ We recommend using IntelliJ to develop the Java SDK. You can download the commun

We welcome any contributions to improving documentation of the Databricks Java SDK. All documentation contributions should be as detailed as possible. Please note that many files of the SDK are autogenerated, including all files in the `databricks-sdk-java/src/main/java/com/databricks/sdk/service` directory, so manual edits to those files will be overwritten.

After adding any documentation, make sure to run the Spotless code formatting plugin, either from the Maven plugin in IntelliJ or from the command line: `mvn spotless:apply`.

## Debugging

The Databricks Java SDK uses the [SLF4J](https://www.slf4j.org/) logging framework. To enable debug logging, add the following line to your `log4j.properties` file:
Expand Down
14 changes: 0 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
fmt:
@mvn spotless:apply || ( \
echo ""; \
echo "==> default JDK could not run google-java-format (likely < JDK 17). Retrying with JDK 17..."; \
echo ""; \
$(MAKE) fmt-jdk17 \
)

# Same as `fmt` but runs under JDK 17 explicitly. Use this when your default
# JDK is older than 17 (e.g. JDK 11), since google-java-format 1.27.0 — pinned
# in pom.xml for JDK 25 generator support — requires JRE 17+ to load.
fmt-jdk17:
JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 mvn spotless:apply

test:
mvn test

Expand Down
17 changes: 0 additions & 17 deletions NEXT_CHANGELOG.md

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading