Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License Enforcement Application #3929

Merged
merged 9 commits into from
Nov 18, 2024
Merged

License Enforcement Application #3929

merged 9 commits into from
Nov 18, 2024

Commits on Nov 14, 2024

  1. Implementation of license enforcement application

    Signed-off-by: jan shahid shaik <[email protected]>
    jashaik committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    da534d7 View commit details
    Browse the repository at this point in the history
  2. Fixing pipeline issues

    Signed-off-by: jan shahid shaik <[email protected]>
    jashaik committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    b65ffa7 View commit details
    Browse the repository at this point in the history
  3. Fixing pipeline issues

    Signed-off-by: jan shahid shaik <[email protected]>
    jashaik committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    bf8ae1c View commit details
    Browse the repository at this point in the history
  4. License Caching and Add license enforcement to all APIs (#3919)

    License Caching and Add license enforcement to all APIs.
    
    Signed-off-by: jan shahid shaik <[email protected]>
    jashaik committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    2d2412d View commit details
    Browse the repository at this point in the history
  5. Modified error message for license expiry case (#3926)

    Signed-off-by: jan shahid shaik <[email protected]>
    jashaik committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    966755e View commit details
    Browse the repository at this point in the history
  6. Updated chef-server-ctl to handle invalid license + Added grace perio… (

    #3936)
    
    * Update Gemfile.lock to fix adhoc pipeline instability
    
    Signed-off-by: Lincoln Baker <[email protected]>
    
    * Updated chef-server-ctl to handle invalid license + Added grace period in X-Ops-License
    
    Signed-off-by: jan shahid shaik <[email protected]>
    
    * Added customer name in get_license method and license cache
    
    Signed-off-by: jan shahid shaik <[email protected]>
    
    ---------
    
    Signed-off-by: Lincoln Baker <[email protected]>
    Signed-off-by: jan shahid shaik <[email protected]>
    Co-authored-by: Lincoln Baker <[email protected]>
    jashaik and lbakerchef committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    255de1e View commit details
    Browse the repository at this point in the history
  7. Change for customer Name (#3939)

    * adding company name and license-id from automate license.
    
    Signed-off-by: talktovikas <[email protected]>
    
    removing trailing space.
    
    Signed-off-by: talktovikas <[email protected]>
    
    fixing tests.
    
    Signed-off-by: talktovikas <[email protected]>
    
    fixing license test case.
    
    Signed-off-by: talktovikas <[email protected]>
    
    Fixing bug in condition statement
    
    Signed-off-by: talktovikas <[email protected]>
    
    debug statements
    
    Signed-off-by: talktovikas <[email protected]>
    
    adding the server url.
    
    Signed-off-by: talktovikas <[email protected]>
    
    assignment in case of standalone chef-server.
    
    Signed-off-by: talktovikas <[email protected]>
    
    adding licenseId in case of Automate-T data.
    
    Signed-off-by: talktovikas <[email protected]>
    
    fixing T-test cases.
    
    Signed-off-by: talktovikas <[email protected]>
    
    fixing tests.
    
    Signed-off-by: talktovikas <[email protected]>
    
    fixing tests.
    
    Signed-off-by: talktovikas <[email protected]>
    
    * remove debug logs
    
    Signed-off-by: talktovikas <[email protected]>
    
    * code review changes.
    
    Signed-off-by: talktovikas <[email protected]>
    
    ---------
    
    Signed-off-by: talktovikas <[email protected]>
    talktovikas authored and jashaik committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    33e06e0 View commit details
    Browse the repository at this point in the history
  8. Pedant test for the case if automate license is expired (#3941)

    * Updated chef-server-ctl to handle invalid license + Added grace period in X-Ops-License
    
    Signed-off-by: jan shahid shaik <[email protected]>
    
    * Added customer name in get_license method and license cache
    
    Signed-off-by: jan shahid shaik <[email protected]>
    
    * debug statements
    
    Signed-off-by: talktovikas <[email protected]>
    
    * case for expired license.
    
    Signed-off-by: talktovikas <[email protected]>
    
    making it 403
    
    Signed-off-by: talktovikas <[email protected]>
    
    running cases only for automate.
    
    Signed-off-by: talktovikas <[email protected]>
    
    test for chef-zero
    
    Signed-off-by: talktovikas <[email protected]>
    
    test for /users
    
    Signed-off-by: talktovikas <[email protected]>
    
    adding env in docker
    
    Signed-off-by: talktovikas <[email protected]>
    
    fixing verify syntax.
    
    Signed-off-by: talktovikas <[email protected]>
    
    fixing placement of env variables.
    
    Signed-off-by: talktovikas <[email protected]>
    
    fixing placement of executor.
    
    Signed-off-by: talktovikas <[email protected]>
    
    test
    
    Signed-off-by: talktovikas <[email protected]>
    
    * adding config for expired license from vault.
    
    Signed-off-by: talktovikas <[email protected]>
    
    * Added few puts inside success licese case.
    
    Signed-off-by: sreepuramsudheer <[email protected]>
    
    * Added IS_AUTOMATE into environment variables.
    
    Signed-off-by: sreepuramsudheer <[email protected]>
    
    * Replaced hardcoded expired license with one received from vault.
    
    Signed-off-by: sreepuramsudheer <[email protected]>
    
    * Updated chef-server-ctl to handle invalid license + Added grace period in X-Ops-License
    
    Signed-off-by: jan shahid shaik <[email protected]>
    
    * Added customer name in get_license method and license cache
    
    Signed-off-by: jan shahid shaik <[email protected]>
    
    * removing debug logs
    
    Signed-off-by: talktovikas <[email protected]>
    
    * code review changes.
    
    Signed-off-by: talktovikas <[email protected]>
    
    * adding comment for the test case.
    
    Signed-off-by: talktovikas <[email protected]>
    
    ---------
    
    Signed-off-by: jan shahid shaik <[email protected]>
    Signed-off-by: talktovikas <[email protected]>
    Signed-off-by: sreepuramsudheer <[email protected]>
    Co-authored-by: jan shahid shaik <[email protected]>
    Co-authored-by: sreepuramsudheer <[email protected]>
    3 people committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    cebbc5e View commit details
    Browse the repository at this point in the history
  9. fixing the sonarQube issue.

    Signed-off-by: talktovikas <[email protected]>
    talktovikas committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    2df3a3a View commit details
    Browse the repository at this point in the history