Skip to main content
Version: 6.1

Getting Started and Migration

Initialization​

Before starting to use the Resource-Service Model, initialization must be performed. To do this, execute the following command in the Dev Tools console (Main Menu - Settings - Dev Tools):

GET _core/rsm/init

After successful initialization, you can proceed to creating a model.

Migration​

You can easily migrate your existing model for use in the new version.

  1. First, obtain the model identifier from the old version. You can get it from the URL of the old version's resource-service model page, for example: sm:5601/app/rsm/tree#?_q=(level:1,model_id:***model_2442d2d1-d8a4-11ef-9e45-25439e417cec***,timezone:'%2B03:00')
  2. Execute the following command in the Dev Tools console (Main Menu - Settings - Dev Tools):
GET _core/rsm/migrate/<Model Identifier from step 1>

After successful initialization, you can proceed to reviewing models or the graph.


Configuring the Menu​

Via the Graphical Interface​

To view the functionality, you need to create elements in the navigation menu. To do this, open the menu Main Menu - Settings - Management - Main - Menu Settings. Click the Add Module button.

Fill in the fields for the module as follows:

Field NameContent
Element TypeGroup
System Namersm-v2
TitleRSM
Enable DisplayYes, the flag must be enabled

Inside the RSM module, click the Add Section button. To display ASM Tree and Layers, as well as to display the Layers, Metrics, and Services tables, fill in the fields as follows:

Field NameContent
Element TypePage
System Nametree
TitleRSM Tree
Enable DisplayYes, the flag must be enabled

RSM Tree

Click the Save Changes button. Configure permissions for user groups if necessary.

Via JSON​

To do this, open the menu Main Menu - Settings - Management - Main - Menu Settings, go to the JSON structure tab, and add the following fragment to the top list, separated by a comma:

JSON
{
"itemType": "group",
"name": "rsm-v2",
"_permissions": {
"owner": "admin",
"read": {
"roles": [],
"users": []
},
"write": {
"roles": [],
"users": []
}
},
"id": "i166ef2a1-13ba-11f0-a668-6560e9eb14d5",
"title":RSM",
"enabled": true,
"sections": [
{
"itemType": "page",
"name": "tree",
"_permissions": {
"owner": "admin",
"read": {
"roles": [],
"users": []
},
"write": {
"roles": [],
"users": []
}
},
"id": "i46e0d571-13ba-11f0-a668-6560e9eb14d5",
"title": "RSM Tree",
"enabled": true
},
{
"itemType": "page",
"name": "layers",
"_permissions": {
"owner": "admin",
"read": {
"roles": [],
"users": []
},
"write": {
"roles": [],
"users": []
}
},
"id": "i5de13351-13ba-11f0-a668-6560e9eb14d5",
"title": "Layers",
"enabled": true
},
{
"enabled": true,
"id": "i8b1daaf1-a394-11f0-946d-91f16aff2435",
"name": "layers-table",
"title": "Layers Table",
"itemType": "page"
},
{
"enabled": true,
"id": "i9c095531-a394-11f0-946d-91f16aff2435",
"name": "metric-table",
"title": "Metrics Table",
"itemType": "page"
},
{
"enabled": true,
"id": "ia7435361-a394-11f0-946d-91f16aff2435",
"name": "services-table",
"title": "Services Table",
"itemType": "page"
}
]
}

Click the Save Changes button.