Service Registry 3.1 Update 1 Administration Guide

add association Command

Adds an Association object to the Registry.

add association Command Synopsis

add association -type association-type sourceURN targetURN

add association Command Description

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

You can use any of the following types:

add association Command Options

-type

The type of the Association object.

add association Command Operands

sourceURN

The URN of the source object.

targetURN

The URN of the target object.

add association Command 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