Valentin Aitken created BROOKLYN-312:
----------------------------------------

             Summary: Adding a catalog item with version 1.10 gives duplication 
error
                 Key: BROOKLYN-312
                 URL: https://issues.apache.org/jira/browse/BROOKLYN-312
             Project: Brooklyn
          Issue Type: Bug
    Affects Versions: 0.10.0
            Reporter: Valentin Aitken


With the latest Apache Brooklyn in master when I add the following two catalog 
items:
Step 1:
{noformat}
brooklyn.catalog:
  id: org.apache.brooklyn.software.test.duplicating-catalog
  version: 1.1
  description: Duplicating catalog
  itemType: template
  item:
    services:
    - type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess
{noformat}

Step 2: 
{noformat}
brooklyn.catalog:
  id: org.apache.brooklyn.software.test.duplicating-catalog
  version: 1.10
  description: Duplicating catalog2
  itemType: template
  item:
    services:
    - type: org.apache.brooklyn.entity.software.base.EmptySoftwareProcess
{noformat}

Apache Brooklyn gives me the following error:
{noformat}
Updating existing catalog entries is forbidden: 
org.apache.brooklyn.software.test.duplicating-catalog:1.1. Use forceUpdate 
argument to override.
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to