We need to enhance RPC protocol with the following items
- Resolve request to instruct RTE model to resolve trivial component dependencies.
argument: current context
return value: true if all dependencies are resolved
- selectLayer set specified layer or project affinity
arguments: current context, component aggregate ID, layer to set (empty to set project affinity)
return value: true if changed
- setComponentOptions set component options:
- required version string in SemVer format: no version (default), fixed, minimum, compatible
- fixed vendor flag: component is prefixed with vendor if written to yml file
- enforced flag: component is and its pack are fixed
arguments: current context, component aggregate ID, options
return value: true if changed
- Component aggregate and ComponentInstance structure need to be enhanced with:
- condition result string for dependency resolution/ missing component
- component options
- generator name
- fixed flag to indicate generated component that cannot be deselected
We need to enhance RPC protocol with the following items
argument: current context
return value: true if all dependencies are resolved
arguments: current context, component aggregate ID, layer to set (empty to set project affinity)
return value: true if changed
arguments: current context, component aggregate ID, options
return value: true if changed