Skip to content

Commit

Permalink
Remove deprecated resource service protocol fields/types
Browse files Browse the repository at this point in the history
Fixes #3671
  • Loading branch information
drewnoakes committed Aug 7, 2024
1 parent 0ac9c4c commit 8bdbfc6
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions src/Aspire.Hosting/Dashboard/proto/resource_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,6 @@ message EnvironmentVariable {
bool is_from_spec = 3;
}

message Endpoint {
string endpoint_url = 1;
string proxy_url = 2;
}

message Service {
string name = 1;
optional string allocated_address = 2;
optional int32 allocated_port = 3;
}

message Url {
// The name of the url
string name = 1;
Expand All @@ -132,6 +121,7 @@ message ResourceProperty {

// Models the full state of an resource (container, executable, project, etc) at a particular point in time.
message Resource {
reserved 8, 9, 10;
string name = 1;
string resource_type = 2;
string display_name = 3;
Expand All @@ -140,11 +130,6 @@ message Resource {
optional google.protobuf.Timestamp created_at = 6;
repeated EnvironmentVariable environment = 7;

// Deprecated and replaced with urls
optional int32 expected_endpoints_count = 8 [deprecated = true];
repeated Endpoint endpoints = 9 [deprecated = true];
repeated Service services = 10 [deprecated = true];

repeated ResourceCommand commands = 11;

// Properties holding data not modeled directly on the message.
Expand Down

0 comments on commit 8bdbfc6

Please sign in to comment.