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

Generate bundle interface from dependency usage #2684

Open
Tracked by #2678
carolynvs opened this issue Mar 31, 2023 · 0 comments
Open
Tracked by #2678

Generate bundle interface from dependency usage #2684

carolynvs opened this issue Mar 31, 2023 · 0 comments
Labels
pep003-advanced-dependencies Implementation of the Advanced Dependencies proposal placeholder Tracks work that has not yet be fully designed

Comments

@carolynvs
Copy link
Member

carolynvs commented Mar 31, 2023

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.

@carolynvs carolynvs added the pep003-advanced-dependencies Implementation of the Advanced Dependencies proposal label Mar 31, 2023
@carolynvs carolynvs added hmm 🛑🤔 Needs more thinking time. Don't start on it yet, please. placeholder Tracks work that has not yet be fully designed and removed hmm 🛑🤔 Needs more thinking time. Don't start on it yet, please. labels Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pep003-advanced-dependencies Implementation of the Advanced Dependencies proposal placeholder Tracks work that has not yet be fully designed
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant