-
Notifications
You must be signed in to change notification settings - Fork 1
2. Usage
Nevin Kaplan edited this page Jan 7, 2025
·
3 revisions
Using the latest version of OneClick has become more straightforward, allowing you to launch it directly from the Windows File Explorer. Simply navigate to the OneClick installation directory and choose the OneClick batch file. While it's not mandatory, it's highly advisable to run it with administrative rights.
When you launch the tool for the first time, you will be prompted with a series of questions to set it up for future use. This is a one-time process, but if you need to make changes later open a command prompt and type:
OneClick -g
| Question | Description |
|---|---|
| OneClick Working folder | OneClick consists of two main sections: the base and work locations. The base section holds all the project configuration details, logs, and runtime code. The work section stores the results of the application code analysis and the generated reports. While these sections can be placed together, it is advisable to separate them when operating in a network setting. |
| Java installation folder | OneClick needs Java to operate the Highlight and MRI Command Line interfaces. If the JAVA_HOME environment variable is defined, it will provide the value for this field. |
| CAST Profiler installation | CAST Profiler is utilized for identifying source code to produce a discovery report. This setting is configured during installation, and the default option is recommended. |
| Highlight analysis | If you choose Yes, you can set default values for all upcoming projects. Selecting No means these values won't be set, and OneClick will prompt you for this information for each new project. It is advisable to choose No when working with multiple Highlight domains. |
| Highlight CLI | The Highlight Command Line Interface is utilized to execute and upload a Highlight analysis. This setting is configured automatically during the installation process. |
| Upload results | Selecting No for this question will execute the Highlight analysis but will not upload the results to the portal. |
| Highlight URL | The Highlight portal URL. |
| Highlight User Name | The user id required for access to the Highlight portal. |
| Highlight instance id | The instance or domain ID utilized for all OneClick projects. |
- Correct installation issues
- Run multiple CLOC processes simultaneously
- Run multiple Highlight analysis processes simultaneously
- Rework console display to be more user friendly
- Add Highlight CLI as part of the OneClick Installation process
- Installation Improvements
- Added execution vs working folders
- Merged AIP and HL Staging folder into one for both
- Bug Fixes
- Improvements in installation
- Updated Templates
- Bug Fixes
- OneClick logs are revised to provide discovery information as the process continues to discover and run application analysis.
- Categorized logs into sections and standardized them to include tags for information, warning, and error messages.
- Don't prompt for missing analysis configuration items when ending the process before analysis
- Improved user experience during application setup
- Add warning message if no supported technologies remain after cleanup
- For new installations, validate existence of base folder, create if required.
- Configuration - Java Home not being set correctly
- Highlight - Correct URL to allow it to work with both REST API and CLI
- Added CoffeeScript to ListOfTechnologies.csv
- Introduced the CAST profiler
- Resolved an issue in the EdgeV2 application where it was previously unable to detect SQL artifacts in single-application scenarios
- Enhanced sqlDiscovery by adding a filename column
- Installation has been expanded to allow for any drive
- CLOC excel sheet number formatting
- Show progress with each step
- Health factors removed from Technical Overview table
- All generated excel sheets column widths are set to match text size
- Minimum width of 15 characters
- Maximum width of 150 characters
- Report template added to GitHub
- Check for configuration files, if not there add questions to discovery report
- ISO 5055 compliance report is generated in % compliance instead of grade
- Expanded unzip capabilities to include .tar, gztar, bztar, and tgz files
- To optimize the running of CLOC in a Windows environment, utilize the subst function to create a temporary drive, which avoids the long path issue while running CLOC.
- In windows environment, use subst to create a temporary drive to shorten the file name length while running CLOC
- Expand cleanup to support regular expression in the file and folder cleanup lists
- Enhanced discovery report
- Adjusted lines of code output to render as KLoc, or MLoc
- Corrected Technolgy count mismatch
- Corrected SQL count mismatch
- Corrected HL-WORK folder not always being created issue
- Create application if it does not exist in Highlight
- Corrected - skip analysis if already marked as done
- Corrected - report not always running issue
- Corrected general formatting issues
- Added Green Impact Slide
Note: Report templates are curently not include in the extend package, please contact NKA
- Interactive installation - Improvements
- Create application in Highlight
- Source Code Discovery Formatting
- Bug Fixes
- Interactive installation
- Bug Fixes
- First release in March 2023