Replies: 5 comments 11 replies
-
I like the special command that could emit some tooling info, that command might be not public and be there for tools to call it etc ... |
Beta Was this translation helpful? Give feedback.
-
yes by default and also accept --json parameter for tools to parse it in json format |
Beta Was this translation helpful? Give feedback.
-
@abpiskunov @vijayrkn it would be very helpful if you provided some examples of that mapping might look like. E.g. given the app that has this specific structure (number/type of application services plus number/type of supporting cloud services/dependencies), these are the "questions" ( |
Beta Was this translation helpful? Give feedback.
-
Team @jongio @savannahostrowski @karolz-ms @ellismg had a discussion on this and decided to,
|
Beta Was this translation helpful? Give feedback.
-
I started the ball rolling on the work to expose |
Beta Was this translation helpful? Give feedback.
-
Tools like Visual Studio might need to read some information that is stored in
azure.yaml
. For example, the user might indicate that they want to "deploy" a particular C# project from Visual Studio Solution Explorer. For that Visual Studio needs to know what is the AZD "service name" that corresponds to the C# project, so that it can invoke theazd deploy --service xxx
command correctly.There are a few ways we could go about making it happen
Just have the tools read
azure.yaml
directly.We have a schema for the file and libraries are available. That said, the format of
azure.yaml
file will probably be evolving, and making sure tools follow the changes is a challenge. The magnitude of the challenge is somewhat hard to predict.Develop and publish libraries to read/write project information in
azure.yaml
file.This would allow AZD team to make changes to the file schema while isolating the consumers from most of them (or, for more substantial changes, at least the consumers would get a decent parsing error message and have a chance to upgrade to a new library version). This does represent additional work though, including the logistics of publishing libraries etc.
Add new CLI command(s) for exposing project information in machine-readable format (JSON)
This option would isolate tools from minor changes to
azure.yaml
file format, similar to option 2, but would probably be insufficient for major changes. It would also mean adding commands that very few users would benefit from.Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions