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

JSON schema refinements #29

Merged
merged 1 commit into from
Aug 16, 2024
Merged

JSON schema refinements #29

merged 1 commit into from
Aug 16, 2024

Conversation

szkiba
Copy link
Collaborator

@szkiba szkiba commented Aug 16, 2024

tier property

Although the use of the boolean official flag is convenient and there is currently no need for anything else, it is more appropriate to introduce the more extensible tier property instead.
The tier property is of enum type with the following possible values:

  • official: Extensions owned, maintained, and designated by Grafana as "official".
  • partner: Extensions written, maintained, validated, and published by third-party companies against their own projects.
  • community: Extensions are listed on the Registry by individual maintainers, groups of maintainers, or other members of the k6 community.

If it is missing from the registry source, it will be set with the default community value during generation.

product property

Although the use of the boolean cloud flag is convenient and there is currently no need for anything else, it is more appropriate to introduce the more extensible product property instead.

The product property is an array with the following possible enum values:

  • oss: Extensions are available in k6 OSS
  • cloud: Extensions are available in Grafana Cloud k6

If the product property is missing or is an empty array, then the one-element array containing the oss value is the default.


grafana/k6-ext-tooling#34

@szkiba szkiba requested a review from a team as a code owner August 16, 2024 14:39
@szkiba szkiba requested review from pablochacin and removed request for a team August 16, 2024 14:39
@szkiba szkiba linked an issue Aug 16, 2024 that may be closed by this pull request
@szkiba szkiba removed the request for review from pablochacin August 16, 2024 14:39
@szkiba szkiba merged commit b3fb7eb into main Aug 16, 2024
5 checks passed
@szkiba szkiba deleted the 28-json-schema-refinements branch August 16, 2024 14:40
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.

JSON schema refinements
1 participant