Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.75 KB

CONFIGURATION.md

File metadata and controls

29 lines (17 loc) · 1.75 KB

VMware Tanzu Application Service > Hoover UI

How to configure

Make a copy of then edit the contents of the application.yml file located in src/main/resources. A best practice is to append a suffix representing the target deployment environment (e.g., application-pws.yml, application-pcfone.yml). You will need to provide administrator credentials to Apps Manager for the foundation if you want the butler to keep your entire foundation tidy.

You really should not bundle configuration with the application. To take some of the sting away, you might consider externalizing and/or encrypting this configuration.

To set the operations schedule

cf-hoover-ui periodically queries an instance of cf-hoover to obtain foundation data. It does this by configuring a Spring Cloud Loadbalancer filter for use with WebClient.

Update the value of the cron.collection property in application.yml. Consult this article and the Javadoc to understand how to tune it for your purposes.

General configuration notes

If you copied and appended a suffix to the original application.yml then you would set spring.profiles.active to be that suffix

E.g., if you had a configuration file named application-pws.yml

-Dspring.profiles.active=pws

or

SPRING_PROFILES_ACTIVE=pws