From f2935171992651c2823813d838d7cd3898c35b6c Mon Sep 17 00:00:00 2001 From: Adrien Kantcheff <5028967+akantcheff@users.noreply.github.com> Date: Tue, 25 Jun 2024 12:01:06 +0200 Subject: [PATCH] feat(codegen): support new linked applications model (#355) * feat(spec): update openapi spec * feat(codegen): generate client sources (partial) * feat(codegen): generate new advanced applications model * test(bonita-client): add use case on linked applications * tr(openapi-generator): ignore AbstractApplication generation for now As long as OpenAPI Generator does not handle inheritance and the usage of allOf, anyOf and oneOf, we ignore this incorrect abstraction generation to prevent its usage. * update to 0.0.18 adapt tests to run on several Bonita versions --------- Co-authored-by: Romain Bioteau --- .github/workflows/workflow-PR.yml | 50 +- .github/workflows/workflow-build.yml | 47 +- .openapi-generator-ignore | 6 +- .openapi-generator/FILES | 3 + .openapi-generator/VERSION | 2 +- .../openapi.yaml-default.sha256 | 2 +- api/openapi.yaml | 1133 +++++++++++++---- pom.xml | 13 +- .../web/client/api/ActivityApi.java | 4 +- .../web/client/api/ActivityVariableApi.java | 4 +- .../bonitasoft/web/client/api/ActorApi.java | 4 +- .../web/client/api/ActorMemberApi.java | 4 +- .../web/client/api/ApplicationApi.java | 363 ++++-- .../web/client/api/ApplicationMenuApi.java | 4 +- .../web/client/api/ApplicationPageApi.java | 4 +- .../web/client/api/ArchivedActivityApi.java | 4 +- .../api/ArchivedActivityVariableApi.java | 4 +- .../api/ArchivedConnectorInstanceApi.java | 4 +- .../web/client/api/ArchivedFlowNodeApi.java | 4 +- .../web/client/api/ArchivedHumanTaskApi.java | 4 +- .../web/client/api/ArchivedManualTaskApi.java | 4 +- .../api/ArchivedProcessInstanceApi.java | 4 +- .../ArchivedProcessInstanceCommentApi.java | 4 +- .../ArchivedProcessInstanceDocumentApi.java | 4 +- .../ArchivedProcessInstanceVariableApi.java | 4 +- .../web/client/api/ArchivedTaskApi.java | 4 +- .../web/client/api/ArchivedUserTaskApi.java | 4 +- .../web/client/api/AuthenticationApi.java | 10 +- .../web/client/api/BdmAccessControlApi.java | 8 +- .../org/bonitasoft/web/client/api/BdmApi.java | 8 +- .../web/client/api/BusinessDataQueryApi.java | 4 +- .../web/client/api/ConnectorFailureApi.java | 4 +- .../web/client/api/ConnectorInstanceApi.java | 4 +- .../web/client/api/CustomUserApi.java | 4 +- .../client/api/CustomUserDefinitionApi.java | 4 +- .../web/client/api/CustomUserValueApi.java | 4 +- .../bonitasoft/web/client/api/DiagramApi.java | 8 +- .../web/client/api/FlowNodeApi.java | 4 +- .../web/client/api/FormMappingApi.java | 4 +- .../bonitasoft/web/client/api/GroupApi.java | 4 +- .../web/client/api/HumanTaskApi.java | 4 +- .../web/client/api/I18nlocaleApi.java | 4 +- .../web/client/api/I18ntranslationApi.java | 4 +- .../web/client/api/MaintenanceApi.java | 4 +- .../web/client/api/ManualTaskApi.java | 4 +- .../web/client/api/MembershipApi.java | 4 +- .../bonitasoft/web/client/api/MessageApi.java | 4 +- .../web/client/api/OrganizationApi.java | 8 +- .../bonitasoft/web/client/api/PageApi.java | 8 +- .../web/client/api/PlatformApi.java | 4 +- .../client/api/PlatformAuthenticationApi.java | 4 +- .../bonitasoft/web/client/api/ProcessApi.java | 8 +- .../api/ProcessConnectorDependencyApi.java | 4 +- .../web/client/api/ProcessInfoApi.java | 4 +- .../web/client/api/ProcessInstanceApi.java | 4 +- .../client/api/ProcessInstanceCommentApi.java | 4 +- .../api/ProcessInstanceDocumentApi.java | 4 +- .../client/api/ProcessInstanceInfoApi.java | 4 +- .../api/ProcessInstanceVariableApi.java | 4 +- .../web/client/api/ProcessParameterApi.java | 4 +- .../api/ProcessResolutionProblemApi.java | 4 +- .../web/client/api/ProcessSupervisorApi.java | 4 +- .../api/ProfessionalContactDataApi.java | 4 +- .../bonitasoft/web/client/api/ProfileApi.java | 8 +- .../web/client/api/ProfileEntryApi.java | 4 +- .../web/client/api/ProfileMemberApi.java | 4 +- .../bonitasoft/web/client/api/RoleApi.java | 4 +- .../bonitasoft/web/client/api/SignalApi.java | 4 +- .../web/client/api/SystemTenantApi.java | 4 +- .../bonitasoft/web/client/api/TaskApi.java | 4 +- .../bonitasoft/web/client/api/TenantApi.java | 4 +- .../bonitasoft/web/client/api/ThemeApi.java | 4 +- .../web/client/api/TimerEventTriggerApi.java | 4 +- .../bonitasoft/web/client/api/UploadApi.java | 32 +- .../bonitasoft/web/client/api/UserApi.java | 4 +- .../web/client/api/UserTaskApi.java | 4 +- .../web/client/invoker/ApiClient.java | 15 +- .../client/invoker/ApiResponseDecoder.java | 2 +- .../web/client/invoker/EncodingUtils.java | 2 +- .../web/client/invoker/ParamExpander.java | 2 +- .../web/client/invoker/RFC3339DateFormat.java | 3 +- .../web/client/invoker/StringUtil.java | 4 +- .../web/client/invoker/auth/ApiKeyAuth.java | 2 +- .../client/invoker/auth/HttpBasicAuth.java | 2 +- .../client/invoker/auth/HttpBearerAuth.java | 25 +- .../client/model/AbstractArchivedTask.java | 4 +- .../web/client/model/AbstractTask.java | 4 +- .../web/client/model/ActivationState.java | 2 +- .../bonitasoft/web/client/model/Activity.java | 4 +- .../web/client/model/ActivityPriority.java | 2 +- .../web/client/model/ActivityState.java | 2 +- .../web/client/model/ActivityType.java | 2 +- .../client/model/ActivityUpdateRequest.java | 4 +- .../web/client/model/ActivityVariable.java | 4 +- .../bonitasoft/web/client/model/Actor.java | 4 +- .../web/client/model/ActorDefinition.java | 4 +- .../web/client/model/ActorMember.java | 4 +- .../web/client/model/ActorUpdateRequest.java | 4 +- .../web/client/model/ApiResponse.java | 2 +- .../web/client/model/Application.java | 340 ++++- .../web/client/model/ApplicationLink.java | 587 +++++++++ .../web/client/model/ApplicationMenu.java | 4 +- .../model/ApplicationMenuCreateRequest.java | 4 +- .../model/ApplicationMenuUpdateRequest.java | 4 +- .../web/client/model/ApplicationPage.java | 4 +- .../model/ApplicationPageCreateRequest.java | 4 +- .../model/ApplicationUpdateRequest.java | 4 +- .../web/client/model/ArchivedActivity.java | 4 +- .../model/ArchivedActivityVariable.java | 4 +- .../model/ArchivedConnectorInstance.java | 4 +- .../web/client/model/ArchivedFlowNode.java | 4 +- .../web/client/model/ArchivedHumanTask.java | 4 +- .../web/client/model/ArchivedManualTask.java | 4 +- .../client/model/ArchivedProcessInstance.java | 4 +- .../model/ArchivedProcessInstanceComment.java | 4 +- .../ArchivedProcessInstanceDocument.java | 4 +- .../ArchivedProcessInstanceVariable.java | 4 +- .../web/client/model/ArchivedTask.java | 4 +- .../web/client/model/ArchivedUserTask.java | 4 +- .../web/client/model/BDMAccessControl.java | 4 +- .../web/client/model/BDMInstallRequest.java | 4 +- .../org/bonitasoft/web/client/model/Bdm.java | 4 +- .../web/client/model/BusinessData.java | 4 +- .../web/client/model/ConfigurationState.java | 2 +- .../web/client/model/ConnectorFailure.java | 4 +- .../web/client/model/ConnectorInstance.java | 4 +- .../bonitasoft/web/client/model/Contract.java | 8 +- .../web/client/model/ContractConstraint.java | 6 +- .../web/client/model/ContractInput.java | 6 +- .../web/client/model/ContractInputType.java | 2 +- .../model/CreateApplicationRequest.java | 4 +- .../web/client/model/CustomUser.java | 4 +- .../client/model/CustomUserDefinition.java | 4 +- .../CustomUserDefinitionCreateRequest.java | 4 +- .../web/client/model/CustomUserValue.java | 4 +- .../model/CustomUserValueUpdateRequest.java | 4 +- .../client/model/DesignProcessDefinition.java | 14 +- .../model/DesignProcessDefinitionContext.java | 4 +- .../DesignProcessDefinitionParamater.java | 4 +- .../bonitasoft/web/client/model/Error.java | 6 +- .../web/client/model/Expression.java | 6 +- .../model/FlowElementContainerDefinition.java | 28 +- .../bonitasoft/web/client/model/FlowNode.java | 4 +- .../client/model/FlowNodeUpdateRequest.java | 4 +- .../web/client/model/FormMapping.java | 4 +- .../model/FormMappingUpdateRequest.java | 4 +- .../bonitasoft/web/client/model/Group.java | 4 +- .../web/client/model/GroupCreateRequest.java | 4 +- .../web/client/model/GroupUpdateRequest.java | 4 +- .../web/client/model/HumanTask.java | 4 +- .../client/model/HumanTaskUpdateRequest.java | 4 +- .../web/client/model/I18nlocale.java | 4 +- .../web/client/model/LegacyApplication.java | 680 ++++++++++ .../bonitasoft/web/client/model/License.java | 4 +- .../web/client/model/MaintenanceDetails.java | 4 +- .../web/client/model/ManualTask.java | 4 +- .../client/model/ManualTaskCreateRequest.java | 4 +- .../client/model/ManualTaskUpdateRequest.java | 4 +- .../web/client/model/Membership.java | 4 +- .../client/model/MembershipCreateRequest.java | 4 +- .../bonitasoft/web/client/model/Message.java | 4 +- .../model/MessageMessageContentValue.java | 4 +- .../org/bonitasoft/web/client/model/Page.java | 4 +- .../web/client/model/PageCreateRequest.java | 4 +- .../web/client/model/PageUpdateRequest.java | 4 +- .../bonitasoft/web/client/model/Platform.java | 4 +- .../web/client/model/PlatformLicense.java | 4 +- .../client/model/PlatformUpdateRequest.java | 4 +- .../model/ProcessConnectorDependency.java | 4 +- .../client/model/ProcessCreateRequest.java | 4 +- .../web/client/model/ProcessDefinition.java | 4 +- .../web/client/model/ProcessInfo.java | 4 +- ...rocessInfoFlowNodeStatesCountersValue.java | 4 +- .../web/client/model/ProcessInstance.java | 4 +- .../client/model/ProcessInstanceComment.java | 4 +- .../ProcessInstanceCommentCreateRequest.java | 4 +- .../model/ProcessInstanceCreateRequest.java | 6 +- .../client/model/ProcessInstanceDocument.java | 4 +- .../ProcessInstanceDocumentCreateRequest.java | 4 +- .../ProcessInstanceDocumentUpdateRequest.java | 4 +- .../web/client/model/ProcessInstanceInfo.java | 4 +- ...stanceInfoFlowNodeStatesCountersValue.java | 4 +- .../client/model/ProcessInstanceVariable.java | 4 +- .../ProcessInstanceVariableUpdateRequest.java | 4 +- .../model/ProcessInstantiationResponse.java | 4 +- .../web/client/model/ProcessParameter.java | 4 +- .../model/ProcessParameterUpdateRequest.java | 4 +- .../model/ProcessResolutionProblem.java | 4 +- .../web/client/model/ProcessSupervisor.java | 4 +- .../client/model/ProcessUpdateRequest.java | 4 +- .../web/client/model/ProcessVariable.java | 4 +- .../client/model/ProfessionalContactData.java | 4 +- .../bonitasoft/web/client/model/Profile.java | 4 +- .../client/model/ProfileCreateRequest.java | 4 +- .../web/client/model/ProfileEntry.java | 4 +- .../model/ProfileEntryCreateRequest.java | 4 +- .../model/ProfileEntryUpdateRequest.java | 4 +- .../web/client/model/ProfileMember.java | 4 +- .../model/ProfileMemberCreateRequest.java | 4 +- .../client/model/ProfileUpdateRequest.java | 4 +- .../org/bonitasoft/web/client/model/Role.java | 4 +- .../web/client/model/RoleCreateRequest.java | 4 +- .../web/client/model/RoleUpdateRequest.java | 4 +- .../bonitasoft/web/client/model/Session.java | 4 +- .../bonitasoft/web/client/model/Signal.java | 4 +- .../web/client/model/SystemTenant.java | 4 +- .../org/bonitasoft/web/client/model/Task.java | 4 +- .../bonitasoft/web/client/model/Tenant.java | 4 +- .../web/client/model/TenantCreateRequest.java | 4 +- .../web/client/model/TenantPauseRequest.java | 4 +- .../web/client/model/TenantResourceState.java | 2 +- .../web/client/model/TenantUpdateRequest.java | 4 +- .../web/client/model/ThemeCreateRequest.java | 4 +- .../web/client/model/ThemeRestoreRequest.java | 4 +- .../web/client/model/TimerEventTrigger.java | 4 +- .../model/TimerEventTriggerUpdateRequest.java | 4 +- .../TimerEventTriggerUpdateResponse.java | 4 +- ...ateProcessConnectorByProcessIdRequest.java | 4 +- .../client/model/UpdateTaskByIdRequest.java | 4 +- .../org/bonitasoft/web/client/model/User.java | 4 +- .../web/client/model/UserCreateRequest.java | 4 +- .../bonitasoft/web/client/model/UserTask.java | 4 +- .../client/model/UserTaskUpdateRequest.java | 4 +- .../web/client/model/UserUpdateRequest.java | 4 +- .../testcontainers/BonitaContainer.java | 12 +- .../bonitasoft/web/client/BonitaClientIT.java | 71 +- .../impl/DefaultApplicationServiceTest.java | 4 +- src/test/resources/application-link.xml | 11 + src/test/resources/application.xml | 2 +- src/test/resources/application_1.0.xml | 37 + 230 files changed, 3446 insertions(+), 880 deletions(-) create mode 100644 src/main/java/org/bonitasoft/web/client/model/ApplicationLink.java create mode 100644 src/main/java/org/bonitasoft/web/client/model/LegacyApplication.java create mode 100644 src/test/resources/application-link.xml create mode 100644 src/test/resources/application_1.0.xml diff --git a/.github/workflows/workflow-PR.yml b/.github/workflows/workflow-PR.yml index e5169881..59cff8ae 100644 --- a/.github/workflows/workflow-PR.yml +++ b/.github/workflows/workflow-PR.yml @@ -6,7 +6,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: Keeper-Security/ksm-action@v1 @@ -14,19 +14,65 @@ jobs: keeper-secret-config: ${{ secrets.KSM_CONFIG }} secrets: | ${{ vars.KEEPER_SONARCLOUD_RECORD_ID }}/field/password > env:SONAR_TOKEN + ${{ vars.KEEPER_JFROG_RECORD_ID }}/field/login > env:JFROG_USER + ${{ vars.KEEPER_JFROG_RECORD_ID }}/field/password > env:JFROG_TOKEN + - name: Cache SonarCloud packages uses: actions/cache@v4 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar + - name: Setup Java uses: actions/setup-java@v4 with: java-version: 17 distribution: temurin cache: maven + + - uses: docker/login-action@v3 + with: + registry: ${{ vars.BONITASOFT_DOCKER_REGISTRY }} + username: ${{ env.JFROG_USER }} + password: ${{ env.JFROG_TOKEN }} + - name: Build 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 + run: ./mvnw -B -ntp 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 + + test-supported-versions: + runs-on: ubuntu-22.04 + strategy: + matrix: + bonita-version: + - '7.15.0' + - '8.0.0' + - '9.0.0' + - '10.0.0' + - '10.1.0' + steps: + - uses: actions/checkout@v4 + - uses: Keeper-Security/ksm-action@v1 + with: + keeper-secret-config: ${{ secrets.KSM_CONFIG }} + secrets: | + ${{ vars.KEEPER_JFROG_RECORD_ID }}/field/login > env:JFROG_USER + ${{ vars.KEEPER_JFROG_RECORD_ID }}/field/password > env:JFROG_TOKEN + + - name: Setup Java + uses: actions/setup-java@v4 + with: + java-version: 17 + distribution: temurin + cache: maven + + - uses: docker/login-action@v3 + with: + registry: ${{ vars.BONITASOFT_DOCKER_REGISTRY }} + username: ${{ env.JFROG_USER }} + 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 }} \ No newline at end of file diff --git a/.github/workflows/workflow-build.yml b/.github/workflows/workflow-build.yml index 23219aa7..7c3f488d 100644 --- a/.github/workflows/workflow-build.yml +++ b/.github/workflows/workflow-build.yml @@ -21,6 +21,8 @@ jobs: ${{ vars.KEEPER_GPG_ARTIFACT_SIGNING_RECORD_ID }}/field/login > env:GPG_KEYNAME ${{ vars.KEEPER_GPG_ARTIFACT_SIGNING_RECORD_ID }}/custom_field/gpg-private-key > env:GPG_PRIVATE_KEY ${{ vars.KEEPER_GPG_ARTIFACT_SIGNING_RECORD_ID }}/field/password > env:MAVEN_GPG_PASSPHRASE + ${{ vars.KEEPER_JFROG_RECORD_ID }}/field/login > env:JFROG_USER + ${{ vars.KEEPER_JFROG_RECORD_ID }}/field/password > env:JFROG_TOKEN - name: Setup Java uses: actions/setup-java@v4 @@ -34,11 +36,52 @@ jobs: gpg-private-key: ${{ env.GPG_PRIVATE_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE + - uses: docker/login-action@v3 + with: + registry: ${{ vars.BONITASOFT_DOCKER_REGISTRY }} + username: ${{ env.JFROG_USER }} + password: ${{ env.JFROG_TOKEN }} + - 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 + 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 # Build and Push snapshots to maven central - name: Deploy snapshots to Maven central - run: ./mvnw -B -ntp deploy -DskipTests=true -Pdeploy \ No newline at end of file + run: ./mvnw -B -ntp deploy -DskipTests=true -Pdeploy + + test-supported-versions: + runs-on: ubuntu-22.04 + strategy: + matrix: + bonita-version: + - '7.15.0' + - '8.0.0' + - '9.0.0' + - '10.0.0' + - '10.1.0' + steps: + - uses: actions/checkout@v4 + - uses: Keeper-Security/ksm-action@v1 + with: + keeper-secret-config: ${{ secrets.KSM_CONFIG }} + secrets: | + ${{ vars.KEEPER_JFROG_RECORD_ID }}/field/login > env:JFROG_USER + ${{ vars.KEEPER_JFROG_RECORD_ID }}/field/password > env:JFROG_TOKEN + + - name: Setup Java + uses: actions/setup-java@v4 + with: + java-version: 17 + distribution: temurin + cache: maven + + - uses: docker/login-action@v3 + with: + registry: ${{ vars.BONITASOFT_DOCKER_REGISTRY }} + username: ${{ env.JFROG_USER }} + 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 }} \ No newline at end of file diff --git a/.openapi-generator-ignore b/.openapi-generator-ignore index fc8e2550..9f4981ff 100644 --- a/.openapi-generator-ignore +++ b/.openapi-generator-ignore @@ -22,10 +22,14 @@ # Then explicitly reverse the ignore rule for a single file: #!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/LicenseApi.java **/org/bonitasoft/web/client/api/SessionApi.java -**/org/bonitasoft/web/client/api/ApplicationApi.java + +# As long as OpenAPI Generator does not handle inheritance and the usage of allOf, anyOf and oneOf, +# we ignore this incorrect abstraction generation to prevent its usage. +**/org/bonitasoft/web/client/model/AbstractApplication.java **/org/bonitasoft/web/client/model/Inline*.java **/org/bonitasoft/web/client/invoker/ServerConfiguration.java diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index c8f6e3a3..44c789bb 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -5,6 +5,7 @@ src/main/java/org/bonitasoft/web/client/api/ActivityApi.java src/main/java/org/bonitasoft/web/client/api/ActivityVariableApi.java src/main/java/org/bonitasoft/web/client/api/ActorApi.java src/main/java/org/bonitasoft/web/client/api/ActorMemberApi.java +src/main/java/org/bonitasoft/web/client/api/ApplicationApi.java src/main/java/org/bonitasoft/web/client/api/ApplicationMenuApi.java src/main/java/org/bonitasoft/web/client/api/ApplicationPageApi.java src/main/java/org/bonitasoft/web/client/api/ArchivedActivityApi.java @@ -92,6 +93,7 @@ src/main/java/org/bonitasoft/web/client/model/ActorMember.java src/main/java/org/bonitasoft/web/client/model/ActorUpdateRequest.java src/main/java/org/bonitasoft/web/client/model/ApiResponse.java src/main/java/org/bonitasoft/web/client/model/Application.java +src/main/java/org/bonitasoft/web/client/model/ApplicationLink.java src/main/java/org/bonitasoft/web/client/model/ApplicationMenu.java src/main/java/org/bonitasoft/web/client/model/ApplicationMenuCreateRequest.java src/main/java/org/bonitasoft/web/client/model/ApplicationMenuUpdateRequest.java @@ -143,6 +145,7 @@ src/main/java/org/bonitasoft/web/client/model/GroupUpdateRequest.java src/main/java/org/bonitasoft/web/client/model/HumanTask.java src/main/java/org/bonitasoft/web/client/model/HumanTaskUpdateRequest.java src/main/java/org/bonitasoft/web/client/model/I18nlocale.java +src/main/java/org/bonitasoft/web/client/model/LegacyApplication.java src/main/java/org/bonitasoft/web/client/model/License.java src/main/java/org/bonitasoft/web/client/model/MaintenanceDetails.java src/main/java/org/bonitasoft/web/client/model/ManualTask.java diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 3769235d..93c8ddab 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.1.0 \ No newline at end of file +7.6.0 diff --git a/.openapi-generator/openapi.yaml-default.sha256 b/.openapi-generator/openapi.yaml-default.sha256 index 6c59f501..aca5b8ad 100644 --- a/.openapi-generator/openapi.yaml-default.sha256 +++ b/.openapi-generator/openapi.yaml-default.sha256 @@ -1 +1 @@ -c4829d4b7658a0e392e19cc140d26861630f6f4543d4c744f9d51c39a4138b5d \ No newline at end of file +25eaf10608f1031bd1ec198e8d19cd85333e570352112f68ec7db4890e59da55 \ No newline at end of file diff --git a/api/openapi.yaml b/api/openapi.yaml index b37b1199..0cc63534 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -78,30 +78,33 @@ info: * f: list of filters, specified as `attributeName=attributeValue`. To filter on\ \ more than one attribute, specify an f parameters for each attribute. The final\ \ filter parameter value must be URL encoded.\n The attributes you can filter\ - \ on are specific to the resource.\n* s: search on name or search indexes. The\ - \ matching policy depends on the configuration of [word-based search](https://documentation.bonitasoft.com/bonita/2022.2/api/using-list-and-search-methods#word_based_search).\n\ - \ For example, if word-based search is enabled, `s=Valid` returns matches containing\ + \ on are specific to the resource.\n* s: search on name or search indexes. Before\ + \ Bonita 2024.1, the matching policy depended on the configuration of [word-based\ + \ search](https://documentation.bonitasoft.com/bonita/2023.2/api/using-list-and-search-methods#word_based_search).\n\ + \ For example, if word-based search was enabled, `s=Valid` returned matches containing\ \ the string \"valid\" at the start of any word in the attribute value word,\n\ \ such as \"Valid address\", \"Not a valid address\", and \"Validated request\"\ - \ but not \"Invalid request\".\n If word-based search is disabled, `s=Valid`\ - \ returns matches containing the string \"valid\" at the start of the attribute\ + \ but not \"Invalid request\".\n If word-based search was disabled, `s=Valid`\ + \ returned matches containing the string \"valid\" at the start of the attribute\ \ value, such as \"Valid address\" or \"Validated request\" but not \"Not a valid\ - \ address\" or \"Invalid request\".\n\n### Errors\n\nThe API uses standard HTTP\ - \ status codes to indicate the success or failure of the API call.\n\nIf you get\ - \ a `401` response code :\n - make sure that the cookies have been transfered\ - \ with the call\n - make sure that the cookies transfered are the ones generated\ - \ during the last sucessfull login call\n - if one of the PUT, DELETE or POST\ - \ method is used, make sure that the `X-Bonita-API-Token` header is included\n\ - \ - if the X-Bonita-API-Token header is included, make sure that the value is\ - \ the same as the one of the cookie generated during the last login\n - Maybe\ - \ a logout was issued or the session has expired; try to log in again, and re\ - \ run the request with the new cookies and the new value for the `X-Bonita-API-Token`\ - \ header.\n" + \ address\" or \"Invalid request\".\n Since Bonita 2024.1, the search mode can\ + \ no longer be configured and a \"like-based\" algorithm is used. This means all\ + \ the matching records for which the search term occurs anywhere in a phrase or\ + \ a word are returned.\n\n### Errors\n\nThe API uses standard HTTP status codes\ + \ to indicate the success or failure of the API call.\n\nIf you get a `401` response\ + \ code :\n - make sure that the cookies have been transfered with the call\n\ + \ - make sure that the cookies transfered are the ones generated during the last\ + \ sucessfull login call\n - if one of the PUT, DELETE or POST method is used,\ + \ make sure that the `X-Bonita-API-Token` header is included\n - if the X-Bonita-API-Token\ + \ header is included, make sure that the value is the same as the one of the cookie\ + \ generated during the last login\n - Maybe a logout was issued or the session\ + \ has expired; try to log in again, and re run the request with the new cookies\ + \ and the new value for the `X-Bonita-API-Token` header.\n" license: name: GPL-v2.0 url: http://www.gnu.org/licenses/gpl-2.0.txt title: Bonita API - version: 0.0.16 + version: 0.0.18 x-logo: url: images/bonitasoft-logo.svg backgroundColor: '#19465f' @@ -378,10 +381,6 @@ paths: $ref: '#/components/schemas/LoginRequest' responses: "204": - content: - text/plain: - schema: - type: string description: Login success headers: Set-Cookie: @@ -449,7 +448,8 @@ paths: \ the cookie file and set the `X-Bonita-API-Token` header\n curl -b saved_cookies.txt\ \ -X GET \\\n-- header 'X-Bonita-API-Token: ' \\\n--url 'http://localhost:8080/bonita/API/bpm/process?c=100&p=0'\n" x-content-type: application/x-www-form-urlencoded - x-accepts: application/json + x-accepts: + - application/json /logoutservice: get: description: | @@ -516,15 +516,16 @@ paths: label: Curl source: | curl -b saved_cookies.txt -X GET --url 'http://localhost:8080/bonita/logoutservice?redirect=false' - x-accepts: application/json + x-accepts: + - application/json /API/living/application: get: description: | Finds living applications with pagination params and filters - - can order on `id`,`creationDate`, `createdBy`, `profileId`, `token`, `displayName`, `updatedBy`, `lastUpdateDate`, `version` - - can search on `token`, `displayName`, `version` - - can filter on `token`, `displayName`, `version`, `profileId`, `creationDate`, `createdBy`, `updatedBy` , `lastUpdateDate`, `userId` + - can order on `id`,`creationDate`, `createdBy`, `profileId`, `token`, `displayName`, `updatedBy`, `lastUpdateDate`, `version`, `link` + - can search on `token`, `displayName`, `version`, `link` + - can filter on `token`, `displayName`, `version`, `link`, `profileId`, `creationDate`, `createdBy`, `updatedBy` , `lastUpdateDate`, `userId` operationId: searchApplications parameters: - description: index of the page to display @@ -590,6 +591,40 @@ paths: "200": content: application/json: + example: + - id: "306" + link: "true" + creationDate: "1411548289900" + icon: "" + createdBy": "1" + profileId: "2" + description: My application link description + token: myadvapp + state: ACTIVATED + displayName: My app link + updatedBy: "1" + visibility: ALL + editable: "true" + lastUpdateDate: "1411548289900" + version: "1.0" + - id: "305" + link: "false" + creationDate: "1411548289900" + icon: "" + createdBy": "1" + profileId: "2" + description: My application description + token: myapp + state: DEACTIVATED + displayName: My app + updatedBy: "1" + visibility: ALL + editable: "true" + lastUpdateDate: "1411548289900" + version: "1.0" + homePageId: "26" + themeId: "1" + layoutId: "3" schema: items: $ref: '#/components/schemas/Application' @@ -640,7 +675,8 @@ paths: summary: Finds living applications tags: - Application - x-accepts: application/json + x-accepts: + - application/json post: deprecated: true description: | @@ -660,7 +696,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Application' + $ref: '#/components/schemas/LegacyApplication' description: 'Success ' "400": content: @@ -701,7 +737,8 @@ paths: - Application x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/living/application/{id}: delete: description: | @@ -766,7 +803,8 @@ paths: summary: Delete a living application by ID tags: - Application - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns a single application for the given ID @@ -834,7 +872,8 @@ paths: summary: Finds a living application by ID tags: - Application - x-accepts: application/json + x-accepts: + - application/json put: deprecated: true description: | @@ -865,7 +904,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/Application' + $ref: '#/components/schemas/LegacyApplication' description: 'Success ' "400": content: @@ -913,7 +952,8 @@ paths: tags: - Application x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /services/application/import: post: deprecated: true @@ -976,7 +1016,8 @@ paths: tags: - Application x-content-type: application/x-www-form-urlencoded - x-accepts: application/json + x-accepts: + - application/json /portal/applicationsUpload: post: deprecated: true @@ -1039,7 +1080,9 @@ paths: - Application - Upload x-content-type: multipart/form-data - x-accepts: application/json + x-accepts: + - application/json + - text/plain /API/living/application-menu: get: description: | @@ -1163,7 +1206,8 @@ paths: summary: Finds application menus tags: - ApplicationMenu - x-accepts: application/json + x-accepts: + - application/json post: deprecated: true description: | @@ -1222,7 +1266,8 @@ paths: tags: - ApplicationMenu x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/living/application-menu/{id}: delete: description: Delete a single application menu for the given ID @@ -1286,7 +1331,8 @@ paths: summary: Delete an application menu by ID tags: - ApplicationMenu - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns a single application menu for the given ID @@ -1361,7 +1407,8 @@ paths: summary: Finds a application menu by ID tags: - ApplicationMenu - x-accepts: application/json + x-accepts: + - application/json put: deprecated: true description: | @@ -1436,7 +1483,8 @@ paths: tags: - ApplicationMenu x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/living/application-page: get: description: | @@ -1509,7 +1557,7 @@ paths: responses: "200": content: - ApplicationPage/json: + application/json: schema: items: $ref: '#/components/schemas/ApplicationPage' @@ -1560,7 +1608,8 @@ paths: summary: Finds application pages tags: - ApplicationPage - x-accepts: application/json + x-accepts: + - application/json post: deprecated: true description: | @@ -1621,7 +1670,8 @@ paths: - ApplicationPage x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/living/application-page/{id}: delete: description: | @@ -1686,7 +1736,8 @@ paths: summary: Delete an application page by ID tags: - ApplicationPage - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns a single application page for the given ID @@ -1754,7 +1805,8 @@ paths: summary: Finds an application page by ID tags: - ApplicationPage - x-accepts: application/json + x-accepts: + - application/json /API/bdm/businessData/{businessDataType}: get: description: | @@ -1901,7 +1953,8 @@ paths: summary: Finds Business Data tags: - BusinessDataQuery - x-accepts: application/json + x-accepts: + - application/json /API/bdm/businessData/{businessDataType}/findByIds: get: description: | @@ -1976,7 +2029,8 @@ paths: summary: Finds business data By Ids tags: - BDM - x-accepts: application/json + x-accepts: + - application/json /API/bdm/businessData/{businessDataType}/{persistenceId}: get: description: | @@ -2047,7 +2101,8 @@ paths: summary: Finds business data by Id tags: - BDM - x-accepts: application/json + x-accepts: + - application/json /API/bdm/businessData/{businessDataType}/{persistenceId}/{attributeName}: get: description: | @@ -2143,7 +2198,8 @@ paths: summary: Finds business data attribute by id tags: - BDM - x-accepts: application/json + x-accepts: + - application/json /API/accessControl/bdm: delete: description: | @@ -2191,7 +2247,8 @@ paths: summary: Delete the BDM Access Control tags: - BDMAccessControl - x-accepts: application/json + x-accepts: + - application/json get: description: | ![edition](https://img.shields.io/badge/edition-entreprise-blue) @@ -2242,7 +2299,8 @@ paths: summary: BDM access control status tags: - BDMAccessControl - x-accepts: application/json + x-accepts: + - application/json /portal/bdmAccessControlUpload: post: deprecated: true @@ -2307,7 +2365,9 @@ paths: - BDMAccessControl - Upload x-content-type: multipart/form-data - x-accepts: application/json + x-accepts: + - application/json + - text/plain /services/bdmAccessControl/install: post: deprecated: true @@ -2374,7 +2434,8 @@ paths: tags: - BDMAccessControl x-content-type: application/x-www-form-urlencoded - x-accepts: application/json + x-accepts: + - application/json /API/bpm/activity: get: description: | @@ -2498,7 +2559,8 @@ paths: summary: Finds Activities tags: - Activity - x-accepts: application/json + x-accepts: + - application/json /API/bpm/activity/{id}: get: description: | @@ -2567,7 +2629,8 @@ paths: summary: Finds the Activity by ID tags: - Activity - x-accepts: application/json + x-accepts: + - application/json put: description: | Update the Activity for the given ID @@ -2639,7 +2702,8 @@ paths: tags: - Activity x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedActivity: get: description: | @@ -2773,7 +2837,8 @@ paths: summary: Finds Archived Activities tags: - ArchivedActivity - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedActivity/{id}: get: description: | @@ -2842,7 +2907,8 @@ paths: summary: Finds the Archived Activity by ID tags: - ArchivedActivity - x-accepts: application/json + x-accepts: + - application/json /API/bpm/humanTask: get: description: | @@ -2966,7 +3032,8 @@ paths: summary: Finds HumanTasks tags: - HumanTask - x-accepts: application/json + x-accepts: + - application/json /API/bpm/humanTask/{id}: get: description: | @@ -3035,7 +3102,8 @@ paths: summary: Finds the HumanTask by ID tags: - HumanTask - x-accepts: application/json + x-accepts: + - application/json put: description: | Update the HumanTask for the given ID @@ -3108,7 +3176,8 @@ paths: tags: - HumanTask x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/manualTask: get: description: | @@ -3239,7 +3308,8 @@ paths: summary: Finds ManualTasks tags: - ManualTask - x-accepts: application/json + x-accepts: + - application/json post: description: | Create the ManualTask. @@ -3298,7 +3368,8 @@ paths: - ManualTask x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/manualTask/{id}: get: description: | @@ -3367,7 +3438,8 @@ paths: summary: Finds the ManualTask by ID tags: - ManualTask - x-accepts: application/json + x-accepts: + - application/json put: description: | Update the ManualTask for the given ID. @@ -3441,7 +3513,8 @@ paths: tags: - ManualTask x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/task: get: description: | @@ -3554,7 +3627,8 @@ paths: summary: Finds Tasks tags: - Task - x-accepts: application/json + x-accepts: + - application/json /API/bpm/task/{id}: get: description: | @@ -3623,7 +3697,8 @@ paths: summary: Finds the Task by ID tags: - Task - x-accepts: application/json + x-accepts: + - application/json put: description: | Update the Task for the given ID @@ -3698,7 +3773,8 @@ paths: tags: - Task x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/userTask: get: description: | @@ -3822,7 +3898,8 @@ paths: summary: Finds UserTasks tags: - UserTask - x-accepts: application/json + x-accepts: + - application/json /API/bpm/userTask/{id}: get: description: | @@ -3891,7 +3968,8 @@ paths: summary: Finds the UserTask by ID tags: - UserTask - x-accepts: application/json + x-accepts: + - application/json put: description: | Update the UserTask for the given ID. @@ -3965,7 +4043,8 @@ paths: tags: - UserTask x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/userTask/{id}/contract: get: description: | @@ -4034,7 +4113,8 @@ paths: summary: Finds the Contract by UserTask ID tags: - UserTask - x-accepts: application/json + x-accepts: + - application/json /API/bpm/userTask/{id}/execution: post: description: | @@ -4113,7 +4193,8 @@ paths: - UserTask x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/userTask/{id}/context: get: description: | @@ -4204,7 +4285,8 @@ paths: summary: Finds the Context by UserTask ID tags: - UserTask - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedHumanTask: get: description: | @@ -4321,7 +4403,8 @@ paths: summary: Finds ArchivedHumanTasks tags: - ArchivedHumanTask - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedHumanTask/{id}: get: description: | @@ -4390,7 +4473,8 @@ paths: summary: Finds the ArchivedHumanTask by ID tags: - ArchivedHumanTask - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedManualTask: get: description: | @@ -4507,7 +4591,8 @@ paths: summary: Finds ArchivedManualTasks tags: - ArchivedManualTask - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedManualTask/{id}: get: description: | @@ -4576,7 +4661,8 @@ paths: summary: Finds the ArchivedManualTask by ID tags: - ArchivedManualTask - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedUserTask: get: description: | @@ -4694,7 +4780,8 @@ paths: summary: Finds ArchivedUserTasks tags: - ArchivedUserTask - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedUserTask/{id}: get: description: | @@ -4763,7 +4850,8 @@ paths: summary: Finds the ArchivedUserTask by ID tags: - ArchivedUserTask - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedTask: get: description: | @@ -4876,7 +4964,8 @@ paths: summary: Finds ArchivedTasks tags: - ArchivedTask - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedTask/{id}: get: description: | @@ -4945,7 +5034,8 @@ paths: summary: Finds the ArchivedTask by ID tags: - ArchivedTask - x-accepts: application/json + x-accepts: + - application/json /API/bpm/activityVariable/{id}/{variableName}: get: description: | @@ -5024,7 +5114,8 @@ paths: summary: Finds the ActivityVariable by ID tags: - ActivityVariable - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedActivityVariable/{id}/{variableName}: get: description: | @@ -5105,7 +5196,8 @@ paths: summary: Finds the ArchivedActivityVariable by case ID and name tags: - ArchivedActivityVariable - x-accepts: application/json + x-accepts: + - application/json /API/bpm/caseVariable: get: description: | @@ -5215,7 +5307,8 @@ paths: summary: Finds ProcessInstance Variables tags: - ProcessInstanceVariable - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedCaseVariable: get: description: | @@ -5314,7 +5407,8 @@ paths: summary: Finds ArchivedProcessInstance Variables tags: - ArchivedProcessInstanceVariable - x-accepts: application/json + x-accepts: + - application/json /API/bpm/caseVariable/{id}/{variableName}: get: description: | @@ -5394,7 +5488,8 @@ paths: summary: Finds the Variable by ProcessInstance ID tags: - ProcessInstanceVariable - x-accepts: application/json + x-accepts: + - application/json put: description: | Update the variable for the given ProcessInstance ID. @@ -5479,7 +5574,8 @@ paths: tags: - ProcessInstanceVariable x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedCaseVariable/{id}/{variableName}: get: description: | @@ -5561,7 +5657,8 @@ paths: summary: Finds an archived Variable by ProcessInstance ID and variable name tags: - ArchivedProcessInstanceVariable - x-accepts: application/json + x-accepts: + - application/json /API/bpm/caseDocument: get: description: | @@ -5679,7 +5776,8 @@ paths: summary: Finds ProcessInstanceDocuments tags: - ProcessInstanceDocument - x-accepts: application/json + x-accepts: + - application/json post: description: | Create the ProcessInstanceDocument. @@ -5742,7 +5840,8 @@ paths: - ProcessInstanceDocument x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/caseDocument/{id}: delete: description: | @@ -5807,7 +5906,8 @@ paths: summary: Delete the ProcessInstanceDocument by ID tags: - ProcessInstanceDocument - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns the single ProcessInstanceDocument for the given ID. @@ -5879,7 +5979,8 @@ paths: summary: Finds the ProcessInstanceDocument by ID tags: - ProcessInstanceDocument - x-accepts: application/json + x-accepts: + - application/json put: description: | Update the ProcessInstanceDocument for the given ID @@ -5955,7 +6056,8 @@ paths: tags: - ProcessInstanceDocument x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedCaseDocument: get: description: | @@ -6077,7 +6179,8 @@ paths: summary: Finds ArchivedProcessInstanceDocuments tags: - ArchivedProcessInstanceDocument - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedCaseDocument/{id}: delete: description: | @@ -6142,7 +6245,8 @@ paths: summary: Delete the ArchivedProcessInstanceDocument by ID tags: - ArchivedProcessInstanceDocument - x-accepts: application/json + x-accepts: + - application/json /API/bpm/actor: get: description: | @@ -6252,7 +6356,8 @@ paths: summary: Finds Actors tags: - Actor - x-accepts: application/json + x-accepts: + - application/json /API/bpm/actor/{id}: get: description: | @@ -6321,7 +6426,8 @@ paths: summary: Finds the Actor by ID tags: - Actor - x-accepts: application/json + x-accepts: + - application/json put: deprecated: true description: | @@ -6396,7 +6502,8 @@ paths: tags: - Actor x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/actorMember: get: description: | @@ -6517,7 +6624,8 @@ paths: summary: Finds ActorMembers tags: - ActorMember - x-accepts: application/json + x-accepts: + - application/json /API/bpm/actorMember/{id}: delete: description: | @@ -6582,7 +6690,8 @@ paths: summary: Delete the ActorMember by ID tags: - ActorMember - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns the single ActorMember for the given ID @@ -6650,7 +6759,8 @@ paths: summary: Finds the ActorMember by ID tags: - ActorMember - x-accepts: application/json + x-accepts: + - application/json /API/bpm/case: delete: description: | @@ -6715,7 +6825,8 @@ paths: tags: - ProcessInstance x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json get: description: | Finds ProcessInstances with pagination params and filters @@ -6832,7 +6943,8 @@ paths: summary: Finds ProcessInstances tags: - ProcessInstance - x-accepts: application/json + x-accepts: + - application/json post: description: | ![edition](https://img.shields.io/badge/edition-entreprise-blue) ![edition](https://img.shields.io/badge/edition-community-brightgreen) @@ -6894,7 +7006,8 @@ paths: - ProcessInstance x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/case/{id}: delete: description: | @@ -6959,7 +7072,8 @@ paths: summary: Delete the ProcessInstance by ID tags: - ProcessInstance - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns the single ProcessInstance for the given ID @@ -7038,7 +7152,8 @@ paths: summary: Finds the ProcessInstance by ID tags: - ProcessInstance - x-accepts: application/json + x-accepts: + - application/json /API/bpm/case/{id}/context: get: description: | @@ -7129,7 +7244,8 @@ paths: summary: Finds the Context by ProcessInstance ID tags: - ProcessInstance - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedCase: get: description: | @@ -7250,7 +7366,8 @@ paths: summary: Finds ArchivedProcessInstances tags: - ArchivedProcessInstance - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedCase/{id}: delete: description: | @@ -7315,7 +7432,8 @@ paths: summary: Delete the ArchivedProcessInstance by ID tags: - ArchivedProcessInstance - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns the single ArchivedProcessInstance for the given ID @@ -7383,7 +7501,8 @@ paths: summary: Finds the ArchivedProcessInstance by ID tags: - ArchivedProcessInstance - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedCase/{id}/context: get: description: | @@ -7474,7 +7593,8 @@ paths: summary: Finds the Context by ArchivedProcessInstance ID tags: - ArchivedProcessInstance - x-accepts: application/json + x-accepts: + - application/json /API/bpm/caseInfo/{id}: get: description: | @@ -7545,7 +7665,8 @@ paths: summary: Finds the ProcessInstanceInfo by ID tags: - ProcessInstanceInfo - x-accepts: application/json + x-accepts: + - application/json /API/bpm/comment: get: description: | @@ -7658,7 +7779,8 @@ paths: summary: Finds ProcessInstanceComments tags: - ProcessInstanceComment - x-accepts: application/json + x-accepts: + - application/json post: description: | Create the ProcessInstanceComment @@ -7716,7 +7838,8 @@ paths: - ProcessInstanceComment x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedComment: get: description: | @@ -7840,7 +7963,8 @@ paths: summary: Finds ArchivedProcessInstanceComments tags: - ArchivedProcessInstanceComment - x-accepts: application/json + x-accepts: + - application/json /API/bpm/process: delete: description: | @@ -7905,7 +8029,8 @@ paths: tags: - Process x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json get: description: | Finds Processes with pagination params and filters @@ -8028,7 +8153,8 @@ paths: summary: Finds Processes tags: - Process - x-accepts: application/json + x-accepts: + - application/json post: deprecated: true description: | @@ -8090,7 +8216,8 @@ paths: - Process x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/process/{id}: delete: description: | @@ -8162,7 +8289,8 @@ paths: summary: Delete the Process by ID tags: - Process - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns the single Process for the given ID @@ -8230,7 +8358,8 @@ paths: summary: Finds the Process by ID tags: - Process - x-accepts: application/json + x-accepts: + - application/json put: deprecated: true description: | @@ -8305,7 +8434,8 @@ paths: tags: - Process x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/process/{id}/design: get: description: | @@ -8374,7 +8504,8 @@ paths: summary: Finds the Process design by ID tags: - Process - x-accepts: application/json + x-accepts: + - application/json /API/bpm/process/{id}/contract: get: description: | @@ -8443,7 +8574,8 @@ paths: summary: Finds the Process contract by ID tags: - Process - x-accepts: application/json + x-accepts: + - application/json /API/bpm/process/{id}/instantiation: post: description: | @@ -8524,7 +8656,8 @@ paths: - Process x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/processInfo/{id}: get: description: | @@ -8596,7 +8729,8 @@ paths: summary: Finds the ProcessInfo by ID tags: - ProcessInfo - x-accepts: application/json + x-accepts: + - application/json /API/bpm/processConnector/{id}/{connectorImplId}/{connectorImplVersion}: put: deprecated: true @@ -8684,7 +8818,8 @@ paths: tags: - Process x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/diagram/{id}: get: description: | @@ -8756,7 +8891,9 @@ paths: summary: Finds the diagram process by ID tags: - Diagram - x-accepts: application/json + x-accepts: + - application/json + - application/xml /API/bpm/processParameter: get: description: | @@ -8876,7 +9013,8 @@ paths: summary: Finds ProcessParameters tags: - ProcessParameter - x-accepts: application/json + x-accepts: + - application/json /API/bpm/processParameter/{id}/{name}: get: description: | @@ -8955,7 +9093,8 @@ paths: summary: Finds the ProcessParameter by ID tags: - ProcessParameter - x-accepts: application/json + x-accepts: + - application/json put: deprecated: true description: | @@ -9044,7 +9183,8 @@ paths: tags: - ProcessParameter x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/processResolutionProblem: get: description: | @@ -9166,7 +9306,8 @@ paths: summary: Finds ProcessResolutionProblems tags: - ProcessResolutionProblem - x-accepts: application/json + x-accepts: + - application/json /API/bpm/processSupervisor: delete: description: | @@ -9236,7 +9377,8 @@ paths: tags: - ProcessSupervisor x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json get: description: | Finds ProcessSupervisors with pagination params and filters @@ -9359,7 +9501,8 @@ paths: summary: Finds ProcessSupervisors tags: - ProcessSupervisor - x-accepts: application/json + x-accepts: + - application/json post: description: | Create the ProcessSupervisor @@ -9421,7 +9564,8 @@ paths: - ProcessSupervisor x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/processConnectorDependency: get: description: | @@ -9543,7 +9687,8 @@ paths: summary: Finds ProcessConnectorDependencies tags: - ProcessConnectorDependency - x-accepts: application/json + x-accepts: + - application/json /API/bpm/connectorFailure/{id}: get: description: | @@ -9612,7 +9757,8 @@ paths: summary: Finds the ConnectorFailure by ID tags: - ConnectorFailure - x-accepts: application/json + x-accepts: + - application/json /API/bpm/connectorInstance: get: description: | @@ -9733,7 +9879,8 @@ paths: summary: Finds ConnectorInstances tags: - ConnectorInstance - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedConnectorInstance: get: description: | @@ -9853,7 +10000,8 @@ paths: summary: Finds ArchivedConnectorInstances tags: - ArchivedConnectorInstance - x-accepts: application/json + x-accepts: + - application/json /API/bpm/flowNode: get: description: | @@ -9977,7 +10125,8 @@ paths: summary: Finds FlowNodes tags: - FlowNode - x-accepts: application/json + x-accepts: + - application/json /API/bpm/flowNode/{id}: get: description: | @@ -10046,7 +10195,8 @@ paths: summary: Finds the FlowNode by ID tags: - FlowNode - x-accepts: application/json + x-accepts: + - application/json put: description: | ![edition](https://img.shields.io/badge/edition-entreprise-blue) @@ -10120,7 +10270,8 @@ paths: tags: - FlowNode x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedFlowNode: get: description: | @@ -10244,7 +10395,8 @@ paths: summary: Finds ArchivedFlowNodes tags: - ArchivedFlowNode - x-accepts: application/json + x-accepts: + - application/json /API/bpm/archivedFlowNode/{id}: get: description: | @@ -10313,7 +10465,8 @@ paths: summary: Finds the ArchivedFlowNode by ID tags: - ArchivedFlowNode - x-accepts: application/json + x-accepts: + - application/json /API/bpm/timerEventTrigger: get: description: | @@ -10447,7 +10600,8 @@ paths: summary: Finds TimerEventTriggers tags: - TimerEventTrigger - x-accepts: application/json + x-accepts: + - application/json /API/bpm/timerEventTrigger/{id}: get: description: | @@ -10516,7 +10670,8 @@ paths: summary: Finds the TimerEventTrigger by ID tags: - TimerEventTrigger - x-accepts: application/json + x-accepts: + - application/json put: description: | Update the TimerEventTrigger for the given ID @@ -10593,7 +10748,8 @@ paths: tags: - TimerEventTrigger x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/message: post: description: | @@ -10648,7 +10804,8 @@ paths: - Message x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/bpm/signal: post: description: | @@ -10705,7 +10862,8 @@ paths: - Signal x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/customuserinfo/definition: get: description: | @@ -10790,7 +10948,8 @@ paths: summary: Finds CustomUserDefinitions tags: - CustomUserDefinition - x-accepts: application/json + x-accepts: + - application/json post: description: | Create the CustomUserDefinition @@ -10848,7 +11007,8 @@ paths: - CustomUserDefinition x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/customuserinfo/definition/{id}: delete: description: | @@ -10913,7 +11073,8 @@ paths: summary: Delete the CustomUserDefinition by ID tags: - CustomUserDefinition - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns the single CustomUserDefinition for the given ID @@ -10981,7 +11142,8 @@ paths: summary: Finds the CustomUserDefinition by ID tags: - CustomUserDefinition - x-accepts: application/json + x-accepts: + - application/json /API/customuserinfo/value: get: description: | @@ -11082,7 +11244,8 @@ paths: summary: Finds CustomUserValues tags: - CustomUserValue - x-accepts: application/json + x-accepts: + - application/json /API/customuserinfo/value/{userId}/{definitionId}: put: description: | @@ -11165,7 +11328,8 @@ paths: tags: - CustomUserValue x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/customuserinfo/user: get: description: | @@ -11266,7 +11430,8 @@ paths: summary: Finds CustomUsers tags: - CustomUser - x-accepts: application/json + x-accepts: + - application/json /API/form/mapping: get: description: | @@ -11388,7 +11553,8 @@ paths: summary: Finds FormMappings tags: - FormMapping - x-accepts: application/json + x-accepts: + - application/json /API/form/mapping/{id}: put: deprecated: true @@ -11467,7 +11633,8 @@ paths: tags: - FormMapping x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/identity/professionalcontactdata: get: description: | @@ -11591,7 +11758,8 @@ paths: summary: Finds ProfessionalContactData tags: - ProfessionalContactData - x-accepts: application/json + x-accepts: + - application/json post: description: | Create the ProfessionalContactData @@ -11653,7 +11821,8 @@ paths: - ProfessionalContactData x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/identity/professionalcontactdata/{userId}: get: description: | @@ -11722,7 +11891,8 @@ paths: summary: Finds the ProfessionalContactData by ID tags: - ProfessionalContactData - x-accepts: application/json + x-accepts: + - application/json put: description: | Update the ProfessionalContactData for the given ID @@ -11806,7 +11976,8 @@ paths: tags: - ProfessionalContactData x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/identity/personalcontactdata/{userId}: get: description: | @@ -11875,7 +12046,8 @@ paths: summary: Finds the PersonalContactData by ID tags: - ProfessionalContactData - x-accepts: application/json + x-accepts: + - application/json put: description: | Update the PersonalContactData for the given ID @@ -11958,7 +12130,8 @@ paths: tags: - ProfessionalContactData x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/identity/group: get: description: | @@ -12071,7 +12244,8 @@ paths: summary: Finds Groups tags: - Group - x-accepts: application/json + x-accepts: + - application/json post: description: | Create the Group @@ -12129,7 +12303,8 @@ paths: - Group x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/identity/group/{id}: delete: description: | @@ -12194,7 +12369,8 @@ paths: summary: Delete the Group by ID tags: - Group - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns the single Group for the given ID @@ -12262,7 +12438,8 @@ paths: summary: Finds the Group by ID tags: - Group - x-accepts: application/json + x-accepts: + - application/json put: description: | Update the Group for the given ID @@ -12334,7 +12511,8 @@ paths: tags: - Group x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/identity/membership: get: description: | @@ -12458,7 +12636,8 @@ paths: summary: Finds Memberships tags: - Membership - x-accepts: application/json + x-accepts: + - application/json post: description: | Create the Membership @@ -12516,7 +12695,8 @@ paths: - Membership x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/identity/membership/{userId}/{groupId}/{roleId}: delete: description: | @@ -12601,7 +12781,8 @@ paths: summary: Delete the Membership by ID tags: - Membership - x-accepts: application/json + x-accepts: + - application/json /API/identity/role: get: description: | @@ -12724,7 +12905,8 @@ paths: summary: Finds Roles tags: - Role - x-accepts: application/json + x-accepts: + - application/json post: description: | Create the Role @@ -12782,7 +12964,8 @@ paths: - Role x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/identity/role/{id}: delete: description: | @@ -12847,7 +13030,8 @@ paths: summary: Delete the Role by ID tags: - Role - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns the single Role for the given ID @@ -12915,7 +13099,8 @@ paths: summary: Finds the Role by ID tags: - Role - x-accepts: application/json + x-accepts: + - application/json put: description: | Update the Role for the given ID @@ -12987,7 +13172,8 @@ paths: tags: - Role x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/identity/user: get: description: | @@ -13111,7 +13297,8 @@ paths: summary: Finds Users tags: - User - x-accepts: application/json + x-accepts: + - application/json post: description: | Create the User @@ -13169,7 +13356,8 @@ paths: - User x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/identity/user/{id}: delete: description: | @@ -13237,7 +13425,8 @@ paths: summary: Delete the User by ID tags: - User - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns the single User for the given ID @@ -13305,7 +13494,8 @@ paths: summary: Finds the User by ID tags: - User - x-accepts: application/json + x-accepts: + - application/json put: description: | Update the User for the given ID @@ -13377,7 +13567,8 @@ paths: tags: - User x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /platformloginservice: post: description: | @@ -13454,7 +13645,8 @@ paths: - Platform - PlatformAuthentication x-content-type: application/x-www-form-urlencoded - x-accepts: application/json + x-accepts: + - application/json /platformlogoutservice: post: description: "" @@ -13500,7 +13692,8 @@ paths: tags: - Platform - PlatformAuthentication - x-accepts: application/json + x-accepts: + - application/json /API/platform/platform/unusedid: get: description: | @@ -13558,7 +13751,8 @@ paths: summary: Finds the Platform by ID tags: - Platform - x-accepts: application/json + x-accepts: + - application/json put: description: | Start or stop the current node, that is, start or stop all services of the current JVM. @@ -13619,7 +13813,8 @@ paths: tags: - Platform x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/platform/tenant: get: deprecated: true @@ -13748,7 +13943,8 @@ paths: summary: Finds Tenants tags: - Tenant - x-accepts: application/json + x-accepts: + - application/json post: deprecated: true description: | @@ -13811,7 +14007,8 @@ paths: - Tenant x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/platform/tenant/{id}: delete: deprecated: true @@ -13879,7 +14076,8 @@ paths: summary: Delete the Tenant by ID tags: - Tenant - x-accepts: application/json + x-accepts: + - application/json get: deprecated: true description: | @@ -13951,7 +14149,8 @@ paths: summary: Finds the Tenant by ID tags: - Tenant - x-accepts: application/json + x-accepts: + - application/json put: deprecated: true description: | @@ -14029,7 +14228,8 @@ paths: tags: - Tenant x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/platform/license: get: description: | @@ -14088,7 +14288,8 @@ paths: summary: Get the platform License tags: - License - x-accepts: application/json + x-accepts: + - application/json /portal/processUpload: post: deprecated: true @@ -14151,7 +14352,9 @@ paths: - Process - Upload x-content-type: multipart/form-data - x-accepts: application/json + x-accepts: + - application/json + - text/plain /portal/pageUpload: post: deprecated: true @@ -14213,7 +14416,9 @@ paths: - Page - Upload x-content-type: multipart/form-data - x-accepts: application/json + x-accepts: + - application/json + - text/plain /portal/fileUpload: post: description: | @@ -14275,7 +14480,9 @@ paths: - Upload - BDM x-content-type: multipart/form-data - x-accepts: application/json + x-accepts: + - application/json + - text/plain /API/portal/page: get: description: | @@ -14398,7 +14605,8 @@ paths: summary: Finds Pages tags: - Page - x-accepts: application/json + x-accepts: + - application/json post: deprecated: true description: | @@ -14459,7 +14667,8 @@ paths: - Page x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/portal/page/{id}: delete: description: | @@ -14524,7 +14733,8 @@ paths: summary: Delete the Page by ID tags: - Page - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns the single Page for the given ID @@ -14592,7 +14802,8 @@ paths: summary: Finds the Page by ID tags: - Page - x-accepts: application/json + x-accepts: + - application/json put: deprecated: true description: | @@ -14667,7 +14878,8 @@ paths: tags: - Page x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/portal/profile: get: description: | @@ -14791,7 +15003,8 @@ paths: summary: Finds Profiles tags: - Profile - x-accepts: application/json + x-accepts: + - application/json post: deprecated: true description: | @@ -14854,7 +15067,8 @@ paths: - Profile x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/portal/profile/{id}: delete: description: | @@ -14919,7 +15133,8 @@ paths: summary: Delete the Profile by ID tags: - Profile - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns the single Profile for the given ID @@ -14987,7 +15202,8 @@ paths: summary: Finds the Profile by ID tags: - Profile - x-accepts: application/json + x-accepts: + - application/json put: deprecated: true description: | @@ -15064,7 +15280,8 @@ paths: tags: - Profile x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/portal/profileEntry: get: deprecated: true @@ -15179,7 +15396,8 @@ paths: summary: Finds ProfileEntries tags: - ProfileEntry - x-accepts: application/json + x-accepts: + - application/json post: deprecated: true description: | @@ -15239,7 +15457,8 @@ paths: - ProfileEntry x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/portal/profileEntry/{id}: delete: deprecated: true @@ -15305,7 +15524,8 @@ paths: summary: Delete the ProfileEntry by ID tags: - ProfileEntry - x-accepts: application/json + x-accepts: + - application/json get: deprecated: true description: | @@ -15375,7 +15595,8 @@ paths: summary: Finds the ProfileEntry by ID tags: - ProfileEntry - x-accepts: application/json + x-accepts: + - application/json put: deprecated: true description: | @@ -15449,7 +15670,8 @@ paths: tags: - ProfileEntry x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/portal/profileMember: get: description: | @@ -15552,7 +15774,8 @@ paths: summary: Finds ProfileMembers tags: - ProfileMember - x-accepts: application/json + x-accepts: + - application/json post: description: | Create the ProfileMember @@ -15610,7 +15833,8 @@ paths: - ProfileMember x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/portal/profileMember/{id}: delete: description: | @@ -15675,7 +15899,8 @@ paths: summary: Delete the ProfileMember by ID tags: - ProfileMember - x-accepts: application/json + x-accepts: + - application/json get: description: | Returns the single ProfileMember for the given ID @@ -15741,7 +15966,8 @@ paths: summary: Finds the ProfileMember by ID tags: - ProfileMember - x-accepts: application/json + x-accepts: + - application/json /API/portal/theme: post: deprecated: true @@ -15798,7 +16024,8 @@ paths: - Theme x-codegen-request-body-name: body x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/portal/theme/unusedId: put: deprecated: true @@ -15862,7 +16089,8 @@ paths: tags: - Theme x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/system/i18nlocale: get: description: | @@ -15947,7 +16175,8 @@ paths: summary: Finds I18nlocales tags: - I18nlocale - x-accepts: application/json + x-accepts: + - application/json /API/system/i18ntranslation: get: description: | @@ -16050,7 +16279,8 @@ paths: summary: Finds I18ntranslations tags: - I18ntranslation - x-accepts: application/json + x-accepts: + - application/json /API/system/session/unusedId: get: description: | @@ -16105,7 +16335,8 @@ paths: label: Curl source: | curl -b saved_cookies.txt -X GET --url 'http://localhost:8080/bonita/API/system/session/unusedId' - x-accepts: application/json + x-accepts: + - application/json /API/system/tenant/{id}: get: deprecated: true @@ -16177,7 +16408,8 @@ paths: summary: Get the current Tenant tags: - SystemTenant - x-accepts: application/json + x-accepts: + - application/json put: deprecated: true description: | @@ -16252,7 +16484,8 @@ paths: tags: - SystemTenant x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/system/maintenance: get: description: | @@ -16307,7 +16540,8 @@ paths: label: Curl source: | curl -b saved_cookies.txt -X GET --url 'http://localhost:8080/bonita/API/system/maintenance' - x-accepts: application/json + x-accepts: + - application/json put: description: | Update maintenance details @@ -16364,7 +16598,8 @@ paths: tags: - Maintenance x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /API/system/license/unusedid: get: description: | @@ -16414,7 +16649,8 @@ paths: summary: Get the current server license tags: - License - x-accepts: application/json + x-accepts: + - application/json /APIv2/service/install: post: deprecated: true @@ -16475,7 +16711,9 @@ paths: tags: - Application x-content-type: multipart/form-data - x-accepts: application/json + x-accepts: + - application/json + - text/plain /API/tenant/bdm: get: description: | @@ -16533,7 +16771,8 @@ paths: summary: Get the BDM tags: - BDM - x-accepts: application/json + x-accepts: + - application/json post: deprecated: true description: | @@ -16587,7 +16826,8 @@ paths: tags: - BDM x-content-type: application/json - x-accepts: application/json + x-accepts: + - application/json /portal/organizationUpload: post: description: | @@ -16647,7 +16887,9 @@ paths: - Organization - Upload x-content-type: multipart/form-data - x-accepts: application/json + x-accepts: + - application/json + - text/plain /services/organization/import: post: description: | @@ -16707,7 +16949,8 @@ paths: tags: - Organization x-content-type: application/x-www-form-urlencoded - x-accepts: application/json + x-accepts: + - application/json /portal/profilesUpload: post: deprecated: true @@ -16772,7 +17015,9 @@ paths: - Profile - Upload x-content-type: multipart/form-data - x-accepts: application/json + x-accepts: + - application/json + - text/plain /services/profile/import: post: deprecated: true @@ -16835,7 +17080,8 @@ paths: tags: - Profile x-content-type: application/x-www-form-urlencoded - x-accepts: application/json + x-accepts: + - application/json components: parameters: pageIndex: @@ -16984,6 +17230,12 @@ components: type: object Error: additionalProperties: true + example: + exception: exception + explanations: + - explanations + - explanations + message: message properties: message: description: The error message @@ -16997,21 +17249,7 @@ components: type: string type: array type: object - Application: - example: - id: "305" - creationDate: "1411548289900" - iconPath: "" - createdBy": "1" - profileId: "2" - description: My application description - token: myapp - state: DEACTIVATED - displayName: My app - updatedBy: "1" - lastUpdateDate: "1411548289900" - version: "1.0" - homePageId: "-1" + AbstractApplication: properties: createdBy: description: Author user ID @@ -17027,11 +17265,6 @@ components: displayName: description: display name of the application type: string - homePageId: - description: id of the application page used as the home page - maxLength: 250 - pattern: "^[A-Za-z0-9\\_\\-\\.]{0,250}$" - type: string id: description: id of the application maxLength: 250 @@ -17054,7 +17287,109 @@ components: version: description: version of the application type: string + state: + description: application state + enum: + - ACTIVATED + - DEACTIVATED + type: string + visibility: + description: "visibility of the Application. This value is purely indicative,\ + \ changing it in the application object won't change the accessibility\ + \ to the actual application." + enum: + - ALL + - TECHNICAL_USER + - RESTRICTED + type: string + x-enumDescriptions: + ALL: Everyone can use the application + TECHNICAL_USER: Only the technical user can use the application + RESTRICTED: Access to the application is determined by the user profile + editable: + description: Indicates whether the application can be modified + type: boolean type: object + ApplicationLink: + allOf: + - properties: + link: + description: true for an application link + type: boolean + type: object + - $ref: '#/components/schemas/AbstractApplication' + - description: Contains the meta information of a Bonita Living Application + Link. + type: object + description: Contains the meta information of a Bonita Living Application Link. + example: + id: "306" + link: "true" + creationDate: "1411548289900" + icon: "" + createdBy": "1" + profileId: "2" + description: My application link description + token: myadvapp + state: ACTIVATED + displayName: My app link + updatedBy: "1" + visibility: ALL + editable: "true" + lastUpdateDate: "1411548289900" + version: "1.0" + title: Application Link + LegacyApplication: + allOf: + - properties: + link: + description: false for a legacy application + type: boolean + type: object + - $ref: '#/components/schemas/AbstractApplication' + - description: Contains the meta information of a legacy Bonita Living Application. + properties: + homePageId: + description: id of the application page used as the home page + maxLength: 250 + pattern: "^[A-Za-z0-9\\_\\-\\.]{0,250}$" + type: string + layoutId: + description: id of the layout used by the application + maxLength: 250 + pattern: "^[A-Za-z0-9\\_\\-\\.]{0,250}$" + type: string + themeId: + description: id of the theme used by the application + maxLength: 250 + pattern: "^[A-Za-z0-9\\_\\-\\.]{0,250}$" + type: string + type: object + description: Contains the meta information of a legacy Bonita Living Application. + example: + id: "305" + link: "false" + creationDate: "1411548289900" + icon: "" + createdBy": "1" + profileId: "2" + description: My application description + token: myapp + state: DEACTIVATED + displayName: My app + updatedBy: "1" + visibility: ALL + editable: "true" + lastUpdateDate: "1411548289900" + version: "1.0" + homePageId: "26" + themeId: "1" + layoutId: "3" + title: Legacy application + Application: + oneOf: + - $ref: '#/components/schemas/ApplicationLink' + - $ref: '#/components/schemas/LegacyApplication' CreateApplicationRequest: example: version: "1.0" @@ -17531,15 +17866,15 @@ components: executedBySubstitute: executedBySubstitute description: description sourceObjectId: sourceObjectId - type: null - priority: null + type: AUTOMATIC_TASK + priority: highest actorId: actorId processId: processId name: name reached_state_date: reached_state_date rootCaseId: rootCaseId id: id - state: null + state: failed parentCaseId: parentCaseId last_update_date: last_update_date assigned_id: assigned_id @@ -17770,6 +18105,29 @@ components: dueDate: 2014-09-05 12:11:30.775 last_update_date: 2014-09-05 11:11:30.808 type: object + example: + displayDescription: displayDescription + executedBy: executedBy + rootContainerId: rootContainerId + assigned_date: assigned_date + displayName: displayName + parentTaskId: parentTaskId + dueDate: dueDate + executedBySubstitute: executedBySubstitute + description: description + isTerminal: true + type: type + priority: priority + actorId: actorId + processId: processId + name: name + reached_state_date: reached_state_date + rootCaseId: rootCaseId + id: id + state: failed + parentCaseId: parentCaseId + last_update_date: last_update_date + assigned_id: assigned_id HumanTaskUpdateRequest: example: assigned_id: "1234" @@ -17811,6 +18169,29 @@ components: dueDate: 2014-12-25 00:00:00.000 last_update_date: 2014-12-01 17:39:53.784 type: object + example: + displayDescription: displayDescription + executedBy: executedBy + rootContainerId: rootContainerId + assigned_date: assigned_date + displayName: displayName + parentTaskId: parentTaskId + dueDate: dueDate + executedBySubstitute: executedBySubstitute + description: description + isTerminal: true + type: type + priority: priority + actorId: actorId + processId: processId + name: name + reached_state_date: reached_state_date + rootCaseId: rootCaseId + id: id + state: failed + parentCaseId: parentCaseId + last_update_date: last_update_date + assigned_id: assigned_id ManualTaskCreateRequest: example: parentTaskId: "40001" @@ -17882,6 +18263,29 @@ components: dueDate: 2014-12-01 17:22:50.809 last_update_date: 2014-12-01 16:22:50.814 type: object + example: + displayDescription: displayDescription + executedBy: executedBy + rootContainerId: rootContainerId + assigned_date: assigned_date + displayName: displayName + parentTaskId: parentTaskId + dueDate: dueDate + executedBySubstitute: executedBySubstitute + description: description + isTerminal: true + type: type + priority: priority + actorId: actorId + processId: processId + name: name + reached_state_date: reached_state_date + rootCaseId: rootCaseId + id: id + state: failed + parentCaseId: parentCaseId + last_update_date: last_update_date + assigned_id: assigned_id UpdateTaskByIdRequest: additionalProperties: true example: @@ -17920,6 +18324,29 @@ components: dueDate: 2014-09-05 12:11:30.775 last_update_date: 2014-09-05 11:11:30.808 type: object + example: + displayDescription: displayDescription + executedBy: executedBy + rootContainerId: rootContainerId + assigned_date: assigned_date + displayName: displayName + parentTaskId: parentTaskId + dueDate: dueDate + executedBySubstitute: executedBySubstitute + description: description + isTerminal: true + type: type + priority: priority + actorId: actorId + processId: processId + name: name + reached_state_date: reached_state_date + rootCaseId: rootCaseId + id: id + state: failed + parentCaseId: parentCaseId + last_update_date: last_update_date + assigned_id: assigned_id UserTaskUpdateRequest: example: assigned_id: "1" @@ -17978,7 +18405,7 @@ components: name: name multiple: multiple description: description - type: null + type: TEXT properties: description: description: input description @@ -18005,14 +18432,14 @@ components: name: name multiple: multiple description: description - type: null + type: TEXT - inputs: - null - null name: name multiple: multiple description: description - type: null + type: TEXT constraints: - inputNames: - inputNames @@ -18079,6 +18506,31 @@ components: dueDate: 2014-09-05 12:11:30.775 last_update_date: 2014-09-09 17:21:51.946 type: object + example: + displayDescription: displayDescription + executedBy: executedBy + archivedDate: archivedDate + rootContainerId: rootContainerId + assigned_date: assigned_date + displayName: displayName + parentTaskId: parentTaskId + dueDate: dueDate + executedBySubstitute: executedBySubstitute + description: description + isTerminal: true + sourceObjectId: sourceObjectId + type: type + priority: priority + actorId: actorId + processId: processId + name: name + reached_state_date: reached_state_date + rootCaseId: rootCaseId + id: id + state: failed + parentCaseId: parentCaseId + last_update_date: last_update_date + assigned_id: assigned_id ArchivedManualTask: allOf: - $ref: '#/components/schemas/AbstractArchivedTask' @@ -18109,6 +18561,31 @@ components: dueDate: 2014-12-17 00:00:00.000 last_update_date: 2014-12-01 17:20:47.200 type: object + example: + displayDescription: displayDescription + executedBy: executedBy + archivedDate: archivedDate + rootContainerId: rootContainerId + assigned_date: assigned_date + displayName: displayName + parentTaskId: parentTaskId + dueDate: dueDate + executedBySubstitute: executedBySubstitute + description: description + isTerminal: true + sourceObjectId: sourceObjectId + type: type + priority: priority + actorId: actorId + processId: processId + name: name + reached_state_date: reached_state_date + rootCaseId: rootCaseId + id: id + state: failed + parentCaseId: parentCaseId + last_update_date: last_update_date + assigned_id: assigned_id ArchivedUserTask: allOf: - $ref: '#/components/schemas/AbstractArchivedTask' @@ -18135,6 +18612,31 @@ components: dueDate: 2014-09-05 12:11:30.775 last_update_date: 2014-09-09 17:21:51.946 type: object + example: + displayDescription: displayDescription + executedBy: executedBy + archivedDate: archivedDate + rootContainerId: rootContainerId + assigned_date: assigned_date + displayName: displayName + parentTaskId: parentTaskId + dueDate: dueDate + executedBySubstitute: executedBySubstitute + description: description + isTerminal: true + sourceObjectId: sourceObjectId + type: type + priority: priority + actorId: actorId + processId: processId + name: name + reached_state_date: reached_state_date + rootCaseId: rootCaseId + id: id + state: failed + parentCaseId: parentCaseId + last_update_date: last_update_date + assigned_id: assigned_id ArchivedTask: allOf: - $ref: '#/components/schemas/AbstractArchivedTask' @@ -18164,6 +18666,31 @@ components: dueDate: 2014-12-01 17:22:50.809 last_update_date: 2014-12-01 16:24:32.457 type: object + example: + displayDescription: displayDescription + executedBy: executedBy + archivedDate: archivedDate + rootContainerId: rootContainerId + assigned_date: assigned_date + displayName: displayName + parentTaskId: parentTaskId + dueDate: dueDate + executedBySubstitute: executedBySubstitute + description: description + isTerminal: true + sourceObjectId: sourceObjectId + type: type + priority: priority + actorId: actorId + processId: processId + name: name + reached_state_date: reached_state_date + rootCaseId: rootCaseId + id: id + state: failed + parentCaseId: parentCaseId + last_update_date: last_update_date + assigned_id: assigned_id ActivityVariable: description: "This resource enables you to retrieve the value of a specific\ \ variable name for a specific process instance (or case). Only persistent\ @@ -18495,6 +19022,23 @@ components: pattern: "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) (2[0-3]|[01][0-9]):[0-5][0-9]:[0-5][0-9]$" type: string type: object + example: + submittedBy: submittedBy + archivedDate: archivedDate + fileName: fileName + author: author + contentStorageId: contentStorageId + index: index + description: description + sourceObjectId: sourceObjectId + creationDate: creationDate + contentMimetype: contentMimetype + version: version + url: url + isInternal: true + caseId: caseId + name: name + id: id Actor: description: "" example: @@ -18749,6 +19293,30 @@ components: description: the date set when the process instance was archived type: string type: object + example: + end_date: end_date + searchIndex5Label: searchIndex5Label + archivedDate: archivedDate + processDefinitionId: processDefinitionId + searchIndex3Value: searchIndex3Value + searchIndex4Value: searchIndex4Value + searchIndex2Label: searchIndex2Label + start: start + searchIndex1Value: searchIndex1Value + sourceObjectId: sourceObjectId + searchIndex3Label: searchIndex3Label + failedFlowNodes: failedFlowNodes + startedBySubstitute: startedBySubstitute + searchIndex5Value: searchIndex5Value + searchIndex2Value: searchIndex2Value + rootCaseId: rootCaseId + id: id + state: initializing + searchIndex1Label: searchIndex1Label + activeFlowNodes: activeFlowNodes + started_by: started_by + searchIndex4Label: searchIndex4Label + last_update_date: last_update_date ProcessInstanceInfo: description: "Retrieves information about a process instances. It returns counters\ \ for each flow node in the process instances, showing the number of flow\ @@ -18833,6 +19401,14 @@ components: description: the date set when the process instance comment was archived type: string type: object + example: + archivedDate: archivedDate + processInstanceId: processInstanceId + tenantId: tenantId + postDate: postDate + id: id + userId: userId + content: content ActivationState: description: the state of the process definition (ENABLED or DISABLED) enum: @@ -18853,12 +19429,12 @@ components: icon: icon description: description deployedBy: deployedBy - activationState: null + activationState: ENABLED version: version deploymentDate: deploymentDate name: name id: id - configurationState: null + configurationState: RESOLVED actorinitiatorid: actorinitiatorid last_update_date: last_update_date properties: @@ -19171,14 +19747,14 @@ components: name: name multiple: multiple description: description - type: null + type: TEXT - inputs: - null - null name: name multiple: multiple description: description - type: null + type: TEXT constraints: - inputNames: - inputNames @@ -19529,6 +20105,16 @@ components: pattern: "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) (2[0-3]|[01][0-9]):[0-5][0-9]:[0-5][0-9]$" type: string type: object + example: + archivedDate: archivedDate + containerType: containerType + connectorId: connectorId + name: name + activationEvent: ON_ENTER + id: 0 + state: TO_BE_EXECUTED + containerId: containerId + version: version FlowNode: description: "A flow node (gateway, event, or task) in an open instance of a\ \ process." @@ -19656,6 +20242,31 @@ components: pattern: "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) (2[0-3]|[01][0-9]):[0-5][0-9]:[0-5][0-9]$" type: string type: object + example: + displayDescription: displayDescription + executedBy: executedBy + archivedDate: archivedDate + rootContainerId: rootContainerId + assigned_date: assigned_date + parentTaskId": parentTaskId" + displayName: displayName + executedBySubstitute: executedBySubstitute + dueDate: dueDate + description: description + sourceObjectId: sourceObjectId + type: type + priority: priority + actorId: actorId + processId: processId + caseId: caseId + name: name + reached_state_date: reached_state_date + rootCaseId: rootCaseId + id: id + state: state + parentCaseId: parentCaseId + assigned_id: assigned_id + last_update_date: last_update_date TimerEventTrigger: description: BPM timer event triggers example: diff --git a/pom.xml b/pom.xml index 73403c45..ab8af536 100644 --- a/pom.xml +++ b/pom.xml @@ -47,7 +47,7 @@ UTF-8 UTF-8 - 0.0.16 + 0.0.18 1.6.14 3.0.0 3.0.2 @@ -66,6 +66,7 @@ 1.5.6 1.19.8 4.2.1 + 3.1.0 3.13.0 ${java.version} @@ -94,6 +95,11 @@ + + org.slf4j + slf4j-api + ${slf4j-api.version} + com.fasterxml.jackson jackson-bom @@ -254,6 +260,11 @@ ${awaitility.version} test + + com.vdurmont + semver4j + ${semver4j.version} + package diff --git a/src/main/java/org/bonitasoft/web/client/api/ActivityApi.java b/src/main/java/org/bonitasoft/web/client/api/ActivityApi.java index af564cd4..b04c1821 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ActivityApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ActivityApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ActivityApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ActivityVariableApi.java b/src/main/java/org/bonitasoft/web/client/api/ActivityVariableApi.java index ece9d525..cd91d47e 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ActivityVariableApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ActivityVariableApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,7 +22,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ActivityVariableApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ActorApi.java b/src/main/java/org/bonitasoft/web/client/api/ActorApi.java index 445ea478..cc42ea3a 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ActorApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ActorApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ActorApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ActorMemberApi.java b/src/main/java/org/bonitasoft/web/client/api/ActorMemberApi.java index 7c86fb45..b1dd5ee3 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ActorMemberApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ActorMemberApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ActorMemberApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ApplicationApi.java b/src/main/java/org/bonitasoft/web/client/api/ApplicationApi.java index 9fd0f29a..1015e8d6 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ApplicationApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ApplicationApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,37 +19,57 @@ import java.io.File; import java.util.HashMap; import java.util.List; -import java.util.Map; import org.bonitasoft.web.client.invoker.ApiClient; import org.bonitasoft.web.client.invoker.EncodingUtils; +import org.bonitasoft.web.client.model.ApiResponse; import org.bonitasoft.web.client.model.Application; import org.bonitasoft.web.client.model.ApplicationUpdateRequest; import org.bonitasoft.web.client.model.CreateApplicationRequest; +import org.bonitasoft.web.client.model.LegacyApplication; -import feign.Headers; -import feign.Param; -import feign.QueryMap; -import feign.RequestLine; +import feign.*; +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ApplicationApi extends ApiClient.Api { /** - * Create a living applications Create a living applications - * + * Create a living application + * Create a living applications Warning: as of 9.0.0, creating a living application using this API is deprecated. + * * @param body Partial living application description (required) - * @return Application + * @return LegacyApplication + * @deprecated */ + @Deprecated @RequestLine("POST /API/living/application") @Headers({ "Content-Type: application/json", "Accept: application/json", }) - Application createApplication(CreateApplicationRequest body); + LegacyApplication createApplication(CreateApplicationRequest body); /** - * Delete a living application by ID Delete a single application for the given ID - * + * Create a living application + * Similar to createApplication but it also returns the http response headers . + * Create a living applications Warning: as of 9.0.0, creating a living application using this API is deprecated. + * + * @param body Partial living application description (required) + * @return A ApiResponse that wraps the response boyd and the http headers. + * @deprecated + */ + @Deprecated + @RequestLine("POST /API/living/application") + @Headers({ + "Content-Type: application/json", + "Accept: application/json", + }) + ApiResponse createApplicationWithHttpInfo(CreateApplicationRequest body); + + /** + * Delete a living application by ID + * Delete a single application for the given ID + * * @param id ID of application to delete (required) */ @RequestLine("DELETE /API/living/application/{id}") @@ -59,8 +79,22 @@ public interface ApplicationApi extends ApiClient.Api { void deleteApplicationById(@Param("id") String id); /** - * Finds a living application by ID Returns a single application for the given ID - * + * Delete a living application by ID + * Similar to deleteApplicationById but it also returns the http response headers . + * Delete a single application for the given ID + * + * @param id ID of application to delete (required) + */ + @RequestLine("DELETE /API/living/application/{id}") + @Headers({ + "Accept: application/json", + }) + ApiResponse deleteApplicationByIdWithHttpInfo(@Param("id") String id); + + /** + * Finds a living application by ID + * Returns a single application for the given ID + * * @param id ID of application to return (required) * @return Application */ @@ -71,128 +105,164 @@ public interface ApplicationApi extends ApiClient.Api { Application getApplicationById(@Param("id") String id); /** - * Import a living application Import a single application - * + * Finds a living application by ID + * Similar to getApplicationById but it also returns the http response headers . + * Returns a single application for the given ID + * + * @param id ID of application to return (required) + * @return A ApiResponse that wraps the response boyd and the http headers. + */ + @RequestLine("GET /API/living/application/{id}") + @Headers({ + "Accept: application/json", + }) + ApiResponse getApplicationByIdWithHttpInfo(@Param("id") String id); + + /** + * Import a living application + * Import a single application Warning: as of 9.0.0, importing a living application using this service is deprecated. + * * @param applicationsDataUpload Uploaded file (optional) * @param importPolicy Import policy (optional) + * @deprecated */ + @Deprecated @RequestLine("POST /services/application/import") @Headers({ "Content-Type: application/x-www-form-urlencoded", "Accept: application/json", }) - void importApplication( - @Param("applicationsDataUpload") String applicationsDataUpload, + void importApplication(@Param("applicationsDataUpload") String applicationsDataUpload, @Param("importPolicy") String importPolicy); /** - * Finds living applications Finds living applications with pagination params and filters - can - * order on `id`,`creationDate`, `createdBy`, `profileId`, - * `token`, `displayName`, `updatedBy`, `lastUpdateDate`, - * `version` - can search on `token`, `displayName`, - * `version` - can filter on `token`, `displayName`, - * `version`, `profileId`, `creationDate`, `createdBy`, - * `updatedBy` , `lastUpdateDate` - * - * @param p index of the page to display (required) - * @param c maximum number of elements to retrieve (required) - * @param f can filter on attributes with the format f={filter\\_name}={filter\\_value} - * with the name/value pair as url encoded string. (optional) - * @param o can order on attributes (optional) - * @param s can search on attributes (optional) - * @return List<Application> + * Import a living application + * Similar to importApplication but it also returns the http response headers . + * Import a single application Warning: as of 9.0.0, importing a living application using this service is deprecated. + * + * @param applicationsDataUpload Uploaded file (optional) + * @param importPolicy Import policy (optional) + * @deprecated */ - @RequestLine("GET /API/living/application?p={p}&c={c}&f={f}&o={o}&s={s}") + @Deprecated + @RequestLine("POST /services/application/import") @Headers({ + "Content-Type: application/x-www-form-urlencoded", "Accept: application/json", }) - List searchApplications( - @Param("p") Integer p, - @Param("c") Integer c, - @Param("f") List f, - @Param("o") String o, - @Param("s") String s); - - /** - * Finds living applications Finds living applications with pagination params and filters - can - * order on `id`,`creationDate`, `createdBy`, `profileId`, - * `token`, `displayName`, `updatedBy`, `lastUpdateDate`, - * `version` - can search on `token`, `displayName`, - * `version` - can filter on `token`, `displayName`, - * `version`, `profileId`, `creationDate`, `createdBy`, - * `updatedBy` , `lastUpdateDate` Note, this is equivalent to the other - * searchApplications method, but with the query parameters collected into a single Map - * parameter. This is convenient for services with optional query parameters, especially when used - * with the {@link SearchApplicationsQueryParams} class that allows for building up this map in a - * fluent style. - * - * @param queryParams Map of query parameters as name-value pairs - *

The following elements may be specified in the query map: - *

    - *
  • p - index of the page to display (required) - *
  • c - maximum number of elements to retrieve (required) - *
  • f - can filter on attributes with the format - * f={filter\\_name}={filter\\_value} with the name/value pair as url encoded - * string. (optional) - *
  • o - can order on attributes (optional) - *
  • s - can search on attributes (optional) - *
+ ApiResponse importApplicationWithHttpInfo(@Param("applicationsDataUpload") String applicationsDataUpload, + @Param("importPolicy") String importPolicy); + + /** + * Finds living applications + * Finds living applications with pagination params and filters - can order on `id`,`creationDate`, `createdBy`, + * `profileId`, `token`, `displayName`, `updatedBy`, `lastUpdateDate`, `version`, `link` - + * can search on `token`, `displayName`, `version`, `link` - can filter on `token`, `displayName`, + * `version`, `link`, `profileId`, `creationDate`, `createdBy`, `updatedBy` , + * `lastUpdateDate`, `userId` + * + * @param p index of the page to display (required) + * @param c maximum number of elements to retrieve (required) + * @param f can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional) + * @param o can order on attributes (optional) + * @param s can search on attributes (optional) * @return List<Application> */ @RequestLine("GET /API/living/application?p={p}&c={c}&f={f}&o={o}&s={s}") @Headers({ "Accept: application/json", }) - List searchApplications(@QueryMap(encoded = true) Map queryParams); + List searchApplications(@Param("p") Integer p, @Param("c") Integer c, @Param("f") List f, + @Param("o") String o, @Param("s") String s); /** - * Update a living application by ID Update a single application for the given ID - * - * @param id ID of application to return (required) - * @param applicationUpdateRequest Partial living application description (required) - * @return Application + * Finds living applications + * Similar to searchApplications but it also returns the http response headers . + * Finds living applications with pagination params and filters - can order on `id`,`creationDate`, `createdBy`, + * `profileId`, `token`, `displayName`, `updatedBy`, `lastUpdateDate`, `version`, `link` - + * can search on `token`, `displayName`, `version`, `link` - can filter on `token`, `displayName`, + * `version`, `link`, `profileId`, `creationDate`, `createdBy`, `updatedBy` , + * `lastUpdateDate`, `userId` + * + * @param p index of the page to display (required) + * @param c maximum number of elements to retrieve (required) + * @param f can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. (optional) + * @param o can order on attributes (optional) + * @param s can search on attributes (optional) + * @return A ApiResponse that wraps the response boyd and the http headers. */ - @RequestLine("PUT /API/living/application/{id}") + @RequestLine("GET /API/living/application?p={p}&c={c}&f={f}&o={o}&s={s}") @Headers({ - "Content-Type: application/json", "Accept: application/json", }) - Application updateApplicationById( - @Param("id") String id, ApplicationUpdateRequest applicationUpdateRequest); + ApiResponse> searchApplicationsWithHttpInfo(@Param("p") Integer p, @Param("c") Integer c, + @Param("f") List f, @Param("o") String o, @Param("s") String s); /** - * Upload a living application Upload application - * - * @param file (optional) - * @return String + * Finds living applications + * Finds living applications with pagination params and filters - can order on `id`,`creationDate`, `createdBy`, + * `profileId`, `token`, `displayName`, `updatedBy`, `lastUpdateDate`, `version`, `link` - + * can search on `token`, `displayName`, `version`, `link` - can filter on `token`, `displayName`, + * `version`, `link`, `profileId`, `creationDate`, `createdBy`, `updatedBy` , + * `lastUpdateDate`, `userId` + * Note, this is equivalent to the other searchApplications method, + * but with the query parameters collected into a single Map parameter. This + * is convenient for services with optional query parameters, especially when + * used with the {@link SearchApplicationsQueryParams} class that allows for + * building up this map in a fluent style. + * + * @param queryParams Map of query parameters as name-value pairs + *

The following elements may be specified in the query map:

+ *
    + *
  • p - index of the page to display (required)
  • + *
  • c - maximum number of elements to retrieve (required)
  • + *
  • f - can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. + * (optional)
  • + *
  • o - can order on attributes (optional)
  • + *
  • s - can search on attributes (optional)
  • + *
+ * @return List<Application> */ - @RequestLine("POST /portal/applicationsUpload") + @RequestLine("GET /API/living/application?p={p}&c={c}&f={f}&o={o}&s={s}") @Headers({ - "Content-Type: multipart/form-data", "Accept: application/json", }) - String uploadApplication(@Param("file") File file); + List searchApplications(@QueryMap(encoded = true) SearchApplicationsQueryParams queryParams); /** - * Upload an application configuration file - * ![edition](https://img.shields.io/badge/edition-entreprise-blue) Upload an application - * configuration file in the `bconf` format. - * - * @param configuration (required) - * @return String + * Finds living applications + * Finds living applications with pagination params and filters - can order on `id`,`creationDate`, `createdBy`, + * `profileId`, `token`, `displayName`, `updatedBy`, `lastUpdateDate`, `version`, `link` - + * can search on `token`, `displayName`, `version`, `link` - can filter on `token`, `displayName`, + * `version`, `link`, `profileId`, `creationDate`, `createdBy`, `updatedBy` , + * `lastUpdateDate`, `userId` + * Note, this is equivalent to the other searchApplications that receives the query parameters as a map, + * but this one also exposes the Http response headers + * + * @param queryParams Map of query parameters as name-value pairs + *

The following elements may be specified in the query map:

+ *
    + *
  • p - index of the page to display (required)
  • + *
  • c - maximum number of elements to retrieve (required)
  • + *
  • f - can filter on attributes with the format f={filter\\_name}={filter\\_value} with the name/value pair as url encoded string. + * (optional)
  • + *
  • o - can order on attributes (optional)
  • + *
  • s - can search on attributes (optional)
  • + *
+ * @return List<Application> */ - @RequestLine("POST /APIv2/service/install") + @RequestLine("GET /API/living/application?p={p}&c={c}&f={f}&o={o}&s={s}") @Headers({ - "Content-Type: multipart/form-data", "Accept: application/json", }) - String uploadApplicationConfiguration(@Param("configuration") File configuration); + ApiResponse> searchApplicationsWithHttpInfo( + @QueryMap(encoded = true) SearchApplicationsQueryParams queryParams); /** - * A convenience class for generating query parameters for the searchApplications - * method in a fluent style. + * A convenience class for generating query parameters for the + * searchApplications method in a fluent style. */ - class SearchApplicationsQueryParams extends HashMap { + public static class SearchApplicationsQueryParams extends HashMap { public SearchApplicationsQueryParams p(final Integer value) { put("p", EncodingUtils.encode(value)); @@ -219,4 +289,109 @@ public SearchApplicationsQueryParams s(final String value) { return this; } } + + /** + * Update a living application by ID + * Update a single application for the given ID Warning: as of 9.0.0, updating a living application using this API is deprecated. + * + * @param id ID of application to return (required) + * @param applicationUpdateRequest Partial living application description (required) + * @return LegacyApplication + * @deprecated + */ + @Deprecated + @RequestLine("PUT /API/living/application/{id}") + @Headers({ + "Content-Type: application/json", + "Accept: application/json", + }) + LegacyApplication updateApplicationById(@Param("id") String id, ApplicationUpdateRequest applicationUpdateRequest); + + /** + * Update a living application by ID + * Similar to updateApplicationById but it also returns the http response headers . + * Update a single application for the given ID Warning: as of 9.0.0, updating a living application using this API is deprecated. + * + * @param id ID of application to return (required) + * @param applicationUpdateRequest Partial living application description (required) + * @return A ApiResponse that wraps the response boyd and the http headers. + * @deprecated + */ + @Deprecated + @RequestLine("PUT /API/living/application/{id}") + @Headers({ + "Content-Type: application/json", + "Accept: application/json", + }) + ApiResponse updateApplicationByIdWithHttpInfo(@Param("id") String id, + ApplicationUpdateRequest applicationUpdateRequest); + + /** + * Upload a living application + * Upload application Warning: as of 9.0.0, uploading a living application using the portal is deprecated. + * + * @param file (optional) + * @return String + * @deprecated + */ + @Deprecated + @RequestLine("POST /portal/applicationsUpload") + @Headers({ + "Content-Type: multipart/form-data", + "Accept: application/json,text/plain", + }) + String uploadApplication(@Param("file") File file); + + /** + * Upload a living application + * Similar to uploadApplication but it also returns the http response headers . + * Upload application Warning: as of 9.0.0, uploading a living application using the portal is deprecated. + * + * @param file (optional) + * @return A ApiResponse that wraps the response boyd and the http headers. + * @deprecated + */ + @Deprecated + @RequestLine("POST /portal/applicationsUpload") + @Headers({ + "Content-Type: multipart/form-data", + "Accept: application/json,text/plain", + }) + ApiResponse uploadApplicationWithHttpInfo(@Param("file") File file); + + /** + * Upload an application configuration file + * ![edition](https://img.shields.io/badge/edition-entreprise-blue) Upload an application configuration file in the `bconf` format. Warning: as of + * 9.0.0, uploading an application configuration file using this API is deprecated. + * + * @param _configuration (required) + * @return String + * @deprecated + */ + @Deprecated + @RequestLine("POST /APIv2/service/install") + @Headers({ + "Content-Type: multipart/form-data", + "Accept: application/json,text/plain", + }) + String uploadApplicationConfiguration(@Param("configuration") File _configuration); + + /** + * Upload an application configuration file + * Similar to uploadApplicationConfiguration but it also returns the http response headers . + * ![edition](https://img.shields.io/badge/edition-entreprise-blue) Upload an application configuration file in the `bconf` format. Warning: as of + * 9.0.0, uploading an application configuration file using this API is deprecated. + * + * @param _configuration (required) + * @return A ApiResponse that wraps the response boyd and the http headers. + * @deprecated + */ + @Deprecated + @RequestLine("POST /APIv2/service/install") + @Headers({ + "Content-Type: multipart/form-data", + "Accept: application/json,text/plain", + }) + ApiResponse uploadApplicationConfigurationWithHttpInfo(@Param("configuration") File _configuration); + } diff --git a/src/main/java/org/bonitasoft/web/client/api/ApplicationMenuApi.java b/src/main/java/org/bonitasoft/web/client/api/ApplicationMenuApi.java index b3e86dcd..0aa928e6 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ApplicationMenuApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ApplicationMenuApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ApplicationMenuApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ApplicationPageApi.java b/src/main/java/org/bonitasoft/web/client/api/ApplicationPageApi.java index 887285fb..0810c493 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ApplicationPageApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ApplicationPageApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ApplicationPageApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ArchivedActivityApi.java b/src/main/java/org/bonitasoft/web/client/api/ArchivedActivityApi.java index b2ece378..66e0e763 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ArchivedActivityApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ArchivedActivityApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ArchivedActivityApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ArchivedActivityVariableApi.java b/src/main/java/org/bonitasoft/web/client/api/ArchivedActivityVariableApi.java index 00ddf697..f5a173d4 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ArchivedActivityVariableApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ArchivedActivityVariableApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,7 +22,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ArchivedActivityVariableApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ArchivedConnectorInstanceApi.java b/src/main/java/org/bonitasoft/web/client/api/ArchivedConnectorInstanceApi.java index af815b04..f716ad1f 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ArchivedConnectorInstanceApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ArchivedConnectorInstanceApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ArchivedConnectorInstanceApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ArchivedFlowNodeApi.java b/src/main/java/org/bonitasoft/web/client/api/ArchivedFlowNodeApi.java index 1a98cbcd..27d6290a 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ArchivedFlowNodeApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ArchivedFlowNodeApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ArchivedFlowNodeApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ArchivedHumanTaskApi.java b/src/main/java/org/bonitasoft/web/client/api/ArchivedHumanTaskApi.java index 123258be..5d089ab5 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ArchivedHumanTaskApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ArchivedHumanTaskApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ArchivedHumanTaskApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ArchivedManualTaskApi.java b/src/main/java/org/bonitasoft/web/client/api/ArchivedManualTaskApi.java index 3c6d5dc7..1f156a27 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ArchivedManualTaskApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ArchivedManualTaskApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ArchivedManualTaskApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceApi.java b/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceApi.java index cd97707d..5f24eda0 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ArchivedProcessInstanceApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceCommentApi.java b/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceCommentApi.java index f9931f9a..02132f6b 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceCommentApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceCommentApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ArchivedProcessInstanceCommentApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceDocumentApi.java b/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceDocumentApi.java index f0434be9..f7574966 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceDocumentApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceDocumentApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ArchivedProcessInstanceDocumentApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceVariableApi.java b/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceVariableApi.java index 60963b0d..2dd8b7df 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceVariableApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ArchivedProcessInstanceVariableApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ArchivedProcessInstanceVariableApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ArchivedTaskApi.java b/src/main/java/org/bonitasoft/web/client/api/ArchivedTaskApi.java index af500a6d..3f8b262d 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ArchivedTaskApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ArchivedTaskApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ArchivedTaskApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ArchivedUserTaskApi.java b/src/main/java/org/bonitasoft/web/client/api/ArchivedUserTaskApi.java index be022978..a4505e99 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ArchivedUserTaskApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ArchivedUserTaskApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ArchivedUserTaskApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/AuthenticationApi.java b/src/main/java/org/bonitasoft/web/client/api/AuthenticationApi.java index f4d0c681..0addde07 100644 --- a/src/main/java/org/bonitasoft/web/client/api/AuthenticationApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/AuthenticationApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,7 +24,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface AuthenticationApi extends ApiClient.Api { /** @@ -42,14 +42,13 @@ public interface AuthenticationApi extends ApiClient.Api { * @param redirect \\\"true\\\" or \\\"false\\\". \\\"false\\\" indicates that the service should not redirect to Bonita Portal * (after a successful login) or to the login page (after a login failure). (optional, default to false) * @param redirectURL the URL of the page to be displayed after login (optional, default to ) - * @return String */ @RequestLine("POST /loginservice") @Headers({ "Content-Type: application/x-www-form-urlencoded", "Accept: application/json", }) - String login(@Param("username") String username, @Param("password") String password, @Param("tenant") String tenant, + void login(@Param("username") String username, @Param("password") String password, @Param("tenant") String tenant, @Param("redirect") String redirect, @Param("redirectURL") String redirectURL); /** @@ -68,14 +67,13 @@ String login(@Param("username") String username, @Param("password") String passw * @param redirect \\\"true\\\" or \\\"false\\\". \\\"false\\\" indicates that the service should not redirect to Bonita Portal * (after a successful login) or to the login page (after a login failure). (optional, default to false) * @param redirectURL the URL of the page to be displayed after login (optional, default to ) - * @return A ApiResponse that wraps the response boyd and the http headers. */ @RequestLine("POST /loginservice") @Headers({ "Content-Type: application/x-www-form-urlencoded", "Accept: application/json", }) - ApiResponse loginWithHttpInfo(@Param("username") String username, @Param("password") String password, + ApiResponse loginWithHttpInfo(@Param("username") String username, @Param("password") String password, @Param("tenant") String tenant, @Param("redirect") String redirect, @Param("redirectURL") String redirectURL); diff --git a/src/main/java/org/bonitasoft/web/client/api/BdmAccessControlApi.java b/src/main/java/org/bonitasoft/web/client/api/BdmAccessControlApi.java index b46e5162..3af48459 100644 --- a/src/main/java/org/bonitasoft/web/client/api/BdmAccessControlApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/BdmAccessControlApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,7 +24,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface BdmAccessControlApi extends ApiClient.Api { /** @@ -120,7 +120,7 @@ ApiResponse importBDMAccessControlWithHttpInfo( @RequestLine("POST /portal/bdmAccessControlUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) String uploadBDMAccessControl(@Param("file") File file); @@ -138,7 +138,7 @@ ApiResponse importBDMAccessControlWithHttpInfo( @RequestLine("POST /portal/bdmAccessControlUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) ApiResponse uploadBDMAccessControlWithHttpInfo(@Param("file") File file); diff --git a/src/main/java/org/bonitasoft/web/client/api/BdmApi.java b/src/main/java/org/bonitasoft/web/client/api/BdmApi.java index 678ffc84..56d1d5c4 100644 --- a/src/main/java/org/bonitasoft/web/client/api/BdmApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/BdmApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface BdmApi extends ApiClient.Api { /** @@ -253,7 +253,7 @@ public SearchBusinessDataByIdsQueryParams ids(final String value) { @RequestLine("POST /portal/fileUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) String uploadFile(@Param("file") File file); @@ -269,7 +269,7 @@ public SearchBusinessDataByIdsQueryParams ids(final String value) { @RequestLine("POST /portal/fileUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) ApiResponse uploadFileWithHttpInfo(@Param("file") File file); diff --git a/src/main/java/org/bonitasoft/web/client/api/BusinessDataQueryApi.java b/src/main/java/org/bonitasoft/web/client/api/BusinessDataQueryApi.java index bce695cb..12cc22ab 100644 --- a/src/main/java/org/bonitasoft/web/client/api/BusinessDataQueryApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/BusinessDataQueryApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface BusinessDataQueryApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ConnectorFailureApi.java b/src/main/java/org/bonitasoft/web/client/api/ConnectorFailureApi.java index cedf5984..e84308fb 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ConnectorFailureApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ConnectorFailureApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,7 +22,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ConnectorFailureApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ConnectorInstanceApi.java b/src/main/java/org/bonitasoft/web/client/api/ConnectorInstanceApi.java index ea66216e..3c59e565 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ConnectorInstanceApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ConnectorInstanceApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ConnectorInstanceApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/CustomUserApi.java b/src/main/java/org/bonitasoft/web/client/api/CustomUserApi.java index 42b2f083..96237f9b 100644 --- a/src/main/java/org/bonitasoft/web/client/api/CustomUserApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/CustomUserApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface CustomUserApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/CustomUserDefinitionApi.java b/src/main/java/org/bonitasoft/web/client/api/CustomUserDefinitionApi.java index 4a3e7cd6..d18f918d 100644 --- a/src/main/java/org/bonitasoft/web/client/api/CustomUserDefinitionApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/CustomUserDefinitionApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface CustomUserDefinitionApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/CustomUserValueApi.java b/src/main/java/org/bonitasoft/web/client/api/CustomUserValueApi.java index cef3e700..bcadf91c 100644 --- a/src/main/java/org/bonitasoft/web/client/api/CustomUserValueApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/CustomUserValueApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface CustomUserValueApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/DiagramApi.java b/src/main/java/org/bonitasoft/web/client/api/DiagramApi.java index 89ecd6fd..f5f4919f 100644 --- a/src/main/java/org/bonitasoft/web/client/api/DiagramApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/DiagramApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface DiagramApi extends ApiClient.Api { /** @@ -34,7 +34,7 @@ public interface DiagramApi extends ApiClient.Api { */ @RequestLine("GET /API/bpm/diagram/{id}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) String getProcessDiagramById(@Param("id") String id); @@ -49,7 +49,7 @@ public interface DiagramApi extends ApiClient.Api { */ @RequestLine("GET /API/bpm/diagram/{id}") @Headers({ - "Accept: application/json", + "Accept: application/json,application/xml", }) ApiResponse getProcessDiagramByIdWithHttpInfo(@Param("id") String id); diff --git a/src/main/java/org/bonitasoft/web/client/api/FlowNodeApi.java b/src/main/java/org/bonitasoft/web/client/api/FlowNodeApi.java index f2979056..31f41dae 100644 --- a/src/main/java/org/bonitasoft/web/client/api/FlowNodeApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/FlowNodeApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface FlowNodeApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/FormMappingApi.java b/src/main/java/org/bonitasoft/web/client/api/FormMappingApi.java index afad3cd2..ab7dbbbd 100644 --- a/src/main/java/org/bonitasoft/web/client/api/FormMappingApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/FormMappingApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface FormMappingApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/GroupApi.java b/src/main/java/org/bonitasoft/web/client/api/GroupApi.java index 16d6484b..320b6daf 100644 --- a/src/main/java/org/bonitasoft/web/client/api/GroupApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/GroupApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface GroupApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/HumanTaskApi.java b/src/main/java/org/bonitasoft/web/client/api/HumanTaskApi.java index af0d3c4c..5355b4d2 100644 --- a/src/main/java/org/bonitasoft/web/client/api/HumanTaskApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/HumanTaskApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface HumanTaskApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/I18nlocaleApi.java b/src/main/java/org/bonitasoft/web/client/api/I18nlocaleApi.java index 473dcc62..841fb8c9 100644 --- a/src/main/java/org/bonitasoft/web/client/api/I18nlocaleApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/I18nlocaleApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface I18nlocaleApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/I18ntranslationApi.java b/src/main/java/org/bonitasoft/web/client/api/I18ntranslationApi.java index 9d70d9e4..c108eb75 100644 --- a/src/main/java/org/bonitasoft/web/client/api/I18ntranslationApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/I18ntranslationApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface I18ntranslationApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/MaintenanceApi.java b/src/main/java/org/bonitasoft/web/client/api/MaintenanceApi.java index ff7eb7f9..5ed63300 100644 --- a/src/main/java/org/bonitasoft/web/client/api/MaintenanceApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/MaintenanceApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,7 +22,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface MaintenanceApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ManualTaskApi.java b/src/main/java/org/bonitasoft/web/client/api/ManualTaskApi.java index b80737b5..4362e723 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ManualTaskApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ManualTaskApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ManualTaskApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/MembershipApi.java b/src/main/java/org/bonitasoft/web/client/api/MembershipApi.java index a04188c1..9c004d90 100644 --- a/src/main/java/org/bonitasoft/web/client/api/MembershipApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/MembershipApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface MembershipApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/MessageApi.java b/src/main/java/org/bonitasoft/web/client/api/MessageApi.java index a32426c4..a6bc9c20 100644 --- a/src/main/java/org/bonitasoft/web/client/api/MessageApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/MessageApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,7 +22,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface MessageApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/OrganizationApi.java b/src/main/java/org/bonitasoft/web/client/api/OrganizationApi.java index e011c225..ea914449 100644 --- a/src/main/java/org/bonitasoft/web/client/api/OrganizationApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/OrganizationApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,7 +23,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface OrganizationApi extends ApiClient.Api { /** @@ -67,7 +67,7 @@ ApiResponse importOrganizationWithHttpInfo(@Param("organizationDataUpload" @RequestLine("POST /portal/organizationUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) String uploadOrganization(@Param("file") File file); @@ -82,7 +82,7 @@ ApiResponse importOrganizationWithHttpInfo(@Param("organizationDataUpload" @RequestLine("POST /portal/organizationUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) ApiResponse uploadOrganizationWithHttpInfo(@Param("file") File file); diff --git a/src/main/java/org/bonitasoft/web/client/api/PageApi.java b/src/main/java/org/bonitasoft/web/client/api/PageApi.java index 333bd3f2..8b117237 100644 --- a/src/main/java/org/bonitasoft/web/client/api/PageApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/PageApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface PageApi extends ApiClient.Api { /** @@ -290,7 +290,7 @@ public SearchPagesQueryParams s(final String value) { @RequestLine("POST /portal/pageUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) String uploadPage(@Param("file") File file); @@ -307,7 +307,7 @@ public SearchPagesQueryParams s(final String value) { @RequestLine("POST /portal/pageUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) ApiResponse uploadPageWithHttpInfo(@Param("file") File file); diff --git a/src/main/java/org/bonitasoft/web/client/api/PlatformApi.java b/src/main/java/org/bonitasoft/web/client/api/PlatformApi.java index 99978860..81bcc039 100644 --- a/src/main/java/org/bonitasoft/web/client/api/PlatformApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/PlatformApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,7 +23,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface PlatformApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/PlatformAuthenticationApi.java b/src/main/java/org/bonitasoft/web/client/api/PlatformAuthenticationApi.java index 4c1a368b..e3822ac8 100644 --- a/src/main/java/org/bonitasoft/web/client/api/PlatformAuthenticationApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/PlatformAuthenticationApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface PlatformAuthenticationApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ProcessApi.java b/src/main/java/org/bonitasoft/web/client/api/ProcessApi.java index ef740398..a6ca30b1 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProcessApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProcessApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProcessApi extends ApiClient.Api { /** @@ -475,7 +475,7 @@ ApiResponse updateProcessConnectorByProcessIdWithHttpInfo(@Param("id") Str @RequestLine("POST /portal/processUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) String uploadProcess(@Param("file") File file); @@ -492,7 +492,7 @@ ApiResponse updateProcessConnectorByProcessIdWithHttpInfo(@Param("id") Str @RequestLine("POST /portal/processUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) ApiResponse uploadProcessWithHttpInfo(@Param("file") File file); diff --git a/src/main/java/org/bonitasoft/web/client/api/ProcessConnectorDependencyApi.java b/src/main/java/org/bonitasoft/web/client/api/ProcessConnectorDependencyApi.java index 7156eb01..d0ca094d 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProcessConnectorDependencyApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProcessConnectorDependencyApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProcessConnectorDependencyApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ProcessInfoApi.java b/src/main/java/org/bonitasoft/web/client/api/ProcessInfoApi.java index 715178c7..4d9e1e0f 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProcessInfoApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProcessInfoApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,7 +22,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProcessInfoApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceApi.java b/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceApi.java index 68b132a0..06beb66b 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProcessInstanceApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceCommentApi.java b/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceCommentApi.java index d984d45c..3ff764bb 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceCommentApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceCommentApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProcessInstanceCommentApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceDocumentApi.java b/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceDocumentApi.java index 1200a70e..e139d98f 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceDocumentApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceDocumentApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProcessInstanceDocumentApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceInfoApi.java b/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceInfoApi.java index da58b40e..90f61200 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceInfoApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceInfoApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,7 +22,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProcessInstanceInfoApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceVariableApi.java b/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceVariableApi.java index d3807267..f6dc69a5 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceVariableApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProcessInstanceVariableApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProcessInstanceVariableApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ProcessParameterApi.java b/src/main/java/org/bonitasoft/web/client/api/ProcessParameterApi.java index eb58175b..065fd9e7 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProcessParameterApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProcessParameterApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProcessParameterApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ProcessResolutionProblemApi.java b/src/main/java/org/bonitasoft/web/client/api/ProcessResolutionProblemApi.java index f2494a96..13a713af 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProcessResolutionProblemApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProcessResolutionProblemApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProcessResolutionProblemApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ProcessSupervisorApi.java b/src/main/java/org/bonitasoft/web/client/api/ProcessSupervisorApi.java index 8e326d26..b2dbf3a3 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProcessSupervisorApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProcessSupervisorApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProcessSupervisorApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ProfessionalContactDataApi.java b/src/main/java/org/bonitasoft/web/client/api/ProfessionalContactDataApi.java index 37062706..5edaa9c2 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProfessionalContactDataApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProfessionalContactDataApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProfessionalContactDataApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ProfileApi.java b/src/main/java/org/bonitasoft/web/client/api/ProfileApi.java index 29065b85..29a0e5af 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProfileApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProfileApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProfileApi extends ApiClient.Api { /** @@ -324,7 +324,7 @@ public SearchProfilesQueryParams o(final String value) { @RequestLine("POST /portal/profilesUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) String uploadprofiles(@Param("file") File file); @@ -341,7 +341,7 @@ public SearchProfilesQueryParams o(final String value) { @RequestLine("POST /portal/profilesUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) ApiResponse uploadprofilesWithHttpInfo(@Param("file") File file); diff --git a/src/main/java/org/bonitasoft/web/client/api/ProfileEntryApi.java b/src/main/java/org/bonitasoft/web/client/api/ProfileEntryApi.java index 181f9118..20ed05be 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProfileEntryApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProfileEntryApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProfileEntryApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ProfileMemberApi.java b/src/main/java/org/bonitasoft/web/client/api/ProfileMemberApi.java index 3df31c75..11fe997d 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ProfileMemberApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ProfileMemberApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ProfileMemberApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/RoleApi.java b/src/main/java/org/bonitasoft/web/client/api/RoleApi.java index ceab1619..7f4a379a 100644 --- a/src/main/java/org/bonitasoft/web/client/api/RoleApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/RoleApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface RoleApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/SignalApi.java b/src/main/java/org/bonitasoft/web/client/api/SignalApi.java index 6554eeac..6cf12be8 100644 --- a/src/main/java/org/bonitasoft/web/client/api/SignalApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/SignalApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,7 +22,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface SignalApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/SystemTenantApi.java b/src/main/java/org/bonitasoft/web/client/api/SystemTenantApi.java index 6fe29e7e..558f19b7 100644 --- a/src/main/java/org/bonitasoft/web/client/api/SystemTenantApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/SystemTenantApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,7 +23,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface SystemTenantApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/TaskApi.java b/src/main/java/org/bonitasoft/web/client/api/TaskApi.java index 19b86707..5b57e5b5 100644 --- a/src/main/java/org/bonitasoft/web/client/api/TaskApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/TaskApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface TaskApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/TenantApi.java b/src/main/java/org/bonitasoft/web/client/api/TenantApi.java index faa23e62..252220dd 100644 --- a/src/main/java/org/bonitasoft/web/client/api/TenantApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/TenantApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface TenantApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/ThemeApi.java b/src/main/java/org/bonitasoft/web/client/api/ThemeApi.java index aab3c1dc..db4c6a87 100644 --- a/src/main/java/org/bonitasoft/web/client/api/ThemeApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/ThemeApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,7 +23,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface ThemeApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/TimerEventTriggerApi.java b/src/main/java/org/bonitasoft/web/client/api/TimerEventTriggerApi.java index 35ac3798..80ddc027 100644 --- a/src/main/java/org/bonitasoft/web/client/api/TimerEventTriggerApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/TimerEventTriggerApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface TimerEventTriggerApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/UploadApi.java b/src/main/java/org/bonitasoft/web/client/api/UploadApi.java index 656fa1b2..2e59726d 100644 --- a/src/main/java/org/bonitasoft/web/client/api/UploadApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/UploadApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,7 +23,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface UploadApi extends ApiClient.Api { /** @@ -38,7 +38,7 @@ public interface UploadApi extends ApiClient.Api { @RequestLine("POST /portal/applicationsUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) String uploadApplication(@Param("file") File file); @@ -55,7 +55,7 @@ public interface UploadApi extends ApiClient.Api { @RequestLine("POST /portal/applicationsUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) ApiResponse uploadApplicationWithHttpInfo(@Param("file") File file); @@ -72,7 +72,7 @@ public interface UploadApi extends ApiClient.Api { @RequestLine("POST /portal/bdmAccessControlUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) String uploadBDMAccessControl(@Param("file") File file); @@ -90,7 +90,7 @@ public interface UploadApi extends ApiClient.Api { @RequestLine("POST /portal/bdmAccessControlUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) ApiResponse uploadBDMAccessControlWithHttpInfo(@Param("file") File file); @@ -105,7 +105,7 @@ public interface UploadApi extends ApiClient.Api { @RequestLine("POST /portal/fileUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) String uploadFile(@Param("file") File file); @@ -121,7 +121,7 @@ public interface UploadApi extends ApiClient.Api { @RequestLine("POST /portal/fileUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) ApiResponse uploadFileWithHttpInfo(@Param("file") File file); @@ -135,7 +135,7 @@ public interface UploadApi extends ApiClient.Api { @RequestLine("POST /portal/organizationUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) String uploadOrganization(@Param("file") File file); @@ -150,7 +150,7 @@ public interface UploadApi extends ApiClient.Api { @RequestLine("POST /portal/organizationUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) ApiResponse uploadOrganizationWithHttpInfo(@Param("file") File file); @@ -166,7 +166,7 @@ public interface UploadApi extends ApiClient.Api { @RequestLine("POST /portal/pageUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) String uploadPage(@Param("file") File file); @@ -183,7 +183,7 @@ public interface UploadApi extends ApiClient.Api { @RequestLine("POST /portal/pageUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) ApiResponse uploadPageWithHttpInfo(@Param("file") File file); @@ -199,7 +199,7 @@ public interface UploadApi extends ApiClient.Api { @RequestLine("POST /portal/processUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) String uploadProcess(@Param("file") File file); @@ -216,7 +216,7 @@ public interface UploadApi extends ApiClient.Api { @RequestLine("POST /portal/processUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) ApiResponse uploadProcessWithHttpInfo(@Param("file") File file); @@ -232,7 +232,7 @@ public interface UploadApi extends ApiClient.Api { @RequestLine("POST /portal/profilesUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) String uploadprofiles(@Param("file") File file); @@ -249,7 +249,7 @@ public interface UploadApi extends ApiClient.Api { @RequestLine("POST /portal/profilesUpload") @Headers({ "Content-Type: multipart/form-data", - "Accept: application/json", + "Accept: application/json,text/plain", }) ApiResponse uploadprofilesWithHttpInfo(@Param("file") File file); diff --git a/src/main/java/org/bonitasoft/web/client/api/UserApi.java b/src/main/java/org/bonitasoft/web/client/api/UserApi.java index e91c5477..df194acc 100644 --- a/src/main/java/org/bonitasoft/web/client/api/UserApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/UserApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface UserApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/api/UserTaskApi.java b/src/main/java/org/bonitasoft/web/client/api/UserTaskApi.java index 0acf3bd1..07e4e433 100644 --- a/src/main/java/org/bonitasoft/web/client/api/UserTaskApi.java +++ b/src/main/java/org/bonitasoft/web/client/api/UserTaskApi.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ import feign.*; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public interface UserTaskApi extends ApiClient.Api { /** diff --git a/src/main/java/org/bonitasoft/web/client/invoker/ApiClient.java b/src/main/java/org/bonitasoft/web/client/invoker/ApiClient.java index 6fcae9b8..28cd8948 100644 --- a/src/main/java/org/bonitasoft/web/client/invoker/ApiClient.java +++ b/src/main/java/org/bonitasoft/web/client/invoker/ApiClient.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,6 +18,7 @@ import java.util.LinkedHashMap; import java.util.Map; +import java.util.function.Supplier; import java.util.logging.Level; import java.util.logging.Logger; @@ -38,7 +39,7 @@ import feign.okhttp.OkHttpClient; import feign.slf4j.Slf4jLogger; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ApiClient { private static final Logger log = Logger.getLogger(ApiClient.class.getName()); @@ -207,6 +208,16 @@ public void setBearerToken(String bearerToken) { apiAuthorization.setBearerToken(bearerToken); } + /** + * Helper method to configure the supplier of bearer tokens. + * + * @param tokenSupplier the supplier of bearer tokens. + */ + public void setBearerToken(Supplier tokenSupplier) { + HttpBearerAuth apiAuthorization = getAuthorization(HttpBearerAuth.class); + apiAuthorization.setBearerToken(tokenSupplier); + } + /** * Helper method to configure the first api key found * diff --git a/src/main/java/org/bonitasoft/web/client/invoker/ApiResponseDecoder.java b/src/main/java/org/bonitasoft/web/client/invoker/ApiResponseDecoder.java index 60f86548..adc924b3 100644 --- a/src/main/java/org/bonitasoft/web/client/invoker/ApiResponseDecoder.java +++ b/src/main/java/org/bonitasoft/web/client/invoker/ApiResponseDecoder.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/java/org/bonitasoft/web/client/invoker/EncodingUtils.java b/src/main/java/org/bonitasoft/web/client/invoker/EncodingUtils.java index 89bfe732..1ef9f485 100644 --- a/src/main/java/org/bonitasoft/web/client/invoker/EncodingUtils.java +++ b/src/main/java/org/bonitasoft/web/client/invoker/EncodingUtils.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/java/org/bonitasoft/web/client/invoker/ParamExpander.java b/src/main/java/org/bonitasoft/web/client/invoker/ParamExpander.java index 12db4f77..2a0b4748 100644 --- a/src/main/java/org/bonitasoft/web/client/invoker/ParamExpander.java +++ b/src/main/java/org/bonitasoft/web/client/invoker/ParamExpander.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/java/org/bonitasoft/web/client/invoker/RFC3339DateFormat.java b/src/main/java/org/bonitasoft/web/client/invoker/RFC3339DateFormat.java index 0b9cc6c9..c671a8e7 100644 --- a/src/main/java/org/bonitasoft/web/client/invoker/RFC3339DateFormat.java +++ b/src/main/java/org/bonitasoft/web/client/invoker/RFC3339DateFormat.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,6 +26,7 @@ import com.fasterxml.jackson.databind.util.StdDateFormat; +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/invoker/StringUtil.java b/src/main/java/org/bonitasoft/web/client/invoker/StringUtil.java index ee254905..662e1dca 100644 --- a/src/main/java/org/bonitasoft/web/client/invoker/StringUtil.java +++ b/src/main/java/org/bonitasoft/web/client/invoker/StringUtil.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,7 +19,7 @@ import java.util.Collection; import java.util.Iterator; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class StringUtil { /** diff --git a/src/main/java/org/bonitasoft/web/client/invoker/auth/ApiKeyAuth.java b/src/main/java/org/bonitasoft/web/client/invoker/auth/ApiKeyAuth.java index 94757d72..5b6733c1 100644 --- a/src/main/java/org/bonitasoft/web/client/invoker/auth/ApiKeyAuth.java +++ b/src/main/java/org/bonitasoft/web/client/invoker/auth/ApiKeyAuth.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/java/org/bonitasoft/web/client/invoker/auth/HttpBasicAuth.java b/src/main/java/org/bonitasoft/web/client/invoker/auth/HttpBasicAuth.java index b063a9e5..675fcc72 100644 --- a/src/main/java/org/bonitasoft/web/client/invoker/auth/HttpBasicAuth.java +++ b/src/main/java/org/bonitasoft/web/client/invoker/auth/HttpBasicAuth.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/java/org/bonitasoft/web/client/invoker/auth/HttpBearerAuth.java b/src/main/java/org/bonitasoft/web/client/invoker/auth/HttpBearerAuth.java index 394d3ce2..94164daf 100644 --- a/src/main/java/org/bonitasoft/web/client/invoker/auth/HttpBearerAuth.java +++ b/src/main/java/org/bonitasoft/web/client/invoker/auth/HttpBearerAuth.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,6 +16,9 @@ */ package org.bonitasoft.web.client.invoker.auth; +import java.util.Optional; +import java.util.function.Supplier; + import feign.RequestInterceptor; import feign.RequestTemplate; @@ -25,7 +28,7 @@ public class HttpBearerAuth implements RequestInterceptor { private final String scheme; - private String bearerToken; + private Supplier tokenSupplier; public HttpBearerAuth(String scheme) { this.scheme = scheme; @@ -33,20 +36,34 @@ public HttpBearerAuth(String scheme) { /** * Gets the token, which together with the scheme, will be sent as the value of the Authorization header. + * + * @return The bearer token */ public String getBearerToken() { - return bearerToken; + return tokenSupplier.get(); } /** * Sets the token, which together with the scheme, will be sent as the value of the Authorization header. + * + * @param bearerToken The bearer token to send in the Authorization header */ public void setBearerToken(String bearerToken) { - this.bearerToken = bearerToken; + this.tokenSupplier = () -> bearerToken; + } + + /** + * Sets the supplier of tokens, which together with the scheme, will be sent as the value of the Authorization header. + * + * @param tokenSupplier The supplier of bearer tokens to send in the Authorization header + */ + public void setBearerToken(Supplier tokenSupplier) { + this.tokenSupplier = tokenSupplier; } @Override public void apply(RequestTemplate template) { + String bearerToken = Optional.ofNullable(tokenSupplier).map(Supplier::get).orElse(null); if (bearerToken == null) { return; } diff --git a/src/main/java/org/bonitasoft/web/client/model/AbstractArchivedTask.java b/src/main/java/org/bonitasoft/web/client/model/AbstractArchivedTask.java index 972d8194..9674b4f0 100644 --- a/src/main/java/org/bonitasoft/web/client/model/AbstractArchivedTask.java +++ b/src/main/java/org/bonitasoft/web/client/model/AbstractArchivedTask.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -52,7 +52,7 @@ AbstractArchivedTask.JSON_PROPERTY_SOURCE_OBJECT_ID, AbstractArchivedTask.JSON_PROPERTY_ARCHIVED_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class AbstractArchivedTask implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/AbstractTask.java b/src/main/java/org/bonitasoft/web/client/model/AbstractTask.java index 26216ca3..2c73bfbc 100644 --- a/src/main/java/org/bonitasoft/web/client/model/AbstractTask.java +++ b/src/main/java/org/bonitasoft/web/client/model/AbstractTask.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -50,7 +50,7 @@ AbstractTask.JSON_PROPERTY_ASSIGNED_DATE, AbstractTask.JSON_PROPERTY_IS_TERMINAL }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class AbstractTask implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ActivationState.java b/src/main/java/org/bonitasoft/web/client/model/ActivationState.java index 54e265ad..dd1c20e6 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ActivationState.java +++ b/src/main/java/org/bonitasoft/web/client/model/ActivationState.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/java/org/bonitasoft/web/client/model/Activity.java b/src/main/java/org/bonitasoft/web/client/model/Activity.java index 77752c4f..6fbda41e 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Activity.java +++ b/src/main/java/org/bonitasoft/web/client/model/Activity.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -49,7 +49,7 @@ Activity.JSON_PROPERTY_ASSIGNED_ID, Activity.JSON_PROPERTY_ASSIGNED_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Activity implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ActivityPriority.java b/src/main/java/org/bonitasoft/web/client/model/ActivityPriority.java index 01b543c9..469b23c1 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ActivityPriority.java +++ b/src/main/java/org/bonitasoft/web/client/model/ActivityPriority.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/java/org/bonitasoft/web/client/model/ActivityState.java b/src/main/java/org/bonitasoft/web/client/model/ActivityState.java index 99c44af5..12c9acb8 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ActivityState.java +++ b/src/main/java/org/bonitasoft/web/client/model/ActivityState.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/java/org/bonitasoft/web/client/model/ActivityType.java b/src/main/java/org/bonitasoft/web/client/model/ActivityType.java index 255f9e2f..70cf573a 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ActivityType.java +++ b/src/main/java/org/bonitasoft/web/client/model/ActivityType.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/java/org/bonitasoft/web/client/model/ActivityUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ActivityUpdateRequest.java index 9c5c0000..ddb66d6c 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ActivityUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ActivityUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ ActivityUpdateRequest.JSON_PROPERTY_VARIABLES, ActivityUpdateRequest.JSON_PROPERTY_STATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ActivityUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ActivityVariable.java b/src/main/java/org/bonitasoft/web/client/model/ActivityVariable.java index 30ca3367..a7cb7d23 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ActivityVariable.java +++ b/src/main/java/org/bonitasoft/web/client/model/ActivityVariable.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -43,7 +43,7 @@ ActivityVariable.JSON_PROPERTY_CONTAINER_TYPE, ActivityVariable.JSON_PROPERTY_VALUE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ActivityVariable implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Actor.java b/src/main/java/org/bonitasoft/web/client/model/Actor.java index 0e07223a..507c2c81 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Actor.java +++ b/src/main/java/org/bonitasoft/web/client/model/Actor.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ Actor.JSON_PROPERTY_NAME, Actor.JSON_PROPERTY_DISPLAY_NAME }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Actor implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ActorDefinition.java b/src/main/java/org/bonitasoft/web/client/model/ActorDefinition.java index 3409a97d..6d0ee195 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ActorDefinition.java +++ b/src/main/java/org/bonitasoft/web/client/model/ActorDefinition.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ ActorDefinition.JSON_PROPERTY_DESCRIPTION, ActorDefinition.JSON_PROPERTY_INITIATOR }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ActorDefinition implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ActorMember.java b/src/main/java/org/bonitasoft/web/client/model/ActorMember.java index b50fd1cf..0d68de7f 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ActorMember.java +++ b/src/main/java/org/bonitasoft/web/client/model/ActorMember.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ ActorMember.JSON_PROPERTY_GROUP_ID, ActorMember.JSON_PROPERTY_USER_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ActorMember implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ActorUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ActorUpdateRequest.java index 3d5c25c9..110ec413 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ActorUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ActorUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ ActorUpdateRequest.JSON_PROPERTY_DISPLAY_NAME, ActorUpdateRequest.JSON_PROPERTY_DESCRIPTION }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ActorUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ApiResponse.java b/src/main/java/org/bonitasoft/web/client/model/ApiResponse.java index 79bc39fe..a141acd7 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ApiResponse.java +++ b/src/main/java/org/bonitasoft/web/client/model/ApiResponse.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2023 BonitaSoft S.A. + * Copyright (C) 2024 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/java/org/bonitasoft/web/client/model/Application.java b/src/main/java/org/bonitasoft/web/client/model/Application.java index 808b926a..6fc88627 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Application.java +++ b/src/main/java/org/bonitasoft/web/client/model/Application.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,31 +19,42 @@ import java.io.Serializable; import java.util.Objects; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.annotation.JsonValue; /** * Application */ @JsonPropertyOrder({ + Application.JSON_PROPERTY_LINK, Application.JSON_PROPERTY_CREATED_BY, Application.JSON_PROPERTY_CREATION_DATE, Application.JSON_PROPERTY_DESCRIPTION, Application.JSON_PROPERTY_DISPLAY_NAME, - Application.JSON_PROPERTY_HOME_PAGE_ID, Application.JSON_PROPERTY_ID, Application.JSON_PROPERTY_LAST_UPDATE_DATE, Application.JSON_PROPERTY_PROFILE_ID, Application.JSON_PROPERTY_TOKEN, Application.JSON_PROPERTY_UPDATED_BY, - Application.JSON_PROPERTY_VERSION + Application.JSON_PROPERTY_VERSION, + Application.JSON_PROPERTY_STATE, + Application.JSON_PROPERTY_VISIBILITY, + Application.JSON_PROPERTY_EDITABLE, + Application.JSON_PROPERTY_HOME_PAGE_ID, + Application.JSON_PROPERTY_LAYOUT_ID, + Application.JSON_PROPERTY_THEME_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Application implements Serializable { private static final long serialVersionUID = 1L; + public static final String JSON_PROPERTY_LINK = "link"; + private Boolean link; + public static final String JSON_PROPERTY_CREATED_BY = "createdBy"; private String createdBy; @@ -56,9 +67,6 @@ public class Application implements Serializable { public static final String JSON_PROPERTY_DISPLAY_NAME = "displayName"; private String displayName; - public static final String JSON_PROPERTY_HOME_PAGE_ID = "homePageId"; - private String homePageId; - public static final String JSON_PROPERTY_ID = "id"; private String id; @@ -77,9 +85,127 @@ public class Application implements Serializable { public static final String JSON_PROPERTY_VERSION = "version"; private String version; + /** + * application state + */ + public enum StateEnum { + + ACTIVATED("ACTIVATED"), + + DEACTIVATED("DEACTIVATED"); + + private String value; + + StateEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static StateEnum fromValue(String value) { + for (StateEnum b : StateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_STATE = "state"; + private StateEnum state; + + /** + * visibility of the Application. This value is purely indicative, changing it in the application object won't change the accessibility to the actual + * application. + */ + public enum VisibilityEnum { + + ALL("ALL"), + + TECHNICAL_USER("TECHNICAL_USER"), + + RESTRICTED("RESTRICTED"); + + private String value; + + VisibilityEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static VisibilityEnum fromValue(String value) { + for (VisibilityEnum b : VisibilityEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_VISIBILITY = "visibility"; + private VisibilityEnum visibility; + + public static final String JSON_PROPERTY_EDITABLE = "editable"; + private Boolean editable; + + public static final String JSON_PROPERTY_HOME_PAGE_ID = "homePageId"; + private String homePageId; + + public static final String JSON_PROPERTY_LAYOUT_ID = "layoutId"; + private String layoutId; + + public static final String JSON_PROPERTY_THEME_ID = "themeId"; + private String themeId; + public Application() { } + public Application link(Boolean link) { + + this.link = link; + return this; + } + + /** + * false for a legacy application + * + * @return link + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LINK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getLink() { + return link; + } + + @JsonProperty(JSON_PROPERTY_LINK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLink(Boolean link) { + this.link = link; + } + public Application createdBy(String createdBy) { this.createdBy = createdBy; @@ -180,31 +306,6 @@ public void setDisplayName(String displayName) { this.displayName = displayName; } - public Application homePageId(String homePageId) { - - this.homePageId = homePageId; - return this; - } - - /** - * id of the application page used as the home page - * - * @return homePageId - **/ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_HOME_PAGE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - - public String getHomePageId() { - return homePageId; - } - - @JsonProperty(JSON_PROPERTY_HOME_PAGE_ID) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setHomePageId(String homePageId) { - this.homePageId = homePageId; - } - public Application id(String id) { this.id = id; @@ -355,6 +456,157 @@ public void setVersion(String version) { this.version = version; } + public Application state(StateEnum state) { + + this.state = state; + return this; + } + + /** + * application state + * + * @return state + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public StateEnum getState() { + return state; + } + + @JsonProperty(JSON_PROPERTY_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setState(StateEnum state) { + this.state = state; + } + + public Application visibility(VisibilityEnum visibility) { + + this.visibility = visibility; + return this; + } + + /** + * visibility of the Application. This value is purely indicative, changing it in the application object won't change the accessibility to the actual + * application. + * + * @return visibility + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VISIBILITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public VisibilityEnum getVisibility() { + return visibility; + } + + @JsonProperty(JSON_PROPERTY_VISIBILITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setVisibility(VisibilityEnum visibility) { + this.visibility = visibility; + } + + public Application editable(Boolean editable) { + + this.editable = editable; + return this; + } + + /** + * Indicates whether the application can be modified + * + * @return editable + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_EDITABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEditable() { + return editable; + } + + @JsonProperty(JSON_PROPERTY_EDITABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEditable(Boolean editable) { + this.editable = editable; + } + + public Application homePageId(String homePageId) { + + this.homePageId = homePageId; + return this; + } + + /** + * id of the application page used as the home page + * + * @return homePageId + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_HOME_PAGE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getHomePageId() { + return homePageId; + } + + @JsonProperty(JSON_PROPERTY_HOME_PAGE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHomePageId(String homePageId) { + this.homePageId = homePageId; + } + + public Application layoutId(String layoutId) { + + this.layoutId = layoutId; + return this; + } + + /** + * id of the layout used by the application + * + * @return layoutId + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LAYOUT_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getLayoutId() { + return layoutId; + } + + @JsonProperty(JSON_PROPERTY_LAYOUT_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLayoutId(String layoutId) { + this.layoutId = layoutId; + } + + public Application themeId(String themeId) { + + this.themeId = themeId; + return this; + } + + /** + * id of the theme used by the application + * + * @return themeId + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_THEME_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getThemeId() { + return themeId; + } + + @JsonProperty(JSON_PROPERTY_THEME_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThemeId(String themeId) { + this.themeId = themeId; + } + @Override public boolean equals(Object o) { if (this == o) { @@ -364,40 +616,52 @@ public boolean equals(Object o) { return false; } Application application = (Application) o; - return Objects.equals(this.createdBy, application.createdBy) && + return Objects.equals(this.link, application.link) && + Objects.equals(this.createdBy, application.createdBy) && Objects.equals(this.creationDate, application.creationDate) && Objects.equals(this.description, application.description) && Objects.equals(this.displayName, application.displayName) && - Objects.equals(this.homePageId, application.homePageId) && Objects.equals(this.id, application.id) && Objects.equals(this.lastUpdateDate, application.lastUpdateDate) && Objects.equals(this.profileId, application.profileId) && Objects.equals(this.token, application.token) && Objects.equals(this.updatedBy, application.updatedBy) && - Objects.equals(this.version, application.version); + Objects.equals(this.version, application.version) && + Objects.equals(this.state, application.state) && + Objects.equals(this.visibility, application.visibility) && + Objects.equals(this.editable, application.editable) && + Objects.equals(this.homePageId, application.homePageId) && + Objects.equals(this.layoutId, application.layoutId) && + Objects.equals(this.themeId, application.themeId); } @Override public int hashCode() { - return Objects.hash(createdBy, creationDate, description, displayName, homePageId, id, lastUpdateDate, - profileId, token, updatedBy, version); + return Objects.hash(link, createdBy, creationDate, description, displayName, id, lastUpdateDate, profileId, + token, updatedBy, version, state, visibility, editable, homePageId, layoutId, themeId); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Application {\n"); + sb.append(" link: ").append(toIndentedString(link)).append("\n"); sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); - sb.append(" homePageId: ").append(toIndentedString(homePageId)).append("\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" lastUpdateDate: ").append(toIndentedString(lastUpdateDate)).append("\n"); sb.append(" profileId: ").append(toIndentedString(profileId)).append("\n"); sb.append(" token: ").append(toIndentedString(token)).append("\n"); sb.append(" updatedBy: ").append(toIndentedString(updatedBy)).append("\n"); sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" visibility: ").append(toIndentedString(visibility)).append("\n"); + sb.append(" editable: ").append(toIndentedString(editable)).append("\n"); + sb.append(" homePageId: ").append(toIndentedString(homePageId)).append("\n"); + sb.append(" layoutId: ").append(toIndentedString(layoutId)).append("\n"); + sb.append(" themeId: ").append(toIndentedString(themeId)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/org/bonitasoft/web/client/model/ApplicationLink.java b/src/main/java/org/bonitasoft/web/client/model/ApplicationLink.java new file mode 100644 index 00000000..315c1d84 --- /dev/null +++ b/src/main/java/org/bonitasoft/web/client/model/ApplicationLink.java @@ -0,0 +1,587 @@ +/** + * Copyright (C) 2024-2023 BonitaSoft S.A. + * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2.0 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package org.bonitasoft.web.client.model; + +import java.io.Serializable; +import java.util.Objects; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Contains the meta information of a Bonita Living Application Link. + */ +@JsonPropertyOrder({ + ApplicationLink.JSON_PROPERTY_CREATED_BY, + ApplicationLink.JSON_PROPERTY_CREATION_DATE, + ApplicationLink.JSON_PROPERTY_DESCRIPTION, + ApplicationLink.JSON_PROPERTY_DISPLAY_NAME, + ApplicationLink.JSON_PROPERTY_ID, + ApplicationLink.JSON_PROPERTY_LAST_UPDATE_DATE, + ApplicationLink.JSON_PROPERTY_PROFILE_ID, + ApplicationLink.JSON_PROPERTY_TOKEN, + ApplicationLink.JSON_PROPERTY_UPDATED_BY, + ApplicationLink.JSON_PROPERTY_VERSION, + ApplicationLink.JSON_PROPERTY_STATE, + ApplicationLink.JSON_PROPERTY_VISIBILITY, + ApplicationLink.JSON_PROPERTY_EDITABLE, + ApplicationLink.JSON_PROPERTY_LINK +}) +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +public class ApplicationLink implements Serializable { + + private static final long serialVersionUID = 1L; + + public static final String JSON_PROPERTY_CREATED_BY = "createdBy"; + private String createdBy; + + public static final String JSON_PROPERTY_CREATION_DATE = "creationDate"; + private String creationDate; + + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + private String description; + + public static final String JSON_PROPERTY_DISPLAY_NAME = "displayName"; + private String displayName; + + public static final String JSON_PROPERTY_ID = "id"; + private String id; + + public static final String JSON_PROPERTY_LAST_UPDATE_DATE = "lastUpdateDate"; + private String lastUpdateDate; + + public static final String JSON_PROPERTY_PROFILE_ID = "profileId"; + private String profileId; + + public static final String JSON_PROPERTY_TOKEN = "token"; + private String token; + + public static final String JSON_PROPERTY_UPDATED_BY = "updatedBy"; + private String updatedBy; + + public static final String JSON_PROPERTY_VERSION = "version"; + private String version; + + /** + * application state + */ + public enum StateEnum { + + ACTIVATED("ACTIVATED"), + + DEACTIVATED("DEACTIVATED"); + + private String value; + + StateEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static StateEnum fromValue(String value) { + for (StateEnum b : StateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_STATE = "state"; + private StateEnum state; + + /** + * visibility of the Application. This value is purely indicative, changing it in the application object won't change the accessibility to the actual + * application. + */ + public enum VisibilityEnum { + + ALL("ALL"), + + TECHNICAL_USER("TECHNICAL_USER"), + + RESTRICTED("RESTRICTED"); + + private String value; + + VisibilityEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static VisibilityEnum fromValue(String value) { + for (VisibilityEnum b : VisibilityEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_VISIBILITY = "visibility"; + private VisibilityEnum visibility; + + public static final String JSON_PROPERTY_EDITABLE = "editable"; + private Boolean editable; + + public static final String JSON_PROPERTY_LINK = "link"; + private Boolean link; + + public ApplicationLink() { + } + + public ApplicationLink createdBy(String createdBy) { + + this.createdBy = createdBy; + return this; + } + + /** + * Author user ID + * + * @return createdBy + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCreatedBy() { + return createdBy; + } + + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedBy(String createdBy) { + this.createdBy = createdBy; + } + + public ApplicationLink creationDate(String creationDate) { + + this.creationDate = creationDate; + return this; + } + + /** + * creation date of the application + * + * @return creationDate + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CREATION_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCreationDate() { + return creationDate; + } + + @JsonProperty(JSON_PROPERTY_CREATION_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreationDate(String creationDate) { + this.creationDate = creationDate; + } + + public ApplicationLink description(String description) { + + this.description = description; + return this; + } + + /** + * description of the application + * + * @return description + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getDescription() { + return description; + } + + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDescription(String description) { + this.description = description; + } + + public ApplicationLink displayName(String displayName) { + + this.displayName = displayName; + return this; + } + + /** + * display name of the application + * + * @return displayName + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DISPLAY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getDisplayName() { + return displayName; + } + + @JsonProperty(JSON_PROPERTY_DISPLAY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public ApplicationLink id(String id) { + + this.id = id; + return this; + } + + /** + * id of the application + * + * @return id + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setId(String id) { + this.id = id; + } + + public ApplicationLink lastUpdateDate(String lastUpdateDate) { + + this.lastUpdateDate = lastUpdateDate; + return this; + } + + /** + * last update date of the application + * + * @return lastUpdateDate + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LAST_UPDATE_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getLastUpdateDate() { + return lastUpdateDate; + } + + @JsonProperty(JSON_PROPERTY_LAST_UPDATE_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLastUpdateDate(String lastUpdateDate) { + this.lastUpdateDate = lastUpdateDate; + } + + public ApplicationLink profileId(String profileId) { + + this.profileId = profileId; + return this; + } + + /** + * profile authorized to access this application + * + * @return profileId + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PROFILE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getProfileId() { + return profileId; + } + + @JsonProperty(JSON_PROPERTY_PROFILE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setProfileId(String profileId) { + this.profileId = profileId; + } + + public ApplicationLink token(String token) { + + this.token = token; + return this; + } + + /** + * token of the application used to build the application URL + * + * @return token + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getToken() { + return token; + } + + @JsonProperty(JSON_PROPERTY_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setToken(String token) { + this.token = token; + } + + public ApplicationLink updatedBy(String updatedBy) { + + this.updatedBy = updatedBy; + return this; + } + + /** + * Last updating user ID + * + * @return updatedBy + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_UPDATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getUpdatedBy() { + return updatedBy; + } + + @JsonProperty(JSON_PROPERTY_UPDATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUpdatedBy(String updatedBy) { + this.updatedBy = updatedBy; + } + + public ApplicationLink version(String version) { + + this.version = version; + return this; + } + + /** + * version of the application + * + * @return version + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VERSION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getVersion() { + return version; + } + + @JsonProperty(JSON_PROPERTY_VERSION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setVersion(String version) { + this.version = version; + } + + public ApplicationLink state(StateEnum state) { + + this.state = state; + return this; + } + + /** + * application state + * + * @return state + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public StateEnum getState() { + return state; + } + + @JsonProperty(JSON_PROPERTY_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setState(StateEnum state) { + this.state = state; + } + + public ApplicationLink visibility(VisibilityEnum visibility) { + + this.visibility = visibility; + return this; + } + + /** + * visibility of the Application. This value is purely indicative, changing it in the application object won't change the accessibility to the actual + * application. + * + * @return visibility + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VISIBILITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public VisibilityEnum getVisibility() { + return visibility; + } + + @JsonProperty(JSON_PROPERTY_VISIBILITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setVisibility(VisibilityEnum visibility) { + this.visibility = visibility; + } + + public ApplicationLink editable(Boolean editable) { + + this.editable = editable; + return this; + } + + /** + * Indicates whether the application can be modified + * + * @return editable + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_EDITABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEditable() { + return editable; + } + + @JsonProperty(JSON_PROPERTY_EDITABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEditable(Boolean editable) { + this.editable = editable; + } + + public ApplicationLink link(Boolean link) { + + this.link = link; + return this; + } + + /** + * true for an application link + * + * @return link + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LINK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getLink() { + return link; + } + + @JsonProperty(JSON_PROPERTY_LINK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLink(Boolean link) { + this.link = link; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ApplicationLink applicationLink = (ApplicationLink) o; + return Objects.equals(this.createdBy, applicationLink.createdBy) && + Objects.equals(this.creationDate, applicationLink.creationDate) && + Objects.equals(this.description, applicationLink.description) && + Objects.equals(this.displayName, applicationLink.displayName) && + Objects.equals(this.id, applicationLink.id) && + Objects.equals(this.lastUpdateDate, applicationLink.lastUpdateDate) && + Objects.equals(this.profileId, applicationLink.profileId) && + Objects.equals(this.token, applicationLink.token) && + Objects.equals(this.updatedBy, applicationLink.updatedBy) && + Objects.equals(this.version, applicationLink.version) && + Objects.equals(this.state, applicationLink.state) && + Objects.equals(this.visibility, applicationLink.visibility) && + Objects.equals(this.editable, applicationLink.editable) && + Objects.equals(this.link, applicationLink.link); + } + + @Override + public int hashCode() { + return Objects.hash(createdBy, creationDate, description, displayName, id, lastUpdateDate, profileId, token, + updatedBy, version, state, visibility, editable, link); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ApplicationLink {\n"); + sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); + sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" lastUpdateDate: ").append(toIndentedString(lastUpdateDate)).append("\n"); + sb.append(" profileId: ").append(toIndentedString(profileId)).append("\n"); + sb.append(" token: ").append(toIndentedString(token)).append("\n"); + sb.append(" updatedBy: ").append(toIndentedString(updatedBy)).append("\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" visibility: ").append(toIndentedString(visibility)).append("\n"); + sb.append(" editable: ").append(toIndentedString(editable)).append("\n"); + sb.append(" link: ").append(toIndentedString(link)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/src/main/java/org/bonitasoft/web/client/model/ApplicationMenu.java b/src/main/java/org/bonitasoft/web/client/model/ApplicationMenu.java index 7d3c20ab..083bb3fe 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ApplicationMenu.java +++ b/src/main/java/org/bonitasoft/web/client/model/ApplicationMenu.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ ApplicationMenu.JSON_PROPERTY_MENU_INDEX, ApplicationMenu.JSON_PROPERTY_DISPLAY_NAME }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ApplicationMenu implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ApplicationMenuCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ApplicationMenuCreateRequest.java index 7bb5cec1..07dc50ad 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ApplicationMenuCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ApplicationMenuCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ ApplicationMenuCreateRequest.JSON_PROPERTY_MENU_INDEX, ApplicationMenuCreateRequest.JSON_PROPERTY_PARENT_MENU_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ApplicationMenuCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ApplicationMenuUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ApplicationMenuUpdateRequest.java index 7275c39e..2bb85951 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ApplicationMenuUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ApplicationMenuUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ ApplicationMenuUpdateRequest.JSON_PROPERTY_MENU_INDEX, ApplicationMenuUpdateRequest.JSON_PROPERTY_DISPLAY_NAME }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ApplicationMenuUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ApplicationPage.java b/src/main/java/org/bonitasoft/web/client/model/ApplicationPage.java index 1a1df10d..1b9c9639 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ApplicationPage.java +++ b/src/main/java/org/bonitasoft/web/client/model/ApplicationPage.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ ApplicationPage.JSON_PROPERTY_APPLICATION_ID, ApplicationPage.JSON_PROPERTY_PAGE_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ApplicationPage implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ApplicationPageCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ApplicationPageCreateRequest.java index 2abe26a5..9c18653c 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ApplicationPageCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ApplicationPageCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ ApplicationPageCreateRequest.JSON_PROPERTY_APPLICATION_ID, ApplicationPageCreateRequest.JSON_PROPERTY_PAGE_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ApplicationPageCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ApplicationUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ApplicationUpdateRequest.java index f2e49336..896a42c2 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ApplicationUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ApplicationUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ ApplicationUpdateRequest.JSON_PROPERTY_THEME_ID, ApplicationUpdateRequest.JSON_PROPERTY_LAYOUT_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ApplicationUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ArchivedActivity.java b/src/main/java/org/bonitasoft/web/client/model/ArchivedActivity.java index dd888abe..c8b333ea 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ArchivedActivity.java +++ b/src/main/java/org/bonitasoft/web/client/model/ArchivedActivity.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -50,7 +50,7 @@ ArchivedActivity.JSON_PROPERTY_SOURCE_OBJECT_ID, ArchivedActivity.JSON_PROPERTY_ARCHIVED_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ArchivedActivity implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ArchivedActivityVariable.java b/src/main/java/org/bonitasoft/web/client/model/ArchivedActivityVariable.java index a797d468..689e0790 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ArchivedActivityVariable.java +++ b/src/main/java/org/bonitasoft/web/client/model/ArchivedActivityVariable.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -37,7 +37,7 @@ ArchivedActivityVariable.JSON_PROPERTY_ARCHIVED_DATE, ArchivedActivityVariable.JSON_PROPERTY_SOURCED_OBJECT_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ArchivedActivityVariable implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ArchivedConnectorInstance.java b/src/main/java/org/bonitasoft/web/client/model/ArchivedConnectorInstance.java index bb80ff03..ad9faa5d 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ArchivedConnectorInstance.java +++ b/src/main/java/org/bonitasoft/web/client/model/ArchivedConnectorInstance.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ ArchivedConnectorInstance.JSON_PROPERTY_VERSION, ArchivedConnectorInstance.JSON_PROPERTY_ARCHIVED_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ArchivedConnectorInstance implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ArchivedFlowNode.java b/src/main/java/org/bonitasoft/web/client/model/ArchivedFlowNode.java index 4b87b008..94934ef3 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ArchivedFlowNode.java +++ b/src/main/java/org/bonitasoft/web/client/model/ArchivedFlowNode.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -52,7 +52,7 @@ ArchivedFlowNode.JSON_PROPERTY_SOURCE_OBJECT_ID, ArchivedFlowNode.JSON_PROPERTY_ARCHIVED_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ArchivedFlowNode implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ArchivedHumanTask.java b/src/main/java/org/bonitasoft/web/client/model/ArchivedHumanTask.java index 8c5d0647..53198570 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ArchivedHumanTask.java +++ b/src/main/java/org/bonitasoft/web/client/model/ArchivedHumanTask.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -52,7 +52,7 @@ ArchivedHumanTask.JSON_PROPERTY_SOURCE_OBJECT_ID, ArchivedHumanTask.JSON_PROPERTY_ARCHIVED_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ArchivedHumanTask implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ArchivedManualTask.java b/src/main/java/org/bonitasoft/web/client/model/ArchivedManualTask.java index 3d23921a..a346e056 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ArchivedManualTask.java +++ b/src/main/java/org/bonitasoft/web/client/model/ArchivedManualTask.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -52,7 +52,7 @@ ArchivedManualTask.JSON_PROPERTY_SOURCE_OBJECT_ID, ArchivedManualTask.JSON_PROPERTY_ARCHIVED_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ArchivedManualTask implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstance.java b/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstance.java index 885ce9a8..f2575c00 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstance.java +++ b/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstance.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -53,7 +53,7 @@ ArchivedProcessInstance.JSON_PROPERTY_SOURCE_OBJECT_ID, ArchivedProcessInstance.JSON_PROPERTY_ARCHIVED_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ArchivedProcessInstance implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstanceComment.java b/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstanceComment.java index c2ec9607..c552a439 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstanceComment.java +++ b/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstanceComment.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ ArchivedProcessInstanceComment.JSON_PROPERTY_USER_ID, ArchivedProcessInstanceComment.JSON_PROPERTY_ARCHIVED_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ArchivedProcessInstanceComment implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstanceDocument.java b/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstanceDocument.java index 4824cde9..4149cbe2 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstanceDocument.java +++ b/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstanceDocument.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -44,7 +44,7 @@ ArchivedProcessInstanceDocument.JSON_PROPERTY_SOURCE_OBJECT_ID, ArchivedProcessInstanceDocument.JSON_PROPERTY_ARCHIVED_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ArchivedProcessInstanceDocument implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstanceVariable.java b/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstanceVariable.java index b290a1ad..d5fc6f63 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstanceVariable.java +++ b/src/main/java/org/bonitasoft/web/client/model/ArchivedProcessInstanceVariable.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ ArchivedProcessInstanceVariable.JSON_PROPERTY_ARCHIVED_DATE, ArchivedProcessInstanceVariable.JSON_PROPERTY_SOURCED_OBJECT_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ArchivedProcessInstanceVariable implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ArchivedTask.java b/src/main/java/org/bonitasoft/web/client/model/ArchivedTask.java index 397402bb..54ac3368 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ArchivedTask.java +++ b/src/main/java/org/bonitasoft/web/client/model/ArchivedTask.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -52,7 +52,7 @@ ArchivedTask.JSON_PROPERTY_SOURCE_OBJECT_ID, ArchivedTask.JSON_PROPERTY_ARCHIVED_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ArchivedTask implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ArchivedUserTask.java b/src/main/java/org/bonitasoft/web/client/model/ArchivedUserTask.java index 10ffb2bd..778e7b38 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ArchivedUserTask.java +++ b/src/main/java/org/bonitasoft/web/client/model/ArchivedUserTask.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -52,7 +52,7 @@ ArchivedUserTask.JSON_PROPERTY_SOURCE_OBJECT_ID, ArchivedUserTask.JSON_PROPERTY_ARCHIVED_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ArchivedUserTask implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/BDMAccessControl.java b/src/main/java/org/bonitasoft/web/client/model/BDMAccessControl.java index 096a4314..74585d65 100644 --- a/src/main/java/org/bonitasoft/web/client/model/BDMAccessControl.java +++ b/src/main/java/org/bonitasoft/web/client/model/BDMAccessControl.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ BDMAccessControl.JSON_PROPERTY_LAST_UPDATED_BY, BDMAccessControl.JSON_PROPERTY_LAST_UPDATE_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class BDMAccessControl implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/BDMInstallRequest.java b/src/main/java/org/bonitasoft/web/client/model/BDMInstallRequest.java index f681465f..3008c557 100644 --- a/src/main/java/org/bonitasoft/web/client/model/BDMInstallRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/BDMInstallRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ @JsonPropertyOrder({ BDMInstallRequest.JSON_PROPERTY_FILE_UPLOAD }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class BDMInstallRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Bdm.java b/src/main/java/org/bonitasoft/web/client/model/Bdm.java index 3807976c..326c46b8 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Bdm.java +++ b/src/main/java/org/bonitasoft/web/client/model/Bdm.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ Bdm.JSON_PROPERTY_LAST_UPDATED_BY, Bdm.JSON_PROPERTY_LAST_UPDATE_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Bdm implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/BusinessData.java b/src/main/java/org/bonitasoft/web/client/model/BusinessData.java index 4c880517..2bee9c1e 100644 --- a/src/main/java/org/bonitasoft/web/client/model/BusinessData.java +++ b/src/main/java/org/bonitasoft/web/client/model/BusinessData.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -40,7 +40,7 @@ BusinessData.JSON_PROPERTY_PERSISTENCE_ID_STRING, BusinessData.JSON_PROPERTY_PERSISTENCE_VERSION_STRING }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class BusinessData extends HashMap implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ConfigurationState.java b/src/main/java/org/bonitasoft/web/client/model/ConfigurationState.java index d77c836b..b529a4b4 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ConfigurationState.java +++ b/src/main/java/org/bonitasoft/web/client/model/ConfigurationState.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/java/org/bonitasoft/web/client/model/ConnectorFailure.java b/src/main/java/org/bonitasoft/web/client/model/ConnectorFailure.java index 4762eeb7..97ea9887 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ConnectorFailure.java +++ b/src/main/java/org/bonitasoft/web/client/model/ConnectorFailure.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ ConnectorFailure.JSON_PROPERTY_CONNECTOR_INSTANCE_ID, ConnectorFailure.JSON_PROPERTY_ERROR_STACK_TRACE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ConnectorFailure implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ConnectorInstance.java b/src/main/java/org/bonitasoft/web/client/model/ConnectorInstance.java index e6961b58..e4b929d1 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ConnectorInstance.java +++ b/src/main/java/org/bonitasoft/web/client/model/ConnectorInstance.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -38,7 +38,7 @@ ConnectorInstance.JSON_PROPERTY_CONTAINER_ID, ConnectorInstance.JSON_PROPERTY_VERSION }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ConnectorInstance implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Contract.java b/src/main/java/org/bonitasoft/web/client/model/Contract.java index 5efe02dc..d8c44862 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Contract.java +++ b/src/main/java/org/bonitasoft/web/client/model/Contract.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,16 +32,16 @@ Contract.JSON_PROPERTY_CONSTRAINTS, Contract.JSON_PROPERTY_INPUTS }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Contract implements Serializable { private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CONSTRAINTS = "constraints"; - private List constraints; + private List constraints = new ArrayList<>(); public static final String JSON_PROPERTY_INPUTS = "inputs"; - private List inputs; + private List inputs = new ArrayList<>(); public Contract() { } diff --git a/src/main/java/org/bonitasoft/web/client/model/ContractConstraint.java b/src/main/java/org/bonitasoft/web/client/model/ContractConstraint.java index a61bace9..85dbeeab 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ContractConstraint.java +++ b/src/main/java/org/bonitasoft/web/client/model/ContractConstraint.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ ContractConstraint.JSON_PROPERTY_EXPLANATION, ContractConstraint.JSON_PROPERTY_INPUT_NAMES }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ContractConstraint implements Serializable { private static final long serialVersionUID = 1L; @@ -49,7 +49,7 @@ public class ContractConstraint implements Serializable { private String explanation; public static final String JSON_PROPERTY_INPUT_NAMES = "inputNames"; - private List inputNames; + private List inputNames = new ArrayList<>(); public ContractConstraint() { } diff --git a/src/main/java/org/bonitasoft/web/client/model/ContractInput.java b/src/main/java/org/bonitasoft/web/client/model/ContractInput.java index f751363a..d6ba0fca 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ContractInput.java +++ b/src/main/java/org/bonitasoft/web/client/model/ContractInput.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ ContractInput.JSON_PROPERTY_TYPE, ContractInput.JSON_PROPERTY_INPUTS }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ContractInput implements Serializable { private static final long serialVersionUID = 1L; @@ -53,7 +53,7 @@ public class ContractInput implements Serializable { private ContractInputType type; public static final String JSON_PROPERTY_INPUTS = "inputs"; - private List inputs; + private List inputs = new ArrayList<>(); public ContractInput() { } diff --git a/src/main/java/org/bonitasoft/web/client/model/ContractInputType.java b/src/main/java/org/bonitasoft/web/client/model/ContractInputType.java index 6c033c26..7f374155 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ContractInputType.java +++ b/src/main/java/org/bonitasoft/web/client/model/ContractInputType.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/java/org/bonitasoft/web/client/model/CreateApplicationRequest.java b/src/main/java/org/bonitasoft/web/client/model/CreateApplicationRequest.java index 82eb98fa..31491a9d 100644 --- a/src/main/java/org/bonitasoft/web/client/model/CreateApplicationRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/CreateApplicationRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ CreateApplicationRequest.JSON_PROPERTY_TOKEN, CreateApplicationRequest.JSON_PROPERTY_VERSION }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class CreateApplicationRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/CustomUser.java b/src/main/java/org/bonitasoft/web/client/model/CustomUser.java index 669cff14..811a067c 100644 --- a/src/main/java/org/bonitasoft/web/client/model/CustomUser.java +++ b/src/main/java/org/bonitasoft/web/client/model/CustomUser.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ CustomUser.JSON_PROPERTY_VALUE, CustomUser.JSON_PROPERTY_DEFINITION_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class CustomUser implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/CustomUserDefinition.java b/src/main/java/org/bonitasoft/web/client/model/CustomUserDefinition.java index 56665184..c1286399 100644 --- a/src/main/java/org/bonitasoft/web/client/model/CustomUserDefinition.java +++ b/src/main/java/org/bonitasoft/web/client/model/CustomUserDefinition.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ CustomUserDefinition.JSON_PROPERTY_DESCRIPTION, CustomUserDefinition.JSON_PROPERTY_NAME }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class CustomUserDefinition implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/CustomUserDefinitionCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/CustomUserDefinitionCreateRequest.java index 89234581..94008863 100644 --- a/src/main/java/org/bonitasoft/web/client/model/CustomUserDefinitionCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/CustomUserDefinitionCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ CustomUserDefinitionCreateRequest.JSON_PROPERTY_NAME, CustomUserDefinitionCreateRequest.JSON_PROPERTY_DESCRIPTION }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class CustomUserDefinitionCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/CustomUserValue.java b/src/main/java/org/bonitasoft/web/client/model/CustomUserValue.java index e20d2568..ac0f5664 100644 --- a/src/main/java/org/bonitasoft/web/client/model/CustomUserValue.java +++ b/src/main/java/org/bonitasoft/web/client/model/CustomUserValue.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ CustomUserValue.JSON_PROPERTY_VALUE, CustomUserValue.JSON_PROPERTY_DEFINITION_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class CustomUserValue implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/CustomUserValueUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/CustomUserValueUpdateRequest.java index 17743776..10e65811 100644 --- a/src/main/java/org/bonitasoft/web/client/model/CustomUserValueUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/CustomUserValueUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ @JsonPropertyOrder({ CustomUserValueUpdateRequest.JSON_PROPERTY_VALUE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class CustomUserValueUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/DesignProcessDefinition.java b/src/main/java/org/bonitasoft/web/client/model/DesignProcessDefinition.java index 753fd8a9..c106efdb 100644 --- a/src/main/java/org/bonitasoft/web/client/model/DesignProcessDefinition.java +++ b/src/main/java/org/bonitasoft/web/client/model/DesignProcessDefinition.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -40,7 +40,7 @@ DesignProcessDefinition.JSON_PROPERTY_CONTRACT, DesignProcessDefinition.JSON_PROPERTY_CONTEXT }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class DesignProcessDefinition implements Serializable { private static final long serialVersionUID = 1L; @@ -55,25 +55,25 @@ public class DesignProcessDefinition implements Serializable { private FlowElementContainerDefinition flowElementContainer; public static final String JSON_PROPERTY_PARAMETERS = "parameters"; - private List parameters; + private List parameters = new ArrayList<>(); public static final String JSON_PROPERTY_ACTORS_LIST = "actorsList"; - private List actorsList; + private List actorsList = new ArrayList<>(); public static final String JSON_PROPERTY_ACTOR_INITIATOR = "actorInitiator"; private ActorDefinition actorInitiator; public static final String JSON_PROPERTY_STRING_INDEX_LABELS = "stringIndexLabels"; - private List stringIndexLabels; + private List stringIndexLabels = new ArrayList<>(); public static final String JSON_PROPERTY_STRING_INDEX_VALUES = "stringIndexValues"; - private List stringIndexValues; + private List stringIndexValues = new ArrayList<>(); public static final String JSON_PROPERTY_CONTRACT = "contract"; private Contract contract; public static final String JSON_PROPERTY_CONTEXT = "context"; - private List context; + private List context = new ArrayList<>(); public DesignProcessDefinition() { } diff --git a/src/main/java/org/bonitasoft/web/client/model/DesignProcessDefinitionContext.java b/src/main/java/org/bonitasoft/web/client/model/DesignProcessDefinitionContext.java index 1acf4976..a163fddf 100644 --- a/src/main/java/org/bonitasoft/web/client/model/DesignProcessDefinitionContext.java +++ b/src/main/java/org/bonitasoft/web/client/model/DesignProcessDefinitionContext.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ DesignProcessDefinitionContext.JSON_PROPERTY_KEY, DesignProcessDefinitionContext.JSON_PROPERTY_EXPRESSION }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class DesignProcessDefinitionContext implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/DesignProcessDefinitionParamater.java b/src/main/java/org/bonitasoft/web/client/model/DesignProcessDefinitionParamater.java index 0944bcb6..4bdbfc7c 100644 --- a/src/main/java/org/bonitasoft/web/client/model/DesignProcessDefinitionParamater.java +++ b/src/main/java/org/bonitasoft/web/client/model/DesignProcessDefinitionParamater.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ DesignProcessDefinitionParamater.JSON_PROPERTY_DESCRIPTION, DesignProcessDefinitionParamater.JSON_PROPERTY_NAME }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class DesignProcessDefinitionParamater implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Error.java b/src/main/java/org/bonitasoft/web/client/model/Error.java index 83235781..a7dc75f9 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Error.java +++ b/src/main/java/org/bonitasoft/web/client/model/Error.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -37,7 +37,7 @@ Error.JSON_PROPERTY_EXCEPTION, Error.JSON_PROPERTY_EXPLANATIONS }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Error extends HashMap implements Serializable { private static final long serialVersionUID = 1L; @@ -49,7 +49,7 @@ public class Error extends HashMap implements Serializable { private String exception; public static final String JSON_PROPERTY_EXPLANATIONS = "explanations"; - private List explanations; + private List explanations = new ArrayList<>(); public Error() { diff --git a/src/main/java/org/bonitasoft/web/client/model/Expression.java b/src/main/java/org/bonitasoft/web/client/model/Expression.java index c78af0b6..88ff6ba2 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Expression.java +++ b/src/main/java/org/bonitasoft/web/client/model/Expression.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -37,7 +37,7 @@ Expression.JSON_PROPERTY_INTERPRETER, Expression.JSON_PROPERTY_DEPENDENCIES }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Expression implements Serializable { private static final long serialVersionUID = 1L; @@ -61,7 +61,7 @@ public class Expression implements Serializable { private String interpreter; public static final String JSON_PROPERTY_DEPENDENCIES = "dependencies"; - private List dependencies; + private List dependencies = new ArrayList<>(); public Expression() { } diff --git a/src/main/java/org/bonitasoft/web/client/model/FlowElementContainerDefinition.java b/src/main/java/org/bonitasoft/web/client/model/FlowElementContainerDefinition.java index a2ac50e2..7b76230e 100644 --- a/src/main/java/org/bonitasoft/web/client/model/FlowElementContainerDefinition.java +++ b/src/main/java/org/bonitasoft/web/client/model/FlowElementContainerDefinition.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -43,46 +43,46 @@ FlowElementContainerDefinition.JSON_PROPERTY_BUSINESS_DATA_DEFINITIONS, FlowElementContainerDefinition.JSON_PROPERTY_DOCUMENT_LIST_DEFINITIONS }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class FlowElementContainerDefinition implements Serializable { private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ACTIVITIES = "activities"; - private List> activities; + private List> activities = new ArrayList<>(); public static final String JSON_PROPERTY_TRANSITIONS = "transitions"; - private List> transitions; + private List> transitions = new ArrayList<>(); public static final String JSON_PROPERTY_GATEWAYS_LIST = "gatewaysList"; - private List> gatewaysList; + private List> gatewaysList = new ArrayList<>(); public static final String JSON_PROPERTY_START_EVENTS = "startEvents"; - private List> startEvents; + private List> startEvents = new ArrayList<>(); public static final String JSON_PROPERTY_INTERMEDIATE_CATCH_EVENTS = "intermediateCatchEvents"; - private List> intermediateCatchEvents; + private List> intermediateCatchEvents = new ArrayList<>(); public static final String JSON_PROPERTY_INTERMEDIATE_THROW_EVENTS = "intermediateThrowEvents"; - private List> intermediateThrowEvents; + private List> intermediateThrowEvents = new ArrayList<>(); public static final String JSON_PROPERTY_END_EVENTS = "endEvents"; - private List> endEvents; + private List> endEvents = new ArrayList<>(); public static final String JSON_PROPERTY_DATA_DEFINITIONS = "dataDefinitions"; - private List> dataDefinitions; + private List> dataDefinitions = new ArrayList<>(); public static final String JSON_PROPERTY_DOCUMENT_DEFINITIONS = "documentDefinitions"; - private List> documentDefinitions; + private List> documentDefinitions = new ArrayList<>(); public static final String JSON_PROPERTY_CONNECTORS = "connectors"; - private List> connectors; + private List> connectors = new ArrayList<>(); public static final String JSON_PROPERTY_BUSINESS_DATA_DEFINITIONS = "businessDataDefinitions"; - private List> businessDataDefinitions; + private List> businessDataDefinitions = new ArrayList<>(); public static final String JSON_PROPERTY_DOCUMENT_LIST_DEFINITIONS = "documentListDefinitions"; - private List> documentListDefinitions; + private List> documentListDefinitions = new ArrayList<>(); public FlowElementContainerDefinition() { } diff --git a/src/main/java/org/bonitasoft/web/client/model/FlowNode.java b/src/main/java/org/bonitasoft/web/client/model/FlowNode.java index 5152ac1a..8ee20664 100644 --- a/src/main/java/org/bonitasoft/web/client/model/FlowNode.java +++ b/src/main/java/org/bonitasoft/web/client/model/FlowNode.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -50,7 +50,7 @@ FlowNode.JSON_PROPERTY_LAST_UPDATE_DATE, FlowNode.JSON_PROPERTY_PARENT_TASK_ID_DOUBLE_QUOTE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class FlowNode implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/FlowNodeUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/FlowNodeUpdateRequest.java index 4514c8ae..507736eb 100644 --- a/src/main/java/org/bonitasoft/web/client/model/FlowNodeUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/FlowNodeUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ @JsonPropertyOrder({ FlowNodeUpdateRequest.JSON_PROPERTY_STATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class FlowNodeUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/FormMapping.java b/src/main/java/org/bonitasoft/web/client/model/FormMapping.java index d6e7992a..35516b0d 100644 --- a/src/main/java/org/bonitasoft/web/client/model/FormMapping.java +++ b/src/main/java/org/bonitasoft/web/client/model/FormMapping.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -41,7 +41,7 @@ FormMapping.JSON_PROPERTY_LAST_UPDATE_DATE, FormMapping.JSON_PROPERTY_URL }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class FormMapping implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/FormMappingUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/FormMappingUpdateRequest.java index 0182db65..efca4050 100644 --- a/src/main/java/org/bonitasoft/web/client/model/FormMappingUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/FormMappingUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ FormMappingUpdateRequest.JSON_PROPERTY_PAGE_ID, FormMappingUpdateRequest.JSON_PROPERTY_URL }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class FormMappingUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Group.java b/src/main/java/org/bonitasoft/web/client/model/Group.java index 7d98724a..ead515e0 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Group.java +++ b/src/main/java/org/bonitasoft/web/client/model/Group.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ Group.JSON_PROPERTY_LAST_UPDATE_DATE, Group.JSON_PROPERTY_ICON }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Group implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/GroupCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/GroupCreateRequest.java index 4f5640b5..d16e156b 100644 --- a/src/main/java/org/bonitasoft/web/client/model/GroupCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/GroupCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ GroupCreateRequest.JSON_PROPERTY_DESCRIPTION, GroupCreateRequest.JSON_PROPERTY_ICON }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class GroupCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/GroupUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/GroupUpdateRequest.java index ac2fc560..89a401ca 100644 --- a/src/main/java/org/bonitasoft/web/client/model/GroupUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/GroupUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ GroupUpdateRequest.JSON_PROPERTY_DESCRIPTION, GroupUpdateRequest.JSON_PROPERTY_ICON }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class GroupUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/HumanTask.java b/src/main/java/org/bonitasoft/web/client/model/HumanTask.java index 1d8a8386..9b8cc7fc 100644 --- a/src/main/java/org/bonitasoft/web/client/model/HumanTask.java +++ b/src/main/java/org/bonitasoft/web/client/model/HumanTask.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -50,7 +50,7 @@ HumanTask.JSON_PROPERTY_ASSIGNED_DATE, HumanTask.JSON_PROPERTY_IS_TERMINAL }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class HumanTask implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/HumanTaskUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/HumanTaskUpdateRequest.java index 55b8dd3a..c1ac290b 100644 --- a/src/main/java/org/bonitasoft/web/client/model/HumanTaskUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/HumanTaskUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ HumanTaskUpdateRequest.JSON_PROPERTY_ASSIGNED_ID, HumanTaskUpdateRequest.JSON_PROPERTY_STATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class HumanTaskUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/I18nlocale.java b/src/main/java/org/bonitasoft/web/client/model/I18nlocale.java index 6e8966dd..c551fd40 100644 --- a/src/main/java/org/bonitasoft/web/client/model/I18nlocale.java +++ b/src/main/java/org/bonitasoft/web/client/model/I18nlocale.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ I18nlocale.JSON_PROPERTY_NAME, I18nlocale.JSON_PROPERTY_LOCALE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class I18nlocale implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/LegacyApplication.java b/src/main/java/org/bonitasoft/web/client/model/LegacyApplication.java new file mode 100644 index 00000000..8c009b17 --- /dev/null +++ b/src/main/java/org/bonitasoft/web/client/model/LegacyApplication.java @@ -0,0 +1,680 @@ +/** + * Copyright (C) 2024-2023 BonitaSoft S.A. + * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2.0 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package org.bonitasoft.web.client.model; + +import java.io.Serializable; +import java.util.Objects; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Contains the meta information of a legacy Bonita Living Application. + */ +@JsonPropertyOrder({ + LegacyApplication.JSON_PROPERTY_CREATED_BY, + LegacyApplication.JSON_PROPERTY_CREATION_DATE, + LegacyApplication.JSON_PROPERTY_DESCRIPTION, + LegacyApplication.JSON_PROPERTY_DISPLAY_NAME, + LegacyApplication.JSON_PROPERTY_ID, + LegacyApplication.JSON_PROPERTY_LAST_UPDATE_DATE, + LegacyApplication.JSON_PROPERTY_PROFILE_ID, + LegacyApplication.JSON_PROPERTY_TOKEN, + LegacyApplication.JSON_PROPERTY_UPDATED_BY, + LegacyApplication.JSON_PROPERTY_VERSION, + LegacyApplication.JSON_PROPERTY_STATE, + LegacyApplication.JSON_PROPERTY_VISIBILITY, + LegacyApplication.JSON_PROPERTY_EDITABLE, + LegacyApplication.JSON_PROPERTY_LINK, + LegacyApplication.JSON_PROPERTY_HOME_PAGE_ID, + LegacyApplication.JSON_PROPERTY_LAYOUT_ID, + LegacyApplication.JSON_PROPERTY_THEME_ID +}) +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") +public class LegacyApplication implements Serializable { + + private static final long serialVersionUID = 1L; + + public static final String JSON_PROPERTY_CREATED_BY = "createdBy"; + private String createdBy; + + public static final String JSON_PROPERTY_CREATION_DATE = "creationDate"; + private String creationDate; + + public static final String JSON_PROPERTY_DESCRIPTION = "description"; + private String description; + + public static final String JSON_PROPERTY_DISPLAY_NAME = "displayName"; + private String displayName; + + public static final String JSON_PROPERTY_ID = "id"; + private String id; + + public static final String JSON_PROPERTY_LAST_UPDATE_DATE = "lastUpdateDate"; + private String lastUpdateDate; + + public static final String JSON_PROPERTY_PROFILE_ID = "profileId"; + private String profileId; + + public static final String JSON_PROPERTY_TOKEN = "token"; + private String token; + + public static final String JSON_PROPERTY_UPDATED_BY = "updatedBy"; + private String updatedBy; + + public static final String JSON_PROPERTY_VERSION = "version"; + private String version; + + /** + * application state + */ + public enum StateEnum { + + ACTIVATED("ACTIVATED"), + + DEACTIVATED("DEACTIVATED"); + + private String value; + + StateEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static StateEnum fromValue(String value) { + for (StateEnum b : StateEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_STATE = "state"; + private StateEnum state; + + /** + * visibility of the Application. This value is purely indicative, changing it in the application object won't change the accessibility to the actual + * application. + */ + public enum VisibilityEnum { + + ALL("ALL"), + + TECHNICAL_USER("TECHNICAL_USER"), + + RESTRICTED("RESTRICTED"); + + private String value; + + VisibilityEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static VisibilityEnum fromValue(String value) { + for (VisibilityEnum b : VisibilityEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + + public static final String JSON_PROPERTY_VISIBILITY = "visibility"; + private VisibilityEnum visibility; + + public static final String JSON_PROPERTY_EDITABLE = "editable"; + private Boolean editable; + + public static final String JSON_PROPERTY_LINK = "link"; + private Boolean link; + + public static final String JSON_PROPERTY_HOME_PAGE_ID = "homePageId"; + private String homePageId; + + public static final String JSON_PROPERTY_LAYOUT_ID = "layoutId"; + private String layoutId; + + public static final String JSON_PROPERTY_THEME_ID = "themeId"; + private String themeId; + + public LegacyApplication() { + } + + public LegacyApplication createdBy(String createdBy) { + + this.createdBy = createdBy; + return this; + } + + /** + * Author user ID + * + * @return createdBy + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCreatedBy() { + return createdBy; + } + + @JsonProperty(JSON_PROPERTY_CREATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreatedBy(String createdBy) { + this.createdBy = createdBy; + } + + public LegacyApplication creationDate(String creationDate) { + + this.creationDate = creationDate; + return this; + } + + /** + * creation date of the application + * + * @return creationDate + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_CREATION_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getCreationDate() { + return creationDate; + } + + @JsonProperty(JSON_PROPERTY_CREATION_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setCreationDate(String creationDate) { + this.creationDate = creationDate; + } + + public LegacyApplication description(String description) { + + this.description = description; + return this; + } + + /** + * description of the application + * + * @return description + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getDescription() { + return description; + } + + @JsonProperty(JSON_PROPERTY_DESCRIPTION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDescription(String description) { + this.description = description; + } + + public LegacyApplication displayName(String displayName) { + + this.displayName = displayName; + return this; + } + + /** + * display name of the application + * + * @return displayName + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_DISPLAY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getDisplayName() { + return displayName; + } + + @JsonProperty(JSON_PROPERTY_DISPLAY_NAME) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public LegacyApplication id(String id) { + + this.id = id; + return this; + } + + /** + * id of the application + * + * @return id + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getId() { + return id; + } + + @JsonProperty(JSON_PROPERTY_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setId(String id) { + this.id = id; + } + + public LegacyApplication lastUpdateDate(String lastUpdateDate) { + + this.lastUpdateDate = lastUpdateDate; + return this; + } + + /** + * last update date of the application + * + * @return lastUpdateDate + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LAST_UPDATE_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getLastUpdateDate() { + return lastUpdateDate; + } + + @JsonProperty(JSON_PROPERTY_LAST_UPDATE_DATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLastUpdateDate(String lastUpdateDate) { + this.lastUpdateDate = lastUpdateDate; + } + + public LegacyApplication profileId(String profileId) { + + this.profileId = profileId; + return this; + } + + /** + * profile authorized to access this application + * + * @return profileId + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_PROFILE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getProfileId() { + return profileId; + } + + @JsonProperty(JSON_PROPERTY_PROFILE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setProfileId(String profileId) { + this.profileId = profileId; + } + + public LegacyApplication token(String token) { + + this.token = token; + return this; + } + + /** + * token of the application used to build the application URL + * + * @return token + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getToken() { + return token; + } + + @JsonProperty(JSON_PROPERTY_TOKEN) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setToken(String token) { + this.token = token; + } + + public LegacyApplication updatedBy(String updatedBy) { + + this.updatedBy = updatedBy; + return this; + } + + /** + * Last updating user ID + * + * @return updatedBy + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_UPDATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getUpdatedBy() { + return updatedBy; + } + + @JsonProperty(JSON_PROPERTY_UPDATED_BY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setUpdatedBy(String updatedBy) { + this.updatedBy = updatedBy; + } + + public LegacyApplication version(String version) { + + this.version = version; + return this; + } + + /** + * version of the application + * + * @return version + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VERSION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getVersion() { + return version; + } + + @JsonProperty(JSON_PROPERTY_VERSION) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setVersion(String version) { + this.version = version; + } + + public LegacyApplication state(StateEnum state) { + + this.state = state; + return this; + } + + /** + * application state + * + * @return state + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public StateEnum getState() { + return state; + } + + @JsonProperty(JSON_PROPERTY_STATE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setState(StateEnum state) { + this.state = state; + } + + public LegacyApplication visibility(VisibilityEnum visibility) { + + this.visibility = visibility; + return this; + } + + /** + * visibility of the Application. This value is purely indicative, changing it in the application object won't change the accessibility to the actual + * application. + * + * @return visibility + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_VISIBILITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public VisibilityEnum getVisibility() { + return visibility; + } + + @JsonProperty(JSON_PROPERTY_VISIBILITY) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setVisibility(VisibilityEnum visibility) { + this.visibility = visibility; + } + + public LegacyApplication editable(Boolean editable) { + + this.editable = editable; + return this; + } + + /** + * Indicates whether the application can be modified + * + * @return editable + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_EDITABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getEditable() { + return editable; + } + + @JsonProperty(JSON_PROPERTY_EDITABLE) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setEditable(Boolean editable) { + this.editable = editable; + } + + public LegacyApplication link(Boolean link) { + + this.link = link; + return this; + } + + /** + * false for a legacy application + * + * @return link + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LINK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getLink() { + return link; + } + + @JsonProperty(JSON_PROPERTY_LINK) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLink(Boolean link) { + this.link = link; + } + + public LegacyApplication homePageId(String homePageId) { + + this.homePageId = homePageId; + return this; + } + + /** + * id of the application page used as the home page + * + * @return homePageId + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_HOME_PAGE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getHomePageId() { + return homePageId; + } + + @JsonProperty(JSON_PROPERTY_HOME_PAGE_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setHomePageId(String homePageId) { + this.homePageId = homePageId; + } + + public LegacyApplication layoutId(String layoutId) { + + this.layoutId = layoutId; + return this; + } + + /** + * id of the layout used by the application + * + * @return layoutId + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_LAYOUT_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getLayoutId() { + return layoutId; + } + + @JsonProperty(JSON_PROPERTY_LAYOUT_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setLayoutId(String layoutId) { + this.layoutId = layoutId; + } + + public LegacyApplication themeId(String themeId) { + + this.themeId = themeId; + return this; + } + + /** + * id of the theme used by the application + * + * @return themeId + **/ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_THEME_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public String getThemeId() { + return themeId; + } + + @JsonProperty(JSON_PROPERTY_THEME_ID) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setThemeId(String themeId) { + this.themeId = themeId; + } + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + LegacyApplication legacyApplication = (LegacyApplication) o; + return Objects.equals(this.createdBy, legacyApplication.createdBy) && + Objects.equals(this.creationDate, legacyApplication.creationDate) && + Objects.equals(this.description, legacyApplication.description) && + Objects.equals(this.displayName, legacyApplication.displayName) && + Objects.equals(this.id, legacyApplication.id) && + Objects.equals(this.lastUpdateDate, legacyApplication.lastUpdateDate) && + Objects.equals(this.profileId, legacyApplication.profileId) && + Objects.equals(this.token, legacyApplication.token) && + Objects.equals(this.updatedBy, legacyApplication.updatedBy) && + Objects.equals(this.version, legacyApplication.version) && + Objects.equals(this.state, legacyApplication.state) && + Objects.equals(this.visibility, legacyApplication.visibility) && + Objects.equals(this.editable, legacyApplication.editable) && + Objects.equals(this.link, legacyApplication.link) && + Objects.equals(this.homePageId, legacyApplication.homePageId) && + Objects.equals(this.layoutId, legacyApplication.layoutId) && + Objects.equals(this.themeId, legacyApplication.themeId); + } + + @Override + public int hashCode() { + return Objects.hash(createdBy, creationDate, description, displayName, id, lastUpdateDate, profileId, token, + updatedBy, version, state, visibility, editable, link, homePageId, layoutId, themeId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class LegacyApplication {\n"); + sb.append(" createdBy: ").append(toIndentedString(createdBy)).append("\n"); + sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); + sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" lastUpdateDate: ").append(toIndentedString(lastUpdateDate)).append("\n"); + sb.append(" profileId: ").append(toIndentedString(profileId)).append("\n"); + sb.append(" token: ").append(toIndentedString(token)).append("\n"); + sb.append(" updatedBy: ").append(toIndentedString(updatedBy)).append("\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" visibility: ").append(toIndentedString(visibility)).append("\n"); + sb.append(" editable: ").append(toIndentedString(editable)).append("\n"); + sb.append(" link: ").append(toIndentedString(link)).append("\n"); + sb.append(" homePageId: ").append(toIndentedString(homePageId)).append("\n"); + sb.append(" layoutId: ").append(toIndentedString(layoutId)).append("\n"); + sb.append(" themeId: ").append(toIndentedString(themeId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} diff --git a/src/main/java/org/bonitasoft/web/client/model/License.java b/src/main/java/org/bonitasoft/web/client/model/License.java index 7156a7d5..f79c7b12 100644 --- a/src/main/java/org/bonitasoft/web/client/model/License.java +++ b/src/main/java/org/bonitasoft/web/client/model/License.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ License.JSON_PROPERTY_NB_CPU_CORES, License.JSON_PROPERTY_EXPIRATION_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class License implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/MaintenanceDetails.java b/src/main/java/org/bonitasoft/web/client/model/MaintenanceDetails.java index 0ddb7419..a836bdc9 100644 --- a/src/main/java/org/bonitasoft/web/client/model/MaintenanceDetails.java +++ b/src/main/java/org/bonitasoft/web/client/model/MaintenanceDetails.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ MaintenanceDetails.JSON_PROPERTY_MAINTENANCE_MESSAGE, MaintenanceDetails.JSON_PROPERTY_MAINTENANCE_MESSAGE_ACTIVE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class MaintenanceDetails implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ManualTask.java b/src/main/java/org/bonitasoft/web/client/model/ManualTask.java index 2136c8d9..cb810d8f 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ManualTask.java +++ b/src/main/java/org/bonitasoft/web/client/model/ManualTask.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -50,7 +50,7 @@ ManualTask.JSON_PROPERTY_ASSIGNED_DATE, ManualTask.JSON_PROPERTY_IS_TERMINAL }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ManualTask implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ManualTaskCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ManualTaskCreateRequest.java index 93350e52..02150827 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ManualTaskCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ManualTaskCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ ManualTaskCreateRequest.JSON_PROPERTY_DUE_DATE, ManualTaskCreateRequest.JSON_PROPERTY_ASSIGNED_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ManualTaskCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ManualTaskUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ManualTaskUpdateRequest.java index 34825f04..51f6af98 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ManualTaskUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ManualTaskUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ ManualTaskUpdateRequest.JSON_PROPERTY_STATE, ManualTaskUpdateRequest.JSON_PROPERTY_EXECUTED_BY }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ManualTaskUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Membership.java b/src/main/java/org/bonitasoft/web/client/model/Membership.java index 14d7d6d8..0b168671 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Membership.java +++ b/src/main/java/org/bonitasoft/web/client/model/Membership.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ Membership.JSON_PROPERTY_GROUP_ID, Membership.JSON_PROPERTY_USER_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Membership implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/MembershipCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/MembershipCreateRequest.java index d20910e8..f3b2c82c 100644 --- a/src/main/java/org/bonitasoft/web/client/model/MembershipCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/MembershipCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ MembershipCreateRequest.JSON_PROPERTY_GROUP_ID, MembershipCreateRequest.JSON_PROPERTY_USER_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class MembershipCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Message.java b/src/main/java/org/bonitasoft/web/client/model/Message.java index 056cd0bf..d8079049 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Message.java +++ b/src/main/java/org/bonitasoft/web/client/model/Message.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -36,7 +36,7 @@ Message.JSON_PROPERTY_MESSAGE_CONTENT, Message.JSON_PROPERTY_CORRELATIONS }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Message implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/MessageMessageContentValue.java b/src/main/java/org/bonitasoft/web/client/model/MessageMessageContentValue.java index 9cd956d0..b4d74e8d 100644 --- a/src/main/java/org/bonitasoft/web/client/model/MessageMessageContentValue.java +++ b/src/main/java/org/bonitasoft/web/client/model/MessageMessageContentValue.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ MessageMessageContentValue.JSON_PROPERTY_TYPE }) @JsonTypeName("Message_messageContent_value") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class MessageMessageContentValue implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Page.java b/src/main/java/org/bonitasoft/web/client/model/Page.java index 73f58561..b5d05b5f 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Page.java +++ b/src/main/java/org/bonitasoft/web/client/model/Page.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -38,7 +38,7 @@ Page.JSON_PROPERTY_LAST_UPDATE_DATE, Page.JSON_PROPERTY_URL_TOKEN }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Page implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/PageCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/PageCreateRequest.java index a49822b3..f1e77f02 100644 --- a/src/main/java/org/bonitasoft/web/client/model/PageCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/PageCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ @JsonPropertyOrder({ PageCreateRequest.JSON_PROPERTY_PAGE_ZIP }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class PageCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/PageUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/PageUpdateRequest.java index 1cbf00cf..9846caf7 100644 --- a/src/main/java/org/bonitasoft/web/client/model/PageUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/PageUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ @JsonPropertyOrder({ PageUpdateRequest.JSON_PROPERTY_PAGE_ZIP }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class PageUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Platform.java b/src/main/java/org/bonitasoft/web/client/model/Platform.java index 0458c96d..5e1ba244 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Platform.java +++ b/src/main/java/org/bonitasoft/web/client/model/Platform.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -36,7 +36,7 @@ Platform.JSON_PROPERTY_CREATED_BY, Platform.JSON_PROPERTY_CREATED }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Platform implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/PlatformLicense.java b/src/main/java/org/bonitasoft/web/client/model/PlatformLicense.java index fad44ad1..0d371cd6 100644 --- a/src/main/java/org/bonitasoft/web/client/model/PlatformLicense.java +++ b/src/main/java/org/bonitasoft/web/client/model/PlatformLicense.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ PlatformLicense.JSON_PROPERTY_CASE_COUNTER_LIMIT, PlatformLicense.JSON_PROPERTY_CASE_COUNTER }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class PlatformLicense implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/PlatformUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/PlatformUpdateRequest.java index 8e5c1b6e..9c1b2823 100644 --- a/src/main/java/org/bonitasoft/web/client/model/PlatformUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/PlatformUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ @JsonPropertyOrder({ PlatformUpdateRequest.JSON_PROPERTY_STATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class PlatformUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessConnectorDependency.java b/src/main/java/org/bonitasoft/web/client/model/ProcessConnectorDependency.java index d85a70b8..fa6ebaee 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessConnectorDependency.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessConnectorDependency.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ ProcessConnectorDependency.JSON_PROPERTY_FILENAME, ProcessConnectorDependency.JSON_PROPERTY_CONNECTOR_NAME }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessConnectorDependency implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ProcessCreateRequest.java index d516e801..2e4eab39 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ @JsonPropertyOrder({ ProcessCreateRequest.JSON_PROPERTY_FILEUPLOAD }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessDefinition.java b/src/main/java/org/bonitasoft/web/client/model/ProcessDefinition.java index 4b681f25..a9188c3d 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessDefinition.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessDefinition.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -41,7 +41,7 @@ ProcessDefinition.JSON_PROPERTY_CONFIGURATION_STATE, ProcessDefinition.JSON_PROPERTY_VERSION }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessDefinition implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessInfo.java b/src/main/java/org/bonitasoft/web/client/model/ProcessInfo.java index bb3cb99a..d5b07dfd 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessInfo.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessInfo.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ ProcessInfo.JSON_PROPERTY_PROCESS_DEFINITION_ID, ProcessInfo.JSON_PROPERTY_FLOW_NODE_STATES_COUNTERS }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessInfo implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessInfoFlowNodeStatesCountersValue.java b/src/main/java/org/bonitasoft/web/client/model/ProcessInfoFlowNodeStatesCountersValue.java index 4cd596fe..b951b764 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessInfoFlowNodeStatesCountersValue.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessInfoFlowNodeStatesCountersValue.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -36,7 +36,7 @@ ProcessInfoFlowNodeStatesCountersValue.JSON_PROPERTY_COMPLETING }) @JsonTypeName("ProcessInfo_flowNodeStatesCounters_value") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessInfoFlowNodeStatesCountersValue implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessInstance.java b/src/main/java/org/bonitasoft/web/client/model/ProcessInstance.java index e2a8237d..033f24fe 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessInstance.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessInstance.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -51,7 +51,7 @@ ProcessInstance.JSON_PROPERTY_SEARCH_INDEX4_VALUE, ProcessInstance.JSON_PROPERTY_SEARCH_INDEX5_VALUE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessInstance implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceComment.java b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceComment.java index a48f17c0..06aff765 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceComment.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceComment.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ ProcessInstanceComment.JSON_PROPERTY_POST_DATE, ProcessInstanceComment.JSON_PROPERTY_USER_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessInstanceComment implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceCommentCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceCommentCreateRequest.java index 59777fc8..f00fd9d5 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceCommentCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceCommentCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ ProcessInstanceCommentCreateRequest.JSON_PROPERTY_PROCESS_INSTANCE_ID, ProcessInstanceCommentCreateRequest.JSON_PROPERTY_CONTENT }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessInstanceCommentCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceCreateRequest.java index 1cad5ab8..01da1745 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ ProcessInstanceCreateRequest.JSON_PROPERTY_PROCESS_DEFINITION_ID, ProcessInstanceCreateRequest.JSON_PROPERTY_VARIABLES }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessInstanceCreateRequest implements Serializable { private static final long serialVersionUID = 1L; @@ -41,7 +41,7 @@ public class ProcessInstanceCreateRequest implements Serializable { private String processDefinitionId; public static final String JSON_PROPERTY_VARIABLES = "variables"; - private List variables; + private List variables = new ArrayList<>(); public ProcessInstanceCreateRequest() { } diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceDocument.java b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceDocument.java index 973b0e3d..dba0aef0 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceDocument.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceDocument.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -42,7 +42,7 @@ ProcessInstanceDocument.JSON_PROPERTY_URL, ProcessInstanceDocument.JSON_PROPERTY_VERSION }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessInstanceDocument implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceDocumentCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceDocumentCreateRequest.java index b14e9c09..cb2640d0 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceDocumentCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceDocumentCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ ProcessInstanceDocumentCreateRequest.JSON_PROPERTY_FILE_NAME, ProcessInstanceDocumentCreateRequest.JSON_PROPERTY_DESCRIPTION }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessInstanceDocumentCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceDocumentUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceDocumentUpdateRequest.java index 3f65142b..dc79a64e 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceDocumentUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceDocumentUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ ProcessInstanceDocumentUpdateRequest.JSON_PROPERTY_FILE_NAME, ProcessInstanceDocumentUpdateRequest.JSON_PROPERTY_DESCRIPTION }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessInstanceDocumentUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceInfo.java b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceInfo.java index 07982421..0faff9e1 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceInfo.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceInfo.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ ProcessInstanceInfo.JSON_PROPERTY_ID, ProcessInstanceInfo.JSON_PROPERTY_FLOW_NODE_STATES_COUNTERS }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessInstanceInfo implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceInfoFlowNodeStatesCountersValue.java b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceInfoFlowNodeStatesCountersValue.java index 768ebfc3..33271501 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceInfoFlowNodeStatesCountersValue.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceInfoFlowNodeStatesCountersValue.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -40,7 +40,7 @@ ProcessInstanceInfoFlowNodeStatesCountersValue.JSON_PROPERTY_COMPLETING }) @JsonTypeName("ProcessInstanceInfo_flowNodeStatesCounters_value") -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessInstanceInfoFlowNodeStatesCountersValue implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceVariable.java b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceVariable.java index 27a05cbb..e35f4b0d 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceVariable.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceVariable.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ ProcessInstanceVariable.JSON_PROPERTY_CASE_ID, ProcessInstanceVariable.JSON_PROPERTY_TYPE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessInstanceVariable implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceVariableUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceVariableUpdateRequest.java index bbf96d45..bb883c74 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceVariableUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessInstanceVariableUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ ProcessInstanceVariableUpdateRequest.JSON_PROPERTY_TYPE, ProcessInstanceVariableUpdateRequest.JSON_PROPERTY_VALUE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessInstanceVariableUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessInstantiationResponse.java b/src/main/java/org/bonitasoft/web/client/model/ProcessInstantiationResponse.java index 516622b8..cccd4735 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessInstantiationResponse.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessInstantiationResponse.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ @JsonPropertyOrder({ ProcessInstantiationResponse.JSON_PROPERTY_CASE_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessInstantiationResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessParameter.java b/src/main/java/org/bonitasoft/web/client/model/ProcessParameter.java index 57eef9b5..8853fe7f 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessParameter.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessParameter.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ ProcessParameter.JSON_PROPERTY_PROCESS_VERSION, ProcessParameter.JSON_PROPERTY_TYPE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessParameter implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessParameterUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ProcessParameterUpdateRequest.java index 2d8a0b02..4646ab98 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessParameterUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessParameterUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ @JsonPropertyOrder({ ProcessParameterUpdateRequest.JSON_PROPERTY_VALUE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessParameterUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessResolutionProblem.java b/src/main/java/org/bonitasoft/web/client/model/ProcessResolutionProblem.java index f4917b7c..bdd147cf 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessResolutionProblem.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessResolutionProblem.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ ProcessResolutionProblem.JSON_PROPERTY_RESOURCE_ID, ProcessResolutionProblem.JSON_PROPERTY_TARGET_TYPE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessResolutionProblem implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessSupervisor.java b/src/main/java/org/bonitasoft/web/client/model/ProcessSupervisor.java index 790bd4b4..1a6930bd 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessSupervisor.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessSupervisor.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ ProcessSupervisor.JSON_PROPERTY_GROUP_ID, ProcessSupervisor.JSON_PROPERTY_USER_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessSupervisor implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ProcessUpdateRequest.java index 22057c1e..ef5c466c 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ ProcessUpdateRequest.JSON_PROPERTY_DISPLAY_NAME, ProcessUpdateRequest.JSON_PROPERTY_ACTIVATION_STATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProcessVariable.java b/src/main/java/org/bonitasoft/web/client/model/ProcessVariable.java index c7761a48..e47486e5 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProcessVariable.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProcessVariable.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ @JsonPropertyOrder({ ProcessVariable.JSON_PROPERTY_NAME }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProcessVariable extends HashMap implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProfessionalContactData.java b/src/main/java/org/bonitasoft/web/client/model/ProfessionalContactData.java index e6635576..f7091353 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProfessionalContactData.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProfessionalContactData.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -41,7 +41,7 @@ ProfessionalContactData.JSON_PROPERTY_ROOM, ProfessionalContactData.JSON_PROPERTY_EMAIL }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProfessionalContactData implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Profile.java b/src/main/java/org/bonitasoft/web/client/model/Profile.java index 842ae621..dda31277 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Profile.java +++ b/src/main/java/org/bonitasoft/web/client/model/Profile.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -37,7 +37,7 @@ Profile.JSON_PROPERTY_LAST_UPDATE_DATE, Profile.JSON_PROPERTY_UPDATED_BY }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Profile implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProfileCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ProfileCreateRequest.java index 9f564ea9..802764ba 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProfileCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProfileCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ ProfileCreateRequest.JSON_PROPERTY_DESCRIPTION, ProfileCreateRequest.JSON_PROPERTY_NAME }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProfileCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProfileEntry.java b/src/main/java/org/bonitasoft/web/client/model/ProfileEntry.java index cf9400fb..2d20c5c2 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProfileEntry.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProfileEntry.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -38,7 +38,7 @@ ProfileEntry.JSON_PROPERTY_IS_CUSTOM, ProfileEntry.JSON_PROPERTY_PARENT_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProfileEntry implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProfileEntryCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ProfileEntryCreateRequest.java index 268de473..23adde91 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProfileEntryCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProfileEntryCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ ProfileEntryCreateRequest.JSON_PROPERTY_IS_CUSTOM, ProfileEntryCreateRequest.JSON_PROPERTY_PARENT_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProfileEntryCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProfileEntryUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ProfileEntryUpdateRequest.java index 702514d7..097d3204 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProfileEntryUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProfileEntryUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ ProfileEntryUpdateRequest.JSON_PROPERTY_IS_CUSTOM, ProfileEntryUpdateRequest.JSON_PROPERTY_PARENT_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProfileEntryUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProfileMember.java b/src/main/java/org/bonitasoft/web/client/model/ProfileMember.java index 5bac75f4..2892310b 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProfileMember.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProfileMember.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ ProfileMember.JSON_PROPERTY_GROUP_ID, ProfileMember.JSON_PROPERTY_USER_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProfileMember implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProfileMemberCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ProfileMemberCreateRequest.java index 01ae37fd..4cbc5649 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProfileMemberCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProfileMemberCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ ProfileMemberCreateRequest.JSON_PROPERTY_USER_ID, ProfileMemberCreateRequest.JSON_PROPERTY_MEMBER_TYPE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProfileMemberCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ProfileUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ProfileUpdateRequest.java index 91116cb5..96b666a4 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ProfileUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ProfileUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ ProfileUpdateRequest.JSON_PROPERTY_DESCRIPTION, ProfileUpdateRequest.JSON_PROPERTY_DISPLAY_NAME }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ProfileUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Role.java b/src/main/java/org/bonitasoft/web/client/model/Role.java index edd9c071..f1b3cd0b 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Role.java +++ b/src/main/java/org/bonitasoft/web/client/model/Role.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -36,7 +36,7 @@ Role.JSON_PROPERTY_CREATED_BY_USER_ID, Role.JSON_PROPERTY_LAST_UPDATE_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Role implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/RoleCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/RoleCreateRequest.java index e1a18a2a..55907530 100644 --- a/src/main/java/org/bonitasoft/web/client/model/RoleCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/RoleCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ RoleCreateRequest.JSON_PROPERTY_DESCRIPTION, RoleCreateRequest.JSON_PROPERTY_ICON }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class RoleCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/RoleUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/RoleUpdateRequest.java index 618deb4d..5db94f0c 100644 --- a/src/main/java/org/bonitasoft/web/client/model/RoleUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/RoleUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ RoleUpdateRequest.JSON_PROPERTY_DESCRIPTION, RoleUpdateRequest.JSON_PROPERTY_ICON }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class RoleUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Session.java b/src/main/java/org/bonitasoft/web/client/model/Session.java index 9333f7c2..7058cdaf 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Session.java +++ b/src/main/java/org/bonitasoft/web/client/model/Session.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -36,7 +36,7 @@ Session.JSON_PROPERTY_VERSION, Session.JSON_PROPERTY_COPYRIGHT }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Session implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Signal.java b/src/main/java/org/bonitasoft/web/client/model/Signal.java index 2b3046bc..d5b5cb73 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Signal.java +++ b/src/main/java/org/bonitasoft/web/client/model/Signal.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ @JsonPropertyOrder({ Signal.JSON_PROPERTY_NAME }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Signal implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/SystemTenant.java b/src/main/java/org/bonitasoft/web/client/model/SystemTenant.java index d547bd5d..75cc863a 100644 --- a/src/main/java/org/bonitasoft/web/client/model/SystemTenant.java +++ b/src/main/java/org/bonitasoft/web/client/model/SystemTenant.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ SystemTenant.JSON_PROPERTY_ID, SystemTenant.JSON_PROPERTY_PAUSED }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class SystemTenant implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Task.java b/src/main/java/org/bonitasoft/web/client/model/Task.java index 85e8869d..703f685e 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Task.java +++ b/src/main/java/org/bonitasoft/web/client/model/Task.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -50,7 +50,7 @@ Task.JSON_PROPERTY_ASSIGNED_DATE, Task.JSON_PROPERTY_IS_TERMINAL }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Task implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/Tenant.java b/src/main/java/org/bonitasoft/web/client/model/Tenant.java index e0d7feb2..f4fea257 100644 --- a/src/main/java/org/bonitasoft/web/client/model/Tenant.java +++ b/src/main/java/org/bonitasoft/web/client/model/Tenant.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -41,7 +41,7 @@ Tenant.JSON_PROPERTY_PASSWORD, Tenant.JSON_PROPERTY_STATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class Tenant implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/TenantCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/TenantCreateRequest.java index 26583606..357f402f 100644 --- a/src/main/java/org/bonitasoft/web/client/model/TenantCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/TenantCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ TenantCreateRequest.JSON_PROPERTY_USERNAME, TenantCreateRequest.JSON_PROPERTY_PASSWORD }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class TenantCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/TenantPauseRequest.java b/src/main/java/org/bonitasoft/web/client/model/TenantPauseRequest.java index 9182c9d2..de1294ba 100644 --- a/src/main/java/org/bonitasoft/web/client/model/TenantPauseRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/TenantPauseRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ @JsonPropertyOrder({ TenantPauseRequest.JSON_PROPERTY_PAUSED }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class TenantPauseRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/TenantResourceState.java b/src/main/java/org/bonitasoft/web/client/model/TenantResourceState.java index f5ef1629..2530dbb5 100644 --- a/src/main/java/org/bonitasoft/web/client/model/TenantResourceState.java +++ b/src/main/java/org/bonitasoft/web/client/model/TenantResourceState.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/java/org/bonitasoft/web/client/model/TenantUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/TenantUpdateRequest.java index 3b3ba081..3c064df7 100644 --- a/src/main/java/org/bonitasoft/web/client/model/TenantUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/TenantUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ TenantUpdateRequest.JSON_PROPERTY_ICON, TenantUpdateRequest.JSON_PROPERTY_STATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class TenantUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ThemeCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/ThemeCreateRequest.java index 635ea3e6..863676d6 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ThemeCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ThemeCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ ThemeCreateRequest.JSON_PROPERTY_TYPE, ThemeCreateRequest.JSON_PROPERTY_ZIP_FILE_PATHPORTAL }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ThemeCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/ThemeRestoreRequest.java b/src/main/java/org/bonitasoft/web/client/model/ThemeRestoreRequest.java index 51f0726b..2854d98f 100644 --- a/src/main/java/org/bonitasoft/web/client/model/ThemeRestoreRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/ThemeRestoreRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ @JsonPropertyOrder({ ThemeRestoreRequest.JSON_PROPERTY_TYPE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class ThemeRestoreRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/TimerEventTrigger.java b/src/main/java/org/bonitasoft/web/client/model/TimerEventTrigger.java index 15291de2..c6811d49 100644 --- a/src/main/java/org/bonitasoft/web/client/model/TimerEventTrigger.java +++ b/src/main/java/org/bonitasoft/web/client/model/TimerEventTrigger.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ TimerEventTrigger.JSON_PROPERTY_EXECUTION_DATE, TimerEventTrigger.JSON_PROPERTY_EVENT_INSTANCE_NAME }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class TimerEventTrigger implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/TimerEventTriggerUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/TimerEventTriggerUpdateRequest.java index 792db17d..ea43ef3e 100644 --- a/src/main/java/org/bonitasoft/web/client/model/TimerEventTriggerUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/TimerEventTriggerUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ @JsonPropertyOrder({ TimerEventTriggerUpdateRequest.JSON_PROPERTY_EXECUTION_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class TimerEventTriggerUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/TimerEventTriggerUpdateResponse.java b/src/main/java/org/bonitasoft/web/client/model/TimerEventTriggerUpdateResponse.java index df486587..1daf4b7b 100644 --- a/src/main/java/org/bonitasoft/web/client/model/TimerEventTriggerUpdateResponse.java +++ b/src/main/java/org/bonitasoft/web/client/model/TimerEventTriggerUpdateResponse.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,7 +29,7 @@ @JsonPropertyOrder({ TimerEventTriggerUpdateResponse.JSON_PROPERTY_EXECUTION_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class TimerEventTriggerUpdateResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/UpdateProcessConnectorByProcessIdRequest.java b/src/main/java/org/bonitasoft/web/client/model/UpdateProcessConnectorByProcessIdRequest.java index ecdd0b5f..c985109a 100644 --- a/src/main/java/org/bonitasoft/web/client/model/UpdateProcessConnectorByProcessIdRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/UpdateProcessConnectorByProcessIdRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ UpdateProcessConnectorByProcessIdRequest.JSON_PROPERTY_ID, UpdateProcessConnectorByProcessIdRequest.JSON_PROPERTY_IMPLEMENTATION }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class UpdateProcessConnectorByProcessIdRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/UpdateTaskByIdRequest.java b/src/main/java/org/bonitasoft/web/client/model/UpdateTaskByIdRequest.java index da183cdb..bd878ff0 100644 --- a/src/main/java/org/bonitasoft/web/client/model/UpdateTaskByIdRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/UpdateTaskByIdRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ UpdateTaskByIdRequest.JSON_PROPERTY_STATE, UpdateTaskByIdRequest.JSON_PROPERTY_DISPLAY_NAME }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class UpdateTaskByIdRequest extends HashMap implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/User.java b/src/main/java/org/bonitasoft/web/client/model/User.java index 7666798d..7b9361e5 100644 --- a/src/main/java/org/bonitasoft/web/client/model/User.java +++ b/src/main/java/org/bonitasoft/web/client/model/User.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -42,7 +42,7 @@ User.JSON_PROPERTY_CREATION_DATE, User.JSON_PROPERTY_LAST_UPDATE_DATE }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class User implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/UserCreateRequest.java b/src/main/java/org/bonitasoft/web/client/model/UserCreateRequest.java index 2118d5f2..3203a608 100644 --- a/src/main/java/org/bonitasoft/web/client/model/UserCreateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/UserCreateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -38,7 +38,7 @@ UserCreateRequest.JSON_PROPERTY_MANAGER_ID, UserCreateRequest.JSON_PROPERTY_ENABLED }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class UserCreateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/UserTask.java b/src/main/java/org/bonitasoft/web/client/model/UserTask.java index f8272791..f28fa35f 100644 --- a/src/main/java/org/bonitasoft/web/client/model/UserTask.java +++ b/src/main/java/org/bonitasoft/web/client/model/UserTask.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -50,7 +50,7 @@ UserTask.JSON_PROPERTY_ASSIGNED_DATE, UserTask.JSON_PROPERTY_IS_TERMINAL }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class UserTask implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/UserTaskUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/UserTaskUpdateRequest.java index b0260c76..47fcfedc 100644 --- a/src/main/java/org/bonitasoft/web/client/model/UserTaskUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/UserTaskUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,7 +30,7 @@ UserTaskUpdateRequest.JSON_PROPERTY_STATE, UserTaskUpdateRequest.JSON_PROPERTY_ASSIGNED_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class UserTaskUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/org/bonitasoft/web/client/model/UserUpdateRequest.java b/src/main/java/org/bonitasoft/web/client/model/UserUpdateRequest.java index a782e462..cd13bf4b 100644 --- a/src/main/java/org/bonitasoft/web/client/model/UserUpdateRequest.java +++ b/src/main/java/org/bonitasoft/web/client/model/UserUpdateRequest.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2022 BonitaSoft S.A. + * Copyright (C) 2024-2023 BonitaSoft S.A. * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -37,7 +37,7 @@ UserUpdateRequest.JSON_PROPERTY_JOB_TITLE, UserUpdateRequest.JSON_PROPERTY_MANAGER_ID }) -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.6.0") public class UserUpdateRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/test/java/org/bonitasoft/testcontainers/BonitaContainer.java b/src/test/java/org/bonitasoft/testcontainers/BonitaContainer.java index a0b988e6..f638eaa7 100644 --- a/src/test/java/org/bonitasoft/testcontainers/BonitaContainer.java +++ b/src/test/java/org/bonitasoft/testcontainers/BonitaContainer.java @@ -25,6 +25,9 @@ import org.testcontainers.containers.wait.strategy.Wait; import org.testcontainers.utility.DockerImageName; +import com.vdurmont.semver4j.Semver; +import com.vdurmont.semver4j.Semver.SemverType; + import lombok.EqualsAndHashCode; import lombok.extern.slf4j.Slf4j; @@ -43,7 +46,7 @@ public class BonitaContainer> extends Generic public static final String BONITA_CONTEXT_PATH = "bonita.context-path"; public static final String BONITA_CONTEXT_PATH_DEFAULT = "/bonita"; public static final String BONITA_VERSION = "bonita.version"; - public static final String BONITA_VERSION_DEFAULT = "latest"; + public static final String BONITA_VERSION_DEFAULT = "7.15"; public static final String BONITA_IMAGE_NAME = "bonita.image.name"; public static final String BONITA_IMAGE_NAME_DEFAULT = "bonita"; public static final String BONITA_IMAGE_PREFIX = "bonita.image.prefix"; @@ -71,7 +74,8 @@ public BonitaContainer(String dockerImageName) { super(dockerImageName); String tmpDockerImageName = dockerImageName; if (tmpDockerImageName.isEmpty()) { - tmpDockerImageName = addSlashSuffixIfRequired(getImagePrefix()) + getImageName() + ":" + getImageVersion(); + tmpDockerImageName = addSlashSuffixIfRequired(getImagePrefix()) + getImageName() + ":" + + getImageVersion().getOriginalValue(); } else { DockerImageName dockerImage = DockerImageName.parse(dockerImageName); String repository = dockerImage.getRepository(); @@ -113,11 +117,11 @@ protected String getImageName() { return imageName; } - protected String getImageVersion() { + public Semver getImageVersion() { if (imageVersion == null) { imageVersion = System.getProperty(BONITA_VERSION, BONITA_VERSION_DEFAULT); } - return imageVersion; + return new Semver(imageVersion.replace("-SNAPSHOT", ""), SemverType.LOOSE); } protected String getBonitaContextPath() { diff --git a/src/test/java/org/bonitasoft/web/client/BonitaClientIT.java b/src/test/java/org/bonitasoft/web/client/BonitaClientIT.java index 6639469b..9acad2b1 100644 --- a/src/test/java/org/bonitasoft/web/client/BonitaClientIT.java +++ b/src/test/java/org/bonitasoft/web/client/BonitaClientIT.java @@ -77,11 +77,15 @@ import org.bonitasoft.web.client.services.policies.OrganizationImportPolicy; import org.bonitasoft.web.client.services.policies.ProcessImportPolicy; import org.bonitasoft.web.client.services.policies.ProfileImportPolicy; +import org.junit.jupiter.api.Assumptions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.testcontainers.junit.jupiter.Container; import org.testcontainers.junit.jupiter.Testcontainers; +import com.vdurmont.semver4j.Semver; +import com.vdurmont.semver4j.Semver.SemverType; + import lombok.Data; import lombok.extern.slf4j.Slf4j; @@ -93,8 +97,15 @@ class BonitaClientIT { private static final int MAX_SEARCH_COUNT = 100; + private static final String BONITA_DOCKER_IMAGE_PROPERTY = "bonita.image"; + + private static final String BONITA_DOCKER_IMAGE = System.getProperty(BONITA_DOCKER_IMAGE_PROPERTY, ""); + @Container - private static final BonitaContainer> BONITA_CONTAINER = new BonitaContainer<>(); + private static final BonitaContainer> BONITA_CONTAINER = new BonitaContainer<>( + BONITA_DOCKER_IMAGE); + + private static final Semver _10_2 = new Semver("10.2", SemverType.LOOSE); private BonitaClient bonitaClient; @@ -196,14 +207,17 @@ void organization_should_be_uploaded() throws Exception { } @Test - void applications_should_be_uploaded() throws Exception { + void legacy_applications_should_be_uploaded() throws Exception { + // Given loggedInAsTechnicalUser(); final List applicationsBefore = bonitaClient.applications().searchApplications(0, MAX_SEARCH_COUNT); + var expectedAppTokens = List.of("MyApplication_Client_tests", "HR-dashboard_Client_tests"); // When - File application = getClasspathFile("/application.xml"); + File application = getClasspathFile(BONITA_CONTAINER.getImageVersion().isGreaterThanOrEqualTo(_10_2) + ? "/application.xml" : "/application_1.0.xml"); bonitaClient .applications() .importApplications(application, ApplicationImportPolicy.REPLACE_DUPLICATES); @@ -216,7 +230,56 @@ void applications_should_be_uploaded() throws Exception { assertThat(applications) .as("Application names") .extracting(Application::getToken) - .contains("MyApplication_Client_tests", "HR-dashboard_Client_tests"); + .contains(expectedAppTokens.toArray(new String[0])); + + if (BONITA_CONTAINER.getImageVersion().isGreaterThanOrEqualTo(_10_2)) { + assertThat(applications) + .as("Applications must not be linked") + .filteredOn(app -> expectedAppTokens.contains(app.getToken())) + .extracting(Application::getLink) + .containsExactly(false, false); + } else { + assertThat(applications) + .as("Applications must not be linked") + .filteredOn(app -> expectedAppTokens.contains(app.getToken())) + .extracting(Application::getLink) + .containsExactly(null, null); + } + + } + + @Test + void linked_applications_should_be_uploaded() throws Exception { + // Execute for runtime version > 10.2 + Assumptions.assumeTrue(() -> BONITA_CONTAINER.getImageVersion().isGreaterThanOrEqualTo(_10_2), + "Linked applications does not exists in versions below 10.2."); + + // Given + loggedInAsTechnicalUser(); + final List applicationsBefore = bonitaClient.applications().searchApplications(0, + MAX_SEARCH_COUNT); + var expectedAppTokens = List.of("app1", "app2"); + + // When + File application = getClasspathFile("/application-link.xml"); + bonitaClient + .applications() + .importApplications(application, ApplicationImportPolicy.REPLACE_DUPLICATES); + + // Then + List applications = bonitaClient + .applications() + .searchApplications(new SearchApplicationsQueryParams().p(0).c(MAX_SEARCH_COUNT)); + assertThat(applications).isNotEmpty().hasSize(applicationsBefore.size() + 2); + assertThat(applications) + .as("Application names") + .extracting(Application::getToken) + .contains(expectedAppTokens.toArray(new String[0])); + assertThat(applications) + .as("Applications must be linked") + .filteredOn(app -> expectedAppTokens.contains(app.getToken())) + .extracting(Application::getLink) + .containsExactly(true, true); } @Test diff --git a/src/test/java/org/bonitasoft/web/client/services/impl/DefaultApplicationServiceTest.java b/src/test/java/org/bonitasoft/web/client/services/impl/DefaultApplicationServiceTest.java index 7e41aba8..677acd40 100644 --- a/src/test/java/org/bonitasoft/web/client/services/impl/DefaultApplicationServiceTest.java +++ b/src/test/java/org/bonitasoft/web/client/services/impl/DefaultApplicationServiceTest.java @@ -19,7 +19,6 @@ import static java.util.Arrays.asList; import static org.assertj.core.api.AssertionsForClassTypes.assertThat; import static org.mockito.ArgumentMatchers.any; -import static org.mockito.ArgumentMatchers.anyMap; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Mockito.atLeast; import static org.mockito.Mockito.doReturn; @@ -103,7 +102,8 @@ void import_application_replace_dups_should_first_delete() { applicationService.importApplications(dummyApps, ApplicationImportPolicy.REPLACE_DUPLICATES); // Then - verify(applicationApi, atLeast(fakeAppTokens.size())).searchApplications(anyMap()); + verify(applicationApi, atLeast(fakeAppTokens.size())) + .searchApplications(any(ApplicationApi.SearchApplicationsQueryParams.class)); verify(applicationService, times(fakeAppTokens.size())).silentDeleteApplication(anyString()); verify(applicationApi).uploadApplication(dummyApps); verify(applicationApi).importApplication(anyString(), captor.capture()); diff --git a/src/test/resources/application-link.xml b/src/test/resources/application-link.xml new file mode 100644 index 00000000..a5afbed3 --- /dev/null +++ b/src/test/resources/application-link.xml @@ -0,0 +1,11 @@ + + + + Application 1 + Description of Application 1 + /app1.jpg + + + Application 2 + + diff --git a/src/test/resources/application.xml b/src/test/resources/application.xml index bf280065..93bfcdb7 100644 --- a/src/test/resources/application.xml +++ b/src/test/resources/application.xml @@ -1,5 +1,5 @@ + xmlns="http://documentation.bonitasoft.com/application-xml-schema/1.1"> + + + My HR dashboard + This is the HR dashboard. + /icon.jpg + + + + + + HR follow-up + + + Daily HR follow-up + + + + + Empty menu + + + + + + Marketing + + + + \ No newline at end of file