Closed awgreene closed 9 months ago
Tagging @perdasilva and @varshaprasad96 for review on this one.
One change:
Catalogd should also be updated to use VariableSources.
Catalogd does not deal with deppy directly. Its only the operator controller that fetches in contents from v1 catalog and converts them into deppy consumable format. As such Catalogd project/repository shouldn't require any change (afaik).
This issue has become stale because it has been open 60 days with no activity. The maintainers of this repo will remove this label during issue triage or it will be removed automatically after an update. Adding the lifecycle/frozen
label will cause this issue to ignore lifecycle events.
At a high level, the Deppy Library checks if a set of constraints can be satisfied by a set of entities. Today, the Deppy Library expects users to implement the EntitySource interface to provide the entities that Deppy considers. There are a number of shortcomings with the existing interface that justify moving to using the VariableSource interface.
Input -> Entities -> Variables -> Solver -> Solution set (variables) -> Entities
.Moving away from EntitySources / entities will yield the following benefits:
Open Questions:
Follow up:
Related PRs:
Demo Script: