Petals CDK

Add a JMX API to update placeholders at runtime

Details

  • Type: Improvement Request Improvement Request
  • Status: New New
  • Resolution: Unresolved
  • Affects Version/s: 5.7.1
  • Fix Version/s: None
  • Component/s: configuration
  • Security Level: Public
  • Description:
    Hide

    Add a JMX attribute 'placeholders' to the runtime MBean to get and update placeholders.

    At runtime, the content of this attribute is used to access the content of the properties file:

    • according the configuration of the properties file location,
    • if no value is set as properties file location, a default one is used:
      • location: directory of the component working area,
      • filename: <component-id>.properties

    A new value of this attribute will replace all values of the properties file content.
    The attribute is persisted in the component properties file.
    New placeholder values are taken into account directly. It is not needed to invoke the JMX API 'reloadPlaceholders'

    Show
    Add a JMX attribute 'placeholders' to the runtime MBean to get and update placeholders. At runtime, the content of this attribute is used to access the content of the properties file:
    • according the configuration of the properties file location,
    • if no value is set as properties file location, a default one is used:
      • location: directory of the component working area,
      • filename: <component-id>.properties
    A new value of this attribute will replace all values of the properties file content. The attribute is persisted in the component properties file. New placeholder values are taken into account directly. It is not needed to invoke the JMX API 'reloadPlaceholders'
  • Environment:
    -

Issue Links

Activity

People

Dates

  • Created:
    Tue, 10 Sep 2019 - 12:08:03 +0200
    Updated:
    Fri, 27 Sep 2019 - 11:51:43 +0200