Custom Connector Proxy Settings
We have several diagrams and on each diagram, we have a custom connector that needs to contact SharePoint online for authentication and document upload.
The problem is our server where bonitasoft is deployed is under a proxy server. So whenever we want to deploy each process to production, we need to share the proxy settings for all custom connectors
Is there a way to do it automatically or our custom connector to read the proxy settings from configuration file?
1 answer
You need to edit the setenv.sh
(or .bat) template file from the setup folder: setup/tomcat-templates/setenv.sh
and add the proxy system properties.
Comments
What about configuring the proxy settings when starting the Bonita tomcat bundle ?
Does the Sharepoint client require additional settings ?
can't we have it as a setting on the bonita engine server deployed to use the proxy settings for outgoing requests?
We surely can add it to the custom connector but we have to change it each time we want to deploy.
The production server has different proxy settings from our development environment
I was not talking about handling it in your custom connector but directly setting the system properties when starting the bundle.
You can add system properties in the Server preference of the Studio (for the Studio env). Or edit the
setenv.sh
of a production bundle (see the documentation reference)<p>I'm new to Bonita</p>
<p>when tomcat starts the setenv.sh file gets overwritten so any custom config in it is lost.</p>
You need to edit the
setenv.sh
(or.bat
) template file from the setup folder:setup/tomcat-templates/setenv.sh
Thank you it works now