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

  1. In the Project Explorer view, expand the project application and double click Properties.
    The properties are now displayed in the Editor view.
  2. 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.
  3. Click Cloud Container Connection.
    The Cloud Container Connection Configuration window is displayed.
  4. 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.

  5. Choose the appropriate value and click OK.
  6. Click Save.