Service Registry 3.1 Administration Guide

add association

Adds an Association object to the Registry.

Synopsis

add association -type association-type sourceURN targetURN

Description

The add association command adds an Association object of the specified type to the Registry.

You can use any of the following types:

Options

-type

The type of the Association object.

Operands

sourceURN

The URN of the source object.

targetURN

The URN of the target object.

Example

The following command (all on one line) creates a RelatedTo relationship between the objects with the two specified URNs.


admin> add association -type RelatedTo 
urn:uuid:ab80d8f7-3bea-4467-ad26-d04a40045446 
urn:uuid:7a54bbca-2131-4a49-8ecc-e7b4ac86c4fd