Skip to Content
avatar image
Former Member

Custom application properties for java application in SAP CP

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 22, 2017 at 07:18 PM

    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

    Add comment
    10|10000 characters needed characters exceeded