brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geomacy <>
Subject [GitHub] brooklyn-docs pull request: Inclusion of catalog items inside othe...
Date Tue, 26 Apr 2016 11:32:29 GMT
Github user geomacy commented on the pull request:
    My thought on this is that the behaviour we are describing here, and I don't just mean
the newly added stuff in this PR, is complicated enough that we should expand the text to
at least include examples of each of the possibilities.  At minimum I'd say the new material
needs illustration.
    Entries can be URL to another catalog file to include, inheriting the meta from the current
hierarchy. For example:
      displayName: Foo
      - http://some.server.or.other/path/my.jar
      - id: use-from-my-catalog
          type: some-type-defined-in-my-catalog-entries
    In this case a jar file is added as a library, and then catalog items are added from the
"" file it contains, followed by an additional item that makes use of
the definitions in the included file.
    And similarly for the include case.  We should cover the various supported scenarios.
    A question - do we really need the "include" keyword? Does the use of a URL as the item
not do the same thing?  If we can avoid "include" it might avoid confusion as to whether to
use it or not.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message