[
https://issues.apache.org/jira/browse/BROOKLYN-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15230957#comment-15230957
]
Aled Sage commented on BROOKLYN-251:
------------------------------------
I was wrong - this isn't an issue at all.
I was running with https://github.com/cloudsoft/brooklyn-tosca/ also enabled,
which can take a minute or two to initialise. This was causing a long delay
before the locations were ready to be shown in the dropdown list (after calling
"reload properties").
I'll close this issue.
> "Reload properties" clears catalog locations from "add application" location
> dropdown list
> ------------------------------------------------------------------------------------------
>
> Key: BROOKLYN-251
> URL: https://issues.apache.org/jira/browse/BROOKLYN-251
> Project: Brooklyn
> Issue Type: Bug
> Reporter: Aled Sage
>
> In 0.9.0 rc3...
> Clicking the "reload properties" button will remove from the locations list
> the entries that come from the catalog.
> To reproduce:
> 1. Launch Brooklyn with {{brooklyn launch --persist auto --persistenceDir
> whatever --noGlobalBrooklynProperties}} (to keep it as simple as possible -
> no locations from brooklyn.properties).
> 2. Add a location to the catalog (such as that below)
> {noformat}
> brooklyn.catalog:
> version: 0.1.2
> items:
> - id: myloc
> name: My Location
> itemType: location
> item:
> type: localhost
> {noformat}
> 3. Click on “reload properties” (in the home page of the web-console)
> 4. Go to the “add application” wizard, choose an app, and then look at the
> drop-down list of locations.
> The location (e.g. "My Location") will not be included.
> When you next add a location to the catalog, then all locations from the
> catalog become visible in the drop-down again.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)