What is LeanIX ?
LeanIX allows you to manage and optimize enterprise architecture. Enterprise architecture management is the practice of aligning IT infrastructure and systems with business strategy and goals. It involves documenting the organization's IT landscape, planning, designing, and overseeing the implementation of architectural changes to meet changing business requirements.
Key Features of the Adapter
The LeanIX Adapter provides the following key features:
- Supports graphQL variant that allows you to manage FactSheets using standard operations like Create, Get, Update etc.
- GraphQL variant allows you to specify requirements using Advanced Query feature.
- Supports REST variant to manage entities like Bookmarks and Settings using CRUD operations.
- Offers secure authentication via LeanIX OAuth option which employs OAuth authentication.
- You can retain a FactSheet using Archive or retrieve a deleted Factsheet using Recover via GraphQL variant.
How does the Adapter Work?
The LeanIX adapter is available as part of your SAP Integration Suite license.
To use the adapter, you must first add it to your Integration Flow, add the required Connection parameters, and configure it as per your Processing requirements.
Once you have configured the LeanIX adapter, the SAP CI tenant enables data exchange at runtime by sending a request to the LeanIX receiver system. Finally, after processing this request, LeanIX sends back the required data to SAP.
Let’s look at a simple operation to write a message to LeanIX using the LeanIX Receiver Adapter for SAP Integration Suite. Similarly, we will demo the LeanIX Sender Adapter for SAP Integration Suite to perform read and subsequently delete a message from the queue.
Below are two scenarios explained in detailed.
REST Scenario: Create the information for Application FactSheet LeanIX Receiver Adapter
The setup involves initializing the LeanIX Receiver Adapter with connection details such as the Address, API Token Alias, which are explained in below sections. Then the adapter establishes a connection to the LeanIX Server and Create the necessary information in the Factsheet.
Prepare Details in Content Modifier
In SAP Cloud Integration, the Message Body, you can use a content modifier to prepare the necessary details for creating the FactSheet. This process ensures that all relevant information is accurately formatted and ready for subsequent integration steps. By configuring the content modifier, you can customize the payload to meet specific requirements.
How to Connect the LeanIX Receiver Adapter?
Parameter | Values |
Address | |
Authentication | Select the authentication as LeanIX OAuth. |
API Token Alias | Set as LeanIXAPITokenAlias. |
Reuse connection | Enable this property if you want to reuse the connection. |
Connection Timeout (in ms) | Set as 60000. |
Response Timeout (in ms) | Set as 60000. |
Create the Fact Sheet using the LeanIX Receiver Adapter
To perform the Create operation and specify the Entity, you need to ensure that all required fields are included in the payload. This includes providing description, values, type and other fields.
Parameter | Values |
Operation | Select the Create operation. |
Entity | Select an Entity FactSheet. |
Get by ID using the LeanIX Receiver Adapter
Before we begin, it is assumed that records are available in LeanIX for fetching . Our example illustrates how the LeanIX Receiver Adapter allows fetch to read a ID.
While fetching the information, use the LeanIX Receiver adapter. Ensure that you specify the Operation, Entity and FactSheet ID.
Parameter | Values |
Operation | Select as Get By Id |
Entity | Select as FactSheet. |
FactSheet ID | Set as c703a74b-481f-4342-a4ab-7fbbdc49bb8b. |
GraphQL Scenario: Update the information for Application FactSheet in LeanIX Receiver Adapter
The setup involves initializing the LeanIX Receiver Adapter with connection details such as the Address, API Token Alias, which are explained in below sections. Then the adapter establishes a connection to the LeanIX Server and update the necessary information in the Factsheet.
Prepare Details in Content Modifier
In SAP Cloud Integration, the Message Body, you can use a content modifier to prepare the necessary details for Updating the FactSheet. This process ensures that all relevant information is accurately formatted and ready for subsequent integration steps. By configuring the content modifier, you can customize the payload to meet specific requirements.
How to Connect the LeanIX Receiver Adapter ?
- The connection parameter remains unchanged from the previous configuration.
Update the Fact Sheet using Advanced GraphQL
To perform the Advanced Query operation and specify the Payload, you need to ensure that all required fields are included in the payload. This includes providing description, values, type and other fields.
Quick Links
For detailed information about IBM MQ adapter configuration, see LeanIX Adapter Guide.
For detailed information about IBM MQ adapter, see LeanIX Adapter for SAP Integration Suite.
Note: The LeanIX adapter is available as part of your SAP Integration Suite license.