public class VcapPropertyLoaderListener
extends org.springframework.boot.cloudfoundry.VcapApplicationListener
The following properties will be replaced, or added if they don't exist yet, using values from the system-provided environment variables, if they are listed as user-provided variables.
postgres.* mongodb.*
In other words, adding 'mongo_service: europeana-object-db-blue-2' to the env section of the manifest.yaml, will replace/add all mongodb.* values found in the europeana properties with the CF system provided ones. To use the Postgres values, use 'postgres_service: default'
The following system-provided properties will _always_ be injected, if it exists in the system environment:
redis.*
And the following user-provided properties, if they exist, will also be added to the europeana.properties:
api2_url api2_canonical_url portal_server portal_server_canonical
| Constructor and Description |
|---|
VcapPropertyLoaderListener() |
Copyright © 2018 Europeana Foundation. All rights reserved.