Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@

bin
.classpath
.settings
target/
.flattened-pom.xml
dependency-reduced-pom.xml
pom.xml.versionsBackup
.idea
.idea


node/
node_modules/
2 changes: 1 addition & 1 deletion .project
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>procurement-example</name>
<comment>8.0.0</comment>
<comment>10.3.1</comment>
<projects>
</projects>
<buildSpec>
Expand Down
9 changes: 1 addition & 8 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@


# Output of source code compilation.
# For example Bonita includes helper Groovy classes such as BonitaUsers (with for example getProcessInstanceInitiator method).
# Sources (e.g. BonitaUsers.groovy) are located in src-providedGroovy folder and build result (e.g. BonitaUsers.class) is located in bin folder.
/bin

# BDM jar generated from the BDM definition (bom.xml)
/lib/bdm-client-pojo.jar

# You can also ignore in lib folder jar files related to connector provided by Bonita
# Actually they are usefull for automated test done with Bonita BCD module as they will not be provided by this module (only the Studio does provided them)

# Classpath configuration for Bonita Studio. Automatically generated.
.classpath

# Project settings. Studio is able to create them with appropriate default value if needed.
.settings

# Should be created by the Studio if needed.
/META-INF
Expand Down Expand Up @@ -48,7 +46,6 @@
/web_widgets/pb*/

# Ignore Maven target folder (can be used to build REST API extensions).
target/

# Gradle (can be used for example to build and package REST API extensions).

Expand All @@ -71,11 +68,7 @@ target/
**/.idea/**/gradle.xml


bin
/template
#/process_configurations
node/
node_modules/
/web_fragments/.metadata
/web_fragments/*/*.js
!/web_widgets/*/*.ctrl.js
5 changes: 5 additions & 0 deletions app/.project
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,10 @@
<type>2</type>
<locationURI>PARENT-1-PROJECT_LOC/bdm</locationURI>
</link>
<link>
<name>extensions</name>
<type>2</type>
<locationURI>PARENT-1-PROJECT_LOC/extensions</locationURI>
</link>
</linkedResources>
</projectDescription>
58 changes: 58 additions & 0 deletions app/MIGRATION_NOTES.adoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,61 @@
== Migration notes (November 26, 2025, 3:20:39 PM CET)

=== Updates

* Bonita project parent has been updated from `10.2.4` to `10.3.1`.

== Migration notes (November 26, 2025 at 3:13:30 PM CET)

=== Additions

* Bonita Admin Application has been added in the project extensions.
* `javax.persistence:javax.persistence-api` provided dependency has been added to the BDM dao-client module.

=== Updates

* `.gitignore` file has been updated.
* `app/.gitignore` file has been updated.
* This project now depends on the Bonita project parent pom. This parent pom configures all the required plugins and dependencies versions for a given Bonita version.
* Rest API Extensions and Themes projects have been moved in the project layout to benefit from the Maven multi module approach. It means that files location inside the project have changed. It is a technical change and will not impact the design usage in Bonita Studio.New maven modules and their respective `pom.xml` files are *reserved for internal Studio use*.
* Project's extensions are now build in their own maven module. While it does not impact the design usage, this internal change allow the usage of a standard Maven build lifecycle. All extensions share the same `version` and `groupId` of the parent project. It is enforced by the format of the Bonita project and must not be changed.
* Application module build configuration has been updated to support Maven build.
* Bdm model module build configuration has been updated to support Maven build.
* Required Java version updated to `17`. Make sure that your third party dependencies are compliant with Java 17.
* Procurement_application.xml application descriptor has been migrated to the latest schema version.
* `default_profile.xml` profile xml schema version has been updated.

=== Removals

* `maven.compiler.release` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `maven-install-plugin.version` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `maven-jar-plugin.version` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `maven-source-plugin.version` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `bonita-project-maven-plugin.version` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `maven-shade-plugin.version` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `maven-compiler-plugin.version` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `build-helper-maven-plugin.version` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `maven-clean-plugin.version` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `project.reporting.outputEncoding` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `flatten-maven-plugin.version` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `bonita.runtime.version` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `project.build.sourceEncoding` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `maven-resources-plugin.version` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `maven-deploy-plugin.version` property has been removed from parent pom. This property is now inherited from the Bonita Project parent pom.
* `org.bonitasoft.runtime:bonita-runtime-bom` BOM has been removed from parent pom. This BOM is now inherited from the Bonita Project parent pom.
* `org.apache.maven.plugins:maven-install-plugin` plugin has been removed from parent pom. Its configuration is now inherited from the Bonita Project parent pom.
* `org.apache.maven.plugins:maven-source-plugin` plugin has been removed from parent pom. Its configuration is now inherited from the Bonita Project parent pom.
* `org.apache.maven.plugins:maven-compiler-plugin` plugin has been removed from parent pom. Its configuration is now inherited from the Bonita Project parent pom.
* `org.apache.maven.plugins:maven-clean-plugin` plugin has been removed from parent pom. Its configuration is now inherited from the Bonita Project parent pom.
* `org.apache.maven.plugins:maven-jar-plugin` plugin has been removed from parent pom. Its configuration is now inherited from the Bonita Project parent pom.
* `org.apache.maven.plugins:maven-resources-plugin` plugin has been removed from parent pom. Its configuration is now inherited from the Bonita Project parent pom.
* `org.apache.maven.plugins:maven-deploy-plugin` plugin has been removed from parent pom. Its configuration is now inherited from the Bonita Project parent pom.
* `org.apache.maven.plugins:maven-shade-plugin` plugin has been removed from parent pom. Its configuration is now inherited from the Bonita Project parent pom.
* `org.codehaus.mojo:flatten-maven-plugin` plugin has been removed from parent pom. Its configuration is now inherited from the Bonita Project parent pom.
* `org.bonitasoft.maven:bonita-project-maven-plugin` plugin has been removed from parent pom. Its configuration is now inherited from the Bonita Project parent pom.
* `org.codehaus.mojo:build-helper-maven-plugin` plugin has been removed from parent pom. Its configuration is now inherited from the Bonita Project parent pom.
* Deprecated provided groovy classes `BonitaUsers`, `BonitaSql`, `BonitaXML` and `BonitaTypes` have been removed.
* The `flatten-maven-plugin` executions have been removed from the Bdm parent module. They are now inherited from the Bonita project parent.

== Migration notes (6 septembre 2023 à 15:14:10 CEST)

=== Updates
Expand Down
4 changes: 2 additions & 2 deletions app/applications/Procurement_application.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<applications xmlns="http://documentation.bonitasoft.com/application-xml-schema/1.0">
<application token="procurement" version="3.0" profile="User" homePage="requests" state="ACTIVATED" layout="custompage_layoutBonita" theme="custompage_themeBonita">
<applications xmlns="http://documentation.bonitasoft.com/application-xml-schema/1.1">
<application homePage="requests" layout="custompage_layoutBonita" theme="custompage_themeBonita" token="procurement" version="3.0" profile="User" state="ACTIVATED">
<displayName>Procurement</displayName>
<description>This a procurement sample application.</description>
<iconPath></iconPath>
Expand Down
4 changes: 2 additions & 2 deletions app/diagrams/Create supplier-1.0.proc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:decision="http://www.bonitasoft.org/ns/studio/process/decision" xmlns:expression="http://www.bonitasoft.org/ns/studio/expression" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.3/notation" xmlns:process="http://www.bonitasoft.org/ns/studio/process" xsi:schemaLocation="http://www.bonitasoft.org/ns/studio/process/decision http://www.bonitasoft.org/ns/studio/process#//decision">
<process:MainProcess xmi:id="_RD8ycBKuEeWPr7pxbi20Rg" name="Create supplier" bonitaModelVersion="7.12.0-004">
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:decision="http://www.bonitasoft.org/ns/bpm/process/decision" xmlns:expression="http://www.bonitasoft.org/ns/bpm/expression" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.3/notation" xmlns:process="http://www.bonitasoft.org/ns/bpm/process">
<process:MainProcess xmi:id="_RD8ycBKuEeWPr7pxbi20Rg" name="Create supplier" bonitaModelVersion="9">
<elements xmi:type="process:Pool" xmi:id="_RD8ycRKuEeWPr7pxbi20Rg" documentation="Creates a supplier" name="Create supplier">
<elements xmi:type="process:Lane" xmi:id="_RD8ychKuEeWPr7pxbi20Rg" name="Employee" actor="_RD8ykBKuEeWPr7pxbi20Rg">
<elements xmi:type="process:StartEvent" xmi:id="_RD8ycxKuEeWPr7pxbi20Rg" name="Fill supplier data" outgoing="_RD8yjRKuEeWPr7pxbi20Rg">
Expand Down
4 changes: 2 additions & 2 deletions app/diagrams/Init sample procurement data-1.0.proc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:decision="http://www.bonitasoft.org/ns/studio/process/decision" xmlns:expression="http://www.bonitasoft.org/ns/studio/expression" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.3/notation" xmlns:process="http://www.bonitasoft.org/ns/studio/process" xsi:schemaLocation="http://www.bonitasoft.org/ns/studio/process/decision http://www.bonitasoft.org/ns/studio/process#//decision">
<process:MainProcess xmi:id="_RehaYAhBEeWypMcgJpEEWg" name="Init sample procurement data" bonitaModelVersion="7.12.0-004">
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:decision="http://www.bonitasoft.org/ns/bpm/process/decision" xmlns:expression="http://www.bonitasoft.org/ns/bpm/expression" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.3/notation" xmlns:process="http://www.bonitasoft.org/ns/bpm/process">
<process:MainProcess xmi:id="_RehaYAhBEeWypMcgJpEEWg" name="Init sample procurement data" bonitaModelVersion="9">
<elements xmi:type="process:Pool" xmi:id="_RehaYQhBEeWypMcgJpEEWg" documentation="Initializes data for the Procurement Request process" name="Init sample procurement data">
<elements xmi:type="process:Lane" xmi:id="_RehaYghBEeWypMcgJpEEWg" name="Employee lane" actor="_RehajQhBEeWypMcgJpEEWg">
<elements xmi:type="process:StartEvent" xmi:id="_RehaYwhBEeWypMcgJpEEWg" name="Start" outgoing="_DZ1HMBMvEeWpdIGsOJwTbQ">
Expand Down
Loading