diff --git a/api/pwapi.proto b/api/pwapi.proto index dca2b5e50..a515633d5 100644 --- a/api/pwapi.proto +++ b/api/pwapi.proto @@ -72,9 +72,9 @@ service Service { // Agent // - rpc AgentRegister(AgentRegister.Input) returns (AgentRegister.Output); // agent only - rpc AgentListInstances(AgentListInstances.Input) returns (AgentListInstances.Output); // agent only - rpc AgentUpdateState(AgentUpdateState.Input) returns (AgentUpdateState.Output); // agent only + rpc AgentRegister(AgentRegister.Input) returns (AgentRegister.Output) { option (google.api.http) = {post: "/agent/register"}; }; // agent only + rpc AgentListInstances(AgentListInstances.Input) returns (AgentListInstances.Output) { option (google.api.http) = {get: "/agent/list-instances"}; }; // agent only + rpc AgentUpdateState(AgentUpdateState.Input) returns (AgentUpdateState.Output) { option (google.api.http) = {get: "/agent/update-state"}; }; // agent only rpc AgentList(AgentList.Input) returns (AgentList.Output); // admin only // rpc AgentEventSubscribe(AgentEventSubscribe.Input) returns (stream AgentEventSubscribe.Output); } diff --git a/docs/gen.sum b/docs/gen.sum index 89d477e1b..a64647a4d 100644 --- a/docs/gen.sum +++ b/docs/gen.sum @@ -5,4 +5,4 @@ a45fa08c595709dd752f52ded4493ceb3a191de2 ../api/pwcompose.proto a4e42f9d8ad42bafd735b21b535c5a16d8ca365e ../api/errcode.proto c82d38b9b1c190688fea61507fda341ae4209349 Makefile -cfe4958fa4c28ddd188b8b849b8a044dd4f26531 ../api/pwapi.proto +e764af2e992316ed9f29eb755a0921acd1fcca39 ../api/pwapi.proto diff --git a/go/gen.sum b/go/gen.sum index 7338a91f4..02a0e3ab2 100644 --- a/go/gen.sum +++ b/go/gen.sum @@ -5,4 +5,4 @@ a45fa08c595709dd752f52ded4493ceb3a191de2 ../api/pwcompose.proto a4e42f9d8ad42bafd735b21b535c5a16d8ca365e ../api/errcode.proto c8444667ef9df6d47212692aac536dd272bd4c16 Makefile -cfe4958fa4c28ddd188b8b849b8a044dd4f26531 ../api/pwapi.proto +e764af2e992316ed9f29eb755a0921acd1fcca39 ../api/pwapi.proto diff --git a/go/pkg/pwapi/pwapi.pb.go b/go/pkg/pwapi/pwapi.pb.go index ebd542ccb..beb000d10 100644 --- a/go/pkg/pwapi/pwapi.pb.go +++ b/go/pkg/pwapi/pwapi.pb.go @@ -3154,160 +3154,162 @@ func init() { func init() { proto.RegisterFile("pwapi.proto", fileDescriptor_c93fd103fab7cf9c) } var fileDescriptor_c93fd103fab7cf9c = []byte{ - // 2440 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xcb, 0x6f, 0x1c, 0x49, - 0x19, 0x4f, 0x8f, 0xed, 0x99, 0x71, 0x8d, 0x1f, 0xe3, 0x72, 0xe2, 0x4c, 0x3a, 0xb1, 0x67, 0xd2, - 0x79, 0x6c, 0x1e, 0xcc, 0xb4, 0xe3, 0x04, 0x08, 0xc9, 0x8a, 0xdd, 0xb1, 0x9d, 0xf5, 0x36, 0x21, - 0x6b, 0x6f, 0x4f, 0x12, 0x96, 0x68, 0x17, 0x53, 0xd3, 0x53, 0x9e, 0x69, 0x32, 0xd3, 0xdd, 0x74, - 0xd5, 0xd8, 0x18, 0xd8, 0x15, 0x2c, 0x02, 0x2d, 0x12, 0x07, 0x58, 0x24, 0x0e, 0x91, 0x10, 0x27, - 0x1e, 0x07, 0x2e, 0xfc, 0x05, 0x48, 0x9c, 0x38, 0xae, 0x84, 0x84, 0x38, 0x59, 0x68, 0xc2, 0x75, - 0xff, 0x07, 0x54, 0xd5, 0xd5, 0xef, 0xb6, 0x9d, 0xa0, 0x65, 0x4f, 0xee, 0xaa, 0xef, 0x57, 0xbf, - 0xef, 0x57, 0x5f, 0x7d, 0x55, 0xf5, 0x95, 0x07, 0x94, 0x9c, 0x3d, 0xe4, 0x98, 0x0d, 0xc7, 0xb5, - 0xa9, 0x0d, 0x4b, 0x0e, 0xa2, 0xbd, 0x3d, 0xe4, 0x36, 0x90, 0x63, 0xca, 0x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 0x0f, 0xe6, 0x8a, 0x12, 0x58, 0x04, 0xa0, 0xe9, 0x98, 0xf7, 0xf1, 0x3e, - 0xef, 0x99, 0x2d, 0xe6, 0xe4, 0xc9, 0x77, 0xea, 0xcd, 0x2d, 0xad, 0x7e, 0x1f, 0xef, 0xd7, 0x72, - 0xed, 0x2a, 0x98, 0x8e, 0x8e, 0x38, 0x01, 0x66, 0x62, 0xf8, 0x13, 0xee, 0x6d, 0x00, 0x1f, 0xd8, - 0x2e, 0xae, 0xa1, 0xb6, 0x3d, 0xa4, 0x35, 0xb1, 0x90, 0x2f, 0xb2, 0x84, 0x7f, 0x1f, 0x2d, 0x49, - 0x9f, 0x8c, 0x96, 0xa4, 0x7f, 0x8f, 0x96, 0xa4, 0x5f, 0x3e, 0x5f, 0x3a, 0xf1, 0xc9, 0xf3, 0xa5, - 0x13, 0xff, 0x7a, 0xbe, 0x74, 0xe2, 0xc9, 0x99, 0x68, 0xb0, 0xd5, 0xae, 0xad, 0x3a, 0x4f, 0xbb, - 0x2a, 0xff, 0x0d, 0xb2, 0x9d, 0xe7, 0x3f, 0xde, 0xdd, 0xfc, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, - 0xa7, 0xb0, 0xb6, 0xac, 0x93, 0x1c, 0x00, 0x00, + // 2473 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xcd, 0x6f, 0x1c, 0x49, + 0xf9, 0x4e, 0x8f, 0xed, 0x99, 0x71, 0x8d, 0x3f, 0xc6, 0xe5, 0xd8, 0x99, 0xb4, 0x63, 0xcf, 0xa4, + 0xf3, 0xb1, 0xf9, 0xf8, 0xcd, 0xb4, 0xe3, 0xe4, 0x07, 0x21, 0x59, 0xb1, 0x3b, 0xb6, 0xb3, 0xde, + 0x26, 0x64, 0xed, 0x6d, 0x27, 0x61, 0x89, 0x16, 0x4c, 0x4d, 0x4f, 0x79, 0xa6, 0xc9, 0x4c, 0x77, + 0xd3, 0x55, 0x63, 0xe3, 0x85, 0x5d, 0x41, 0x10, 0x68, 0x91, 0x38, 0xc0, 0x22, 0x71, 0x88, 0x84, + 0x38, 0x01, 0x17, 0x2e, 0xfc, 0x05, 0x48, 0x9c, 0x38, 0xae, 0x84, 0x84, 0x38, 0x59, 0x68, 0xc2, + 0x75, 0xff, 0x05, 0x84, 0xaa, 0xba, 0xfa, 0xbb, 0x6d, 0x27, 0x68, 0xe1, 0xe4, 0xae, 0x7a, 0x9f, + 0x7a, 0x9e, 0xa7, 0xaa, 0xdf, 0xaa, 0x7e, 0x6b, 0x0c, 0x4a, 0xce, 0x3e, 0x72, 0xcc, 0x86, 0xe3, + 0xda, 0xd4, 0x86, 0x25, 0x07, 0xd1, 0xee, 0x3e, 0x72, 0x1b, 0xc8, 0x31, 0xe5, 0x73, 0x1d, 0xdb, + 0xee, 0xf4, 0xb0, 0x8a, 0x1c, 0x53, 0x45, 0x96, 0x65, 0x53, 0x44, 0x4d, 0xdb, 0x22, 0x1e, 0x54, + 0xae, 0x77, 0x4c, 0xda, 0x1d, 0xb4, 0x1a, 0x86, 0xdd, 0x57, 0x3b, 0x76, 0xc7, 0x56, 0x79, 0x77, + 0x6b, 0xb0, 0xcb, 0x5b, 0xbc, 0xc1, 0x9f, 0x04, 0x7c, 0x3b, 0x0a, 0x77, 0x1d, 0xa3, 0x8e, 0x0d, + 0x9b, 0x1c, 0x10, 0x8a, 0x45, 0xb3, 0x83, 0x28, 0xde, 0x47, 0x07, 0x1e, 0x8b, 0x51, 0xef, 0x60, + 0xab, 0x4e, 0xf6, 0x51, 0xa7, 0x83, 0x5d, 0xd5, 0x76, 0xb8, 0x6e, 0x86, 0x87, 0x92, 0xb3, 0x4f, + 0x88, 0xaf, 0x00, 0x9c, 0xfd, 0x76, 0xcb, 0x7b, 0x56, 0x34, 0x30, 0xde, 0xec, 0x60, 0x8b, 0x7e, + 0xd5, 0x24, 0x54, 0x2e, 0x80,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a6, 0x38, 0x25, 0xc7, + 0x74, 0xd1, 0x62, 0xfd, 0xec, 0x8b, 0x6a, 0xfa, 0xdf, 0x57, 0xd1, 0x82, 0x67, 0x41, 0xb1, 0x35, + 0x30, 0x7b, 0x74, 0x07, 0x51, 0x71, 0x55, 0x29, 0xf0, 0x76, 0x33, 0x12, 0x6a, 0x1d, 0xf8, 0xd7, + 0x15, 0xde, 0x5e, 0x3d, 0x50, 0x7e, 0x2f, 0x81, 0xa9, 0x35, 0x7b, 0xe0, 0x44, 0x8a, 0x88, 0x37, + 0x23, 0x17, 0xa8, 0x2e, 0x22, 0x5d, 0xff, 0x02, 0xc5, 0x9e, 0x5f, 0xae, 0x18, 0xda, 0x0e, 0xa6, + 0xa7, 0x81, 0x19, 0x83, 0xb3, 0xa7, 0x3f, 0xf3, 0xe7, 0x62, 0x3b, 0x24, 0x6a, 0x81, 0xed, 0xbc, + 0xb2, 0x91, 0xe8, 0x51, 0x66, 0xc0, 0xe8, 0x63, 0xdb, 0x6c, 0xdf, 0x19, 0xff, 0xa4, 0x99, 0x5f, + 0x19, 0x85, 0xb9, 0xef, 0x7d, 0xb8, 0xf2, 0xaf, 0x79, 0x50, 0xd8, 0xc6, 0xee, 0x9e, 0x69, 0x60, + 0x68, 0x25, 0x77, 0x14, 0x3c, 0x7f, 0x5c, 0x4e, 0x7a, 0x2f, 0x42, 0x39, 0x39, 0x6d, 0x95, 0xb9, + 0x67, 0x7f, 0xfd, 0xe7, 0x2f, 0x73, 0xd3, 0x70, 0x52, 0x65, 0xdb, 0x4b, 0x25, 0x82, 0xfd, 0x87, + 0x52, 0xd6, 0x91, 0x08, 0x2f, 0xa5, 0x18, 0xe3, 0x00, 0x21, 0x7c, 0xf9, 0x24, 0x98, 0x10, 0x3f, + 0xc7, 0xc5, 0xe7, 0x95, 0x19, 0x4f, 0xdc, 0x09, 0x11, 0x77, 0xa4, 0x6b, 0xcc, 0x43, 0xfa, 0xbc, + 0x84, 0x17, 0x53, 0xdc, 0xb1, 0xb8, 0x70, 0x70, 0xe9, 0x04, 0x94, 0x30, 0x50, 0xe5, 0x06, 0xce, + 0x2a, 0xa7, 0x3d, 0x03, 0x6d, 0x8e, 0xa9, 0x23, 0x0f, 0xc4, 0x3c, 0x98, 0x89, 0xb3, 0x11, 0xd6, + 0x62, 0xc4, 0xb1, 0x98, 0x90, 0x3e, 0x7f, 0x0c, 0x42, 0xc8, 0xce, 0x72, 0xd9, 0x49, 0x58, 0x52, + 0x83, 0x42, 0x88, 0x40, 0x1c, 0xbf, 0x71, 0xc0, 0x6a, 0x36, 0xcf, 0x06, 0xf6, 0x85, 0x6a, 0x47, + 0x03, 0x84, 0x0e, 0xe4, 0x3a, 0x13, 0x10, 0x84, 0x3a, 0xf0, 0x59, 0xf6, 0x25, 0x10, 0xc6, 0xdf, + 0x59, 0x06, 0x42, 0xa8, 0xbe, 0x76, 0x22, 0x4e, 0x88, 0xcb, 0x5c, 0xfc, 0x34, 0x84, 0xaa, 0x77, + 0x9a, 0xd5, 0x23, 0x73, 0xfd, 0x28, 0xeb, 0xfe, 0x97, 0xc8, 0xae, 0x34, 0x20, 0x33, 0xbb, 0x32, + 0x60, 0xc2, 0xc0, 0x59, 0x6e, 0x60, 0x16, 0xce, 0xa4, 0x0c, 0xc0, 0x1f, 0x67, 0xde, 0xad, 0x8e, + 0x37, 0xb0, 0x3a, 0x38, 0x78, 0x19, 0x03, 0x0c, 0x26, 0x0c, 0xd4, 0xb8, 0x01, 0x59, 0x99, 0x4b, + 0x19, 0x50, 0x5b, 0x83, 0x03, 0x96, 0x5e, 0x7f, 0x94, 0x4e, 0xb8, 0xf3, 0xc0, 0xe5, 0xec, 0x97, + 0x9c, 0x85, 0x15, 0xee, 0x6e, 0xbc, 0xc2, 0x08, 0x61, 0xf4, 0x3a, 0x37, 0x7a, 0x49, 0xa9, 0x85, + 0x79, 0x52, 0x8f, 0x56, 0xf6, 0xaa, 0x38, 0xde, 0x30, 0xf3, 0xfc, 0xdb, 0x63, 0xaf, 0x22, 0xb0, + 0x7e, 0xb2, 0x3c, 0x07, 0x0a, 0xb7, 0x8d, 0x97, 0x85, 0x0b, 0xab, 0x57, 0xb8, 0x55, 0x45, 0x59, + 0x3c, 0xca, 0xaa, 0xc1, 0xd0, 0xcc, 0xe7, 0x20, 0x5d, 0x2d, 0xc1, 0x0b, 0x31, 0xb5, 0x64, 0x58, + 0x58, 0xba, 0x78, 0x3c, 0x48, 0x18, 0x99, 0xe7, 0x46, 0xca, 0x70, 0x4a, 0x8d, 0x56, 0xff, 0x04, + 0x3e, 0x0a, 0x2f, 0x31, 0x70, 0x21, 0xc6, 0xe4, 0x77, 0x0b, 0x99, 0x73, 0xd9, 0x41, 0x41, 0x3f, + 0xc5, 0xe9, 0x8b, 0x30, 0xaf, 0xb2, 0xaf, 0x0e, 0x81, 0xef, 0x06, 0x3f, 0x12, 0x41, 0x39, 0x35, + 0x30, 0xdc, 0x1b, 0x0b, 0x99, 0x31, 0xc1, 0x39, 0xc9, 0x39, 0x0b, 0x70, 0x8c, 0x73, 0xc2, 0x6f, + 0x44, 0xef, 0x3e, 0x70, 0x31, 0x35, 0xd2, 0x0b, 0x08, 0xe2, 0xa5, 0xa3, 0xc2, 0x82, 0xbb, 0xcc, + 0xb9, 0x81, 0xe2, 0x71, 0xb3, 0xf5, 0x77, 0x92, 0xb7, 0x92, 0xc4, 0x27, 0x2b, 0x1e, 0xcc, 0xfc, + 0x64, 0x25, 0x20, 0x42, 0xea, 0x0c, 0x97, 0x9a, 0x51, 0x26, 0xb8, 0x94, 0x6a, 0xf2, 0x20, 0x53, + 0xfc, 0x30, 0x7d, 0xbd, 0x48, 0xbc, 0xf1, 0x64, 0x38, 0xf3, 0x8d, 0xa7, 0x40, 0x42, 0x77, 0x89, + 0xeb, 0x56, 0x94, 0xd9, 0xa8, 0xae, 0x8a, 0x38, 0x92, 0xc9, 0xef, 0x25, 0x6b, 0x8d, 0xc4, 0x84, + 0xe3, 0xc1, 0xcc, 0x09, 0x27, 0x20, 0x42, 0x78, 0x91, 0x0b, 0x9f, 0x51, 0xa0, 0xea, 0x95, 0x0d, + 0xf5, 0xb0, 0xda, 0x60, 0xba, 0x6f, 0x80, 0xe2, 0x43, 0xdb, 0xee, 0x6d, 0x99, 0x56, 0x07, 0xce, + 0xc4, 0xe8, 0x58, 0x45, 0x21, 0xa7, 0xbb, 0x22, 0x89, 0xe0, 0xb0, 0x41, 0x4f, 0x00, 0x60, 0x04, + 0x5e, 0x91, 0x08, 0xe3, 0x79, 0x19, 0x14, 0x8f, 0xc2, 0xef, 0xe2, 0x11, 0x51, 0x61, 0x75, 0x9a, + 0x33, 0x8f, 0xc3, 0x82, 0x4a, 0x3c, 0x36, 0xdd, 0x33, 0xc7, 0x2a, 0xc4, 0x44, 0xe2, 0x8a, 0xba, + 0x31, 0x33, 0x71, 0xfd, 0x58, 0x2a, 0x71, 0x4d, 0xc6, 0x83, 0xc0, 0x69, 0xc6, 0xb9, 0x81, 0x2d, + 0xec, 0x22, 0x8a, 0xdf, 0x42, 0x4f, 0xf1, 0x3a, 0xa2, 0xe8, 0x25, 0x27, 0x7f, 0x81, 0x93, 0x2d, + 0x2a, 0x15, 0x95, 0xda, 0x76, 0x4f, 0xed, 0x08, 0x96, 0xfa, 0x2e, 0x7a, 0x8a, 0xeb, 0x6d, 0x44, + 0x11, 0x5b, 0x53, 0xcd, 0x5b, 0x92, 0xf5, 0xd5, 0xf5, 0x41, 0xdf, 0xc9, 0x22, 0x8e, 0x15, 0xe3, + 0x0c, 0x14, 0x39, 0x10, 0x38, 0x2f, 0xf9, 0x4e, 0xaf, 0xde, 0x66, 0x83, 0xfb, 0x89, 0xdf, 0xf0, + 0x13, 0x25, 0x44, 0x2c, 0x96, 0x59, 0x42, 0xc4, 0x11, 0x89, 0x4d, 0x30, 0xad, 0xf2, 0xdf, 0xc2, + 0x55, 0xd7, 0x67, 0x7f, 0x96, 0xf9, 0xd3, 0x7a, 0xe2, 0xd3, 0x96, 0x06, 0x64, 0x7e,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x27, 0x67, 0xa3, 0x8b, 0xad, 0x76, 0x6c, 0xd5, 0x79, + 0xda, 0x51, 0xf9, 0x7f, 0x36, 0x5b, 0x79, 0xfe, 0x2f, 0xc1, 0x9b, 0xff, 0x0e, 0x00, 0x00, 0xff, + 0xff, 0x69, 0xb8, 0xca, 0x28, 0xe9, 0x1c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/go/pkg/pwapi/pwapi.pb.gw.go b/go/pkg/pwapi/pwapi.pb.gw.go index e617b17df..f8851cb27 100644 --- a/go/pkg/pwapi/pwapi.pb.gw.go +++ b/go/pkg/pwapi/pwapi.pb.gw.go @@ -659,6 +659,105 @@ func local_request_Service_ToolDBDump_0(ctx context.Context, marshaler runtime.M } +var ( + filter_Service_AgentRegister_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Service_AgentRegister_0(ctx context.Context, marshaler runtime.Marshaler, client ServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AgentRegister_Input + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Service_AgentRegister_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.AgentRegister(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Service_AgentRegister_0(ctx context.Context, marshaler runtime.Marshaler, server ServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AgentRegister_Input + var metadata runtime.ServerMetadata + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Service_AgentRegister_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.AgentRegister(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Service_AgentListInstances_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Service_AgentListInstances_0(ctx context.Context, marshaler runtime.Marshaler, client ServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AgentListInstances_Input + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Service_AgentListInstances_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.AgentListInstances(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Service_AgentListInstances_0(ctx context.Context, marshaler runtime.Marshaler, server ServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AgentListInstances_Input + var metadata runtime.ServerMetadata + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Service_AgentListInstances_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.AgentListInstances(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Service_AgentUpdateState_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Service_AgentUpdateState_0(ctx context.Context, marshaler runtime.Marshaler, client ServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AgentUpdateState_Input + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Service_AgentUpdateState_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.AgentUpdateState(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Service_AgentUpdateState_0(ctx context.Context, marshaler runtime.Marshaler, server ServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq AgentUpdateState_Input + var metadata runtime.ServerMetadata + + if err := runtime.PopulateQueryParameters(&protoReq, req.URL.Query(), filter_Service_AgentUpdateState_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.AgentUpdateState(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterServiceHandlerServer registers the http handlers for service Service to "mux". // UnaryRPC :call ServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -1104,6 +1203,66 @@ func RegisterServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, se }) + mux.Handle("POST", pattern_Service_AgentRegister_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Service_AgentRegister_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_AgentRegister_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Service_AgentListInstances_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Service_AgentListInstances_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_AgentListInstances_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Service_AgentUpdateState_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Service_AgentUpdateState_0(rctx, inboundMarshaler, server, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_AgentUpdateState_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1585,6 +1744,66 @@ func RegisterServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, cl }) + mux.Handle("POST", pattern_Service_AgentRegister_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Service_AgentRegister_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_AgentRegister_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Service_AgentListInstances_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Service_AgentListInstances_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_AgentListInstances_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Service_AgentUpdateState_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Service_AgentUpdateState_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Service_AgentUpdateState_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1632,6 +1851,12 @@ var ( pattern_Service_ToolGenerateFakeData_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"tool", "generate-fake-data"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Service_ToolDBDump_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"tool", "sql-dump"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_Service_AgentRegister_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"agent", "register"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_Service_AgentListInstances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"agent", "list-instances"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_Service_AgentUpdateState_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"agent", "update-state"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( @@ -1678,4 +1903,10 @@ var ( forward_Service_ToolGenerateFakeData_0 = runtime.ForwardResponseMessage forward_Service_ToolDBDump_0 = runtime.ForwardResponseMessage + + forward_Service_AgentRegister_0 = runtime.ForwardResponseMessage + + forward_Service_AgentListInstances_0 = runtime.ForwardResponseMessage + + forward_Service_AgentUpdateState_0 = runtime.ForwardResponseMessage ) diff --git a/swagger.yaml b/swagger.yaml index cc984e34c..7a8a4a255 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -1181,6 +1181,74 @@ info: title: Pathwar API version: "1.0" paths: + /agent/list-instances: + get: + operationId: AgentListInstances + parameters: + - format: int64 + in: query + name: agent_id + required: false + type: string + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/apiAgentListInstancesOutput' + "403": + description: Returned when the user does not have permission to access the + resource. + schema: {} + "404": + description: Returned when the resource does not exist. + schema: + format: string + type: string + tags: + - Service + /agent/register: + post: + operationId: AgentRegister + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/apiAgentRegisterOutput' + "403": + description: Returned when the user does not have permission to access the + resource. + schema: {} + "404": + description: Returned when the resource does not exist. + schema: + format: string + type: string + tags: + - Service + /agent/update-state: + get: + operationId: AgentUpdateState + parameters: + - in: query + name: message + required: false + type: string + responses: + "200": + description: A successful response. + schema: + $ref: '#/definitions/apiAgentUpdateStateOutput' + "403": + description: Returned when the user does not have permission to access the + resource. + schema: {} + "404": + description: Returned when the resource does not exist. + schema: + format: string + type: string + tags: + - Service /challenge: get: operationId: ChallengeGet