-
Notifications
You must be signed in to change notification settings - Fork 418
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
Resource server protocol changes #2415
Comments
@davidfowl , I am not sure I understand this request :
Can you give example of variations of urls for local/azure resources you would expect? The other 2 are clear - Thanks! |
What about adding references to resources? i.e. what resources is a resource referencing. We can show that in the resource detail pane. builder.AddProject<Projects.MyFrontend>("frontend")
.WithReference(basketService)
.WithReference(catalogService.GetEndpoint("http")); In the example above, the
You could try to reverse engineer this by looking at environment variables, but it would be a pain in the butt. Much easier to model it explicitly. |
Another potential addition is window size for logs. The server can limit the amount of history it sends easily enough, and I believe ACA does this today. The dashboard client currently appends logs without rolling old messages out of the window, which will eat memory indefinitely. We should synchronise the window size between client and server, so the server doesn't send data the client won't display, and so the client can roll old messages out. Perhaps the client specified the window size in the request. |
I'm going to punt this to the backlog for now. |
If anyone has cycles to work on this, I would like the status change for p5 😄 |
@drewnoakes - this issue is marked as "Medium" priority in 8.2. Since it affects external resources from following security best practices, should this be moved higher and commited for 8.2? |
@eerhardt I'm not sure what you mean by
Can you provide more context please? There are two pending proposed changes left on this issue. One relates to richer modelling of replicas, the other to allowing properties to be marked as secret so that they're treated the same way as environment variables in the UI (hidden by default). |
"allowing properties to be marked as secret" is exactly what I'm talking about. Custom (i.e. "external") resources can't mark properties as secret if they need to. |
Thanks for clarifying. I've pulled it out into #5065, and targeted it at 8.2 with high priority. @adamint the other item above is to model replicas explicitly. You have PR #4908 open for this now, and there are no protocol changes there. Do you anticipate us needing proto changes for that in future, or is that unnecessary. If unnecessary, then we can close this out. |
Closing this since all issues have either been resolved or have been made into their own work item. |
As part of the work to support custom resources in the dashboard (#2390) there are several improvements that we should consider making to the resource server API:
The text was updated successfully, but these errors were encountered: