@stanterprise/protobuf 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-CXXQBC7L.mjs → chunk-5Q7PEW7T.mjs} +4 -4
- package/dist/{chunk-SKWN4PET.mjs → chunk-5TUCVYG3.mjs} +122 -2
- package/dist/chunk-5TUCVYG3.mjs.map +1 -0
- package/dist/{chunk-YCV7GOOQ.mjs → chunk-7T4DREEB.mjs} +61 -1
- package/dist/chunk-7T4DREEB.mjs.map +1 -0
- package/dist/{chunk-NYHT7SLS.mjs → chunk-GXV2FWLZ.mjs} +2 -2
- package/dist/{chunk-UNDYBCII.mjs → chunk-QENINSQL.mjs} +2 -2
- package/dist/{chunk-GWOJPJ3V.mjs → chunk-RRKAEIBJ.mjs} +2 -2
- package/dist/{chunk-JV43EC5A.mjs → chunk-ZLJNJSRC.mjs} +2 -2
- package/dist/index.js +180 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/lib/testsystem/v1/entities/test_case.d.ts +10 -0
- package/dist/lib/testsystem/v1/entities/test_case.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts +5 -0
- package/dist/lib/testsystem/v1/entities/test_suite.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/events/events.d.ts +30 -0
- package/dist/lib/testsystem/v1/events/events.d.ts.map +1 -1
- package/dist/testsystem/index.js +180 -0
- package/dist/testsystem/index.js.map +1 -1
- package/dist/testsystem/index.mjs +7 -7
- package/dist/testsystem/v1/entities/index.js +60 -0
- package/dist/testsystem/v1/entities/index.js.map +1 -1
- package/dist/testsystem/v1/entities/index.mjs +2 -2
- package/dist/testsystem/v1/events/index.js +180 -0
- package/dist/testsystem/v1/events/index.js.map +1 -1
- package/dist/testsystem/v1/events/index.mjs +3 -3
- package/dist/testsystem/v1/index.js +180 -0
- package/dist/testsystem/v1/index.js.map +1 -1
- package/dist/testsystem/v1/index.mjs +7 -7
- package/dist/testsystem/v1/observer/index.js +180 -0
- package/dist/testsystem/v1/observer/index.js.map +1 -1
- package/dist/testsystem/v1/observer/index.mjs +4 -4
- package/lib/testsystem/v1/entities/test_case.ts +46 -0
- package/lib/testsystem/v1/entities/test_suite.ts +23 -0
- package/lib/testsystem/v1/events/events.ts +138 -0
- package/package.json +1 -1
- package/dist/chunk-SKWN4PET.mjs.map +0 -1
- package/dist/chunk-YCV7GOOQ.mjs.map +0 -1
- /package/dist/{chunk-CXXQBC7L.mjs.map → chunk-5Q7PEW7T.mjs.map} +0 -0
- /package/dist/{chunk-NYHT7SLS.mjs.map → chunk-GXV2FWLZ.mjs.map} +0 -0
- /package/dist/{chunk-UNDYBCII.mjs.map → chunk-QENINSQL.mjs.map} +0 -0
- /package/dist/{chunk-GWOJPJ3V.mjs.map → chunk-RRKAEIBJ.mjs.map} +0 -0
- /package/dist/{chunk-JV43EC5A.mjs.map → chunk-ZLJNJSRC.mjs.map} +0 -0
|
@@ -300,6 +300,7 @@ export namespace testsystem.v1.events {
|
|
|
300
300
|
attachments?: dependency_2.testsystem.v1.common.Attachment[];
|
|
301
301
|
run_id?: string;
|
|
302
302
|
retry_index?: number;
|
|
303
|
+
execution_id?: string;
|
|
303
304
|
}) {
|
|
304
305
|
super();
|
|
305
306
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [5], this.#one_of_decls);
|
|
@@ -325,6 +326,9 @@ export namespace testsystem.v1.events {
|
|
|
325
326
|
if ("retry_index" in data && data.retry_index != undefined) {
|
|
326
327
|
this.retry_index = data.retry_index;
|
|
327
328
|
}
|
|
329
|
+
if ("execution_id" in data && data.execution_id != undefined) {
|
|
330
|
+
this.execution_id = data.execution_id;
|
|
331
|
+
}
|
|
328
332
|
}
|
|
329
333
|
}
|
|
330
334
|
get test_id() {
|
|
@@ -372,6 +376,12 @@ export namespace testsystem.v1.events {
|
|
|
372
376
|
set retry_index(value: number) {
|
|
373
377
|
pb_1.Message.setField(this, 7, value);
|
|
374
378
|
}
|
|
379
|
+
get execution_id() {
|
|
380
|
+
return pb_1.Message.getFieldWithDefault(this, 8, "") as string;
|
|
381
|
+
}
|
|
382
|
+
set execution_id(value: string) {
|
|
383
|
+
pb_1.Message.setField(this, 8, value);
|
|
384
|
+
}
|
|
375
385
|
static fromObject(data: {
|
|
376
386
|
test_id?: string;
|
|
377
387
|
failure_message?: string;
|
|
@@ -380,6 +390,7 @@ export namespace testsystem.v1.events {
|
|
|
380
390
|
attachments?: ReturnType<typeof dependency_2.testsystem.v1.common.Attachment.prototype.toObject>[];
|
|
381
391
|
run_id?: string;
|
|
382
392
|
retry_index?: number;
|
|
393
|
+
execution_id?: string;
|
|
383
394
|
}): TestFailureEventRequest {
|
|
384
395
|
const message = new TestFailureEventRequest({});
|
|
385
396
|
if (data.test_id != null) {
|
|
@@ -403,6 +414,9 @@ export namespace testsystem.v1.events {
|
|
|
403
414
|
if (data.retry_index != null) {
|
|
404
415
|
message.retry_index = data.retry_index;
|
|
405
416
|
}
|
|
417
|
+
if (data.execution_id != null) {
|
|
418
|
+
message.execution_id = data.execution_id;
|
|
419
|
+
}
|
|
406
420
|
return message;
|
|
407
421
|
}
|
|
408
422
|
toObject() {
|
|
@@ -414,6 +428,7 @@ export namespace testsystem.v1.events {
|
|
|
414
428
|
attachments?: ReturnType<typeof dependency_2.testsystem.v1.common.Attachment.prototype.toObject>[];
|
|
415
429
|
run_id?: string;
|
|
416
430
|
retry_index?: number;
|
|
431
|
+
execution_id?: string;
|
|
417
432
|
} = {};
|
|
418
433
|
if (this.test_id != null) {
|
|
419
434
|
data.test_id = this.test_id;
|
|
@@ -436,6 +451,9 @@ export namespace testsystem.v1.events {
|
|
|
436
451
|
if (this.retry_index != null) {
|
|
437
452
|
data.retry_index = this.retry_index;
|
|
438
453
|
}
|
|
454
|
+
if (this.execution_id != null) {
|
|
455
|
+
data.execution_id = this.execution_id;
|
|
456
|
+
}
|
|
439
457
|
return data;
|
|
440
458
|
}
|
|
441
459
|
serialize(): Uint8Array;
|
|
@@ -456,6 +474,8 @@ export namespace testsystem.v1.events {
|
|
|
456
474
|
writer.writeString(6, this.run_id);
|
|
457
475
|
if (this.retry_index != 0)
|
|
458
476
|
writer.writeInt32(7, this.retry_index);
|
|
477
|
+
if (this.execution_id.length)
|
|
478
|
+
writer.writeString(8, this.execution_id);
|
|
459
479
|
if (!w)
|
|
460
480
|
return writer.getResultBuffer();
|
|
461
481
|
}
|
|
@@ -486,6 +506,9 @@ export namespace testsystem.v1.events {
|
|
|
486
506
|
case 7:
|
|
487
507
|
message.retry_index = reader.readInt32();
|
|
488
508
|
break;
|
|
509
|
+
case 8:
|
|
510
|
+
message.execution_id = reader.readString();
|
|
511
|
+
break;
|
|
489
512
|
default: reader.skipField();
|
|
490
513
|
}
|
|
491
514
|
}
|
|
@@ -508,6 +531,7 @@ export namespace testsystem.v1.events {
|
|
|
508
531
|
attachments?: dependency_2.testsystem.v1.common.Attachment[];
|
|
509
532
|
run_id?: string;
|
|
510
533
|
retry_index?: number;
|
|
534
|
+
execution_id?: string;
|
|
511
535
|
}) {
|
|
512
536
|
super();
|
|
513
537
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [5], this.#one_of_decls);
|
|
@@ -533,6 +557,9 @@ export namespace testsystem.v1.events {
|
|
|
533
557
|
if ("retry_index" in data && data.retry_index != undefined) {
|
|
534
558
|
this.retry_index = data.retry_index;
|
|
535
559
|
}
|
|
560
|
+
if ("execution_id" in data && data.execution_id != undefined) {
|
|
561
|
+
this.execution_id = data.execution_id;
|
|
562
|
+
}
|
|
536
563
|
}
|
|
537
564
|
}
|
|
538
565
|
get test_id() {
|
|
@@ -580,6 +607,12 @@ export namespace testsystem.v1.events {
|
|
|
580
607
|
set retry_index(value: number) {
|
|
581
608
|
pb_1.Message.setField(this, 7, value);
|
|
582
609
|
}
|
|
610
|
+
get execution_id() {
|
|
611
|
+
return pb_1.Message.getFieldWithDefault(this, 8, "") as string;
|
|
612
|
+
}
|
|
613
|
+
set execution_id(value: string) {
|
|
614
|
+
pb_1.Message.setField(this, 8, value);
|
|
615
|
+
}
|
|
583
616
|
static fromObject(data: {
|
|
584
617
|
test_id?: string;
|
|
585
618
|
error_message?: string;
|
|
@@ -588,6 +621,7 @@ export namespace testsystem.v1.events {
|
|
|
588
621
|
attachments?: ReturnType<typeof dependency_2.testsystem.v1.common.Attachment.prototype.toObject>[];
|
|
589
622
|
run_id?: string;
|
|
590
623
|
retry_index?: number;
|
|
624
|
+
execution_id?: string;
|
|
591
625
|
}): TestErrorEventRequest {
|
|
592
626
|
const message = new TestErrorEventRequest({});
|
|
593
627
|
if (data.test_id != null) {
|
|
@@ -611,6 +645,9 @@ export namespace testsystem.v1.events {
|
|
|
611
645
|
if (data.retry_index != null) {
|
|
612
646
|
message.retry_index = data.retry_index;
|
|
613
647
|
}
|
|
648
|
+
if (data.execution_id != null) {
|
|
649
|
+
message.execution_id = data.execution_id;
|
|
650
|
+
}
|
|
614
651
|
return message;
|
|
615
652
|
}
|
|
616
653
|
toObject() {
|
|
@@ -622,6 +659,7 @@ export namespace testsystem.v1.events {
|
|
|
622
659
|
attachments?: ReturnType<typeof dependency_2.testsystem.v1.common.Attachment.prototype.toObject>[];
|
|
623
660
|
run_id?: string;
|
|
624
661
|
retry_index?: number;
|
|
662
|
+
execution_id?: string;
|
|
625
663
|
} = {};
|
|
626
664
|
if (this.test_id != null) {
|
|
627
665
|
data.test_id = this.test_id;
|
|
@@ -644,6 +682,9 @@ export namespace testsystem.v1.events {
|
|
|
644
682
|
if (this.retry_index != null) {
|
|
645
683
|
data.retry_index = this.retry_index;
|
|
646
684
|
}
|
|
685
|
+
if (this.execution_id != null) {
|
|
686
|
+
data.execution_id = this.execution_id;
|
|
687
|
+
}
|
|
647
688
|
return data;
|
|
648
689
|
}
|
|
649
690
|
serialize(): Uint8Array;
|
|
@@ -664,6 +705,8 @@ export namespace testsystem.v1.events {
|
|
|
664
705
|
writer.writeString(6, this.run_id);
|
|
665
706
|
if (this.retry_index != 0)
|
|
666
707
|
writer.writeInt32(7, this.retry_index);
|
|
708
|
+
if (this.execution_id.length)
|
|
709
|
+
writer.writeString(8, this.execution_id);
|
|
667
710
|
if (!w)
|
|
668
711
|
return writer.getResultBuffer();
|
|
669
712
|
}
|
|
@@ -694,6 +737,9 @@ export namespace testsystem.v1.events {
|
|
|
694
737
|
case 7:
|
|
695
738
|
message.retry_index = reader.readInt32();
|
|
696
739
|
break;
|
|
740
|
+
case 8:
|
|
741
|
+
message.execution_id = reader.readString();
|
|
742
|
+
break;
|
|
697
743
|
default: reader.skipField();
|
|
698
744
|
}
|
|
699
745
|
}
|
|
@@ -715,6 +761,7 @@ export namespace testsystem.v1.events {
|
|
|
715
761
|
test_case_run_id?: string;
|
|
716
762
|
run_id?: string;
|
|
717
763
|
retry_index?: number;
|
|
764
|
+
execution_id?: string;
|
|
718
765
|
}) {
|
|
719
766
|
super();
|
|
720
767
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
@@ -737,6 +784,9 @@ export namespace testsystem.v1.events {
|
|
|
737
784
|
if ("retry_index" in data && data.retry_index != undefined) {
|
|
738
785
|
this.retry_index = data.retry_index;
|
|
739
786
|
}
|
|
787
|
+
if ("execution_id" in data && data.execution_id != undefined) {
|
|
788
|
+
this.execution_id = data.execution_id;
|
|
789
|
+
}
|
|
740
790
|
}
|
|
741
791
|
}
|
|
742
792
|
get test_id() {
|
|
@@ -778,6 +828,12 @@ export namespace testsystem.v1.events {
|
|
|
778
828
|
set retry_index(value: number) {
|
|
779
829
|
pb_1.Message.setField(this, 6, value);
|
|
780
830
|
}
|
|
831
|
+
get execution_id() {
|
|
832
|
+
return pb_1.Message.getFieldWithDefault(this, 7, "") as string;
|
|
833
|
+
}
|
|
834
|
+
set execution_id(value: string) {
|
|
835
|
+
pb_1.Message.setField(this, 7, value);
|
|
836
|
+
}
|
|
781
837
|
static fromObject(data: {
|
|
782
838
|
test_id?: string;
|
|
783
839
|
message?: string;
|
|
@@ -785,6 +841,7 @@ export namespace testsystem.v1.events {
|
|
|
785
841
|
test_case_run_id?: string;
|
|
786
842
|
run_id?: string;
|
|
787
843
|
retry_index?: number;
|
|
844
|
+
execution_id?: string;
|
|
788
845
|
}): StdErrorEventRequest {
|
|
789
846
|
const message = new StdErrorEventRequest({});
|
|
790
847
|
if (data.test_id != null) {
|
|
@@ -805,6 +862,9 @@ export namespace testsystem.v1.events {
|
|
|
805
862
|
if (data.retry_index != null) {
|
|
806
863
|
message.retry_index = data.retry_index;
|
|
807
864
|
}
|
|
865
|
+
if (data.execution_id != null) {
|
|
866
|
+
message.execution_id = data.execution_id;
|
|
867
|
+
}
|
|
808
868
|
return message;
|
|
809
869
|
}
|
|
810
870
|
toObject() {
|
|
@@ -815,6 +875,7 @@ export namespace testsystem.v1.events {
|
|
|
815
875
|
test_case_run_id?: string;
|
|
816
876
|
run_id?: string;
|
|
817
877
|
retry_index?: number;
|
|
878
|
+
execution_id?: string;
|
|
818
879
|
} = {};
|
|
819
880
|
if (this.test_id != null) {
|
|
820
881
|
data.test_id = this.test_id;
|
|
@@ -834,6 +895,9 @@ export namespace testsystem.v1.events {
|
|
|
834
895
|
if (this.retry_index != null) {
|
|
835
896
|
data.retry_index = this.retry_index;
|
|
836
897
|
}
|
|
898
|
+
if (this.execution_id != null) {
|
|
899
|
+
data.execution_id = this.execution_id;
|
|
900
|
+
}
|
|
837
901
|
return data;
|
|
838
902
|
}
|
|
839
903
|
serialize(): Uint8Array;
|
|
@@ -852,6 +916,8 @@ export namespace testsystem.v1.events {
|
|
|
852
916
|
writer.writeString(5, this.run_id);
|
|
853
917
|
if (this.retry_index != 0)
|
|
854
918
|
writer.writeInt32(6, this.retry_index);
|
|
919
|
+
if (this.execution_id.length)
|
|
920
|
+
writer.writeString(7, this.execution_id);
|
|
855
921
|
if (!w)
|
|
856
922
|
return writer.getResultBuffer();
|
|
857
923
|
}
|
|
@@ -879,6 +945,9 @@ export namespace testsystem.v1.events {
|
|
|
879
945
|
case 6:
|
|
880
946
|
message.retry_index = reader.readInt32();
|
|
881
947
|
break;
|
|
948
|
+
case 7:
|
|
949
|
+
message.execution_id = reader.readString();
|
|
950
|
+
break;
|
|
882
951
|
default: reader.skipField();
|
|
883
952
|
}
|
|
884
953
|
}
|
|
@@ -900,6 +969,7 @@ export namespace testsystem.v1.events {
|
|
|
900
969
|
test_case_run_id?: string;
|
|
901
970
|
run_id?: string;
|
|
902
971
|
retry_index?: number;
|
|
972
|
+
execution_id?: string;
|
|
903
973
|
}) {
|
|
904
974
|
super();
|
|
905
975
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
@@ -922,6 +992,9 @@ export namespace testsystem.v1.events {
|
|
|
922
992
|
if ("retry_index" in data && data.retry_index != undefined) {
|
|
923
993
|
this.retry_index = data.retry_index;
|
|
924
994
|
}
|
|
995
|
+
if ("execution_id" in data && data.execution_id != undefined) {
|
|
996
|
+
this.execution_id = data.execution_id;
|
|
997
|
+
}
|
|
925
998
|
}
|
|
926
999
|
}
|
|
927
1000
|
get test_id() {
|
|
@@ -963,6 +1036,12 @@ export namespace testsystem.v1.events {
|
|
|
963
1036
|
set retry_index(value: number) {
|
|
964
1037
|
pb_1.Message.setField(this, 6, value);
|
|
965
1038
|
}
|
|
1039
|
+
get execution_id() {
|
|
1040
|
+
return pb_1.Message.getFieldWithDefault(this, 7, "") as string;
|
|
1041
|
+
}
|
|
1042
|
+
set execution_id(value: string) {
|
|
1043
|
+
pb_1.Message.setField(this, 7, value);
|
|
1044
|
+
}
|
|
966
1045
|
static fromObject(data: {
|
|
967
1046
|
test_id?: string;
|
|
968
1047
|
message?: string;
|
|
@@ -970,6 +1049,7 @@ export namespace testsystem.v1.events {
|
|
|
970
1049
|
test_case_run_id?: string;
|
|
971
1050
|
run_id?: string;
|
|
972
1051
|
retry_index?: number;
|
|
1052
|
+
execution_id?: string;
|
|
973
1053
|
}): StdOutputEventRequest {
|
|
974
1054
|
const message = new StdOutputEventRequest({});
|
|
975
1055
|
if (data.test_id != null) {
|
|
@@ -990,6 +1070,9 @@ export namespace testsystem.v1.events {
|
|
|
990
1070
|
if (data.retry_index != null) {
|
|
991
1071
|
message.retry_index = data.retry_index;
|
|
992
1072
|
}
|
|
1073
|
+
if (data.execution_id != null) {
|
|
1074
|
+
message.execution_id = data.execution_id;
|
|
1075
|
+
}
|
|
993
1076
|
return message;
|
|
994
1077
|
}
|
|
995
1078
|
toObject() {
|
|
@@ -1000,6 +1083,7 @@ export namespace testsystem.v1.events {
|
|
|
1000
1083
|
test_case_run_id?: string;
|
|
1001
1084
|
run_id?: string;
|
|
1002
1085
|
retry_index?: number;
|
|
1086
|
+
execution_id?: string;
|
|
1003
1087
|
} = {};
|
|
1004
1088
|
if (this.test_id != null) {
|
|
1005
1089
|
data.test_id = this.test_id;
|
|
@@ -1019,6 +1103,9 @@ export namespace testsystem.v1.events {
|
|
|
1019
1103
|
if (this.retry_index != null) {
|
|
1020
1104
|
data.retry_index = this.retry_index;
|
|
1021
1105
|
}
|
|
1106
|
+
if (this.execution_id != null) {
|
|
1107
|
+
data.execution_id = this.execution_id;
|
|
1108
|
+
}
|
|
1022
1109
|
return data;
|
|
1023
1110
|
}
|
|
1024
1111
|
serialize(): Uint8Array;
|
|
@@ -1037,6 +1124,8 @@ export namespace testsystem.v1.events {
|
|
|
1037
1124
|
writer.writeString(5, this.run_id);
|
|
1038
1125
|
if (this.retry_index != 0)
|
|
1039
1126
|
writer.writeInt32(6, this.retry_index);
|
|
1127
|
+
if (this.execution_id.length)
|
|
1128
|
+
writer.writeString(7, this.execution_id);
|
|
1040
1129
|
if (!w)
|
|
1041
1130
|
return writer.getResultBuffer();
|
|
1042
1131
|
}
|
|
@@ -1064,6 +1153,9 @@ export namespace testsystem.v1.events {
|
|
|
1064
1153
|
case 6:
|
|
1065
1154
|
message.retry_index = reader.readInt32();
|
|
1066
1155
|
break;
|
|
1156
|
+
case 7:
|
|
1157
|
+
message.execution_id = reader.readString();
|
|
1158
|
+
break;
|
|
1067
1159
|
default: reader.skipField();
|
|
1068
1160
|
}
|
|
1069
1161
|
}
|
|
@@ -1317,6 +1409,7 @@ export namespace testsystem.v1.events {
|
|
|
1317
1409
|
total_tests?: number;
|
|
1318
1410
|
name?: string;
|
|
1319
1411
|
metadata?: Map<string, string>;
|
|
1412
|
+
execution_id?: string;
|
|
1320
1413
|
}) {
|
|
1321
1414
|
super();
|
|
1322
1415
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [2], this.#one_of_decls);
|
|
@@ -1336,6 +1429,9 @@ export namespace testsystem.v1.events {
|
|
|
1336
1429
|
if ("metadata" in data && data.metadata != undefined) {
|
|
1337
1430
|
this.metadata = data.metadata;
|
|
1338
1431
|
}
|
|
1432
|
+
if ("execution_id" in data && data.execution_id != undefined) {
|
|
1433
|
+
this.execution_id = data.execution_id;
|
|
1434
|
+
}
|
|
1339
1435
|
}
|
|
1340
1436
|
if (!this.metadata)
|
|
1341
1437
|
this.metadata = new Map();
|
|
@@ -1370,6 +1466,12 @@ export namespace testsystem.v1.events {
|
|
|
1370
1466
|
set metadata(value: Map<string, string>) {
|
|
1371
1467
|
pb_1.Message.setField(this, 5, value as any);
|
|
1372
1468
|
}
|
|
1469
|
+
get execution_id() {
|
|
1470
|
+
return pb_1.Message.getFieldWithDefault(this, 6, "") as string;
|
|
1471
|
+
}
|
|
1472
|
+
set execution_id(value: string) {
|
|
1473
|
+
pb_1.Message.setField(this, 6, value);
|
|
1474
|
+
}
|
|
1373
1475
|
static fromObject(data: {
|
|
1374
1476
|
run_id?: string;
|
|
1375
1477
|
test_suites?: ReturnType<typeof dependency_4.testsystem.v1.entities.TestSuiteRun.prototype.toObject>[];
|
|
@@ -1378,6 +1480,7 @@ export namespace testsystem.v1.events {
|
|
|
1378
1480
|
metadata?: {
|
|
1379
1481
|
[key: string]: string;
|
|
1380
1482
|
};
|
|
1483
|
+
execution_id?: string;
|
|
1381
1484
|
}): ReportRunStartEventRequest {
|
|
1382
1485
|
const message = new ReportRunStartEventRequest({});
|
|
1383
1486
|
if (data.run_id != null) {
|
|
@@ -1395,6 +1498,9 @@ export namespace testsystem.v1.events {
|
|
|
1395
1498
|
if (typeof data.metadata == "object") {
|
|
1396
1499
|
message.metadata = new Map(Object.entries(data.metadata));
|
|
1397
1500
|
}
|
|
1501
|
+
if (data.execution_id != null) {
|
|
1502
|
+
message.execution_id = data.execution_id;
|
|
1503
|
+
}
|
|
1398
1504
|
return message;
|
|
1399
1505
|
}
|
|
1400
1506
|
toObject() {
|
|
@@ -1406,6 +1512,7 @@ export namespace testsystem.v1.events {
|
|
|
1406
1512
|
metadata?: {
|
|
1407
1513
|
[key: string]: string;
|
|
1408
1514
|
};
|
|
1515
|
+
execution_id?: string;
|
|
1409
1516
|
} = {};
|
|
1410
1517
|
if (this.run_id != null) {
|
|
1411
1518
|
data.run_id = this.run_id;
|
|
@@ -1422,6 +1529,9 @@ export namespace testsystem.v1.events {
|
|
|
1422
1529
|
if (this.metadata != null) {
|
|
1423
1530
|
data.metadata = (Object.fromEntries)(this.metadata);
|
|
1424
1531
|
}
|
|
1532
|
+
if (this.execution_id != null) {
|
|
1533
|
+
data.execution_id = this.execution_id;
|
|
1534
|
+
}
|
|
1425
1535
|
return data;
|
|
1426
1536
|
}
|
|
1427
1537
|
serialize(): Uint8Array;
|
|
@@ -1442,6 +1552,8 @@ export namespace testsystem.v1.events {
|
|
|
1442
1552
|
writer.writeString(2, value);
|
|
1443
1553
|
});
|
|
1444
1554
|
}
|
|
1555
|
+
if (this.execution_id.length)
|
|
1556
|
+
writer.writeString(6, this.execution_id);
|
|
1445
1557
|
if (!w)
|
|
1446
1558
|
return writer.getResultBuffer();
|
|
1447
1559
|
}
|
|
@@ -1466,6 +1578,9 @@ export namespace testsystem.v1.events {
|
|
|
1466
1578
|
case 5:
|
|
1467
1579
|
reader.readMessage(message, () => pb_1.Map.deserializeBinary(message.metadata as any, reader, reader.readString, reader.readString));
|
|
1468
1580
|
break;
|
|
1581
|
+
case 6:
|
|
1582
|
+
message.execution_id = reader.readString();
|
|
1583
|
+
break;
|
|
1469
1584
|
default: reader.skipField();
|
|
1470
1585
|
}
|
|
1471
1586
|
}
|
|
@@ -1486,6 +1601,7 @@ export namespace testsystem.v1.events {
|
|
|
1486
1601
|
start_time?: dependency_1.google.protobuf.Timestamp;
|
|
1487
1602
|
duration?: dependency_5.google.protobuf.Duration;
|
|
1488
1603
|
metadata?: Map<string, string>;
|
|
1604
|
+
execution_id?: string;
|
|
1489
1605
|
}) {
|
|
1490
1606
|
super();
|
|
1491
1607
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
@@ -1505,6 +1621,9 @@ export namespace testsystem.v1.events {
|
|
|
1505
1621
|
if ("metadata" in data && data.metadata != undefined) {
|
|
1506
1622
|
this.metadata = data.metadata;
|
|
1507
1623
|
}
|
|
1624
|
+
if ("execution_id" in data && data.execution_id != undefined) {
|
|
1625
|
+
this.execution_id = data.execution_id;
|
|
1626
|
+
}
|
|
1508
1627
|
}
|
|
1509
1628
|
if (!this.metadata)
|
|
1510
1629
|
this.metadata = new Map();
|
|
@@ -1545,6 +1664,12 @@ export namespace testsystem.v1.events {
|
|
|
1545
1664
|
set metadata(value: Map<string, string>) {
|
|
1546
1665
|
pb_1.Message.setField(this, 5, value as any);
|
|
1547
1666
|
}
|
|
1667
|
+
get execution_id() {
|
|
1668
|
+
return pb_1.Message.getFieldWithDefault(this, 6, "") as string;
|
|
1669
|
+
}
|
|
1670
|
+
set execution_id(value: string) {
|
|
1671
|
+
pb_1.Message.setField(this, 6, value);
|
|
1672
|
+
}
|
|
1548
1673
|
static fromObject(data: {
|
|
1549
1674
|
run_id?: string;
|
|
1550
1675
|
final_status?: dependency_2.testsystem.v1.common.TestStatus;
|
|
@@ -1553,6 +1678,7 @@ export namespace testsystem.v1.events {
|
|
|
1553
1678
|
metadata?: {
|
|
1554
1679
|
[key: string]: string;
|
|
1555
1680
|
};
|
|
1681
|
+
execution_id?: string;
|
|
1556
1682
|
}): TestRunEndEventRequest {
|
|
1557
1683
|
const message = new TestRunEndEventRequest({});
|
|
1558
1684
|
if (data.run_id != null) {
|
|
@@ -1570,6 +1696,9 @@ export namespace testsystem.v1.events {
|
|
|
1570
1696
|
if (typeof data.metadata == "object") {
|
|
1571
1697
|
message.metadata = new Map(Object.entries(data.metadata));
|
|
1572
1698
|
}
|
|
1699
|
+
if (data.execution_id != null) {
|
|
1700
|
+
message.execution_id = data.execution_id;
|
|
1701
|
+
}
|
|
1573
1702
|
return message;
|
|
1574
1703
|
}
|
|
1575
1704
|
toObject() {
|
|
@@ -1581,6 +1710,7 @@ export namespace testsystem.v1.events {
|
|
|
1581
1710
|
metadata?: {
|
|
1582
1711
|
[key: string]: string;
|
|
1583
1712
|
};
|
|
1713
|
+
execution_id?: string;
|
|
1584
1714
|
} = {};
|
|
1585
1715
|
if (this.run_id != null) {
|
|
1586
1716
|
data.run_id = this.run_id;
|
|
@@ -1597,6 +1727,9 @@ export namespace testsystem.v1.events {
|
|
|
1597
1727
|
if (this.metadata != null) {
|
|
1598
1728
|
data.metadata = (Object.fromEntries)(this.metadata);
|
|
1599
1729
|
}
|
|
1730
|
+
if (this.execution_id != null) {
|
|
1731
|
+
data.execution_id = this.execution_id;
|
|
1732
|
+
}
|
|
1600
1733
|
return data;
|
|
1601
1734
|
}
|
|
1602
1735
|
serialize(): Uint8Array;
|
|
@@ -1617,6 +1750,8 @@ export namespace testsystem.v1.events {
|
|
|
1617
1750
|
writer.writeString(2, value);
|
|
1618
1751
|
});
|
|
1619
1752
|
}
|
|
1753
|
+
if (this.execution_id.length)
|
|
1754
|
+
writer.writeString(6, this.execution_id);
|
|
1620
1755
|
if (!w)
|
|
1621
1756
|
return writer.getResultBuffer();
|
|
1622
1757
|
}
|
|
@@ -1641,6 +1776,9 @@ export namespace testsystem.v1.events {
|
|
|
1641
1776
|
case 5:
|
|
1642
1777
|
reader.readMessage(message, () => pb_1.Map.deserializeBinary(message.metadata as any, reader, reader.readString, reader.readString));
|
|
1643
1778
|
break;
|
|
1779
|
+
case 6:
|
|
1780
|
+
message.execution_id = reader.readString();
|
|
1781
|
+
break;
|
|
1644
1782
|
default: reader.skipField();
|
|
1645
1783
|
}
|
|
1646
1784
|
}
|