diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 4f960203..f4ae2e81 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -3,10 +3,10 @@ id: 5b16d152-46cd-4f0b-94e9-018ca2cfe7cd management: docChecksum: 9d937f0b088a71ee7aaf5a76d6324576 docVersion: 1.0.0 - speakeasyVersion: 1.335.2 - generationVersion: 2.372.3 - releaseVersion: 1.5.1 - configChecksum: 53ab2446c5b60024a10bb79d807fbbbe + speakeasyVersion: 1.337.1 + generationVersion: 2.373.2 + releaseVersion: 1.5.2 + configChecksum: 80e54e63a5df79c50e37d9e7cc24c834 repoURL: https://github.com/airbytehq/airbyte-api-java-sdk.git repoSubDirectory: . published: true @@ -14,7 +14,7 @@ features: java: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.1 - core: 3.26.2 + core: 3.26.3 globalSecurity: 2.82.5 globalSecurityCallbacks: 0.1.0 globalServerURLs: 2.82.1 @@ -3978,3 +3978,4 @@ generatedFiles: - docs/sdks/workspaces/README.md - USAGE.md - src/main/java/com/airbyte/api/hooks/ClientCredentialsHook.java + - CONTRIBUTING.md diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 0fed7424..6c1279d3 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.335.2 +speakeasyVersion: 1.337.1 sources: my-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:a2965c114e340987d05556f130c3fb312758c4dc617d12e9c36d239ae5de2c90 - sourceBlobDigest: sha256:c9abc14c5c90dc3d935bd884db2c2b795e1eb8631f6d9fa3526135c1aa6ffd63 + sourceRevisionDigest: sha256:04cae28eb1209c98f831cad96cff132439135cddecb8a3797ae866882cddefb4 + sourceBlobDigest: sha256:80381af963f92900df03c3316afd54560bc91b376efeef8343edebe275fda7cf tags: - latest - main @@ -11,8 +11,8 @@ targets: airbyte-api: source: my-source sourceNamespace: my-source - sourceRevisionDigest: sha256:a2965c114e340987d05556f130c3fb312758c4dc617d12e9c36d239ae5de2c90 - sourceBlobDigest: sha256:c9abc14c5c90dc3d935bd884db2c2b795e1eb8631f6d9fa3526135c1aa6ffd63 + sourceRevisionDigest: sha256:04cae28eb1209c98f831cad96cff132439135cddecb8a3797ae866882cddefb4 + sourceBlobDigest: sha256:80381af963f92900df03c3316afd54560bc91b376efeef8343edebe275fda7cf outLocation: /github/workspace/repo workflow: workflowVersion: 1.0.0 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..d585717f --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,26 @@ +# Contributing to This Repository + +Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements. + +## How to Report Issues + +If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes: + +- A clear and descriptive title +- Steps to reproduce the issue +- Expected and actual behavior +- Any relevant logs, screenshots, or error messages +- Information about your environment (e.g., operating system, software versions) + - For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed + +## Issue Triage and Upstream Fixes + +We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code. + +## Contact + +If you have any questions or need further assistance, please feel free to reach out by opening an issue. + +Thank you for your understanding and cooperation! + +The Maintainers diff --git a/README.md b/README.md index e63bdf34..deeaaa6e 100755 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'com.airbyte:api:1.5.1' +implementation 'com.airbyte:api:1.5.2' ``` Maven: @@ -34,7 +34,7 @@ Maven: com.airbyte api - 1.5.1 + 1.5.2 ``` diff --git a/RELEASES.md b/RELEASES.md index 33d9d98c..ebb4ff21 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1091,4 +1091,14 @@ Based on: ### Generated - [java v1.5.1] . ### Releases -- [Maven Central v1.5.1] https://central.sonatype.com/artifact/com.airbyte/api/1.5.1 - . \ No newline at end of file +- [Maven Central v1.5.1] https://central.sonatype.com/artifact/com.airbyte/api/1.5.1 - . + +## 2024-07-16 19:23:54 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.337.1 (2.373.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v1.5.2] . +### Releases +- [Maven Central v1.5.2] https://central.sonatype.com/artifact/com.airbyte/api/1.5.2 - . \ No newline at end of file diff --git a/build.gradle b/build.gradle index 9f3a94f9..0a15215d 100644 --- a/build.gradle +++ b/build.gradle @@ -13,6 +13,7 @@ plugins { id 'java-library' id 'maven-publish' id 'signing' + id 'cl.franciscosolis.sonatype-central-upload' version '1.0.0' } compileJava.options.encoding = "UTF-8" @@ -38,6 +39,7 @@ model { jar { dependsOn(":generatePomFileForMavenPublication") + archiveBaseName = "api" into("META-INF/maven/com.airbyte/api") { from("$buildDir/pom.xml") @@ -58,23 +60,45 @@ tasks.withType(Javadoc) { failOnError false options.addStringOption('Xdoclint:none', '-quiet') } +group = "com.airbyte" +version = "1.5.2" + +sourcesJar { + archiveBaseName = "api" +} + +javadocJar { + archiveBaseName = "api" +} + +sonatypeCentralUpload { + // This is your Sonatype generated username + username = System.getenv("SONATYPE_USERNAME") + // This is your sonatype generated password + password = System.getenv("SONATYPE_PASSWORD") + + // This is a list of files to upload. Ideally you would point to your jar file, source and javadoc jar (required by central) + archives = files( + "$buildDir/libs/api-${version}.jar", + "$buildDir/libs/api-${version}-sources.jar", + "$buildDir/libs/api-${version}-javadoc.jar" + ) + + // This is the pom file to upload. This is required by central + pom = file("$buildDir/pom.xml") + + // This is your PGP private key. This is required to sign your files + signingKey = System.getenv("SONATYPE_SIGNING_KEY") + // This is your PGP private key passphrase to decrypt your private key + signingKeyPassphrase = System.getenv("SIGNING_KEY_PASSPHRASE") +} publishing { - repositories { - maven { - name = "OSSRH" - url = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/' - credentials { - username = System.getenv("MAVEN_USERNAME") - password = System.getenv("MAVEN_PASSWORD") - } - } - } publications { maven(MavenPublication) { groupId = 'com.airbyte' artifactId = 'api' - version = '1.5.1' + version = '1.5.2' from components.java diff --git a/gen.yaml b/gen.yaml index d2df1d85..16d7c0b4 100644 --- a/gen.yaml +++ b/gen.yaml @@ -11,7 +11,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true java: - version: 1.5.1 + version: 1.5.2 additionalDependencies: [] additionalPlugins: [] artifactID: api diff --git a/src/main/java/com/airbyte/api/SDKConfiguration.java b/src/main/java/com/airbyte/api/SDKConfiguration.java index 8a59c03e..d7be6ac0 100644 --- a/src/main/java/com/airbyte/api/SDKConfiguration.java +++ b/src/main/java/com/airbyte/api/SDKConfiguration.java @@ -22,9 +22,9 @@ public Optional securitySource() { public int serverIdx = 0; public String language = "java"; public String openapiDocVersion = "1.0.0"; - public String sdkVersion = "1.5.1"; - public String genVersion = "2.372.3"; - public String userAgent = "speakeasy-sdk/java 1.5.1 2.372.3 1.0.0 com.airbyte.api"; + public String sdkVersion = "1.5.2"; + public String genVersion = "2.373.2"; + public String userAgent = "speakeasy-sdk/java 1.5.2 2.373.2 1.0.0 com.airbyte.api"; private com.airbyte.api.utils.Hooks _hooks = createHooks();