brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbouron <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Add TOSCA metadata support for ca...
Date Wed, 11 Nov 2015 14:14:05 GMT
GitHub user tbouron opened a pull request:

    https://github.com/apache/incubator-brooklyn/pull/1020

    Add TOSCA metadata support for catalog entities and templates

    This implementation adds TOSCA type's metadata as a strongly typed tag into entities and
templates catalog items. This information can be retrieved from the REST API, endpoints:
    - /v1/catalog/applications
    - /v1/catalog/entities
    
    TOSCA type will default to `brooklyn.nodes.SoftwareProcess` but can be overridden by specifying:
    - a `Tosca` annotation on Java entities, [here is an example](https://github.com/tbouron/incubator-brooklyn/commit/fe169eab38d6c17afcbc2221914609eaa8e1e1f0#diff-4b98848c850b4fc0e6a3927b3d76f167R43)
    - the TOSCA type when adding a pure CAMP YAML blueprint to the catalog like this:
    ```
    brooklyn.catalog:
      id: my.app
      version: 1.0
      description: My application
      displayName: My application
      itemType: template
      derivedFrom: brooklyn.nodes.WebApplication
    
    services:
    - type: org.apache.brooklyn.entity.stock.BasicApplication
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tbouron/incubator-brooklyn tosca-type-definition

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-brooklyn/pull/1020.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1020
    
----
commit fe169eab38d6c17afcbc2221914609eaa8e1e1f0
Author: Thomas Bouron <thomas.bouron@cloudsoftcorp.com>
Date:   2015-11-11T14:01:45Z

    Add TOSCA metadata support for catalog entities and templates

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message