About an Import

FlexNet Code Insight 2020 R1

Project data import is accessible through either of these methods:

Importing Project Data Using the Web UI
Importing Project Data Using the REST API

The following sections provide overview information about the import process.

Input Used in the Import Process

The input for the import is an archived JSON data file containing project data. The archive is first decompressed and the included data file is then applied to the specified target project (that is, the project to which the data is imported).

You can create the JSON data file for input by performing an export from a FlexNet Code Insight v7 project (according to the instructions in Exporting Project Data) or by performing an export from a Code Insight v6 project and then using the Audit Migration Tool to convert the data into the required format. You can also create the JSON file manually from data exported from an external system. In all cases, the input for the import must be a data file of the expected JSON data format.

Target Project Types

Import is typically performed on a target project that was created as a “standard” project and is associated with an already-scanned codebase. A scan of the target project codebase is required prior to the import in order to build the codebase file tree and to prepare the project for storing file information. This type of import creates inventory with file associations and provides access to these codebase files through the Analysis Workbench for the target project once the import completes. The inventory is live—that is, ready to be edited and reviewed.

Alternatively, an import can be performed on a target project that was created as an “inventory only” project, which does not require a scanned codebase. This type of import creates live inventory without any file associations and does not provide access to the codebase files since none are imported. (No Analysis Workbench is available in the target project.)

For more information about the import types and the data imported for each, see the next section, Comparison of Standard and Inventory-Only Imports.