-
Notifications
You must be signed in to change notification settings - Fork 499
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
Dashboard should show custom resources #436
Comments
Added for Post Preview so we can work with @leslierichardson95 for a design |
@mitchdenny would appreciate your thoughts on this. I was thinking one thing we could do is show data from known annotations and interfaces (IResourceWithConnectionString) in the grid. |
I think we should change the dashboard to query the components from the app model vs. querying DCP - and yes I think the dashboard should show custom resources. I would actually prefer that we just have a unified list of resources rather than breaking them out by container / executable etc. Then with a drop down to filter by component type. I'd also like to enable resources to offer up information/actions that can be accessed from the portal. For example for Redis I'd really like to be able to do things like clear out the cache without having to restart everything. We don't need to solve all these specific things with this issue, but what we should be thinking about is how do we create the room to create a really great local development experience here. |
💯! I was going to file a new bug for this one, but I want to see connection strings for existing container resources. Right now, I can only find this by looking at resources that added a reference which is pretty indirect.
I would start with a purely read only experience and then discuss how to formalize the actions on resources. It does sound like a really cool thing to do though! |
Baby steps |
@kvenkatrajan Putting this in preview3 (it might slip to 4) |
In order for us to show custom resources we need to invert our current way of computing view models for dashboard. Right now we get data from dcp and fill in places from application model where needed (specifically for endpoint details from launch profiles). |
After this change we will be using the distributed application model as the source of truth, not dcp. Dcp will enrich the values resources with data about what’s actually running |
Status update:
|
Today the dashboard shows projects, containers, executables, while these are the core "launchable" primitives, things like AzureServiceBus and PostgresConnection don't show up. We should show other resources that come the application model directly that aren't part of the DCP model.
In eshoplite, there's no way to see the azure service bus resource:
The text was updated successfully, but these errors were encountered: