Modifying Application Properties
In order to make use of configuration from the Cloud Foundry runtime you need to modify the application properties.
Follow these steps to modify application properties.
The property names are specified in the format #<serviceName>.credentials.<parameter>#
, where
<serviceName> is the name of the service and
<parameter> is the name of the configuration parameter.
For example,
#postgres.credentials.username#
.
- Procedure
- In the
Project Explorer view, expand the project application and double click
Properties.
The properties are now displayed in the Editor view.
- To modify the value of a property, first click the property name and the click the
icon.
The Cloud Container Service Configuration window is displayed.
This window initially contains no values. - Click
Cloud Container Connection.
The Cloud Container Connection Configuration window is displayed.Note: The Cloud Container Connection Configuration window can be resized according to individual requirements.
- Specify the configuration properties and click
Test Connection.
If the connection is successful, variables are populated in the Cloud Container Service Configuration window as shown in the next figure.
- Choose the appropriate value and click OK.
- Click Save.