Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving the catalogue #1268

Open
sjcorbett opened this issue Mar 19, 2014 · 2 comments
Open

Improving the catalogue #1268

sjcorbett opened this issue Mar 19, 2014 · 2 comments

Comments

@sjcorbett
Copy link
Member

  • Can I add new entries to the catalogue when Brooklyn is already running?
  • Are those new entries persisted?
  • Can I refer to YAML blueprints in catalog.xml?
  • How do I manage several versions of the same application?

I'd like to see these questions answered in documentation on http://brooklyncentral.github.io.

@ahgittin
Copy link
Member

Currently: no, no, no, no.

I think this issue should be changed to "Update Catalog" to fix these limitations. (Catalog was a very quick placeholder and has always been meant to be revisited when we better understand.)

Several things I'd like to see changed:

  1. Ability to support YAML blueprints as well as classes.

  2. Ability to indicate compatible brooklyn versions.

  3. Remove catalog "scanning" mode. This is too slow on startup and heavyweight. Instead:

  • There should be an operation via the REST API and GUI which allows manual updates to the catalog (class, yaml, or import a catalog from elsewhere), as well as triggering a "populate catalog by scanning" command
  • There should be an operation to verify catalog items to make it easy to spot those which are not compatible (if metadata indicates a different version of brooklyn) or problematic (if they won't load) so that they can be removed
  • On first load if there is no catalog, give the option to scan and/or import a predefined catalog (e.g. at cloudsoftcorp.com)
  1. Ability to support tags, and search based on tags in the GUI.

Finally we want to support versioning but I think this should be a separate issue (it impacts catalog but is mostly independent). I expect this will likely leverage OSGi for classpath isolation as well as dependency resolution. What would be really cool is a "test-switch-version" which will serialize an existing app instance brooklyn model from one version then attempt to deserialize it with another version, so we can live-update blueprints.

@sjcorbett sjcorbett changed the title Lack of documentation about catalogues Improving the Brooklyn catalogue Mar 19, 2014
@sjcorbett sjcorbett changed the title Improving the Brooklyn catalogue Improving the catalogue Mar 19, 2014
@grkvlt
Copy link
Member

grkvlt commented Apr 12, 2014

See #1286 for YAML in Catalog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants