Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 23.1

In the Designer, you can connect to backend systems using adapters. To make this work much easier, you can create a connector that provides the needed configurations for the adapter.

The Connector provides the data model, the Adapter performs the actual call to the outside system. The example above shows the connection to a REST service.

All connectors of the service that have been imported and configured reside below the Connectors node folder in the service panel.

Creating a Connector

Connectors must be created to your service before you can use them.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamecreate_connector
PageWithExcerptINTERNAL:_designer_excerpts_big
shouldDisplayInlineCommentsInIncludesfalse

Changing the Configuration of a Connector

Changing the configuration of a connector is also done via the Manage Connectors dialog.

Image Removed

Hover with your mouse over the Connectors tree node inthe service panel. Click the Image Removed icon to open the connector management.

Proceed with the configurations as described above (see Creating a Connector).

NoteYou need to configure the connector from scratch and apply your changes. The old connector will be replaced by the new configuration

In the Designer, you can add connector operations to diagrams by simply dragging them from the service panel and dropping them on the canvas.

Image Added

Configuring the Adapter Operation

Once a connector operation has been added to a diagram, it needs to be configured as a corresponding adapter.

Image Added

Select the newly added connector operation and switch to the Attributes panel. You can see the following information:

AttributeDescriptionAllowed Values / Example
NameThe generated name of the operation within the diagram.GET
Symbol TypeOperations added to a diagram are UML call operations.Call Operation

All this is generated and cannot be changed.

Image Added

Click Add Stereotype to define the selected operation as to bea corresponding adapter.

Image Added

Select the corresponding adapter, e.g. REST Adapter, from the list of available adapter stereotypes.
Click Save.

Image Added

The Attributes panel now shows the added adapter stereotype. Now you still need to configure the adapter.

Expand the stereotype by clicking the arrow on the right.

Image Added

An adapter is configured via the attributes of the selected stereotype. For the REST Adapter these are e.g. Alias and Digest Algorithm.

Image Added

For many adapters, you need to configure an alias. Aliases specify the path to the related backend. You can

  • select an existing alias from a list
  • add a new alias by clicking the Image Added icon
  • remove the alias (if one has been assigned) by clicking theImage Added icon.