Add alias resolution to target service (#4277)

* Add aliases to target resource and alias resolution to target service

* Wire up the target alias domain package to the target service handler

* Adding alias resolution to target api tests
This commit is contained in:
Todd committed 2024-02-29 15:51:24 -08:00
1 parent 92181e272a
commit 3f3b624b54
12 files changed
+1359 -631

No files matched your search

@@ -14,6 +14,14 @@ import "google/protobuf/wrappers.proto";
option go_package = "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/targets;targets";
message Alias {
// Output only. The ID of the alias referencing this target.
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
// Ouput only. The value of the alias referencing this target.
string value = 20; // @gotags: `class:"public" eventstream:"observation"`
}
message HostSource {
// Output only. The ID of the Host Set.
string id = 10; // @gotags: `class:"public" eventstream:"observation"`
@@ -211,6 +219,9 @@ message Target {
}
]; // @gotags: `class:"public"`
// Output only. The aliases that point to this Target.
repeated Alias aliases = 550 [json_name = "aliases"]; // @gotags: `class:"public"`
// Deprecated fields
reserved "application_credential_library_ids", "application_credential_libraries";
reserved 150, 180;