Skip to content
Open
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
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "fa469c0", "specHash": "60778fb", "version": "0.1.0" }
{ "engineHash": "86773db", "specHash": "a05e5d7", "version": "0.1.0" }
18 changes: 10 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ on:
pull_request:
branches:
- sdk-gen
push:
branches:
- sdk-gen
jobs:
build-and-test:
runs-on: ubuntu-latest
Expand All @@ -24,7 +21,8 @@ jobs:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
cache: 'gradle'
- name: Build and test
- name: All Tests
if: startsWith(github.head_ref, 'codegen-release')
env:
JWT_CONFIG_BASE_64: ${{ secrets.JWT_CONFIG_BASE_64 }}
ADMIN_USER_ID: ${{ secrets.ADMIN_USER_ID }}
Expand All @@ -43,8 +41,12 @@ jobs:
SLACK_ORG_ID: ${{ secrets.SLACK_ORG_ID }}
SLACK_PARTNER_ITEM_ID: ${{ secrets.SLACK_PARTNER_ITEM_ID }}
run: ./gradlew check --stacktrace

- name: Coverage
- name: Smoke Tests
if: "!startsWith(github.head_ref, 'codegen-release')"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew jacocoTestReport coverallsJacoco
JWT_CONFIG_BASE_64: ${{ secrets.JWT_CONFIG_BASE_64 }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
USER_ID: ${{ secrets.USER_ID }}
ENTERPRISE_ID: ${{ secrets.ENTERPRISE_ID }}
run: ./gradlew test --tests com.box.sdkgen.test.auth.AuthITest --tests com.box.sdkgen.test.files.FilesITest --tests com.box.sdkgen.test.downloads.DownloadsITest --tests com.box.sdkgen.test.uploads.UploadsITest --stacktrace
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ public enum CreateWebhookRequestBodyTriggersField implements Valuable {
SIGN_REQUEST_COMPLETED("SIGN_REQUEST.COMPLETED"),
SIGN_REQUEST_DECLINED("SIGN_REQUEST.DECLINED"),
SIGN_REQUEST_EXPIRED("SIGN_REQUEST.EXPIRED"),
SIGN_REQUEST_SIGNER_EMAIL_BOUNCED("SIGN_REQUEST.SIGNER_EMAIL_BOUNCED");
SIGN_REQUEST_SIGNER_EMAIL_BOUNCED("SIGN_REQUEST.SIGNER_EMAIL_BOUNCED"),
SIGN_REQUEST_SIGN_SIGNER_SIGNED("SIGN_REQUEST.SIGN_SIGNER_SIGNED"),
SIGN_REQUEST_SIGN_DOCUMENT_CREATED("SIGN_REQUEST.SIGN_DOCUMENT_CREATED"),
SIGN_REQUEST_SIGN_ERROR_FINALIZING("SIGN_REQUEST.SIGN_ERROR_FINALIZING");

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ public enum UpdateWebhookByIdRequestBodyTriggersField implements Valuable {
SIGN_REQUEST_COMPLETED("SIGN_REQUEST.COMPLETED"),
SIGN_REQUEST_DECLINED("SIGN_REQUEST.DECLINED"),
SIGN_REQUEST_EXPIRED("SIGN_REQUEST.EXPIRED"),
SIGN_REQUEST_SIGNER_EMAIL_BOUNCED("SIGN_REQUEST.SIGNER_EMAIL_BOUNCED");
SIGN_REQUEST_SIGNER_EMAIL_BOUNCED("SIGN_REQUEST.SIGNER_EMAIL_BOUNCED"),
SIGN_REQUEST_SIGN_SIGNER_SIGNED("SIGN_REQUEST.SIGN_SIGNER_SIGNED"),
SIGN_REQUEST_SIGN_DOCUMENT_CREATED("SIGN_REQUEST.SIGN_DOCUMENT_CREATED"),
SIGN_REQUEST_SIGN_ERROR_FINALIZING("SIGN_REQUEST.SIGN_ERROR_FINALIZING");

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ public enum WebhookTriggersField implements Valuable {
SIGN_REQUEST_COMPLETED("SIGN_REQUEST.COMPLETED"),
SIGN_REQUEST_DECLINED("SIGN_REQUEST.DECLINED"),
SIGN_REQUEST_EXPIRED("SIGN_REQUEST.EXPIRED"),
SIGN_REQUEST_SIGNER_EMAIL_BOUNCED("SIGN_REQUEST.SIGNER_EMAIL_BOUNCED");
SIGN_REQUEST_SIGNER_EMAIL_BOUNCED("SIGN_REQUEST.SIGNER_EMAIL_BOUNCED"),
SIGN_REQUEST_SIGN_SIGNER_SIGNED("SIGN_REQUEST.SIGN_SIGNER_SIGNED"),
SIGN_REQUEST_SIGN_DOCUMENT_CREATED("SIGN_REQUEST.SIGN_DOCUMENT_CREATED"),
SIGN_REQUEST_SIGN_ERROR_FINALIZING("SIGN_REQUEST.SIGN_ERROR_FINALIZING");

private final String value;

Expand Down