Escalated Links represent an indirect link between two objects and can be seen in CAST Enlighten.
For example, a child object of one of the parent objects could be linked directly to another parent object, or a child object belonging to one of the parent objects could be linked directly to a child object of another parent object, thus creating an indirect link between the two parent objects.
Escalated Links are represented in CAST Enlighten by a dotted red link between objects and can be expanded to display the constituent objects as you can see in below screenshot :
To activate the Escalated links, you have to check the option in CAST MS, in the production tab as shown in the below screenshot :
For more information, refer to the CAST Management Studio Help Online : CAST Management Studio - Help > Infrastructure > Editor > Technology Edito > Common Technology options
In this page, the different logs lines corresponding to the Escalate Links task is listed with functional and technical explanation of the logs that it generates.
CAST-MS<id>.log.txt
The Escalated links step is logged in the CAST-MS.log.txt file. It starts with the key words starting Task Run Escalated Links Calculation on <Application Name>
INF: 2016-10-04 14:00:06: starting Task Run Escalated Links Calculation on "J2EE Refined Target"
The command line to run the Escalated link is :
INF: 2016-10-04 14:00:06: <CAST INSTALLATION FOLDER>/CAST-LinksEscalator.jar -driver org.postgresql.Driver -url jdbc:postgresql://<SERVER>:2280/postgres -schema <YOUR LOCAL DB> -user operator -password ***** -projects Project_id
To get the Project_id, go to the page SQL Queries - CAST Knowledge Base - Queries on User Project - How to get User Project ID, it gives the query to get the list of project_id and project name.
Then, the command line will be like : C:\Program Files\CAST\8.0/CAST-LinksEscalator.jar -driver org.postgresql.Driver -url jdbc:postgresql://<SERVER>:2280/postgres -schema <YOUR LOCAL DB> -user operator -password ***** -projects 1356684
INF: 2016-10-04 14:00:06: Defining Log server thread as a new logging context without any writers
INF: 2016-10-04 14:00:06: Links Escalator Copyright (c) 2014 CAST
INF: 2016-10-04 14:00:06: Connected to: jdbc:postgresql://<Server DB>:2280/postgres user: operator
The processing to generate the Escalated links is starting
INF: 2016-10-04 14:00:06: Escalating links on projects #<ProjectId>...
INF: 2016-10-04 14:00:06: Reading AMT Metamodel...
INF: 2016-10-04 14:00:06: Connected to: jdbc:postgresql://<Server DB>:2280/postgres user: operator
INF: 2016-10-04 14:00:06: Escalating links on projects #<ProjectId>...
INF: 2016-10-04 14:00:06: Reading AMT Metamodel...
INF: 2016-10-04 14:00:07: Loading objects...
INF: 2016-10-04 14:00:07: Loading objects...
Number of objects Selected involved in the Escalated links creation
INF: 2016-10-04 14:00:07: 1855 objects loaded in: 43 ms
INF: 2016-10-04 14:00:07: Selecting objects on project #<ProjectId>...
INF: 2016-10-04 14:00:07: 407 objects selected in: 11 ms
INF: 2016-10-04 14:00:07: Loading links on project #<ProjectId>...
INF: 2016-10-04 14:00:07: 11 links loaded in: 6 ms
INF: 2016-10-04 14:00:07: Escalating links on project #<ProjectId>...
INF: 2016-10-04 14:00:07: 3 links escalated in: 12 ms
INF: 2016-10-04 14:00:07: Saving escalated links on project #<ProjectId>...
INF: 2016-10-04 14:00:07: 1855 objects loaded in: 43 ms
.....
Summary of the Escalated link process : Number of Escalated links created
INF: 2016-10-04 14:00:09: Links escalated in 2221 ms, 11653 links created [rate: 5246 links/s]
INF: 2016-10-04 14:00:09: Detailed durations ==> Objects loading: 25 ms, links loading: 18 ms, links escalation: 801 ms, links saving: 1082 ms
INF: 2016-10-04 14:00:09: Disconnected!
INF: 2016-10-04 14:00:09: Escalated links saved in: 130 ms
INF: 2016-10-04 14:00:09: Links escalated in 2221 ms, 11653 links created [rate: 5246 links/s]
INF: 2016-10-04 14:00:09: Detailed durations ==> Objects loading: 25 ms, links loading: 18 ms, links escalation: 801 ms, links saving: 1082 ms
INF: 2016-10-04 14:00:09: Disconnected!
INF: 2016-10-04 14:00:09: Done!
INF: 2016-10-04 14:00:09: Task message: No Task message
INF: 2016-10-04 14:00:09: No associated log file
INF: 2016-10-04 14:00:09: ending Task Run Escalated Links Calculation on "J2EE Refined Target"