Page tree

Purpose

This page provides the description of different logs which are created when generating snapshot using the Web Service Linker extension. The "Web Services Linker" (com.castsoftware.wbslinker) extension automatically creates links for "web services" between client and server components by following a particular protocol based on objects and names. Therefore it is used during the step "Run Extensions at Application Level".

The client analysis uses one of the following extensions depending on the technology of the client : 

The server-side Web Services are created using one of the following extensions :

You may also refer to Official Documentation

 

 In this page, the different logs lines corresponding to the Run Universal Analyzer - Web Service Linker used on top of extension Angular JS are listed with functional and technical explanation of the logs that it generates.



Excerpt Macro - Logs - Full Analysis Image for 83

CAST-MS-20180611-110255.log.txt

Cast-MS-<Date>-<Time>.log.txt

In the CAST MS log file we have many useful information regarding the environment : the CAST Installation folder used (we can find it in the command line to run the tool), the LISA and LTSA location and the log file location.

Run Extensions at Application level for TKB WSLinker

INF: 2018-06-11 12:20:44: starting Task Run Extensions at application level for TKB WSLinker
INF: 2018-06-11 12:20:44: C:\Program Files\CAST\8.3/ThirdParty\Python34\python.exe C:\Flat Service Packs\8.3.3/ThirdParty\Python34\Lib\site-packages\cast\application\internal\run_plugins.py --log C:\ProgramData\CAST\CAST\Logs\TKB WSLinker\Run_Analysis_on_th_517\ApplicationExtensions-20180611-121657.castlog --application TKB WSLinker --database postgresql --host SFRW7LAP --port 2280 --user operator --password ****** --schema salim_833_local --castdirectory C:\Flat Service Packs\8.3.3 --event end_application --temporary C:\ProgramData\CAST\CAST\CASTMS\LTSA/9f5e3fe7cd45486e9e53311b8585b064 --intermediate C:\ProgramData\CAST\CAST\CASTMS\LISA/9f5e3fe7cd45486e9e53311b8585b064 --report-path C:\ProgramData\CAST\CAST\CASTMS\LISA\9f5e3fe7cd45486e9e53311b8585b064\reports_end_application.xml --mngt-host SFRW7LAP --mngt-database postgresql --mngt-port 2280 --mngt-user operator --mngt-password **** --mngt-schema salim_833_mngt
INF: 2018-06-11 12:21:18: Task message: No Task message
INF: 2018-06-11 12:21:18: Log file: C:\ProgramData\CAST\CAST\Logs\TKB WSLinker\Run_Analysis_on_th_517\ApplicationExtensions-20180611-121657.castlog
INF: 2018-06-11 12:21:18: ending Task Run Extensions at application level for TKB WSLinker

HTML5_32976-20180611-145354.castlog

HTML5_<ExecutionUnitId>-<Date>-<Time>.castlog

In this example, the analysis log is from a HTML5 analysis. It could be any of the client technologies specified in the introduction

Run analysis is about to start

In this stage, installed extensions are registered and meta-model is loaded from knowledge base

2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.python 1.0.0-funcrel.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.dmtxmlscanner 1.0.0-funcrel.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.dotnet 1.0.0
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.html5 1.7.1.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.internal.platform 0.6.0.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.jaxrs 1.3.1.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.jaxws 1.0.0-funcrel.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.jee 1.0.4.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.jquery 1.6.0.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.nodejs 1.6.0.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.springmvc 1.5.0.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.sqlanalyzer 2.3.1.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.wbslinker 1.5.0.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.webfilesdiscoverer 1.1.0.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.JEE-MavenHttp 2.0.0.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.angularjs 1.6.0.
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.businessobject 1.0.2
2018-06-11 14:54:13.162830 Information MODULMSG ; Job execution Registering extension com.castsoftware.dmtboextractiondiscoverer 1.0.0.
2018-06-11 14:54:13.296312 Information MODULMSG ; Job execution Loading meta model from repository . . .
2018-06-11 14:54:14.189142 Information MODULMSG ; Job execution Meta model loaded.
2018-06-11 14:54:14.406757 Information MODULMSG ; Job execution RunAnalysis started

The WebService Linkers registers itself, but does not do anything during analysis. It works during the "Run extension at application level" step, and mainly writes to the log below

ApplicationExtensions-20180611-145350.castlog

ApplicationExtensions-<Date>-<Time>.castlog

This log file is generated during the "Run extensions at application level" step. This is where the Web Services Linker is used.

Configuration

Connection to KB

2018-06-11 14:55:06,000 INFO MODULMSG ; Body Running Extensions at application level ...
2018-06-11 14:55:06,000 INFO MODULMSG ; Body Connecting to knowledge base ...
2018-06-11 14:55:08,335 INFO MODULMSG ; Body Connecting to knowledge base Done

Register extensions

