Skip to Content
0

Custom application properties for java application in SAP CP

Oct 30, 2017 at 08:31 AM

81

avatar image
Former Member

Hello, I miss some capabilities to manage custom application properties for Java application in SAP Cloud platform (NEO environment) as it is possible for SAP Netweaver AS Java (https://help.sap.com/viewer/c591e2679e104fcdb8dc8e77771ff524/7.5.7/en-US/4ae672958df22e0ce10000000a421937.html).

Can someone point me in the right direction? How can I manage custom application properties (e.g. a scheduler cron intervall) without changing source code and redeployment?

ThanX

Gregor

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Ivan Mirisola
Dec 22, 2017 at 07:18 PM
0

Hi Gregor,

NW-AS Java has that feature built in by SAP and than you could manage it via Config Tool.

If the configuration is simple, your could use the neo SDK parameter "--ev" documented here. This will set environment variables that you could update via automation using neo console client. Then, you could retrieve its values using:

System.getProperty(name)

Check also libraries out there that facilitate this task, like Spring.

Regards,
Ivan

Share
10 |10000 characters needed characters left characters exceeded