Technology Blog Posts by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Swati_Singh
Product and Topic Expert
Product and Topic Expert
705

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

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.

Divij_Balguri09_0-1744192264633.png

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.

Divij_Balguri09_1-1744190529513.png

How to Connect the LeanIX Receiver Adapter?

Divij_Balguri09_2-1744190529517.png

Parameter

Values

Address

Set as https://sample-eu-1.leanix.net

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 

Divij_Balguri09_3-1744190529519.png

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. 

Divij_Balguri09_4-1744190529521.png

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.

Divij_Balguri09_6-1744190529528.png

How to Connect the LeanIX Receiver Adapter ?

 

- The connection parameter remains unchanged from the previous configuration.

Update the Fact Sheet using Advanced GraphQL

Divij_Balguri09_8-1744190529534.png

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.

2 Comments