read configurable keys from system of Bonita

1
0
-1

Hi:
I need to call REST API using special keys. These keys are different from dev,qa and Prd env. How can i read them from the system, not include the keys in the code/git?

thanks,

2 answers

1
0
-1

Thanks pierrick.voule.
I want to use env var in groovy script connector. If i go with Java System properties set using the java command line,
1) how to start Bonita platform with system properties from command line?
2) how to get env var in groovy script connector? Using Sytem.getenv() seems not working.

Please get me some details.

1
0
-1

Hello,

I would consider:

  • A property file loaded from the REST API (cached or not)
  • Java System properties set using the java command line

HIH,

Notifications