Skip to main content

Downloading NG-bridge Data Updates Releases Manually

If the Code Insight Scan Server does not have Internet access, you can use the following procedure to manually download the files for the NG-bridge digest-match data updates to the proper location on the server. Once the files are downloaded and properly placed on your instance, the NG-bridge data update can be processed.

To download the NG-bridge data update files manually and initiate processing, do the following:

  1. From a machine that has Internet connectivity, open the Flexera Product and License Center.

  2. Locate the ngdownloader-1.0.0.zip file under the current Code Insight version, and download the appropriate archive format (Linux or Windows).

  3. Extract the archive to any location. However, if want to download the actual NG-bridge data update files to this same location, make sure the location is locally accessible to the Code Insight server—for example, on a shared drive or a local USB drive. (You also have the option to change the download location in step 4.)

    The following files are included in the archive:

    • ngdownloader-1.0.0.jar

    • run.sh (or run.bat)

  4. Set up the run script to download the files for the NG-bridge data update. Use any of the following arguments to configure the download. When including arguments, use the format shown in this example:

    run.bat file.download.path=custompath delete.previous.downloads=true

    ArgumentDescription
    Argument with defaultsExplicitly providing the following arguments is optional. If the argument is omitted, its default is used during execution.
    delete.previous. downloadsThe true or false boolean for deleting any previously downloaded NG-bridge data update files found in the location specified by file\.download\.path . The default for this argument is false so that these files are retained. If you choose to delete previously downloaded update files, note that the diget\.meta\.ref\.json is always retained.
    Argument with defaults (continued)file.download.pathThe path identifying the location to which to download the NG-bridge data update files. The path should be relative to the current location and must be locally accessible to the Code Insight server, such as on a shared drive or a local USB drive. The default for this argument is a “downloads” folder in the current location (that is, the location which you extracted the ngdownloader\.jar and run script files).
    update.https.urlThe URL for the Revenera site ( https://updates\.palamida\.com/ ) from which the NG-bridge data update files will be downloaded. Best practice is to omit this argument so that the correct Revenera location defaults for command.
    Required credentialsYou must enter a value for each of the following credentials to access the Revenera URL.
    update.https.usernameThe user ID authorized to connect to the Revenera site.
    update.https.passwordThe password authorized to connect to the Revenera site.
    Arguments when using a proxyYou must enter value for each of the following arguments if you are using a proxy server to access the Revenera site from which the NG-bridge data update files will be downloaded.
    Dhttps.proxyHostThe hostname or IP address of the proxy server.
    Dhttps.proxyPortThe port used by the proxy server.
    Dhttps.proxyUserThe user ID authorized to access the proxy server.
    Dhttps.proxyPasswordThe password authorized to access the proxy server.
  5. Execute the run command.

    The following folders and files are created in the download path you specified.

    • digest_meta_ref.json—Used to determine which NG-bridge data update files need to be downloaded. Only files for new or missing updates are downloaded. Previous updates are not re-downloaded. Once all appropriate update files have been downloaded, the contents of the digest_meta_ref.json file are updated with the current list of all update releases that have been downloaded to this location up to this point. This same file is then used again to determine what new updates need to be downloaded in the next update process.

    • downloaded—The folder containing all the NG-bridge data update files downloaded during the run script execution. You can use the file.download.path argument in the run command to change this folder name (or the entire URL or path) for the download.

    • logs—The folder containing the log files generated during the download process.

  6. Once the download is complete, copy the contents of the “downloaded” folder to the following location:

    <codeInsightInstallPath>\tomcat\temp\ngbridge_updates\meta

    At the next scheduled time for an NG-bridge data update, the internal update facility determines that update files have been downloaded and processes the files so that their data is ready to be used with the CL during Comprehensive scans.