Skip to content

Commit

Permalink
Merge pull request #95 from airbytehq/speakeasy-sdk-regen-1721096868
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate
  • Loading branch information
bgroff authored Jul 16, 2024
2 parents b0dcc9f + 9d9f1da commit f532876
Show file tree
Hide file tree
Showing 8 changed files with 89 additions and 28 deletions.
11 changes: 6 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ 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
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
Expand Down Expand Up @@ -3978,3 +3978,4 @@ generatedFiles:
- docs/sdks/workspaces/README.md
- USAGE.md
- src/main/java/com/airbyte/api/hooks/ClientCredentialsHook.java
- CONTRIBUTING.md
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
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
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
Expand Down
26 changes: 26 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ 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:
```xml
<dependency>
<groupId>com.airbyte</groupId>
<artifactId>api</artifactId>
<version>1.5.1</version>
<version>1.5.2</version>
</dependency>
```

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 - .
- [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 - .
46 changes: 35 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -38,6 +39,7 @@ model {

jar {
dependsOn(":generatePomFileForMavenPublication")
archiveBaseName = "api"

into("META-INF/maven/com.airbyte/api") {
from("$buildDir/pom.xml")
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
java:
version: 1.5.1
version: 1.5.2
additionalDependencies: []
additionalPlugins: []
artifactID: api
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/airbyte/api/SDKConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public Optional<SecuritySource> 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();

Expand Down

0 comments on commit f532876

Please sign in to comment.