At four separate points in the analysis and snapshot, there is a step that is run to allow the extensions to run extension specific actions during that point of the process.
These are:
- Before the Analysis is started
- After the Analysis is completed
- Before the Snapshot is started
- After the Snapshot is completed
The basic format is the same for each of these steps but each extension may run different actions depending on the step and the extension.
For more information, refer to Extensions - an introduction
In this page, the different logs lines corresponding to the Run Extension step is listed with functional and technical explanation of the logs that it generates.
The Log lines generated by this task is shown below
CASTMS-<date>-<time>.log.txt
Run Extension
These sections are basically the same with the difference being the 'event' option that is used to indicate which step of the process which is being executed:
Before analysis:
INF: 2019-03-12 17:08:40: starting Task Run Extensions at application level for mongo
INF: 2019-03-12 17:08:40: C:\Program Files\CAST\834_flat/ThirdParty\Python34\python.exe C:\Program Files\CAST\834_flat/ThirdParty\Python34\Lib\site-packages\cast\application\internal\run_plugins.py --log C:\ProgramData\CAST\CAST\Logs\mongo\Take_a_snapshot_of_3578\BeforeApplicationExtensio-20190312-170832.castlog --application mongo --database postgresql --host localhost --port 2282 --user operator --password ****** --schema test834_local --castdirectory C:\Program Files\CAST\834_flat --event start_application --temporary C:\ProgramData\CAST\CAST\CASTMS\LTSA/9d3f2d5eaecb4f47888f01fa1a6cdf4f --intermediate C:\ProgramData\CAST\CAST\CASTMS\LISA/9d3f2d5eaecb4f47888f01fa1a6cdf4f --report-path C:\ProgramData\CAST\CAST\CASTMS\LISA\9d3f2d5eaecb4f47888f01fa1a6cdf4f\reports_start_application.xml --mngt-host localhost --mngt-database postgresql --mngt-port 2282 --mngt-user operator --mngt-password **** --mngt-schema test834_mngt
INF: 2019-03-12 17:08:56: C:\Program Files\CAST\834_flat\ThirdParty\Python34\lib\importlib\_bootstrap.py:321: RuntimeWarning: to-Python converter for class Splitter already registered; second conversion method ignored.
INF: 2019-03-12 17:08:56: return f(*args, **kwds)
INF: 2019-03-12 17:08:57: Task message: No Task message
INF: 2019-03-12 17:08:57: Log file: C:\ProgramData\CAST\CAST\Logs\mongo\Take_a_snapshot_of_3578\BeforeApplicationExtensio-20190312-170832.castlog
INF: 2019-03-12 17:08:57: ending Task Run Extensions at application level for mongo
After Analysis:
INF: 2019-03-12 17:12:20: starting Task Run Extensions at application level for mongo
INF: 2019-03-12 17:12:20: C:\Program Files\CAST\834_flat/ThirdParty\Python34\python.exe C:\Program Files\CAST\834_flat/ThirdParty\Python34\Lib\site-packages\cast\application\internal\run_plugins.py --log C:\ProgramData\CAST\CAST\Logs\mongo\Take_a_snapshot_of_3578\ApplicationExtensions-20190312-170832.castlog --application mongo --database postgresql --host localhost --port 2282 --user operator --password ****** --schema test834_local --castdirectory C:\Program Files\CAST\834_flat --event end_application --temporary C:\ProgramData\CAST\CAST\CASTMS\LTSA/9d3f2d5eaecb4f47888f01fa1a6cdf4f --intermediate C:\ProgramData\CAST\CAST\CASTMS\LISA/9d3f2d5eaecb4f47888f01fa1a6cdf4f --report-path C:\ProgramData\CAST\CAST\CASTMS\LISA\9d3f2d5eaecb4f47888f01fa1a6cdf4f\reports_end_application.xml --mngt-host localhost --mngt-database postgresql --mngt-port 2282 --mngt-user operator --mngt-password **** --mngt-schema test834_mngt
INF: 2019-03-12 17:13:26: C:\Program Files\CAST\834_flat\ThirdParty\Python34\lib\importlib\_bootstrap.py:321: RuntimeWarning: to-Python converter for class Splitter already registered; second conversion method ignored.
INF: 2019-03-12 17:13:26: return f(*args, **kwds)
INF: 2019-03-12 17:13:27: Task message: No Task message
INF: 2019-03-12 17:13:27: Log file: C:\ProgramData\CAST\CAST\Logs\mongo\Take_a_snapshot_of_3578\ApplicationExtensions-20190312-170832.castlog
INF: 2019-03-12 17:13:27: ending Task Run Extensions at application level for mongo
Before snapshot:
INF: 2019-03-12 17:14:50: starting Task Run Extensions at application level for mongo
INF: 2019-03-12 17:14:50: C:\Program Files\CAST\834_flat/ThirdParty\Python34\python.exe C:\Program Files\CAST\834_flat/ThirdParty\Python34\Lib\site-packages\cast\application\internal\run_plugins.py --log C:\ProgramData\CAST\CAST\Logs\mongo\Take_a_snapshot_of_3578\AfterModulesExtensions-20190312-170832.castlog --application mongo --database postgresql --host localhost --port 2282 --user operator --password ****** --schema test834_local --castdirectory C:\Program Files\CAST\834_flat --event after_module --temporary C:\ProgramData\CAST\CAST\CASTMS\LTSA/9d3f2d5eaecb4f47888f01fa1a6cdf4f --intermediate C:\ProgramData\CAST\CAST\CASTMS\LISA/9d3f2d5eaecb4f47888f01fa1a6cdf4f --report-path C:\ProgramData\CAST\CAST\CASTMS\LISA\9d3f2d5eaecb4f47888f01fa1a6cdf4f\reports_after_module.xml --mngt-host localhost --mngt-database postgresql --mngt-port 2282 --mngt-user operator --mngt-password **** --mngt-schema test834_mngt
INF: 2019-03-12 17:15:07: C:\Program Files\CAST\834_flat\ThirdParty\Python34\lib\importlib\_bootstrap.py:321: RuntimeWarning: to-Python converter for class Splitter already registered; second conversion method ignored.
INF: 2019-03-12 17:15:07: return f(*args, **kwds)
INF: 2019-03-12 17:15:07: Task message: No Task message
INF: 2019-03-12 17:15:07: Log file: C:\ProgramData\CAST\CAST\Logs\mongo\Take_a_snapshot_of_3578\AfterModulesExtensions-20190312-170832.castlog
INF: 2019-03-12 17:15:07: ending Task Run Extensions at application level for mongo
After snapshot:
INF: 2019-03-12 17:20:39: starting Task Run Extensions at application level
INF: 2019-03-12 17:20:39: C:\Program Files\CAST\834_flat/ThirdParty\Python34\python.exe C:\Program Files\CAST\834_flat/ThirdParty\Python34\Lib\site-packages\cast\application\internal\run_plugins.py --log C:\ProgramData\CAST\CAST\Logs\mongo\Take_a_snapshot_of_3578\AfterSnapshotExtensions-20190312-170832.castlog --application mongo --database postgresql --host localhost --port 2282 --user operator --password ****** --schema test834_central --castdirectory C:\Program Files\CAST\834_flat --event after_snapshot --temporary C:\ProgramData\CAST\CAST\CASTMS\LTSA/9d3f2d5eaecb4f47888f01fa1a6cdf4f --intermediate C:\ProgramData\CAST\CAST\CASTMS\LISA/9d3f2d5eaecb4f47888f01fa1a6cdf4f --report-path C:\ProgramData\CAST\CAST\CASTMS\LISA\9d3f2d5eaecb4f47888f01fa1a6cdf4f\reports_after_snapshot.xml --mngt-host localhost --mngt-database postgresql --mngt-port 2282 --mngt-user operator --mngt-password **** --mngt-schema test834_mngt
INF: 2019-03-12 17:20:47: C:\Program Files\CAST\834_flat\ThirdParty\Python34\lib\importlib\_bootstrap.py:321: RuntimeWarning: to-Python converter for class Splitter already registered; second conversion method ignored.
INF: 2019-03-12 17:20:47: return f(*args, **kwds)
INF: 2019-03-12 17:20:47: Task message: No Task message
INF: 2019-03-12 17:20:47: Log file: C:\ProgramData\CAST\CAST\Logs\mongo\Take_a_snapshot_of_3578\AfterSnapshotExtensions-20190312-170832.castlog
INF: 2019-03-12 17:20:47: ending Task Run Extensions at application level
<Step>Extensions-<Date>-<Time>.castlog
The basic format for each log is the list of extensions and then the extensions which were run during this step (in this case it is angularjs, html5, internal, mqe, springmvc, sqlanalyzer, wbslinker):
2019-03-12 17:14:53,818 INFO MODULMSG ; Body Running Extensions at application level ...
2019-03-12 17:14:53,824 INFO MODULMSG ; Body Connecting to knowledge base ...
2019-03-12 17:15:00,722 INFO MODULMSG ; Body Connecting to knowledge base Done
2019-03-12 17:15:00,754 INFO MODULMSG ; Body Registering Extension com.castsoftware.angularjs 1.6.0
2019-03-12 17:15:00,761 INFO MODULMSG ; Body Registering Extension com.castsoftware.businessobject 1.0.2
2019-03-12 17:15:00,764 INFO MODULMSG ; Body Registering Extension com.castsoftware.dmtboextractiondiscoverer 1.0.0
2019-03-12 17:15:00,770 INFO MODULMSG ; Body Registering Extension com.castsoftware.dmtjeefilediscoverer 2.0.0-Funcrel
2019-03-12 17:15:00,773 INFO MODULMSG ; Body Registering Extension com.castsoftware.dmtjeemanifestdiscoverer 1.0.4-funcrel
2019-03-12 17:15:00,775 INFO MODULMSG ; Body Registering Extension com.castsoftware.dmtxcodediscoverer 1.1.0
2019-03-12 17:15:00,777 INFO MODULMSG ; Body Registering Extension com.castsoftware.dmtxmlscanner 1.0.0
2019-03-12 17:15:00,789 INFO MODULMSG ; Body Registering Extension com.castsoftware.dotnet 1.0.4
2019-03-12 17:15:00,805 INFO MODULMSG ; Body Registering Extension com.castsoftware.html5 2.0.0-funcrel
2019-03-12 17:15:00,814 INFO MODULMSG ; Body Registering Extension com.castsoftware.internal.platform 0.8.1-funcrel
2019-03-12 17:15:00,820 INFO MODULMSG ; Body Registering Extension com.castsoftware.jaxrs 1.3.1
2019-03-12 17:15:00,824 INFO MODULMSG ; Body Registering Extension com.castsoftware.JEE-MavenHttp 2.0.1
2019-03-12 17:15:00,834 INFO MODULMSG ; Body Registering Extension com.castsoftware.jee 1.0.9
2019-03-12 17:15:00,837 INFO MODULMSG ; Body Registering Extension com.castsoftware.jquery 1.6.0
2019-03-12 17:15:00,840 INFO MODULMSG ; Body Registering Extension com.castsoftware.mqe 1.0.0-funcrel
2019-03-12 17:15:00,844 INFO MODULMSG ; Body Registering Extension com.castsoftware.nodejs 1.6.0
2019-03-12 17:15:00,847 INFO MODULMSG ; Body Registering Extension com.castsoftware.nosqljava 1.0.0-beta1
2019-03-12 17:15:00,854 INFO MODULMSG ; Body Registering Extension com.castsoftware.pl1 1.0.4
2019-03-12 17:15:00,856 INFO MODULMSG ; Body Registering Extension com.castsoftware.reactjs 1.1.0-funcrel
2019-03-12 17:15:00,863 INFO MODULMSG ; Body Registering Extension com.castsoftware.springmvc 1.5.2
2019-03-12 17:15:00,873 INFO MODULMSG ; Body Registering Extension com.castsoftware.sqlanalyzer 2.3.9
2019-03-12 17:15:00,883 INFO MODULMSG ; Body Registering Extension com.castsoftware.typescript 1.0.0-funcrel
2019-03-12 17:15:00,896 INFO MODULMSG ; Body Registering Extension com.castsoftware.wbslinker 1.6.3-funcrel
2019-03-12 17:15:00,897 INFO MODULMSG ; Body Registering Extension com.castsoftware.webfilesdiscoverer 1.1.0
2019-03-12 17:15:02,146 INFO MODULMSG ; Body Upgrading API version to 1.5.25
2019-03-12 17:15:02,471 INFO MODULMSG ; Body Ugrading done
2019-03-12 17:15:06,764 INFO MODULMSG ; Body Running plugin com.castsoftware.angularjs...
2019-03-12 17:15:06,887 INFO MODULMSG ; Body Done running plugin com.castsoftware.angularjs.
2019-03-12 17:15:06,887 INFO MODULMSG ; Body Running plugin com.castsoftware.html5...
2019-03-12 17:15:06,907 INFO MODULMSG ; Body Done running plugin com.castsoftware.html5.
2019-03-12 17:15:06,908 INFO MODULMSG ; Body Running plugin com.castsoftware.internal.platform...
2019-03-12 17:15:06,928 INFO MODULMSG ; Body Done running plugin com.castsoftware.internal.platform.
2019-03-12 17:15:06,928 INFO MODULMSG ; Body Running plugin com.castsoftware.mqe...
2019-03-12 17:15:06,947 INFO MODULMSG ; Body Done running plugin com.castsoftware.mqe.
2019-03-12 17:15:06,947 INFO MODULMSG ; Body Running plugin com.castsoftware.springmvc...
2019-03-12 17:15:06,967 INFO MODULMSG ; Body Done running plugin com.castsoftware.springmvc.
2019-03-12 17:15:06,968 INFO MODULMSG ; Body Running plugin com.castsoftware.sqlanalyzer...
2019-03-12 17:15:06,990 INFO MODULMSG ; Body Done running plugin com.castsoftware.sqlanalyzer.
2019-03-12 17:15:06,990 INFO MODULMSG ; Body Running plugin com.castsoftware.wbslinker...
2019-03-12 17:15:07,009 INFO MODULMSG ; Body Done running plugin com.castsoftware.wbslinker.
2019-03-12 17:15:07,009 INFO MODULMSG ; Body Publishing 0 reports
2019-03-12 17:15:07,018 INFO MODULMSG ; Body Running Extensions at application level Done
An example of a specific action done by an extension within these steps is the following by the wbslinker extension during the after analysis step:
2019-03-12 17:13:26,069 INFO MODULMSG ; Body Running plugin com.castsoftware.wbslinker...
2019-03-12 17:13:26,069 INFO MODULMSG ; Body Loading REST web services calls...
2019-03-12 17:13:26,438 INFO MODULMSG ; Body Matching calls with server...
2019-03-12 17:13:26,439 INFO MODULMSG ; Body 0 violations found
2019-03-12 17:13:26,465 INFO MODULMSG ; Body Linking SOAP services
2019-03-12 17:13:26,518 INFO MODULMSG ; Body Done running plugin com.castsoftware.wbslinker.