-
Notifications
You must be signed in to change notification settings - Fork 37
feat: extensions readme generator #191
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
migmartri
merged 12 commits into
chainloop-dev:main
from
migmartri:extensions-readme-generator
Jun 21, 2023
Merged
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
9e698b2
feat: test generator
migmartri 7651065
update readme
migmartri 56ffa52
update readme
migmartri 56b21a5
readme
migmartri 8cc4f52
readme
migmartri e9df8d2
update readmes
migmartri 2d6684c
refactor: generator
migmartri 7fd31b5
refactor: generator
migmartri c70e0f6
refactor: generator
migmartri 57fe907
refactor: generator
migmartri eea29ab
feat: show inputs table
migmartri 2db1259
update readmes
migmartri 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
93 changes: 0 additions & 93 deletions
93
app/cli/internal/action/available_integration_list_test.go
This file was deleted.
Oops, something went wrong.
84 changes: 84 additions & 0 deletions
84
app/controlplane/extensions/core/dependency-track/v1/README.md
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,84 @@ | ||
### Dependency-Track fan-out Extension | ||
|
||
This extension implements sending cycloneDX Software Bill of Materials (SBOM) to Dependency-Track. | ||
|
||
See https://docs.chainloop.dev/guides/dependency-track/ | ||
|
||
|
||
## Registration Input Schema | ||
|
||
|Field|Type|Required|Description| | ||
|---|---|---|---| | ||
|allowAutoCreate|boolean|no|Support of creating projects on demand| | ||
|apiKey|string|yes|The API key to use for authentication| | ||
|instanceURI|string (uri)|yes|The URL of the Dependency-Track instance| | ||
|
||
```json | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://github.com/chainloop-dev/chainloop/app/controlplane/extensions/core/dependency-track/v1/registration-request", | ||
"properties": { | ||
"instanceURI": { | ||
"type": "string", | ||
"format": "uri", | ||
"description": "The URL of the Dependency-Track instance" | ||
}, | ||
"apiKey": { | ||
"type": "string", | ||
"description": "The API key to use for authentication" | ||
}, | ||
"allowAutoCreate": { | ||
"type": "boolean", | ||
"description": "Support of creating projects on demand" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"type": "object", | ||
"required": [ | ||
"instanceURI", | ||
"apiKey" | ||
] | ||
} | ||
``` | ||
|
||
## Attachment Input Schema | ||
|
||
|Field|Type|Required|Description| | ||
|---|---|---|---| | ||
|projectID|string|no|The ID of the existing project to send the SBOMs to| | ||
|projectName|string|no|The name of the project to create and send the SBOMs to| | ||
|
||
```json | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://github.com/chainloop-dev/chainloop/app/controlplane/extensions/core/dependency-track/v1/attachment-request", | ||
"oneOf": [ | ||
{ | ||
"required": [ | ||
"projectID" | ||
], | ||
"title": "projectID" | ||
}, | ||
{ | ||
"required": [ | ||
"projectName" | ||
], | ||
"title": "projectName" | ||
} | ||
], | ||
"properties": { | ||
"projectID": { | ||
"type": "string", | ||
"minLength": 1, | ||
"description": "The ID of the existing project to send the SBOMs to" | ||
}, | ||
"projectName": { | ||
"type": "string", | ||
"minLength": 1, | ||
"description": "The name of the project to create and send the SBOMs to" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"type": "object" | ||
} | ||
``` |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
5 changes: 0 additions & 5 deletions
5
app/controlplane/extensions/core/dependencytrack/v1/README.md
This file was deleted.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have a separate section with an info on which materials, attestations are supported?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this could be used as a baseline. The scope was just schema for now. but I could see value in generating
description
input types and so on. Should we do it in another diff?