Open topic with navigation

TIBCO® Control Plane 1.0.0

# Updating App Configuration with the API

Using this API you can update app configuration on runtime without restarting the app instance.

To update app attributes you need the following:

- App ID — ID of the app to be accessed, which can be retrieved using the GET /v1/dp/apps method.

- The engine variable FLOGO_APP_PROP_RECONFIGURE should be set to true for that particular app.

Procedure

1. Use the PUT /v1/dp/apps/{appId}/config/refresh method to update the application variables of an existing app on runtime without restarting the app instance. Include the application variables you want to change in the model.

2. Use one the following engine variables along with FLOGO_APP_PROP_RECONFIGURE to update the app configuration.

   1. FLOGO_APP_PROPS_AWS
   2. FLOGO_APP_PROPS_CONSUL
   Note: The list of config in key value pairs to update the app properties must be identical to its counterpart (app property) in the Applicon Propertiesati dialog in Flogo. If the parameter names do not match exactly, a warning message is displayed, and the app uses the default value that you configured for the property in Flogo.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO® Control Plane

Copyright © 2023-2024. Cloud Software Group, Inc. All Rights Reserved.