-
Notifications
You must be signed in to change notification settings - Fork 54
CHEF-29472 add commercial api support #408
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
Merged
+1,725
−151
Merged
Changes from 23 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
6daa61a
add commercial api support
Stromweld 76b8ae4
update specs and add trial/free api urls
Stromweld 2c23a15
adding json support for new api response
Stromweld 8b63b3a
fix download to use content distrobution headers
Stromweld 7dd6f88
test
Stromweld e604126
add chef-ice to product matrix
Stromweld fdd8a19
fixed unit tests
Stromweld 68d8365
test
Stromweld 17746da
fix windows installs
Stromweld 0538fe7
linting fixes
Stromweld 17e7c74
linting
Stromweld 8f8ccc8
update integration tests to use add licensed testing
Stromweld 0e1fa05
fix cli to work with licensed downloads
Stromweld cb084e6
linting fixes
Stromweld f1a141e
fix spec tests
Stromweld 7036142
remove ostruct dep
Stromweld 3cf8524
fix client download file name issues with trial api
Stromweld 069f89b
linting fix
Stromweld 05a9e03
update copilot-instructions for latest commercial-api changes
Stromweld 48532a6
remove test script
Stromweld 3162a5f
Add ADR record
Stromweld 97f4dcf
linting fixes
Stromweld d99fe55
fix powershell filename when downloading chef-client using commercial…
Stromweld 9c3ec1d
add review suggested change
Stromweld 88cd7fc
updated rubocop target ruby version to 2.6
Stromweld cc486c1
chefstyle linting fixes
Stromweld f96b30d
Merge branch 'main' into commercial-api
Stromweld 026a7cb
update copilot-instructions to use default numbered listing vs increm…
Stromweld 4df9ff4
add server 2025 to powershell helpers
Stromweld File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| # Architectural Decision Records (ADRs) | ||
|
|
||
| ## What is an ADR? | ||
|
|
||
| An Architectural Decision Record (ADR) is a document that captures an important architectural decision made along with its context and consequences. ADRs are a way to document how and why a decision was reached within a project. | ||
|
|
||
| ## Why use ADRs? | ||
|
|
||
| - **Historical record**: ADRs provide a historical record of decisions, helping new team members understand past choices | ||
| - **Knowledge sharing**: They capture the context, options, and reasoning that isn't visible in code alone | ||
| - **Avoiding repeated discussions**: They document decisions that have already been made | ||
| - **Making the decision process explicit**: They clarify the decision-making process by documenting alternatives considered | ||
|
|
||
| ## When to write an ADR | ||
|
|
||
| Write an ADR when you make a significant decision that impacts: | ||
|
|
||
| - System architecture | ||
| - API design and changes | ||
| - Platform support decisions | ||
| - Dependency choices | ||
| - Security implementations | ||
| - Performance optimizations | ||
|
|
||
| ## ADR Format | ||
|
|
||
| Each ADR should follow this structure: | ||
|
|
||
| 1. **Title**: A short, descriptive title (e.g., "ADR 0002: Migration to Redis Cluster") | ||
| 2. **Date**: When the decision was made | ||
| 3. **Context**: Background information explaining the need for a decision | ||
| 4. **Decision**: The chosen solution with reasoning | ||
| 5. **Implementation**: Code examples or diagrams explaining how the decision is implemented | ||
| 6. **Alternatives Considered**: What other options were evaluated and why they weren't selected | ||
| 7. **Benefits**: The advantages of the chosen approach | ||
| 8. **Future Considerations**: Potential impacts or future work | ||
|
|
||
| ## How to Create a New ADR | ||
|
|
||
| 1. Copy the template below | ||
| 2. Create a new file named `adrXXXX.md` where XXXX is the next sequential number | ||
| 3. Fill in the sections | ||
| 4. Submit a PR for review | ||
|
|
||
| ## Template | ||
|
|
||
| ```markdown | ||
| # Architectural Decision Record (ADR) | ||
|
|
||
| ## [Date]: [Title] | ||
|
|
||
| ### Context | ||
|
|
||
| [Describe the problem and context for this decision] | ||
|
|
||
| ### Decision | ||
|
|
||
| [What is the change being proposed? How will it solve the problem?] | ||
|
|
||
| ### Implementation | ||
|
|
||
| ```[code language] | ||
| [Add code examples or diagrams] | ||
| ``` | ||
|
|
||
| ### Sequence Diagram (if applicable) | ||
|
|
||
| ```mermaid | ||
| [Add a sequence diagram] | ||
| ``` | ||
|
|
||
| ### Benefits | ||
|
|
||
| [List benefits of this approach] | ||
|
|
||
| ### Alternative Solutions Considered | ||
|
|
||
| [Describe alternatives and why they weren't chosen] | ||
|
|
||
| ### Future Considerations | ||
|
|
||
| [Note any future implications or potential follow-up work] | ||
|
|
||
| ## Existing ADRs | ||
|
|
||
| - [ADR 0001](adr0001.md): Commercial and Trial API Support with License-Based Authentication | ||
|
|
||
| ## References | ||
|
|
||
| - [ADR GitHub Organization](https://adr.github.io/) | ||
| - [Michael Nygard's article on ADRs](https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.