Add terminal service implementation and integration tests
- Introduced terminal.h header file defining the terminal service API. - Implemented integration tests for terminal service registration and health checks. - Added unit tests for FFI layer, health checks, and terminal service functionality. - Created a mock center for testing terminal registration and deregistration. - Ensured proper error handling and response validation in tests.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
syntax = "proto3";
|
||||
package google.api;
|
||||
// Placeholder for option definitions; kept minimal for tooling.
|
||||
@@ -0,0 +1,16 @@
|
||||
syntax = "proto3";
|
||||
package google.api;
|
||||
enum ClientLibraryOrganization {
|
||||
CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0;
|
||||
GOOGLE = 1;
|
||||
CLOUD = 2;
|
||||
}
|
||||
enum ClientLibraryDestination {
|
||||
CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0;
|
||||
GITHUB = 10;
|
||||
PACKAGE_MANAGER = 20;
|
||||
}
|
||||
message CommonLanguageSettings {
|
||||
string reference_docs_uri = 1;
|
||||
repeated string destinations = 2;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
package google.api;
|
||||
enum FieldBehavior {
|
||||
FIELD_BEHAVIOR_UNSPECIFIED = 0;
|
||||
OPTIONAL = 1;
|
||||
REQUIRED = 2;
|
||||
OUTPUT_ONLY = 3;
|
||||
INPUT_ONLY = 4;
|
||||
IMMUTABLE = 5;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
syntax = "proto3";
|
||||
package google.api;
|
||||
message Http {
|
||||
repeated HttpRule rules = 1;
|
||||
bool fully_decode_reserved_expansion = 2;
|
||||
}
|
||||
message HttpRule {
|
||||
string selector = 1;
|
||||
string get = 2;
|
||||
string put = 3;
|
||||
string post = 4;
|
||||
string delete = 5;
|
||||
string patch = 6;
|
||||
CustomHttpPattern custom = 8;
|
||||
repeated HttpRule additional_bindings = 11;
|
||||
}
|
||||
message CustomHttpPattern {
|
||||
string kind = 1;
|
||||
string path = 2;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
syntax = "proto3";
|
||||
package google.api;
|
||||
enum LaunchStage {
|
||||
LAUNCH_STAGE_UNSPECIFIED = 0;
|
||||
UNIMPLEMENTED = 6;
|
||||
PRELAUNCH = 7;
|
||||
EARLY_ACCESS = 1;
|
||||
ALPHA = 2;
|
||||
BETA = 3;
|
||||
GA = 4;
|
||||
DEPRECATED = 5;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
syntax = "proto3";
|
||||
package google.api;
|
||||
message ResourceDescriptor {
|
||||
string type = 1;
|
||||
repeated string pattern = 2;
|
||||
string name_field = 3;
|
||||
string history = 4;
|
||||
repeated string plural = 5;
|
||||
string singular = 6;
|
||||
}
|
||||
message ResourceReference {
|
||||
string type = 1;
|
||||
string child_type = 2;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
package google.api;
|
||||
message VisibilityRule {
|
||||
string selector = 1;
|
||||
string restriction = 2;
|
||||
}
|
||||
message Visibility {
|
||||
repeated VisibilityRule rules = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user