2018-06-11 14:55:08,335 INFO MODULMSG ; Body Registering Extension com.castsoftware.angularjs 1.6.0
2018-06-11 14:55:08,350 INFO MODULMSG ; Body Registering Extension com.castsoftware.businessobject 1.0.2
2018-06-11 14:55:08,350 INFO MODULMSG ; Body Registering Extension com.castsoftware.dmtboextractiondiscoverer 1.0.0
2018-06-11 14:55:08,366 INFO MODULMSG ; Body Registering Extension com.castsoftware.dmtxmlscanner 1.0.0-funcrel
2018-06-11 14:55:08,366 INFO MODULMSG ; Body Registering Extension com.castsoftware.dotnet 1.0.0
2018-06-11 14:55:08,366 INFO MODULMSG ; Body Registering Extension com.castsoftware.html5 1.7.1
2018-06-11 14:55:08,366 INFO MODULMSG ; Body Registering Extension com.castsoftware.internal.platform 0.6.0
2018-06-11 14:55:08,382 INFO MODULMSG ; Body Registering Extension com.castsoftware.jaxrs 1.3.1
2018-06-11 14:55:08,382 INFO MODULMSG ; Body Registering Extension com.castsoftware.jaxws 1.0.0-funcrel
2018-06-11 14:55:08,382 INFO MODULMSG ; Body Registering Extension com.castsoftware.JEE-MavenHttp 2.0.0
2018-06-11 14:55:08,397 INFO MODULMSG ; Body Registering Extension com.castsoftware.jee 1.0.4
2018-06-11 14:55:08,397 INFO MODULMSG ; Body Registering Extension com.castsoftware.jquery 1.6.0
2018-06-11 14:55:08,397 INFO MODULMSG ; Body Registering Extension com.castsoftware.nodejs 1.6.0
2018-06-11 14:55:08,413 INFO MODULMSG ; Body Registering Extension com.castsoftware.python 1.0.0-funcrel
2018-06-11 14:55:08,413 INFO MODULMSG ; Body Registering Extension com.castsoftware.springmvc 1.5.0
2018-06-11 14:55:08,429 INFO MODULMSG ; Body Registering Extension com.castsoftware.sqlanalyzer 2.3.1
2018-06-11 14:55:08,429 INFO MODULMSG ; Body Registering Extension com.castsoftware.wbslinker 1.5.0
2018-06-11 14:55:08,429 INFO MODULMSG ; Body Registering Extension com.castsoftware.webfilesdiscoverer 1.1.0

Update Cast System Views

These views can be used by some custom extensions, so they are generated.

2018-06-11 14:55:12,343 INFO MODULMSG ; Body Updating cast system views ...
2018-06-11 14:55:14,632 INFO MODULMSG ; Body Updating cast system views Done

Run plugins

 Each plugin is executed one-by-one

2018-06-11 14:55:29,277 INFO MODULMSG ; Body Running plugin com.castsoftware.wbslinker...
2018-06-11 14:55:29,277 INFO MODULMSG ; Body Loading REST web services calls...

Here the web services linker tries to match client URLs with web services

2018-06-11 14:55:29,354 INFO MODULMSG ; Body Matching calls with server...
2018-06-11 14:55:29,428 INFO MODULMSG ; Body Unmatched resource Object(C:\CASTMS-833\Deploy\TKB WSL\Source\main\webapp\WEB-INF\views\UserManagement.jsp/CAST_HTML5_GetHttpRequestService/https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css, CAST_HTML5_GetHttpRequestService) (https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css/)
2018-06-11 14:55:29,429 INFO MODULMSG ; Body Unmatched resource Object(C:\CASTMS-833\Deploy\TKB WSL\Source\main\webapp\WEB-INF\views\UserManagement.jsp/CAST_HTML5_GetHttpRequestService/{}, CAST_HTML5_GetHttpRequestService) ({}/)

In this analysis, 66% of the client URLs matched with web services

2018-06-11 14:55:29,429 INFO MODULMSG ; Body Linked 66.66666666666666 percent of urls
2018-06-11 14:55:29,439 INFO MODULMSG ; Body Linking SOAP services

2018-06-11 14:55:36,783 INFO MODULMSG ; Body Done running plugin com.castsoftware.wbslinker.

End of application level

2018-06-11 14:55:36,962 INFO MODULMSG ; Body Publishing 0 reports
2018-06-11 14:55:36,968 INFO MODULMSG ; Body Running Extensions at application level Done

CAST_MainTask_SummaryLog-20180611-145539.txt

CAST_MainTask_SummaryLog-<Date>-<Time>.txt

Status: Execution succeeded 

Start: Mon Jun 11 14:53:52 CEST 2018
OS Version: Windows 8.1 (version 6.3)
Machine name: SFRW7LAP
Software Version: CAST 8.3.3 ( Build 1591 )
Task: Run Analysis on the current analysis unit's group
Total duration: 1m47s 

-- Statistics for application TKB WSL --
Analysis duration: 1m45s
Nb of modules: 0
Nb of active analysis units: 2
Nb of inactive analysis units: 0
Total nb of analysis units: 2
Nb of saved objects: 69 

Summary is saved at C:\ProgramData\CAST\CAST\Logs\TKB WSL\Run_Analysis_on_th_609\CAST_MainTask_SummaryLog-20180611-145539.txt 



  • No labels