public class VcapPropertyLoaderListener
extends org.springframework.boot.cloudfoundry.VcapApplicationListener
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 © 2017 Europeana Foundation. All rights reserved.