Demo
Build a minimal interaction model in which a customer sends
a product search request to an online catalog.
During this tutorial, you will create:
Follow these steps in order to build the interaction model from scratch.
To start the tutorial go to the Main page (after passing the authentication).
One the main page open the Architecture Types page. The model already contains a root component named RootType and a root layer named Default Layer (will see later) — this is the top level of the model, the shared context in which your system architecture is defined.
Create two generic types: Simple Component and Simple Process.
Configure the Simple Component generic type:
Main Layer inside it.Simple Process generic type inside Main Layer.Simple Component inside RootType → Default Layer.
Using the side menu, open the Data Types page, click the edit button, and create two data types using TypeScript syntax. Save the changes when done.
interface SearchRequest {
searchText: string;
}
interface SearchResponse {
productIds: string[];
}
Open the Architectures page. In Default Layer, create two components of type Simple Component: User and Online Catalog. Keep the Actor role for both.
Open the User component and create a process inside its Main Layer named Main User Process, generic type Simple Process, role Process.
Open the Online Catalog component and create a process inside its Main Layer named Main Catalog Process, generic type Simple Process, role Process.
The resulting structure should be User → Main User Process and Online Catalog → Main Catalog Process.
Open the Online Catalog component, then open Main Catalog Process — you will be taken to the process editing page.
Create a call named Search products with input type SearchRequest and output type SearchResponse. Save the call, then expand it to verify the structures of SearchRequest and SearchResponse are displayed.
In the Connections sidebar, enable edit mode. In the Incoming section, add a connection: search for user, select Main User Process, then select the call name Search products. Click Save and disable edit mode.
Click the button next to Main User Process in the Incoming list to confirm the connection appears in its outgoing connections list. Then return to Architectures and open the connections sidebar on both the User and Online Catalog tiles — the same connection will be visible at both component levels.
Congratulations, you have completed the demo!
You created a minimal interaction model in which a user sends a product search request to an online catalog, and the catalog returns a search result.
The model includes:
Thank you for trying the demo!
Please share your feedback in one of the following ways:
Send a direct message: LinkedIn - Account
Leave a comment under the demo post: LinkedIn - Posts