Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Encrypt/Decrypt Configuration

Enable the checkbox under the Encrypt/Decrypt Configuration tab to encrypt the messages received/sent at/to the selected port.

Image Added
Figure 24: Execution Configuration

Please refer Encrypt Decrypt Configuration section in Common Configurations page.

Port Generation


Figure 2425: Sample Configuration

A request port and response port are generated for each method configured in the component with suffixes __Request and __Response respectively. The prefix of the port name will be the complete ID of the resource computed (as described in the "Resource" section) followed by the method name.

If a resource has multiple methods with the same name (two GET methods) then the method ID has to be specified for at least one of those methods. The method ID will be appended to the port name prefix to differentiate between these methods. For the sample configuration defined in Figure 23, the ports will be generated as shown in the Figure 24.


Figure 2526: Port Generation

Schema Generation

...

If there are any query parameters other than those specified in the configuration for the method, these parameters are added as part of the Parameters element.
For the sample configuration shown in Figure 23, the schema generated for port parent __POST_Request is as in Figure 25.



Figure 2627: Schema of port parent __POST_Request

...

For the sample configuration shown in Figure 23, the schema generated for port parent_child1_GET_Response is as in Figure 26.


Figure 2728: Schema of port parent_child1_GET_Response

Functional Demonstration


Figure 2829: RESTStub being used to expose a database

...

No Response is added to the method so that the response string will be passed as is to the client. The route from DB to RESTStub (route 2) is configured to transform the DB response to just the mail ID. A sample invocation is as shown in the figure below.


Figure 2930: using service to lookup mail details of a user

...

Adaptavist ThemeBuilder EngineAtlassian Confluence