Bonita Home and properties in Bonita 7.0.2

1
0
-1

The documentation says :
"The bonita.home system property points to the root directory for a client application of Bonita BPM. The directory contains a client subdirectory, which contains a conf subdirectory. The conf subdirectory contains the bonita-client.properties file."

This was true in version 6, but it isn't in version 7. Now there is a file bonita-client-custom.properties in '{bonita.home}/engine-client/conf'. I have set bonita.home and when I tried to get the LoginAPI (as described here in the documentation):

final LoginAPI loginAPI = TenantAPIAccessor.getLoginAPI();
APISession session = loginAPI.login("admin", "bpm");

However, I get an error, since the APIAccessor still tries to read '{bonita.home}/client/conf/bonita-client.properties'.
When I create this path and copy the contents from '{bonita.home}/engine-client/conf/bonita-client-custom.properties' to '{bonita.home}/client/conf/bonita-client.properties', then everything works fine. But I don't think this is the proper way to do this.

So could someone update the documentation? Or is it a bug?

1 answer

1
0
-1

Same here.

Notifications