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:
-
From a machine that has Internet connectivity, open the Flexera Product and License Center.
-
Locate the
ngdownloader-1.0.0.zipfile under the current Code Insight version, and download the appropriate archive format (Linux or Windows). -
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(orrun.bat)
-
-
Set up the
runscript 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=trueArgument Description Argument with defaults Explicitly providing the following arguments is optional. If the argument is omitted, its default is used during execution. delete.previous. downloads The trueorfalseboolean for deleting any previously downloaded NG-bridge data update files found in the location specified byfile\.download\.path. The default for this argument isfalseso that these files are retained. If you choose to delete previously downloaded update files, note that thediget\.meta\.ref\.jsonis always retained.Argument with defaults (continued) file.download.path The 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\.jarandrunscript files).update.https.url The 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 credentials You must enter a value for each of the following credentials to access the Revenera URL. update.https.username The user ID authorized to connect to the Revenera site. update.https.password The password authorized to connect to the Revenera site. Arguments when using a proxy You 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.proxyHost The hostname or IP address of the proxy server. Dhttps.proxyPort The port used by the proxy server. Dhttps.proxyUser The user ID authorized to access the proxy server. Dhttps.proxyPassword The password authorized to access the proxy server. -
Execute the
runcommand.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.jsonfile 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
runscript execution. You can use thefile.download.pathargument in theruncommand 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.
-
-
Once the download is complete, copy the contents of the “downloaded” folder to the following location:
<codeInsightInstallPath>\tomcat\temp\ngbridge_updates\metaAt 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.