You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A prerequisite for static type analysis of the transformation specification is that the types of input fields and output fields are available "AT COMPILE TIME" of the transformation specification. So, at this point, we do not have actual values for the CEL expressions yet.
After we set up JSON an API to get the JSON schema for internal plugins (by generating it based on the Go types) and external plugins (they already provide their JSON schema during their discovery), we can implement a static type analysis a transformation specification.
Scope
Generate JSON Schema for internal plugins
Expose JSON Schema for both internal and external plugins
Set up a basic transformation specification
Implement a prototype for the transformation engine
Perform a static type analysis
Perform a basic evaluation of expressions
What to do: JSON Schema
Write a JSON schema generator for internal plugins that can convert runtime.Typed (for example, repositorySpec) and structures containing runtime.Typed (for example, download transformation - see ADR) to JSON schema.
The type information (so, type name and aliases - oci, oci/v1, ociRegistry, ociRegistry/v1 have to be encoded into the JSON schema.
Description
Scope
What to do:
JSON Schema
runtime.Typed(for example,repositorySpec) and structures containingruntime.Typed(for example, download transformation - see ADR) to JSON schema.typeinformation (so, type name and aliases -oci,oci/v1,ociRegistry,ociRegistry/v1have to be encoded into the JSON schema.Engine
Timebox
10 days
Done Criteria