Skip to content

Commit

Permalink
feat(openapi): update version to 1.0.2
Browse files Browse the repository at this point in the history
* Remove deleted API files
* Use Maintenance API to enable maintenance mode instead of pausing tenant
* Remove unsupported runtime versions from tests
* Update version in README to 9.0
* Update test versions in github action
* fix version compare in IT test

Covers [BPM-418](https://bonitasoft.atlassian.net/browse/BPM-418)
  • Loading branch information
bonita-ci authored and abirembaut committed Feb 21, 2025
1 parent 29ae06c commit 18c94ca
Show file tree
Hide file tree
Showing 39 changed files with 222 additions and 2,786 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/_reusable_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Compile and test project
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
run: ./mvnw -B -ntp clean verify sonar:sonar -Dsonar.scanner.force-deprecated-java-version=true -Dbonita.image=${{ vars.BONITASOFT_DOCKER_REGISTRY }}/${{ vars.DOCKER_SNAPSHOTS_REPOSITORY }}/bonita-community:10.2-SNAPSHOT
run: ./mvnw -B -ntp clean verify sonar:sonar -Dsonar.scanner.force-deprecated-java-version=true -Dbonita.image=${{ vars.BONITASOFT_DOCKER_REGISTRY }}/${{ vars.DOCKER_SNAPSHOTS_REPOSITORY }}/bonita-community:10.3-SNAPSHOT

# Build and Push snapshots to maven central
- name: Deploy snapshots to Maven central
Expand All @@ -62,12 +62,11 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
bonita-version:
- '7.15.0'
- '8.0.0'
bonita-version:
- '9.0.0'
- '10.0.0'
- '10.1.0'
- '10.2.0'
steps:
- uses: actions/checkout@v4
- uses: Keeper-Security/ksm-action@v1
Expand All @@ -91,4 +90,4 @@ jobs:
password: ${{ env.JFROG_TOKEN }}

- name: ${{ matrix.bonita-version }} Integration tests
run: ./mvnw -B -ntp verify -Dbonita.image=${{ vars.BONITASOFT_DOCKER_REGISTRY }}/${{ vars.INTERNAL_DOCKER_REPOSITORY_RELEASE }}/bonita-community:${{ matrix.bonita-version }}
run: ./mvnw -B -ntp verify -Dbonita.image=${{ vars.BONITASOFT_DOCKER_REGISTRY }}/${{ vars.INTERNAL_DOCKER_REPOSITORY_RELEASE }}/bonita-community:${{ matrix.bonita-version }}
2 changes: 1 addition & 1 deletion .openapi-generator-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#!docs/README.md

# Ignore below APIs to keep client iso to legacy Bonita APIs
**/org/bonitasoft/web/client/api/PortalAuthenticationApi.java
**/org/bonitasoft/web/client/api/AuthenticationApi.java
**/org/bonitasoft/web/client/api/LicenseApi.java
**/org/bonitasoft/web/client/api/SessionApi.java

Expand Down
7 changes: 0 additions & 7 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ src/main/java/org/bonitasoft/web/client/api/ProfileEntryApi.java
src/main/java/org/bonitasoft/web/client/api/ProfileMemberApi.java
src/main/java/org/bonitasoft/web/client/api/RoleApi.java
src/main/java/org/bonitasoft/web/client/api/SignalApi.java
src/main/java/org/bonitasoft/web/client/api/SystemTenantApi.java
src/main/java/org/bonitasoft/web/client/api/TaskApi.java
src/main/java/org/bonitasoft/web/client/api/TenantApi.java
src/main/java/org/bonitasoft/web/client/api/ThemeApi.java
src/main/java/org/bonitasoft/web/client/api/TimerEventTriggerApi.java
src/main/java/org/bonitasoft/web/client/api/UploadApi.java
Expand Down Expand Up @@ -207,13 +205,8 @@ src/main/java/org/bonitasoft/web/client/model/RoleUpdateRequest.java
src/main/java/org/bonitasoft/web/client/model/Session.java
src/main/java/org/bonitasoft/web/client/model/Signal.java
src/main/java/org/bonitasoft/web/client/model/SystemInformation.java
src/main/java/org/bonitasoft/web/client/model/SystemTenant.java
src/main/java/org/bonitasoft/web/client/model/Task.java
src/main/java/org/bonitasoft/web/client/model/Tenant.java
src/main/java/org/bonitasoft/web/client/model/TenantCreateRequest.java
src/main/java/org/bonitasoft/web/client/model/TenantPauseRequest.java
src/main/java/org/bonitasoft/web/client/model/TenantResourceState.java
src/main/java/org/bonitasoft/web/client/model/TenantUpdateRequest.java
src/main/java/org/bonitasoft/web/client/model/ThemeCreateRequest.java
src/main/java/org/bonitasoft/web/client/model/ThemeRestoreRequest.java
src/main/java/org/bonitasoft/web/client/model/TimerEventTrigger.java
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/openapi.yaml-default.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
045f82ebacb0378879418950f6c4c90dfd67a456fe4c2d7dfa7ad7734bdb7675
1e1f41b83db2d2a372230c512270f63642561921258e976830396d4b9acfeb34
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ endif::[]
// Vars
:project-group-id: org.bonitasoft.web
:project-artifact-id: bonita-java-client
:project-version: 2.0.0-SNAPSHOT
:bonita-short-version: 7.15
:project-version: 3.0.0-SNAPSHOT
:bonita-short-version: 9.0
:orga: bonitasoft
:uri-org: https://github.com/{orga}
:uri-repo: {uri-org}/{project-artifact-id}
Expand Down
Loading

0 comments on commit 18c94ca

Please sign in to comment.