Generate bundle interface from dependency usage #2684
Labels
pep003-advanced-dependencies
Implementation of the Advanced Dependencies proposal
placeholder
Tracks work that has not yet be fully designed
Dependencies can declare a specific interface, such as the mysql dependency must generate an output containing a mysql connection string. But there is also an interred base interface determined by how the dependency is used by the parent. Porter needs to be able to generate the base interface by determining if the parent bundle uses any outputs, credentials and parameters from the dependency and including those in the base interface.
The templates used in the dependencies (and TBD on the action section, see getporter/proposals#18) must be evaluated and the variables used to see which params/creds/outputs are used.
ℹ️ Read PEP003 - Advanced Dependencies for context about how dependencies should work, design details, and notes about desired behavior.
The text was updated successfully, but these errors were encountered: