How do I need to configure a bonita studio 2021-2 to use it offline?

1
0
-1

I am trying to get a Bonita studio 2021.2 up and running without direct internet access.The Maven repository can apparently be deployed via a Nexus. However, integrating the various connectors (e.g. REST or databases) is very cumbersome. Furthermore, I have not yet managed to connect to an (offline) Bonita Market Place.

Is it possible to export all the required content from a Bonita studio with internet access in such a way that it can later be imported into another Bonita studio without internet access? The Maven repository can apparently be deployed via a Nexus. However, integrating the various connectors (e.g. rest or databases) is very cumbersome. Furthermore, I have not yet managed to connect to an (offline) Bonita marketplace.

Is it possible to export all the required content from a Bonita studio with internet access in such a way that it can later be imported into another Bonita studio without internet access.

Is there any documentation for this problem? Until now I could not find anything on this topic.

Comments

Submitted by bgl on Mon, 02/21/2022 - 13:26

Hello,
unfortunately the workaround does not work.
When I create a new project on a system (A), export it (bos file and .m2 directory) and import it on another system (B), I notice the following.
It happens that I can see and use connectors (e.g. db, ldap, email) , which I downloaded at the beginning with the system (A), in the system (B) directly after the import. But after restarting Bonita studio, the connectors are no longer available, although they are listed under the Maven dependencies. Also doing an update under "\Maven\update" project and/or a refresh of the project under "\project\refresh" do not help.

What can I do, so that the connectors on system (B) are reapplied to the project?

However, it would still be the best, to change the url for calling Bonita marketplace, so that I could provide the content via a "nexus sonatype".

I be grateful for any advice.

kind regards
Bodo (bgl)

Submitted by nicolas.chabanoles on Mon, 02/21/2022 - 15:59

Hi Bodo,

I tested locally on my laptop by doing:

  • Creating a project that uses connectors
  • Exporting the .bos
  • putting my computer on flight mode (no internet)
  • installing a fresh install of Bonita Studio
  • importing the .bos
  • editing the diagram to add a connector on a task (works well)
  • restart Bonita studio
  • editing the diagram to add another connector on another task (works well as well)

In both connector addition I added a connector that was previously installed via the marketplace (in the installation that had internet connectivity)

So basically, it "works on my computer ;-) ".

What is the difference between my steps and what you are trying to achieve (besides the fact that you change computer)?

By the way, if you have a shared nexus in your safe network, you can ignore the sharing of the .m2 repo and store all the artifacts in your Nexus of course :-)

Captain Bonita

3 answers

1
0
-1
This one is the BEST answer!

Hello bgl,

As you mentioned the internet connectivity is mainly to download all the maven artifacts.

If you want to safely work offline, I would suggest installing all the connectors you are willing to use via the marketplace (it will download them in your local .m2 repository (Maven folder outside Bonita Studio). From there working offline should be possible with a combo Bonita Studio and your .m2 repository.

If the idea is to share with another computer or person, you will have to share both the .bos archive exported from Bonita Studio + your .m2 folder with all the maven dependencies (might be a huge folder depending on your Maven activity)

Can you explain a bit more your use case, why you want to work offline and why do you want to share resources to another computer in an off-line mode?

Hope this helps

Captain Bonita

Comments

Submitted by bgl on Wed, 03/02/2022 - 18:22

Hello,
we are planning to develop in a team. For syncing and version control of the work results we will use a git system.
About it-security reasons, we need to run BONITA in a secured network area to be able to use it together with an existing it-automation environment. Due to the complexity of the existing it-infrastructure, the development and testing of the created processes can only take place in this secured network area.

kind regards
Bodo (bgl)

Submitted by bgl on Wed, 03/02/2022 - 18:28

Hello,
you are right. Copying the bos file and the .m2 directory worked in another network area, on other systems.

best regards
bgl

1
0
-1

Hello,
unfortunately the workaround does not work.

kind regards
Bodo (bgl)

1
0
-1

Hello Captain Bonita ,
thank you very much for your answer. By building a secure network infrastructure, developer systems as well as production server systems do not have internet connection to protect production data.

Many greetings
Bodo (bgl)

Notifications