Exporting a service model
To export a service model
The following image represents the steps that must be added in the transformation:
- Log in to Atrium Integrator Spoon.
- Create a new transformation and add the following steps:
- Define REST URL—Add a step to define the constants and enter the following information in the fields:
- Get AR JWT Token—Add the REST Client step and specify the AR JWT token authentication details.
- Prefix Token—Add the Modified JavaScript Value step and define the script values.
- REST Client CMDB_GraphWalk_API—Add the REST Client step and provide the Graphwalk REST API endpoint URL and the parameters.
This step generates a JSON file. - Read GraphWalk Output—Add a JSON Input step that reads the JSON file generated in Step d.
- CIRelationshipReport—Add a Microsoft Excel Output step and define the columns that the report must create.
This step uses the information from the JSON Input step and generates the report about the service model.
- Define REST URL—Add a step to define the constants and enter the following information in the fields:
- Run the transformation.
The following image shows a sample report with the columns class name, Instanceid, and datasetid: - (Optional) To automate the report generation, open the transformation in the Atrium Integrator console in CMDB Portal and set a schedule.
Alternatively, you can use the following sample transformation, modify it for your environment, and run it: .
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*