Hi Robert,
Your explicitly specified version ("v1") and the version in the bundle
("0.8.0-SNAPSHOT") must match. You can omit name & version properties and
directly do:
> libraries:
> -
> http://ccweb.cloudsoftcorp.com/maven/libs-snapshot-local/org/apache/brooklyn/brooklyn-software-database/0.8.0-SNAPSHOT/brooklyn-software-database-0.8.0-SNAPSHOT.jar
Note that if you have previously installed the bundle from the same URL it will
use the already existing version (not re-download it).
Svet.
> On 21.08.2015 г., at 13:07, Robert Moss <[email protected]> wrote:
>
> Hi,
>
> We recently merged an update to the PostgreSQL blueprint into master. I'd
> like to use this on a running Brooklyn instance. I tried to add it as a
> library in a catalog like this:
>
> ```
> brooklyn.catalog:
> type: com.cloudsoft.test.postgres
> version: 1.0
> description: PostgreSQL is an object-relational database management
> system (ORDBMS) with an emphasis on extensibility and on
> standards-compliance
> displayName: CF PostgreSQL TEST
> iconUrl: classpath:///postgresql-logo-200px.png
> itemType: template
> libraries:
> - name: brooklyn-software-database-v1
> version: v1
> url:
> http://ccweb.cloudsoftcorp.com/maven/libs-snapshot-local/org/apache/brooklyn/brooklyn-software-database/0.8.0-SNAPSHOT/brooklyn-software-database-0.8.0-SNAPSHOT.jar
>
> services:
> - type: org.apache.brooklyn.entity.database.postgresql.PostgreSqlNode
> brooklyn.config:
> postgresql.initialize: true
> ```
>
> but I get the following error:
>
> ```
> Bundle from
> http://ccweb.cloudsoftcorp.com/maven/libs-snapshot-local/org/apache/brooklyn/brooklyn-software-database/0.8.0-SNAPSHOT/brooklyn-software-database-0.8.0-SNAPSHOT.jar
> failed to install: Bundle already installed as
> org.apache.brooklyn.software-database:0.8.0.SNAPSHOT but user explicitly
> requested CatalogBundleDto{symbolicName=brooklyn-software-database-v1,
> version=v1, url=
> http://ccweb.cloudsoftcorp.com/maven/libs-snapshot-local/org/apache/brooklyn/brooklyn-software-database/0.8.0-SNAPSHOT/brooklyn-software-database-0.8.0-SNAPSHOT.jar
> }
> ```
>
> is there another way I can do this without access to the machine running
> Brooklyn?
>
> --
> Cloudsoft Corporation Limited, Registered in Scotland No: SC349230.
> Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP
>
> This e-mail message is confidential and for use by the addressee only. If
> the message is received by anyone other than the addressee, please return
> the message to the sender by replying to it and then delete the message
> from your computer. Internet e-mails are not necessarily secure. Cloudsoft
> Corporation Limited does not accept responsibility for changes made to this
> message after it was sent.
>
> Whilst all reasonable care has been taken to avoid the transmission of
> viruses, it is the responsibility of the recipient to ensure that the
> onward transmission, opening or use of this message and any attachments
> will not adversely affect its systems or data. No responsibility is
> accepted by Cloudsoft Corporation Limited in this regard and the recipient
> should carry out such virus and other checks as it considers appropriate.
--
Cloudsoft Corporation Limited, Registered in Scotland No: SC349230.
Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP
This e-mail message is confidential and for use by the addressee only. If
the message is received by anyone other than the addressee, please return
the message to the sender by replying to it and then delete the message
from your computer. Internet e-mails are not necessarily secure. Cloudsoft
Corporation Limited does not accept responsibility for changes made to this
message after it was sent.
Whilst all reasonable care has been taken to avoid the transmission of
viruses, it is the responsibility of the recipient to ensure that the
onward transmission, opening or use of this message and any attachments
will not adversely affect its systems or data. No responsibility is
accepted by Cloudsoft Corporation Limited in this regard and the recipient
should carry out such virus and other checks as it considers appropriate.