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

[Do not merge]Go Component - FetchAndPersist #186

Open
wants to merge 46 commits into
base: main
Choose a base branch
from

Conversation

ashiqueps
Copy link

Description

This PR implements the FetchAndPersist method of the ruby component. This will fetch the license key from either the argument or the env or collect the license interactively from the user. Once the key is collected, it will be validated with the licensing server and stored on the local disk for future validations.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

ashiqueps and others added 19 commits July 2, 2024 17:19
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: nikhil2611 <[email protected]>
…om:chef/chef-licensing into CHEF-2618-go-implementation-chef-licensing
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
…om:chef/chef-licensing into CHEF-2618-go-implementation-chef-licensing
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
…om:chef/chef-licensing into CHEF-2618-go-implementation-chef-licensing
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
…om:chef/chef-licensing into CHEF-2618-go-implementation-chef-licensing
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
components/go/pkg/api/api_client.go Show resolved Hide resolved
components/go/pkg/api/api_client.go Show resolved Hide resolved
components/go/pkg/api/client.go Show resolved Hide resolved
components/go/pkg/api/describe.go Show resolved Hide resolved
components/go/pkg/api/describe.go Show resolved Hide resolved
components/go/pkg/api/feature_entitlement.go Show resolved Hide resolved
components/go/pkg/api/feature_entitlement.go Show resolved Hide resolved
components/go/pkg/api/feature_entitlement.go Show resolved Hide resolved
components/go/pkg/chef_licensing.go Show resolved Hide resolved
components/go/pkg/config/config.go Show resolved Hide resolved
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
nikhil2611 and others added 7 commits July 15, 2024 12:06
Signed-off-by: Ashique Saidalavi <[email protected]>
…om:chef/chef-licensing into CHEF-2618-go-implementation-chef-licensing
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
Signed-off-by: Ashique Saidalavi <[email protected]>
@ashiqueps ashiqueps changed the title Go Component - FetchAndPersist [Do not merge]Go Component - FetchAndPersist Sep 4, 2024
@ashiqueps
Copy link
Author

This PR will be merged along with the other PRs to enable the chef-workstation licensing enablement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants