automate
automate copied to clipboard
Helper.go file for warning message
:nut_and_bolt: Description: What code changed, and why?
Added a helper.go file to give warning message or command blockage if the license has been expired the file contain 2 function : WarnLicenseStatusForExpiry: That gives out warning meassage for use of cli, checkLicenseStatusForExpiry: That gives an error n block use of that cli.
:chains: Related Resources
:+1: Definition of Done
Tested the functioning of cli for all the used cases. each cli is working well n producing the desired warn or error message according to there needs
:athletic_shoe: How to Build and Test the Change
:white_check_mark: Checklist
All PRs must tick these:
- [x] I have read the CONTRIBUTING document.
- [x] All commits signed-off for the Developer Certification of Origin.
With occasional exceptions, all PRs from Progress employees must tick these:
- [x] Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
- [x] Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
- [x] Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
- [x] Spelling, grammar, typos checked? (at a minimum use
make spellin any component directory) - [x] Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)
All PRs from Progress employees should tick these if appropriate:
- [x] Tests added/updated? (all new code needs new tests)
- [x] Docs added/updated? (all customer-facing changes)
Please add a note next to any checkbox above if you are NOT ticking it.
:camera: Screenshots, if applicable
Quality Gate failed
Failed conditions
2 New issues
1.9% Coverage on New Code (required ≥ 80%)
See analysis details on SonarQube
Catch issues before they fail your Quality Gate with our IDE extension
SonarLint