Import results from an external analyzer with the Universal Importer

Import the objects, links and properties produced by a third-party analyzer into CAST Imaging, in the .uax format, for a technology that CAST does not analyze
Updated

Overview

The Universal Importer loads objects, links and properties described in .uax files into the analysis schema, where CAST Imaging uses them in the same way as the results of a CAST analyzer. No analysis of source code takes place: the import replaces it. Use it when:

  • a technology is not supported by CAST, for example GraphTalk, Smalltalk or Informatica, and an external analyzer can describe its objects and links
  • an existing repository, for example in an ERP such as PeopleSoft or Siebel, already holds the objects of the application and their relationships

How it works

  1. Create a Universal Analyzer language package for the technology, with a language category that inherits from the UniversalImporter category. The metamodel of the package defines the object types and link types you can import. A language pattern is not needed, because nothing is analyzed.
  2. Configure the external analyzer, or write a script, to produce .uax files that describe the objects and links, and optionally .src files with their source code. See Write the .uax files.
  3. Deploy the language package as a custom extension, then deliver the .uax files and run an analysis. The analysis imports the content of the .uax files.

Files to deliver

File Required Description
*.uax Yes The objects, links and properties to import, one or more files.
*.uaxdirectory Yes, unless a dedicated discoverer generates it A manifest that lists the .uax files and the project they belong to.
xxx_project.uax Yes, unless a dedicated discoverer generates it The definition of the project that groups the imported objects.
*.src No The source code of the imported objects.

Place all the files in the same folder.

Deliver the files and run the import

Support for .uax and .uaxdirectory files is built into CAST Imaging: no additional tool or discoverer is needed to deliver them.

  1. Deploy the extension that contains the language package: see Deploy custom extensions.
  2. Deliver the .uax, .uaxdirectory and optional .src files as the source code of the application, either in a ZIP file or in a source code folder.
  3. Run an analysis.

After the analysis, check the imported objects and links in the viewer.

Advanced configuration