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

Validate Type for storage backends #691

Closed
Tracked by #604
pkosiec opened this issue Mar 29, 2022 · 0 comments
Closed
Tracked by #604

Validate Type for storage backends #691

pkosiec opened this issue Mar 29, 2022 · 0 comments
Assignees
Labels
area/cli Relates to CLI area/hub-manifests Relates to Hub manifests enhancement New feature or request
Milestone

Comments

@pkosiec
Copy link
Member

pkosiec commented Mar 29, 2022

Description

Add additional validation into our CLI manifest validation (capact manifest validate):

  • Validate Type manifests according to the convention described in the Delegated storage proposal
  • Check if the JSON schema meet our conditions for every Type with additionalRefs: ["cap.core.type.hub.storage"] when --server-side flag is provided
  • Use some internal JSON schema for validation

Reason and use cases

See #688

@pkosiec pkosiec changed the title Validate Type storage schema convention. In case of the cap.core.hub.storage additional reference, we should prevent uploading such Type if the JSON schema don't meet our conditions. Validate Type for storage backend Mar 29, 2022
@pkosiec pkosiec added enhancement New feature or request area/cli Relates to CLI area/hub-manifests Relates to Hub manifests labels Mar 29, 2022
@pkosiec pkosiec changed the title Validate Type for storage backend Validate Type for storage backends Mar 29, 2022
@pkosiec pkosiec added this to the 0.7.0 milestone Mar 29, 2022
@mkuziemko mkuziemko self-assigned this Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Relates to CLI area/hub-manifests Relates to Hub manifests enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants