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 manifests during populating them into Hub #556

Open
pkosiec opened this issue Nov 15, 2021 · 0 comments
Open

Validate manifests during populating them into Hub #556

pkosiec opened this issue Nov 15, 2021 · 0 comments
Labels
area/hub Relates to Hub enhancement New feature or request

Comments

@pkosiec
Copy link
Member

pkosiec commented Nov 15, 2021

Description

  • Validate manifests when populating them to Hub
    • Taking into account current design, it should be probably a part of Populator job
    • Use existing validation logic from the pkg/sdk/manifest package
    • Run also remote checks (make sure the manifest kinds are populated in a proper order, to e.g. verify whether a given Attribute exists for all Implementations)
      • Probably we need another GraphQL endpoint to access unpublished manifests (do we need to generate another GraphQL schema?)

Reason

Manifest validation is an essential feature for productive content development. Content Developer should be rejected immediately on any error found while using Populator to upload the manifests.

Use cases

  • As a Content Developer, I want to use Populator knowing, that all manifest issues will be detected immediately.
  • As a System Administrator, I want to ensure Capact is properly configured to consume already validated manifests from a given Public Hub.
@pkosiec pkosiec added enhancement New feature or request area/hub Relates to Hub labels Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hub Relates to Hub enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant