Skip to content

Commit

Permalink
update to 0.0.18
Browse files Browse the repository at this point in the history
adapt tests to run on several Bonita versions
  • Loading branch information
rbioteau committed Jun 25, 2024
1 parent a6a0b07 commit b815da0
Show file tree
Hide file tree
Showing 149 changed files with 369 additions and 293 deletions.
2 changes: 1 addition & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ src/main/java/org/bonitasoft/web/client/model/Actor.java
src/main/java/org/bonitasoft/web/client/model/ActorDefinition.java
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/AdvancedApplication.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
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/openapi.yaml-default.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7acaf2a5a528f57245f64b15d11d38f5fe4eb6813620bd399efc2a5601002531
25eaf10608f1031bd1ec198e8d19cd85333e570352112f68ec7db4890e59da55
50 changes: 25 additions & 25 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ info:
name: GPL-v2.0
url: http://www.gnu.org/licenses/gpl-2.0.txt
title: Bonita API
version: 0.0.17
version: 0.0.18
x-logo:
url: images/bonitasoft-logo.svg
backgroundColor: '#19465f'
Expand Down Expand Up @@ -523,9 +523,9 @@ paths:
description: |
Finds living applications with pagination params and filters

- can order on `id`,`creationDate`, `createdBy`, `profileId`, `token`, `displayName`, `updatedBy`, `lastUpdateDate`, `version`, `advanced`
- can search on `token`, `displayName`, `version`, `advanced`
- can filter on `token`, `displayName`, `version`, `advanced`, `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
Expand Down Expand Up @@ -593,22 +593,22 @@ paths:
application/json:
example:
- id: "306"
advanced: true
link: "true"
creationDate: "1411548289900"
icon: ""
createdBy": "1"
profileId: "2"
description: My advanced application description
description: My application link description
token: myadvapp
state: ACTIVATED
displayName: My advanced app
displayName: My app link
updatedBy: "1"
visibility: ALL
editable: true
editable: "true"
lastUpdateDate: "1411548289900"
version: "1.0"
- id: "305"
advanced: false
link: "false"
creationDate: "1411548289900"
icon: ""
createdBy": "1"
Expand All @@ -619,7 +619,7 @@ paths:
displayName: My app
updatedBy: "1"
visibility: ALL
editable: true
editable: "true"
lastUpdateDate: "1411548289900"
version: "1.0"
homePageId: "26"
Expand Down Expand Up @@ -17310,38 +17310,39 @@ components:
description: Indicates whether the application can be modified
type: boolean
type: object
AdvancedApplication:
ApplicationLink:
allOf:
- properties:
advanced:
description: true for an advanced application
link:
description: true for an application link
type: boolean
type: object
- $ref: '#/components/schemas/AbstractApplication'
- description: Contains the meta information of an advanced Bonita Living Application.
- description: Contains the meta information of a Bonita Living Application
Link.
type: object
description: Contains the meta information of an advanced Bonita Living Application.
description: Contains the meta information of a Bonita Living Application Link.
example:
id: "306"
advanced: true
link: "true"
creationDate: "1411548289900"
icon: ""
createdBy": "1"
profileId: "2"
description: My advanced application description
description: My application link description
token: myadvapp
state: ACTIVATED
displayName: My advanced app
displayName: My app link
updatedBy: "1"
visibility: ALL
editable: true
editable: "true"
lastUpdateDate: "1411548289900"
version: "1.0"
title: Advanced application
title: Application Link
LegacyApplication:
allOf:
- properties:
advanced:
link:
description: false for a legacy application
type: boolean
type: object
Expand All @@ -17367,7 +17368,7 @@ components:
description: Contains the meta information of a legacy Bonita Living Application.
example:
id: "305"
advanced: false
link: "false"
creationDate: "1411548289900"
icon: ""
createdBy": "1"
Expand All @@ -17378,7 +17379,7 @@ components:
displayName: My app
updatedBy: "1"
visibility: ALL
editable: true
editable: "true"
lastUpdateDate: "1411548289900"
version: "1.0"
homePageId: "26"
Expand All @@ -17387,9 +17388,8 @@ components:
title: Legacy application
Application:
oneOf:
- $ref: '#/components/schemas/AdvancedApplication'
- $ref: '#/components/schemas/ApplicationLink'
- $ref: '#/components/schemas/LegacyApplication'
x-one-of-name: Application
CreateApplicationRequest:
example:
version: "1.0"
Expand Down
13 changes: 12 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Bonita -->
<bonita-openapi.version>0.0.17</bonita-openapi.version>
<bonita-openapi.version>0.0.18</bonita-openapi.version>
<swagger-annotations.version>1.6.14</swagger-annotations.version>
<jakarta-annotation.version>3.0.0</jakarta-annotation.version>
<jsr305.version>3.0.2</jsr305.version>
Expand All @@ -66,6 +66,7 @@
<logback-classic.version>1.5.6</logback-classic.version>
<testcontainers.version>1.19.8</testcontainers.version>
<awaitility.version>4.2.1</awaitility.version>
<semver4j.version>3.1.0</semver4j.version>
<!-- Maven plugins -->
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<maven.compiler.release>${java.version}</maven.compiler.release>
Expand Down Expand Up @@ -94,6 +95,11 @@
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-api.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
Expand Down Expand Up @@ -254,6 +260,11 @@
<version>${awaitility.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.vdurmont</groupId>
<artifactId>semver4j</artifactId>
<version>${semver4j.version}</version>
</dependency>
</dependencies>
<build>
<defaultGoal>package</defaultGoal>
Expand Down
32 changes: 16 additions & 16 deletions src/main/java/org/bonitasoft/web/client/api/ApplicationApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ ApiResponse<Void> importApplicationWithHttpInfo(@Param("applicationsDataUpload")
/**
* Finds living applications
* Finds living applications with pagination params and filters - can order on &#x60;id&#x60;,&#x60;creationDate&#x60;, &#x60;createdBy&#x60;,
* &#x60;profileId&#x60;, &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;updatedBy&#x60;, &#x60;lastUpdateDate&#x60;, &#x60;version&#x60;,
* &#x60;advanced&#x60; - can search on &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;version&#x60;, &#x60;advanced&#x60; - can filter on &#x60;token&#x60;,
* &#x60;displayName&#x60;, &#x60;version&#x60;, &#x60;advanced&#x60;, &#x60;profileId&#x60;, &#x60;creationDate&#x60;, &#x60;createdBy&#x60;,
* &#x60;updatedBy&#x60; , &#x60;lastUpdateDate&#x60;, &#x60;userId&#x60;
* &#x60;profileId&#x60;, &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;updatedBy&#x60;, &#x60;lastUpdateDate&#x60;, &#x60;version&#x60;, &#x60;link&#x60; -
* can search on &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;version&#x60;, &#x60;link&#x60; - can filter on &#x60;token&#x60;, &#x60;displayName&#x60;,
* &#x60;version&#x60;, &#x60;link&#x60;, &#x60;profileId&#x60;, &#x60;creationDate&#x60;, &#x60;createdBy&#x60;, &#x60;updatedBy&#x60; ,
* &#x60;lastUpdateDate&#x60;, &#x60;userId&#x60;
*
* @param p index of the page to display (required)
* @param c maximum number of elements to retrieve (required)
Expand All @@ -179,10 +179,10 @@ List<Application> searchApplications(@Param("p") Integer p, @Param("c") Integer
* Finds living applications
* Similar to <code>searchApplications</code> but it also returns the http response headers .
* Finds living applications with pagination params and filters - can order on &#x60;id&#x60;,&#x60;creationDate&#x60;, &#x60;createdBy&#x60;,
* &#x60;profileId&#x60;, &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;updatedBy&#x60;, &#x60;lastUpdateDate&#x60;, &#x60;version&#x60;,
* &#x60;advanced&#x60; - can search on &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;version&#x60;, &#x60;advanced&#x60; - can filter on &#x60;token&#x60;,
* &#x60;displayName&#x60;, &#x60;version&#x60;, &#x60;advanced&#x60;, &#x60;profileId&#x60;, &#x60;creationDate&#x60;, &#x60;createdBy&#x60;,
* &#x60;updatedBy&#x60; , &#x60;lastUpdateDate&#x60;, &#x60;userId&#x60;
* &#x60;profileId&#x60;, &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;updatedBy&#x60;, &#x60;lastUpdateDate&#x60;, &#x60;version&#x60;, &#x60;link&#x60; -
* can search on &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;version&#x60;, &#x60;link&#x60; - can filter on &#x60;token&#x60;, &#x60;displayName&#x60;,
* &#x60;version&#x60;, &#x60;link&#x60;, &#x60;profileId&#x60;, &#x60;creationDate&#x60;, &#x60;createdBy&#x60;, &#x60;updatedBy&#x60; ,
* &#x60;lastUpdateDate&#x60;, &#x60;userId&#x60;
*
* @param p index of the page to display (required)
* @param c maximum number of elements to retrieve (required)
Expand All @@ -201,10 +201,10 @@ ApiResponse<List<Application>> searchApplicationsWithHttpInfo(@Param("p") Intege
/**
* Finds living applications
* Finds living applications with pagination params and filters - can order on &#x60;id&#x60;,&#x60;creationDate&#x60;, &#x60;createdBy&#x60;,
* &#x60;profileId&#x60;, &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;updatedBy&#x60;, &#x60;lastUpdateDate&#x60;, &#x60;version&#x60;,
* &#x60;advanced&#x60; - can search on &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;version&#x60;, &#x60;advanced&#x60; - can filter on &#x60;token&#x60;,
* &#x60;displayName&#x60;, &#x60;version&#x60;, &#x60;advanced&#x60;, &#x60;profileId&#x60;, &#x60;creationDate&#x60;, &#x60;createdBy&#x60;,
* &#x60;updatedBy&#x60; , &#x60;lastUpdateDate&#x60;, &#x60;userId&#x60;
* &#x60;profileId&#x60;, &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;updatedBy&#x60;, &#x60;lastUpdateDate&#x60;, &#x60;version&#x60;, &#x60;link&#x60; -
* can search on &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;version&#x60;, &#x60;link&#x60; - can filter on &#x60;token&#x60;, &#x60;displayName&#x60;,
* &#x60;version&#x60;, &#x60;link&#x60;, &#x60;profileId&#x60;, &#x60;creationDate&#x60;, &#x60;createdBy&#x60;, &#x60;updatedBy&#x60; ,
* &#x60;lastUpdateDate&#x60;, &#x60;userId&#x60;
* Note, this is equivalent to the other <code>searchApplications</code> method,
* but with the query parameters collected into a single Map parameter. This
* is convenient for services with optional query parameters, especially when
Expand Down Expand Up @@ -232,10 +232,10 @@ ApiResponse<List<Application>> searchApplicationsWithHttpInfo(@Param("p") Intege
/**
* Finds living applications
* Finds living applications with pagination params and filters - can order on &#x60;id&#x60;,&#x60;creationDate&#x60;, &#x60;createdBy&#x60;,
* &#x60;profileId&#x60;, &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;updatedBy&#x60;, &#x60;lastUpdateDate&#x60;, &#x60;version&#x60;,
* &#x60;advanced&#x60; - can search on &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;version&#x60;, &#x60;advanced&#x60; - can filter on &#x60;token&#x60;,
* &#x60;displayName&#x60;, &#x60;version&#x60;, &#x60;advanced&#x60;, &#x60;profileId&#x60;, &#x60;creationDate&#x60;, &#x60;createdBy&#x60;,
* &#x60;updatedBy&#x60; , &#x60;lastUpdateDate&#x60;, &#x60;userId&#x60;
* &#x60;profileId&#x60;, &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;updatedBy&#x60;, &#x60;lastUpdateDate&#x60;, &#x60;version&#x60;, &#x60;link&#x60; -
* can search on &#x60;token&#x60;, &#x60;displayName&#x60;, &#x60;version&#x60;, &#x60;link&#x60; - can filter on &#x60;token&#x60;, &#x60;displayName&#x60;,
* &#x60;version&#x60;, &#x60;link&#x60;, &#x60;profileId&#x60;, &#x60;creationDate&#x60;, &#x60;createdBy&#x60;, &#x60;updatedBy&#x60; ,
* &#x60;lastUpdateDate&#x60;, &#x60;userId&#x60;
* Note, this is equivalent to the other <code>searchApplications</code> that receives the query parameters as a map,
* but this one also exposes the Http response headers
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/bonitasoft/web/client/model/Actor.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (C) 2024 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
Expand Down
Loading

0 comments on commit b815da0

Please sign in to comment.