From 38d1833181ff44cedaccbc5c775341b7be3f354e Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Fri, 12 Jan 2024 10:20:12 -0800 Subject: [PATCH] Replace grpc gateway endpoints with post (#4717) Signed-off-by: Yee Hing Tong --- .../pb-cpp/flyteidl/artifact/artifacts.pb.cc | 92 ++- .../pb-go/flyteidl/artifact/artifacts.pb.go | 215 +++--- .../flyteidl/artifact/artifacts.pb.gw.go | 404 +---------- .../flyteidl/artifact/artifacts.swagger.json | 625 ++---------------- .../pb-java/flyteidl/artifact/Artifacts.java | 90 ++- .../flyteidl/artifact/artifacts_pb2.py | 8 +- .../protos/flyteidl/artifact/artifacts.proto | 10 +- 7 files changed, 252 insertions(+), 1192 deletions(-) diff --git a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc index 94d3515bb0..300fa12f8f 100644 --- a/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc +++ b/flyteidl/gen/pb-cpp/flyteidl/artifact/artifacts.pb.cc @@ -928,68 +928,52 @@ const char descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto[] = "UsageRequest\022.\n\013artifact_id\030\001 \001(\0132\031.flyt" "eidl.core.ArtifactID\"S\n\021ListUsageRespons" "e\022>\n\nexecutions\030\001 \003(\0132*.flyteidl.core.Wo" - "rkflowExecutionIdentifier2\361\020\n\020ArtifactRe" + "rkflowExecutionIdentifier2\373\013\n\020ArtifactRe" "gistry\022g\n\016CreateArtifact\022(.flyteidl.arti" "fact.CreateArtifactRequest\032).flyteidl.ar" - "tifact.CreateArtifactResponse\"\000\022\361\004\n\013GetA" + "tifact.CreateArtifactResponse\"\000\022\204\001\n\013GetA" "rtifact\022%.flyteidl.artifact.GetArtifactR" "equest\032&.flyteidl.artifact.GetArtifactRe" - "sponse\"\222\004\202\323\344\223\002\213\004\022\033/artifacts/api/v1/arti" - "factsZ\263\001\022\260\001/artifacts/api/v1/artifact/id" - "/{query.artifact_id.artifact_key.project" - "}/{query.artifact_id.artifact_key.domain" - "}/{query.artifact_id.artifact_key.name}/" - "{query.artifact_id.version}Z\227\001\022\224\001/artifa" - "cts/api/v1/artifact/id/{query.artifact_i" - "d.artifact_key.project}/{query.artifact_" - "id.artifact_key.domain}/{query.artifact_" - "id.artifact_key.name}Z\233\001\022\230\001/artifacts/ap" - "i/v1/artifact/tag/{query.artifact_tag.ar" - "tifact_key.project}/{query.artifact_tag." - "artifact_key.domain}/{query.artifact_tag" - ".artifact_key.name}\022\226\002\n\017SearchArtifacts\022" - ").flyteidl.artifact.SearchArtifactsReque" - "st\032*.flyteidl.artifact.SearchArtifactsRe" - "sponse\"\253\001\202\323\344\223\002\244\001\022Y/artifacts/api/v1/sear" - "ch/{artifact_key.project}/{artifact_key." - "domain}/{artifact_key.name}ZG\022E/artifact" - "s/api/v1/search/{artifact_key.project}/{" - "artifact_key.domain}\022d\n\rCreateTrigger\022\'." - "flyteidl.artifact.CreateTriggerRequest\032(" - ".flyteidl.artifact.CreateTriggerResponse" - "\"\000\022\237\001\n\021DeactivateTrigger\022+.flyteidl.arti" - "fact.DeactivateTriggerRequest\032,.flyteidl" - ".artifact.DeactivateTriggerResponse\"/\202\323\344" - "\223\002)2$/artifacts/api/v1/trigger/deactivat" - "e:\001*\022O\n\006AddTag\022 .flyteidl.artifact.AddTa" - "gRequest\032!.flyteidl.artifact.AddTagRespo" - "nse\"\000\022e\n\020RegisterProducer\022*.flyteidl.art" - "ifact.RegisterProducerRequest\032#.flyteidl" - ".artifact.RegisterResponse\"\000\022e\n\020Register" - "Consumer\022*.flyteidl.artifact.RegisterCon" - "sumerRequest\032#.flyteidl.artifact.Registe" - "rResponse\"\000\022m\n\022SetExecutionInputs\022).flyt" - "eidl.artifact.ExecutionInputsRequest\032*.f" - "lyteidl.artifact.ExecutionInputsResponse" - "\"\000\022\330\001\n\022FindByWorkflowExec\022,.flyteidl.art" - "ifact.FindByWorkflowExecRequest\032*.flytei" - "dl.artifact.SearchArtifactsResponse\"h\202\323\344" - "\223\002b\022`/artifacts/api/v1/search/execution/" - "{exec_id.project}/{exec_id.domain}/{exec" - "_id.name}/{direction}\022\365\001\n\tListUsage\022#.fl" - "yteidl.artifact.ListUsageRequest\032$.flyte" - "idl.artifact.ListUsageResponse\"\234\001\202\323\344\223\002\225\001" - "\022\222\001/artifacts/api/v1/usage/{artifact_id." - "artifact_key.project}/{artifact_id.artif" - "act_key.domain}/{artifact_id.artifact_ke" - "y.name}/{artifact_id.version}B@Z>github." - "com/flyteorg/flyte/flyteidl/gen/pb-go/fl" - "yteidl/artifactb\006proto3" + "sponse\"&\202\323\344\223\002 \"\033/artifacts/api/v1/artifa" + "cts:\001*\022\215\001\n\017SearchArtifacts\022).flyteidl.ar" + "tifact.SearchArtifactsRequest\032*.flyteidl" + ".artifact.SearchArtifactsResponse\"#\202\323\344\223\002" + "\035\"\030/artifacts/api/v1/search:\001*\022d\n\rCreate" + "Trigger\022\'.flyteidl.artifact.CreateTrigge" + "rRequest\032(.flyteidl.artifact.CreateTrigg" + "erResponse\"\000\022\237\001\n\021DeactivateTrigger\022+.fly" + "teidl.artifact.DeactivateTriggerRequest\032" + ",.flyteidl.artifact.DeactivateTriggerRes" + "ponse\"/\202\323\344\223\002)2$/artifacts/api/v1/trigger" + "/deactivate:\001*\022O\n\006AddTag\022 .flyteidl.arti" + "fact.AddTagRequest\032!.flyteidl.artifact.A" + "ddTagResponse\"\000\022e\n\020RegisterProducer\022*.fl" + "yteidl.artifact.RegisterProducerRequest\032" + "#.flyteidl.artifact.RegisterResponse\"\000\022e" + "\n\020RegisterConsumer\022*.flyteidl.artifact.R" + "egisterConsumerRequest\032#.flyteidl.artifa" + "ct.RegisterResponse\"\000\022m\n\022SetExecutionInp" + "uts\022).flyteidl.artifact.ExecutionInputsR" + "equest\032*.flyteidl.artifact.ExecutionInpu" + "tsResponse\"\000\022\330\001\n\022FindByWorkflowExec\022,.fl" + "yteidl.artifact.FindByWorkflowExecReques" + "t\032*.flyteidl.artifact.SearchArtifactsRes" + "ponse\"h\202\323\344\223\002b\022`/artifacts/api/v1/search/" + "execution/{exec_id.project}/{exec_id.dom" + "ain}/{exec_id.name}/{direction}\022\365\001\n\tList" + "Usage\022#.flyteidl.artifact.ListUsageReque" + "st\032$.flyteidl.artifact.ListUsageResponse" + "\"\234\001\202\323\344\223\002\225\001\022\222\001/artifacts/api/v1/usage/{ar" + "tifact_id.artifact_key.project}/{artifac" + "t_id.artifact_key.domain}/{artifact_id.a" + "rtifact_key.name}/{artifact_id.version}B" + "@Z>github.com/flyteorg/flyte/flyteidl/ge" + "n/pb-go/flyteidl/artifactb\006proto3" ; ::google::protobuf::internal::DescriptorTable descriptor_table_flyteidl_2fartifact_2fartifacts_2eproto = { false, InitDefaults_flyteidl_2fartifact_2fartifacts_2eproto, descriptor_table_protodef_flyteidl_2fartifact_2fartifacts_2eproto, - "flyteidl/artifact/artifacts.proto", &assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto, 5343, + "flyteidl/artifact/artifacts.proto", &assign_descriptors_table_flyteidl_2fartifact_2fartifacts_2eproto, 4713, }; void AddDescriptors_flyteidl_2fartifact_2fartifacts_2eproto() { diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go index 27f84cb68d..8e7930233b 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.go @@ -1331,116 +1331,111 @@ func init() { func init() { proto.RegisterFile("flyteidl/artifact/artifacts.proto", fileDescriptor_804518da5936dedb) } var fileDescriptor_804518da5936dedb = []byte{ - // 1734 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcb, 0x6f, 0xdb, 0xc8, - 0x19, 0x0f, 0x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7, 0x71, 0xdf, 0xf9, 0xa5, 0x82, 0xbe, 0x28, 0xe8, 0xc3, - 0xc3, 0x08, 0x9b, 0xe9, 0x01, 0x93, 0xa7, 0xc2, 0xf9, 0xf3, 0xe0, 0xbc, 0xf9, 0x55, 0x34, 0xb9, - 0xee, 0x7d, 0xef, 0xf0, 0xbb, 0x96, 0xcd, 0x8e, 0x87, 0xfd, 0xb6, 0xe1, 0x0d, 0x34, 0xee, 0x90, - 0x47, 0xad, 0xf8, 0x41, 0x4b, 0xfe, 0xd7, 0x5a, 0xc4, 0xd5, 0xfc, 0xfe, 0xb7, 0x2c, 0x4f, 0xcb, - 0xfd, 0xec, 0xee, 0x57, 0xf8, 0xff, 0x99, 0x3b, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x67, - 0x17, 0x6c, 0x08, 0x17, 0x00, 0x00, + // 1654 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcd, 0x6f, 0xdb, 0x46, + 0x16, 0x0f, 0x2d, 0x5b, 0xb2, 0x9e, 0x6c, 0x47, 0x9e, 0x64, 0x6d, 0x59, 0x4e, 0x36, 0x0a, 0x9d, + 0xcd, 0x3a, 0x1f, 0x2b, 0x22, 0xca, 0x22, 0x1b, 0x1b, 0xc8, 0x62, 0x9d, 0x38, 0xbb, 0x50, 0x3e, + 0x1d, 0xda, 0xd9, 0x2f, 0x2c, 0xa0, 0x8c, 0xc8, 0xb1, 0xcc, 0x98, 0x22, 0x99, 0xe1, 0xc8, 0x5e, + 0x22, 0x30, 0xb2, 0x58, 0xf4, 0x56, 0xf4, 0xd2, 0xa2, 0x97, 0xa2, 0x40, 0xff, 0x87, 0xfe, 0x19, + 0xbd, 0xf6, 0xd2, 0x43, 0x8f, 0xfd, 0x17, 0x7a, 0x28, 0x72, 0x29, 0x38, 0x9c, 0x21, 0x29, 0x89, + 0x52, 0xec, 0x24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d, 0x7a, 0x69, 0x3c, 0x48, 0x84, 0xf0, 0xb5, 0xc2, 0x63, 0xf8, 0x52, + 0x41, 0x9f, 0x2b, 0xc3, 0x51, 0xf4, 0x42, 0xac, 0xf6, 0x3a, 0xfd, 0x53, 0x2b, 0xfd, 0xc5, 0x92, + 0x8a, 0x65, 0x24, 0x24, 0x0e, 0x6e, 0x24, 0x42, 0x44, 0x9b, 0x5e, 0x17, 0xdf, 0x1b, 0x47, 0x77, + 0xff, 0xf2, 0xef, 0x3f, 0x77, 0x2c, 0xb6, 0xd7, 0x6b, 0xd7, 0x0d, 0xb7, 0xab, 0xf1, 0x80, 0x5c, + 0xda, 0x89, 0x1e, 0xb4, 0xf8, 0xcf, 0x59, 0x87, 0x38, 0x9a, 0xd7, 0xfe, 0x43, 0xc7, 0xd5, 0x86, + 0x7e, 0x3b, 0xb6, 0xf3, 0xfc, 0x4b, 0xf9, 0xe6, 0xaf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x2f, + 0x2d, 0x08, 0x92, 0x14, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go index 4d83ccf464..6e92073451 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.pb.gw.go @@ -28,209 +28,15 @@ var _ status.Status var _ = runtime.String var _ = utilities.NewDoubleArray -var ( - filter_ArtifactRegistry_GetArtifact_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} -) - func request_ArtifactRegistry_GetArtifact_0(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetArtifactRequest 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_ArtifactRegistry_GetArtifact_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetArtifact(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_ArtifactRegistry_GetArtifact_1 = &utilities.DoubleArray{Encoding: map[string]int{"query": 0, "artifact_id": 1, "artifact_key": 2, "project": 3, "domain": 4, "name": 5, "version": 6}, Base: []int{1, 13, 1, 1, 1, 4, 3, 2, 0, 0, 9, 7, 6, 0, 9, 9, 0}, Check: []int{0, 1, 2, 3, 4, 2, 6, 7, 5, 8, 2, 11, 12, 13, 2, 15, 16}} -) - -func request_ArtifactRegistry_GetArtifact_1(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq GetArtifactRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["query.artifact_id.artifact_key.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_id.artifact_key.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_id.artifact_key.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_id.artifact_key.project", err) - } - - val, ok = pathParams["query.artifact_id.artifact_key.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_id.artifact_key.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_id.artifact_key.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_id.artifact_key.domain", err) - } - - val, ok = pathParams["query.artifact_id.artifact_key.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_id.artifact_key.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_id.artifact_key.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_id.artifact_key.name", err) - } - - val, ok = pathParams["query.artifact_id.version"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_id.version") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_id.version", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_id.version", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ArtifactRegistry_GetArtifact_1); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetArtifact(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_ArtifactRegistry_GetArtifact_2 = &utilities.DoubleArray{Encoding: map[string]int{"query": 0, "artifact_id": 1, "artifact_key": 2, "project": 3, "domain": 4, "name": 5}, Base: []int{1, 9, 1, 1, 1, 4, 4, 0, 3, 0, 9, 7, 7, 0}, Check: []int{0, 1, 2, 3, 4, 2, 6, 5, 7, 9, 2, 11, 12, 13}} -) - -func request_ArtifactRegistry_GetArtifact_2(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq GetArtifactRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["query.artifact_id.artifact_key.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_id.artifact_key.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_id.artifact_key.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_id.artifact_key.project", err) - } - - val, ok = pathParams["query.artifact_id.artifact_key.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_id.artifact_key.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_id.artifact_key.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_id.artifact_key.domain", err) - } - - val, ok = pathParams["query.artifact_id.artifact_key.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_id.artifact_key.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_id.artifact_key.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_id.artifact_key.name", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ArtifactRegistry_GetArtifact_2); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.GetArtifact(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_ArtifactRegistry_GetArtifact_3 = &utilities.DoubleArray{Encoding: map[string]int{"query": 0, "artifact_tag": 1, "artifact_key": 2, "project": 3, "domain": 4, "name": 5}, Base: []int{1, 9, 1, 1, 1, 4, 4, 0, 3, 0, 9, 7, 7, 0}, Check: []int{0, 1, 2, 3, 4, 2, 6, 5, 7, 9, 2, 11, 12, 13}} -) - -func request_ArtifactRegistry_GetArtifact_3(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq GetArtifactRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["query.artifact_tag.artifact_key.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_tag.artifact_key.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_tag.artifact_key.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_tag.artifact_key.project", err) - } - - val, ok = pathParams["query.artifact_tag.artifact_key.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_tag.artifact_key.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_tag.artifact_key.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_tag.artifact_key.domain", err) - } - - val, ok = pathParams["query.artifact_tag.artifact_key.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "query.artifact_tag.artifact_key.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "query.artifact_tag.artifact_key.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "query.artifact_tag.artifact_key.name", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ArtifactRegistry_GetArtifact_3); err != nil { + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -239,107 +45,15 @@ func request_ArtifactRegistry_GetArtifact_3(ctx context.Context, marshaler runti } -var ( - filter_ArtifactRegistry_SearchArtifacts_0 = &utilities.DoubleArray{Encoding: map[string]int{"artifact_key": 0, "project": 1, "domain": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} -) - func request_ArtifactRegistry_SearchArtifacts_0(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq SearchArtifactsRequest var metadata runtime.ServerMetadata - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["artifact_key.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "artifact_key.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "artifact_key.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "artifact_key.project", err) - } - - val, ok = pathParams["artifact_key.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "artifact_key.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "artifact_key.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "artifact_key.domain", err) - } - - val, ok = pathParams["artifact_key.name"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "artifact_key.name") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "artifact_key.name", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "artifact_key.name", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ArtifactRegistry_SearchArtifacts_0); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) - } - - msg, err := client.SearchArtifacts(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -var ( - filter_ArtifactRegistry_SearchArtifacts_1 = &utilities.DoubleArray{Encoding: map[string]int{"artifact_key": 0, "project": 1, "domain": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} -) - -func request_ArtifactRegistry_SearchArtifacts_1(ctx context.Context, marshaler runtime.Marshaler, client ArtifactRegistryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq SearchArtifactsRequest - var metadata runtime.ServerMetadata - - var ( - val string - ok bool - err error - _ = err - ) - - val, ok = pathParams["artifact_key.project"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "artifact_key.project") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "artifact_key.project", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "artifact_key.project", err) - } - - val, ok = pathParams["artifact_key.domain"] - if !ok { - return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "artifact_key.domain") - } - - err = runtime.PopulateFieldFromPath(&protoReq, "artifact_key.domain", val) - - if err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "artifact_key.domain", err) - } - - if err := req.ParseForm(); err != nil { - return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + newReader, berr := utilities.IOReaderFactory(req.Body) + if berr != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ArtifactRegistry_SearchArtifacts_1); err != nil { + if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -548,7 +262,7 @@ func RegisterArtifactRegistryHandler(ctx context.Context, mux *runtime.ServeMux, // "ArtifactRegistryClient" to call the correct interceptors. func RegisterArtifactRegistryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ArtifactRegistryClient) error { - mux.Handle("GET", pattern_ArtifactRegistry_GetArtifact_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ArtifactRegistry_GetArtifact_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) @@ -568,67 +282,7 @@ func RegisterArtifactRegistryHandlerClient(ctx context.Context, mux *runtime.Ser }) - mux.Handle("GET", pattern_ArtifactRegistry_GetArtifact_1, 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_ArtifactRegistry_GetArtifact_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ArtifactRegistry_GetArtifact_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_ArtifactRegistry_GetArtifact_2, 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_ArtifactRegistry_GetArtifact_2(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ArtifactRegistry_GetArtifact_2(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_ArtifactRegistry_GetArtifact_3, 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_ArtifactRegistry_GetArtifact_3(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ArtifactRegistry_GetArtifact_3(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - - mux.Handle("GET", pattern_ArtifactRegistry_SearchArtifacts_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ArtifactRegistry_SearchArtifacts_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) @@ -648,26 +302,6 @@ func RegisterArtifactRegistryHandlerClient(ctx context.Context, mux *runtime.Ser }) - mux.Handle("GET", pattern_ArtifactRegistry_SearchArtifacts_1, 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_ArtifactRegistry_SearchArtifacts_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ArtifactRegistry_SearchArtifacts_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("PATCH", pattern_ArtifactRegistry_DeactivateTrigger_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -734,15 +368,7 @@ func RegisterArtifactRegistryHandlerClient(ctx context.Context, mux *runtime.Ser var ( pattern_ArtifactRegistry_GetArtifact_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 0}, []string{"artifacts", "api", "v1"}, "")) - pattern_ArtifactRegistry_GetArtifact_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7, 1, 0, 4, 1, 5, 8}, []string{"artifacts", "api", "v1", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name", "query.artifact_id.version"}, "")) - - pattern_ArtifactRegistry_GetArtifact_2 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7}, []string{"artifacts", "api", "v1", "artifact", "id", "query.artifact_id.artifact_key.project", "query.artifact_id.artifact_key.domain", "query.artifact_id.artifact_key.name"}, "")) - - pattern_ArtifactRegistry_GetArtifact_3 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6, 1, 0, 4, 1, 5, 7}, []string{"artifacts", "api", "v1", "artifact", "tag", "query.artifact_tag.artifact_key.project", "query.artifact_tag.artifact_key.domain", "query.artifact_tag.artifact_key.name"}, "")) - - pattern_ArtifactRegistry_SearchArtifacts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"artifacts", "api", "v1", "search", "artifact_key.project", "artifact_key.domain", "artifact_key.name"}, "")) - - pattern_ArtifactRegistry_SearchArtifacts_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"artifacts", "api", "v1", "search", "artifact_key.project", "artifact_key.domain"}, "")) + pattern_ArtifactRegistry_SearchArtifacts_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"artifacts", "api", "v1", "search"}, "")) pattern_ArtifactRegistry_DeactivateTrigger_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"artifacts", "api", "v1", "trigger", "deactivate"}, "")) @@ -754,16 +380,8 @@ var ( var ( forward_ArtifactRegistry_GetArtifact_0 = runtime.ForwardResponseMessage - forward_ArtifactRegistry_GetArtifact_1 = runtime.ForwardResponseMessage - - forward_ArtifactRegistry_GetArtifact_2 = runtime.ForwardResponseMessage - - forward_ArtifactRegistry_GetArtifact_3 = runtime.ForwardResponseMessage - forward_ArtifactRegistry_SearchArtifacts_0 = runtime.ForwardResponseMessage - forward_ArtifactRegistry_SearchArtifacts_1 = runtime.ForwardResponseMessage - forward_ArtifactRegistry_DeactivateTrigger_0 = runtime.ForwardResponseMessage forward_ArtifactRegistry_FindByWorkflowExec_0 = runtime.ForwardResponseMessage diff --git a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json index a670f70f1d..7068db44ec 100644 --- a/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json +++ b/flyteidl/gen/pb-go/flyteidl/artifact/artifacts.swagger.json @@ -15,9 +15,9 @@ "application/json" ], "paths": { - "/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}": { - "get": { - "operationId": "GetArtifact3", + "/artifacts/api/v1/artifacts": { + "post": { + "operationId": "GetArtifact", "responses": { "200": { "description": "A successful response.", @@ -28,442 +28,39 @@ }, "parameters": [ { - "name": "query.artifact_id.artifact_key.project", - "description": "Project and domain and suffix needs to be unique across a given artifact store.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "query.artifact_id.artifact_key.domain", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "query.artifact_id.artifact_key.name", - "in": "path", + "name": "body", + "in": "body", "required": true, - "type": "string" - }, - { - "name": "query.artifact_id.version", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.static_value", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.triggered_binding.index", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "query.artifact_tag.value.triggered_binding.partition_key", - "description": "These two fields are only relevant in the partition value case.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.triggered_binding.transform", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.input_binding.var", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.uri", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.binding.index", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "query.binding.partition_key", - "description": "These two fields are only relevant in the partition value case.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.binding.transform", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "details", - "description": "If false, then long_description is not returned.", - "in": "query", - "required": false, - "type": "boolean", - "format": "boolean" - } - ], - "tags": [ - "ArtifactRegistry" - ] - } - }, - "/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}": { - "get": { - "operationId": "GetArtifact2", - "responses": { - "200": { - "description": "A successful response.", "schema": { - "$ref": "#/definitions/artifactGetArtifactResponse" + "$ref": "#/definitions/artifactGetArtifactRequest" } } - }, - "parameters": [ - { - "name": "query.artifact_id.artifact_key.project", - "description": "Project and domain and suffix needs to be unique across a given artifact store.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "query.artifact_id.artifact_key.domain", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "query.artifact_id.artifact_key.name", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "query.artifact_id.version", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "query.artifact_tag.value.static_value", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.triggered_binding.index", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "query.artifact_tag.value.triggered_binding.partition_key", - "description": "These two fields are only relevant in the partition value case.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.triggered_binding.transform", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.input_binding.var", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.uri", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.binding.index", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "query.binding.partition_key", - "description": "These two fields are only relevant in the partition value case.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.binding.transform", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "details", - "description": "If false, then long_description is not returned.", - "in": "query", - "required": false, - "type": "boolean", - "format": "boolean" - } ], "tags": [ "ArtifactRegistry" ] } }, - "/artifacts/api/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}": { - "get": { - "operationId": "GetArtifact4", + "/artifacts/api/v1/search": { + "post": { + "operationId": "SearchArtifacts", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/artifactGetArtifactResponse" + "$ref": "#/definitions/artifactSearchArtifactsResponse" } } }, "parameters": [ { - "name": "query.artifact_tag.artifact_key.project", - "description": "Project and domain and suffix needs to be unique across a given artifact store.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "query.artifact_tag.artifact_key.domain", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "query.artifact_tag.artifact_key.name", - "in": "path", + "name": "body", + "in": "body", "required": true, - "type": "string" - }, - { - "name": "query.artifact_id.version", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.static_value", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.triggered_binding.index", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "query.artifact_tag.value.triggered_binding.partition_key", - "description": "These two fields are only relevant in the partition value case.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.triggered_binding.transform", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.input_binding.var", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.uri", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.binding.index", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "query.binding.partition_key", - "description": "These two fields are only relevant in the partition value case.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.binding.transform", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "details", - "description": "If false, then long_description is not returned.", - "in": "query", - "required": false, - "type": "boolean", - "format": "boolean" - } - ], - "tags": [ - "ArtifactRegistry" - ] - } - }, - "/artifacts/api/v1/artifacts": { - "get": { - "operationId": "GetArtifact", - "responses": { - "200": { - "description": "A successful response.", "schema": { - "$ref": "#/definitions/artifactGetArtifactResponse" + "$ref": "#/definitions/artifactSearchArtifactsRequest" } } - }, - "parameters": [ - { - "name": "query.artifact_id.artifact_key.project", - "description": "Project and domain and suffix needs to be unique across a given artifact store.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_id.artifact_key.domain", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_id.artifact_key.name", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_id.version", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.artifact_key.project", - "description": "Project and domain and suffix needs to be unique across a given artifact store.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.artifact_key.domain", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.artifact_key.name", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.static_value", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.triggered_binding.index", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "query.artifact_tag.value.triggered_binding.partition_key", - "description": "These two fields are only relevant in the partition value case.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.triggered_binding.transform", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.artifact_tag.value.input_binding.var", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.uri", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.binding.index", - "in": "query", - "required": false, - "type": "integer", - "format": "int64" - }, - { - "name": "query.binding.partition_key", - "description": "These two fields are only relevant in the partition value case.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "query.binding.transform", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "details", - "description": "If false, then long_description is not returned.", - "in": "query", - "required": false, - "type": "boolean", - "format": "boolean" - } ], "tags": [ "ArtifactRegistry" @@ -519,162 +116,6 @@ ] } }, - "/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}": { - "get": { - "operationId": "SearchArtifacts2", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/artifactSearchArtifactsResponse" - } - } - }, - "parameters": [ - { - "name": "artifact_key.project", - "description": "Project and domain and suffix needs to be unique across a given artifact store.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "artifact_key.domain", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "artifact_key.name", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "principal", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "version", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "options.strict_partitions", - "description": "If true, this means a strict partition search. meaning if you don't specify the partition\nfield, that will mean, non-partitioned, rather than any partition.", - "in": "query", - "required": false, - "type": "boolean", - "format": "boolean" - }, - { - "name": "options.latest_by_key", - "description": "If true, only one artifact per key will be returned. It will be the latest one by creation time.", - "in": "query", - "required": false, - "type": "boolean", - "format": "boolean" - }, - { - "name": "token", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "tags": [ - "ArtifactRegistry" - ] - } - }, - "/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}": { - "get": { - "operationId": "SearchArtifacts", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/artifactSearchArtifactsResponse" - } - } - }, - "parameters": [ - { - "name": "artifact_key.project", - "description": "Project and domain and suffix needs to be unique across a given artifact store.", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "artifact_key.domain", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "artifact_key.name", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "principal", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "version", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "options.strict_partitions", - "description": "If true, this means a strict partition search. meaning if you don't specify the partition\nfield, that will mean, non-partitioned, rather than any partition.", - "in": "query", - "required": false, - "type": "boolean", - "format": "boolean" - }, - { - "name": "options.latest_by_key", - "description": "If true, only one artifact per key will be returned. It will be the latest one by creation time.", - "in": "query", - "required": false, - "type": "boolean", - "format": "boolean" - }, - { - "name": "token", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "limit", - "in": "query", - "required": false, - "type": "integer", - "format": "int32" - } - ], - "tags": [ - "ArtifactRegistry" - ] - } - }, "/artifacts/api/v1/trigger/deactivate": { "patch": { "operationId": "DeactivateTrigger", @@ -1281,6 +722,19 @@ ], "default": "INPUTS" }, + "artifactGetArtifactRequest": { + "type": "object", + "properties": { + "query": { + "$ref": "#/definitions/coreArtifactQuery" + }, + "details": { + "type": "boolean", + "format": "boolean", + "description": "If false, then long_description is not returned." + } + } + }, "artifactGetArtifactResponse": { "type": "object", "properties": { @@ -1303,6 +757,33 @@ "artifactRegisterResponse": { "type": "object" }, + "artifactSearchArtifactsRequest": { + "type": "object", + "properties": { + "artifact_key": { + "$ref": "#/definitions/coreArtifactKey" + }, + "partitions": { + "$ref": "#/definitions/corePartitions" + }, + "principal": { + "type": "string" + }, + "version": { + "type": "string" + }, + "options": { + "$ref": "#/definitions/artifactSearchOptions" + }, + "token": { + "type": "string" + }, + "limit": { + "type": "integer", + "format": "int32" + } + } + }, "artifactSearchArtifactsResponse": { "type": "object", "properties": { diff --git a/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java b/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java index c4272da952..92f92c7e09 100644 --- a/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java +++ b/flyteidl/gen/pb-java/flyteidl/artifact/Artifacts.java @@ -21418,63 +21418,47 @@ public flyteidl.artifact.Artifacts.ListUsageResponse getDefaultInstanceForType() "UsageRequest\022.\n\013artifact_id\030\001 \001(\0132\031.flyt" + "eidl.core.ArtifactID\"S\n\021ListUsageRespons" + "e\022>\n\nexecutions\030\001 \003(\0132*.flyteidl.core.Wo" + - "rkflowExecutionIdentifier2\361\020\n\020ArtifactRe" + + "rkflowExecutionIdentifier2\373\013\n\020ArtifactRe" + "gistry\022g\n\016CreateArtifact\022(.flyteidl.arti" + "fact.CreateArtifactRequest\032).flyteidl.ar" + - "tifact.CreateArtifactResponse\"\000\022\361\004\n\013GetA" + + "tifact.CreateArtifactResponse\"\000\022\204\001\n\013GetA" + "rtifact\022%.flyteidl.artifact.GetArtifactR" + "equest\032&.flyteidl.artifact.GetArtifactRe" + - "sponse\"\222\004\202\323\344\223\002\213\004\022\033/artifacts/api/v1/arti" + - "factsZ\263\001\022\260\001/artifacts/api/v1/artifact/id" + - "/{query.artifact_id.artifact_key.project" + - "}/{query.artifact_id.artifact_key.domain" + - "}/{query.artifact_id.artifact_key.name}/" + - "{query.artifact_id.version}Z\227\001\022\224\001/artifa" + - "cts/api/v1/artifact/id/{query.artifact_i" + - "d.artifact_key.project}/{query.artifact_" + - "id.artifact_key.domain}/{query.artifact_" + - "id.artifact_key.name}Z\233\001\022\230\001/artifacts/ap" + - "i/v1/artifact/tag/{query.artifact_tag.ar" + - "tifact_key.project}/{query.artifact_tag." + - "artifact_key.domain}/{query.artifact_tag" + - ".artifact_key.name}\022\226\002\n\017SearchArtifacts\022" + - ").flyteidl.artifact.SearchArtifactsReque" + - "st\032*.flyteidl.artifact.SearchArtifactsRe" + - "sponse\"\253\001\202\323\344\223\002\244\001\022Y/artifacts/api/v1/sear" + - "ch/{artifact_key.project}/{artifact_key." + - "domain}/{artifact_key.name}ZG\022E/artifact" + - "s/api/v1/search/{artifact_key.project}/{" + - "artifact_key.domain}\022d\n\rCreateTrigger\022\'." + - "flyteidl.artifact.CreateTriggerRequest\032(" + - ".flyteidl.artifact.CreateTriggerResponse" + - "\"\000\022\237\001\n\021DeactivateTrigger\022+.flyteidl.arti" + - "fact.DeactivateTriggerRequest\032,.flyteidl" + - ".artifact.DeactivateTriggerResponse\"/\202\323\344" + - "\223\002)2$/artifacts/api/v1/trigger/deactivat" + - "e:\001*\022O\n\006AddTag\022 .flyteidl.artifact.AddTa" + - "gRequest\032!.flyteidl.artifact.AddTagRespo" + - "nse\"\000\022e\n\020RegisterProducer\022*.flyteidl.art" + - "ifact.RegisterProducerRequest\032#.flyteidl" + - ".artifact.RegisterResponse\"\000\022e\n\020Register" + - "Consumer\022*.flyteidl.artifact.RegisterCon" + - "sumerRequest\032#.flyteidl.artifact.Registe" + - "rResponse\"\000\022m\n\022SetExecutionInputs\022).flyt" + - "eidl.artifact.ExecutionInputsRequest\032*.f" + - "lyteidl.artifact.ExecutionInputsResponse" + - "\"\000\022\330\001\n\022FindByWorkflowExec\022,.flyteidl.art" + - "ifact.FindByWorkflowExecRequest\032*.flytei" + - "dl.artifact.SearchArtifactsResponse\"h\202\323\344" + - "\223\002b\022`/artifacts/api/v1/search/execution/" + - "{exec_id.project}/{exec_id.domain}/{exec" + - "_id.name}/{direction}\022\365\001\n\tListUsage\022#.fl" + - "yteidl.artifact.ListUsageRequest\032$.flyte" + - "idl.artifact.ListUsageResponse\"\234\001\202\323\344\223\002\225\001" + - "\022\222\001/artifacts/api/v1/usage/{artifact_id." + - "artifact_key.project}/{artifact_id.artif" + - "act_key.domain}/{artifact_id.artifact_ke" + - "y.name}/{artifact_id.version}B@Z>github." + - "com/flyteorg/flyte/flyteidl/gen/pb-go/fl" + - "yteidl/artifactb\006proto3" + "sponse\"&\202\323\344\223\002 \"\033/artifacts/api/v1/artifa" + + "cts:\001*\022\215\001\n\017SearchArtifacts\022).flyteidl.ar" + + "tifact.SearchArtifactsRequest\032*.flyteidl" + + ".artifact.SearchArtifactsResponse\"#\202\323\344\223\002" + + "\035\"\030/artifacts/api/v1/search:\001*\022d\n\rCreate" + + "Trigger\022\'.flyteidl.artifact.CreateTrigge" + + "rRequest\032(.flyteidl.artifact.CreateTrigg" + + "erResponse\"\000\022\237\001\n\021DeactivateTrigger\022+.fly" + + "teidl.artifact.DeactivateTriggerRequest\032" + + ",.flyteidl.artifact.DeactivateTriggerRes" + + "ponse\"/\202\323\344\223\002)2$/artifacts/api/v1/trigger" + + "/deactivate:\001*\022O\n\006AddTag\022 .flyteidl.arti" + + "fact.AddTagRequest\032!.flyteidl.artifact.A" + + "ddTagResponse\"\000\022e\n\020RegisterProducer\022*.fl" + + "yteidl.artifact.RegisterProducerRequest\032" + + "#.flyteidl.artifact.RegisterResponse\"\000\022e" + + "\n\020RegisterConsumer\022*.flyteidl.artifact.R" + + "egisterConsumerRequest\032#.flyteidl.artifa" + + "ct.RegisterResponse\"\000\022m\n\022SetExecutionInp" + + "uts\022).flyteidl.artifact.ExecutionInputsR" + + "equest\032*.flyteidl.artifact.ExecutionInpu" + + "tsResponse\"\000\022\330\001\n\022FindByWorkflowExec\022,.fl" + + "yteidl.artifact.FindByWorkflowExecReques" + + "t\032*.flyteidl.artifact.SearchArtifactsRes" + + "ponse\"h\202\323\344\223\002b\022`/artifacts/api/v1/search/" + + "execution/{exec_id.project}/{exec_id.dom" + + "ain}/{exec_id.name}/{direction}\022\365\001\n\tList" + + "Usage\022#.flyteidl.artifact.ListUsageReque" + + "st\032$.flyteidl.artifact.ListUsageResponse" + + "\"\234\001\202\323\344\223\002\225\001\022\222\001/artifacts/api/v1/usage/{ar" + + "tifact_id.artifact_key.project}/{artifac" + + "t_id.artifact_key.domain}/{artifact_id.a" + + "rtifact_key.name}/{artifact_id.version}B" + + "@Z>github.com/flyteorg/flyte/flyteidl/ge" + + "n/pb-go/flyteidl/artifactb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { diff --git a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py index cc5c3dc55f..983ab99c0b 100644 --- a/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py +++ b/flyteidl/gen/pb_python/flyteidl/artifact/artifacts_pb2.py @@ -22,7 +22,7 @@ from flyteidl.event import cloudevents_pb2 as flyteidl_dot_event_dot_cloudevents__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!flyteidl/artifact/artifacts.proto\x12\x11\x66lyteidl.artifact\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a flyteidl/event/cloudevents.proto\"\xca\x01\n\x08\x41rtifact\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\x12\x39\n\x06source\x18\x04 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\"\x8b\x03\n\x15\x43reateArtifactRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12X\n\npartitions\x18\x04 \x03(\x0b\x32\x38.flyteidl.artifact.CreateArtifactRequest.PartitionsEntryR\npartitions\x12\x10\n\x03tag\x18\x05 \x01(\tR\x03tag\x12\x39\n\x06source\x18\x06 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\x1a=\n\x0fPartitionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xfb\x01\n\x0e\x41rtifactSource\x12Y\n\x12workflow_execution\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x11workflowExecution\x12\x17\n\x07node_id\x18\x02 \x01(\tR\x06nodeId\x12\x32\n\x07task_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x06taskId\x12#\n\rretry_attempt\x18\x04 \x01(\rR\x0cretryAttempt\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\"\xf9\x01\n\x0c\x41rtifactSpec\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12+\n\x11short_description\x18\x03 \x01(\tR\x10shortDescription\x12\x39\n\ruser_metadata\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cuserMetadata\x12#\n\rmetadata_type\x18\x05 \x01(\tR\x0cmetadataType\"Q\n\x16\x43reateArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"b\n\x12GetArtifactRequest\x12\x32\n\x05query\x18\x01 \x01(\x0b\x32\x1c.flyteidl.core.ArtifactQueryR\x05query\x12\x18\n\x07\x64\x65tails\x18\x02 \x01(\x08R\x07\x64\x65tails\"N\n\x13GetArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"`\n\rSearchOptions\x12+\n\x11strict_partitions\x18\x01 \x01(\x08R\x10strictPartitions\x12\"\n\rlatest_by_key\x18\x02 \x01(\x08R\x0blatestByKey\"\xb2\x02\n\x16SearchArtifactsRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x39\n\npartitions\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.PartitionsR\npartitions\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12:\n\x07options\x18\x05 \x01(\x0b\x32 .flyteidl.artifact.SearchOptionsR\x07options\x12\x14\n\x05token\x18\x06 \x01(\tR\x05token\x12\x14\n\x05limit\x18\x07 \x01(\x05R\x05limit\"j\n\x17SearchArtifactsResponse\x12\x39\n\tartifacts\x18\x01 \x03(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\tartifacts\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\xdc\x01\n\x19\x46indByWorkflowExecRequest\x12\x43\n\x07\x65xec_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x06\x65xecId\x12T\n\tdirection\x18\x02 \x01(\x0e\x32\x36.flyteidl.artifact.FindByWorkflowExecRequest.DirectionR\tdirection\"$\n\tDirection\x12\n\n\x06INPUTS\x10\x00\x12\x0b\n\x07OUTPUTS\x10\x01\"\x7f\n\rAddTagRequest\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x1c\n\toverwrite\x18\x03 \x01(\x08R\toverwrite\"\x10\n\x0e\x41\x64\x64TagResponse\"b\n\x14\x43reateTriggerRequest\x12J\n\x13trigger_launch_plan\x18\x01 \x01(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x11triggerLaunchPlan\"\x17\n\x15\x43reateTriggerResponse\"T\n\x18\x44\x65\x61\x63tivateTriggerRequest\x12\x38\n\ntrigger_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\ttriggerId\"\x1b\n\x19\x44\x65\x61\x63tivateTriggerResponse\"\x80\x01\n\x10\x41rtifactProducer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\\\n\x17RegisterProducerRequest\x12\x41\n\tproducers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactProducerR\tproducers\"\x7f\n\x10\x41rtifactConsumer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x06inputs\"\\\n\x17RegisterConsumerRequest\x12\x41\n\tconsumers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactConsumerR\tconsumers\"\x12\n\x10RegisterResponse\"\x9a\x01\n\x16\x45xecutionInputsRequest\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12\x31\n\x06inputs\x18\x02 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x06inputs\"\x19\n\x17\x45xecutionInputsResponse\"N\n\x10ListUsageRequest\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\"_\n\x11ListUsageResponse\x12J\n\nexecutions\x18\x01 \x03(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\nexecutions2\xf1\x10\n\x10\x41rtifactRegistry\x12g\n\x0e\x43reateArtifact\x12(.flyteidl.artifact.CreateArtifactRequest\x1a).flyteidl.artifact.CreateArtifactResponse\"\x00\x12\xf1\x04\n\x0bGetArtifact\x12%.flyteidl.artifact.GetArtifactRequest\x1a&.flyteidl.artifact.GetArtifactResponse\"\x92\x04\x82\xd3\xe4\x93\x02\x8b\x04Z\xb3\x01\x12\xb0\x01/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\x97\x01\x12\x94\x01/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\x9b\x01\x12\x98\x01/artifacts/api/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\x12\x1b/artifacts/api/v1/artifacts\x12\x96\x02\n\x0fSearchArtifacts\x12).flyteidl.artifact.SearchArtifactsRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"\xab\x01\x82\xd3\xe4\x93\x02\xa4\x01ZG\x12\x45/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}\x12Y/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}\x12\x64\n\rCreateTrigger\x12\'.flyteidl.artifact.CreateTriggerRequest\x1a(.flyteidl.artifact.CreateTriggerResponse\"\x00\x12\x9f\x01\n\x11\x44\x65\x61\x63tivateTrigger\x12+.flyteidl.artifact.DeactivateTriggerRequest\x1a,.flyteidl.artifact.DeactivateTriggerResponse\"/\x82\xd3\xe4\x93\x02):\x01*2$/artifacts/api/v1/trigger/deactivate\x12O\n\x06\x41\x64\x64Tag\x12 .flyteidl.artifact.AddTagRequest\x1a!.flyteidl.artifact.AddTagResponse\"\x00\x12\x65\n\x10RegisterProducer\x12*.flyteidl.artifact.RegisterProducerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12\x65\n\x10RegisterConsumer\x12*.flyteidl.artifact.RegisterConsumerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12m\n\x12SetExecutionInputs\x12).flyteidl.artifact.ExecutionInputsRequest\x1a*.flyteidl.artifact.ExecutionInputsResponse\"\x00\x12\xd8\x01\n\x12\x46indByWorkflowExec\x12,.flyteidl.artifact.FindByWorkflowExecRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"h\x82\xd3\xe4\x93\x02\x62\x12`/artifacts/api/v1/search/execution/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}\x12\xf5\x01\n\tListUsage\x12#.flyteidl.artifact.ListUsageRequest\x1a$.flyteidl.artifact.ListUsageResponse\"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01\x12\x92\x01/artifacts/api/v1/usage/{artifact_id.artifact_key.project}/{artifact_id.artifact_key.domain}/{artifact_id.artifact_key.name}/{artifact_id.version}B\xcc\x01\n\x15\x63om.flyteidl.artifactB\x0e\x41rtifactsProtoP\x01Z>github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact\xa2\x02\x03\x46\x41X\xaa\x02\x11\x46lyteidl.Artifact\xca\x02\x11\x46lyteidl\\Artifact\xe2\x02\x1d\x46lyteidl\\Artifact\\GPBMetadata\xea\x02\x12\x46lyteidl::Artifactb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!flyteidl/artifact/artifacts.proto\x12\x11\x66lyteidl.artifact\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/api/annotations.proto\x1a flyteidl/admin/launch_plan.proto\x1a\x1c\x66lyteidl/core/literals.proto\x1a\x19\x66lyteidl/core/types.proto\x1a\x1e\x66lyteidl/core/identifier.proto\x1a\x1f\x66lyteidl/core/artifact_id.proto\x1a\x1d\x66lyteidl/core/interface.proto\x1a flyteidl/event/cloudevents.proto\"\xca\x01\n\x08\x41rtifact\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\x12\x39\n\x06source\x18\x04 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\"\x8b\x03\n\x15\x43reateArtifactRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x33\n\x04spec\x18\x02 \x01(\x0b\x32\x1f.flyteidl.artifact.ArtifactSpecR\x04spec\x12X\n\npartitions\x18\x04 \x03(\x0b\x32\x38.flyteidl.artifact.CreateArtifactRequest.PartitionsEntryR\npartitions\x12\x10\n\x03tag\x18\x05 \x01(\tR\x03tag\x12\x39\n\x06source\x18\x06 \x01(\x0b\x32!.flyteidl.artifact.ArtifactSourceR\x06source\x1a=\n\x0fPartitionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xfb\x01\n\x0e\x41rtifactSource\x12Y\n\x12workflow_execution\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x11workflowExecution\x12\x17\n\x07node_id\x18\x02 \x01(\tR\x06nodeId\x12\x32\n\x07task_id\x18\x03 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x06taskId\x12#\n\rretry_attempt\x18\x04 \x01(\rR\x0cretryAttempt\x12\x1c\n\tprincipal\x18\x05 \x01(\tR\tprincipal\"\xf9\x01\n\x0c\x41rtifactSpec\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x16.flyteidl.core.LiteralR\x05value\x12.\n\x04type\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.LiteralTypeR\x04type\x12+\n\x11short_description\x18\x03 \x01(\tR\x10shortDescription\x12\x39\n\ruser_metadata\x18\x04 \x01(\x0b\x32\x14.google.protobuf.AnyR\x0cuserMetadata\x12#\n\rmetadata_type\x18\x05 \x01(\tR\x0cmetadataType\"Q\n\x16\x43reateArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"b\n\x12GetArtifactRequest\x12\x32\n\x05query\x18\x01 \x01(\x0b\x32\x1c.flyteidl.core.ArtifactQueryR\x05query\x12\x18\n\x07\x64\x65tails\x18\x02 \x01(\x08R\x07\x64\x65tails\"N\n\x13GetArtifactResponse\x12\x37\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\x08\x61rtifact\"`\n\rSearchOptions\x12+\n\x11strict_partitions\x18\x01 \x01(\x08R\x10strictPartitions\x12\"\n\rlatest_by_key\x18\x02 \x01(\x08R\x0blatestByKey\"\xb2\x02\n\x16SearchArtifactsRequest\x12=\n\x0c\x61rtifact_key\x18\x01 \x01(\x0b\x32\x1a.flyteidl.core.ArtifactKeyR\x0b\x61rtifactKey\x12\x39\n\npartitions\x18\x02 \x01(\x0b\x32\x19.flyteidl.core.PartitionsR\npartitions\x12\x1c\n\tprincipal\x18\x03 \x01(\tR\tprincipal\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12:\n\x07options\x18\x05 \x01(\x0b\x32 .flyteidl.artifact.SearchOptionsR\x07options\x12\x14\n\x05token\x18\x06 \x01(\tR\x05token\x12\x14\n\x05limit\x18\x07 \x01(\x05R\x05limit\"j\n\x17SearchArtifactsResponse\x12\x39\n\tartifacts\x18\x01 \x03(\x0b\x32\x1b.flyteidl.artifact.ArtifactR\tartifacts\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\"\xdc\x01\n\x19\x46indByWorkflowExecRequest\x12\x43\n\x07\x65xec_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x06\x65xecId\x12T\n\tdirection\x18\x02 \x01(\x0e\x32\x36.flyteidl.artifact.FindByWorkflowExecRequest.DirectionR\tdirection\"$\n\tDirection\x12\n\n\x06INPUTS\x10\x00\x12\x0b\n\x07OUTPUTS\x10\x01\"\x7f\n\rAddTagRequest\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value\x12\x1c\n\toverwrite\x18\x03 \x01(\x08R\toverwrite\"\x10\n\x0e\x41\x64\x64TagResponse\"b\n\x14\x43reateTriggerRequest\x12J\n\x13trigger_launch_plan\x18\x01 \x01(\x0b\x32\x1a.flyteidl.admin.LaunchPlanR\x11triggerLaunchPlan\"\x17\n\x15\x43reateTriggerResponse\"T\n\x18\x44\x65\x61\x63tivateTriggerRequest\x12\x38\n\ntrigger_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\ttriggerId\"\x1b\n\x19\x44\x65\x61\x63tivateTriggerResponse\"\x80\x01\n\x10\x41rtifactProducer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x34\n\x07outputs\x18\x02 \x01(\x0b\x32\x1a.flyteidl.core.VariableMapR\x07outputs\"\\\n\x17RegisterProducerRequest\x12\x41\n\tproducers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactProducerR\tproducers\"\x7f\n\x10\x41rtifactConsumer\x12\x36\n\tentity_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.IdentifierR\x08\x65ntityId\x12\x33\n\x06inputs\x18\x02 \x01(\x0b\x32\x1b.flyteidl.core.ParameterMapR\x06inputs\"\\\n\x17RegisterConsumerRequest\x12\x41\n\tconsumers\x18\x01 \x03(\x0b\x32#.flyteidl.artifact.ArtifactConsumerR\tconsumers\"\x12\n\x10RegisterResponse\"\x9a\x01\n\x16\x45xecutionInputsRequest\x12M\n\x0c\x65xecution_id\x18\x01 \x01(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\x0b\x65xecutionId\x12\x31\n\x06inputs\x18\x02 \x03(\x0b\x32\x19.flyteidl.core.ArtifactIDR\x06inputs\"\x19\n\x17\x45xecutionInputsResponse\"N\n\x10ListUsageRequest\x12:\n\x0b\x61rtifact_id\x18\x01 \x01(\x0b\x32\x19.flyteidl.core.ArtifactIDR\nartifactId\"_\n\x11ListUsageResponse\x12J\n\nexecutions\x18\x01 \x03(\x0b\x32*.flyteidl.core.WorkflowExecutionIdentifierR\nexecutions2\xfb\x0b\n\x10\x41rtifactRegistry\x12g\n\x0e\x43reateArtifact\x12(.flyteidl.artifact.CreateArtifactRequest\x1a).flyteidl.artifact.CreateArtifactResponse\"\x00\x12\x84\x01\n\x0bGetArtifact\x12%.flyteidl.artifact.GetArtifactRequest\x1a&.flyteidl.artifact.GetArtifactResponse\"&\x82\xd3\xe4\x93\x02 :\x01*\"\x1b/artifacts/api/v1/artifacts\x12\x8d\x01\n\x0fSearchArtifacts\x12).flyteidl.artifact.SearchArtifactsRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/artifacts/api/v1/search\x12\x64\n\rCreateTrigger\x12\'.flyteidl.artifact.CreateTriggerRequest\x1a(.flyteidl.artifact.CreateTriggerResponse\"\x00\x12\x9f\x01\n\x11\x44\x65\x61\x63tivateTrigger\x12+.flyteidl.artifact.DeactivateTriggerRequest\x1a,.flyteidl.artifact.DeactivateTriggerResponse\"/\x82\xd3\xe4\x93\x02):\x01*2$/artifacts/api/v1/trigger/deactivate\x12O\n\x06\x41\x64\x64Tag\x12 .flyteidl.artifact.AddTagRequest\x1a!.flyteidl.artifact.AddTagResponse\"\x00\x12\x65\n\x10RegisterProducer\x12*.flyteidl.artifact.RegisterProducerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12\x65\n\x10RegisterConsumer\x12*.flyteidl.artifact.RegisterConsumerRequest\x1a#.flyteidl.artifact.RegisterResponse\"\x00\x12m\n\x12SetExecutionInputs\x12).flyteidl.artifact.ExecutionInputsRequest\x1a*.flyteidl.artifact.ExecutionInputsResponse\"\x00\x12\xd8\x01\n\x12\x46indByWorkflowExec\x12,.flyteidl.artifact.FindByWorkflowExecRequest\x1a*.flyteidl.artifact.SearchArtifactsResponse\"h\x82\xd3\xe4\x93\x02\x62\x12`/artifacts/api/v1/search/execution/{exec_id.project}/{exec_id.domain}/{exec_id.name}/{direction}\x12\xf5\x01\n\tListUsage\x12#.flyteidl.artifact.ListUsageRequest\x1a$.flyteidl.artifact.ListUsageResponse\"\x9c\x01\x82\xd3\xe4\x93\x02\x95\x01\x12\x92\x01/artifacts/api/v1/usage/{artifact_id.artifact_key.project}/{artifact_id.artifact_key.domain}/{artifact_id.artifact_key.name}/{artifact_id.version}B\xcc\x01\n\x15\x63om.flyteidl.artifactB\x0e\x41rtifactsProtoP\x01Z>github.com/flyteorg/flyte/flyteidl/gen/pb-go/flyteidl/artifact\xa2\x02\x03\x46\x41X\xaa\x02\x11\x46lyteidl.Artifact\xca\x02\x11\x46lyteidl\\Artifact\xe2\x02\x1d\x46lyteidl\\Artifact\\GPBMetadata\xea\x02\x12\x46lyteidl::Artifactb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -34,9 +34,9 @@ _CREATEARTIFACTREQUEST_PARTITIONSENTRY._options = None _CREATEARTIFACTREQUEST_PARTITIONSENTRY._serialized_options = b'8\001' _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._options = None - _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._serialized_options = b'\202\323\344\223\002\213\004Z\263\001\022\260\001/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}Z\227\001\022\224\001/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}Z\233\001\022\230\001/artifacts/api/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}\022\033/artifacts/api/v1/artifacts' + _ARTIFACTREGISTRY.methods_by_name['GetArtifact']._serialized_options = b'\202\323\344\223\002 :\001*\"\033/artifacts/api/v1/artifacts' _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._options = None - _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._serialized_options = b'\202\323\344\223\002\244\001ZG\022E/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}\022Y/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}' + _ARTIFACTREGISTRY.methods_by_name['SearchArtifacts']._serialized_options = b'\202\323\344\223\002\035:\001*\"\030/artifacts/api/v1/search' _ARTIFACTREGISTRY.methods_by_name['DeactivateTrigger']._options = None _ARTIFACTREGISTRY.methods_by_name['DeactivateTrigger']._serialized_options = b'\202\323\344\223\002):\001*2$/artifacts/api/v1/trigger/deactivate' _ARTIFACTREGISTRY.methods_by_name['FindByWorkflowExec']._options = None @@ -100,5 +100,5 @@ _globals['_LISTUSAGERESPONSE']._serialized_start=3563 _globals['_LISTUSAGERESPONSE']._serialized_end=3658 _globals['_ARTIFACTREGISTRY']._serialized_start=3661 - _globals['_ARTIFACTREGISTRY']._serialized_end=5822 + _globals['_ARTIFACTREGISTRY']._serialized_end=5192 # @@protoc_insertion_point(module_scope) diff --git a/flyteidl/protos/flyteidl/artifact/artifacts.proto b/flyteidl/protos/flyteidl/artifact/artifacts.proto index eda28944f5..5a3135d793 100644 --- a/flyteidl/protos/flyteidl/artifact/artifacts.proto +++ b/flyteidl/protos/flyteidl/artifact/artifacts.proto @@ -197,17 +197,15 @@ service ArtifactRegistry { rpc GetArtifact (GetArtifactRequest) returns (GetArtifactResponse) { option (google.api.http) = { - get: "/artifacts/api/v1/artifacts" - additional_bindings {get: "/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}/{query.artifact_id.version}"} - additional_bindings {get: "/artifacts/api/v1/artifact/id/{query.artifact_id.artifact_key.project}/{query.artifact_id.artifact_key.domain}/{query.artifact_id.artifact_key.name}"} - additional_bindings {get: "/artifacts/api/v1/artifact/tag/{query.artifact_tag.artifact_key.project}/{query.artifact_tag.artifact_key.domain}/{query.artifact_tag.artifact_key.name}"} + post: "/artifacts/api/v1/artifacts" + body: "*" }; } rpc SearchArtifacts (SearchArtifactsRequest) returns (SearchArtifactsResponse) { option (google.api.http) = { - get: "/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}/{artifact_key.name}" - additional_bindings {get: "/artifacts/api/v1/search/{artifact_key.project}/{artifact_key.domain}"} + post: "/artifacts/api/v1/search" + body: "*" }; }