248
248
"type" : " int" ,
249
249
"description" : " Time taken to invoke code scan service APIs in milliseconds"
250
250
},
251
- {
252
- "name" : " codeTransformApiErrorMessage" ,
253
- "type" : " string" ,
254
- "description" : " Any API-specific errors"
255
- },
256
251
{
257
252
"name" : " codeTransformApiNames" ,
258
253
"type" : " string" ,
371
366
"type" : " int" ,
372
367
"description" : " The number of projects selected for transformation"
373
368
},
369
+ {
370
+ "name" : " codeTransformNumberOfTransformedFiles" ,
371
+ "type" : " int" ,
372
+ "description" : " The number of files that were transformed during a transformation job"
373
+ },
374
+ {
375
+ "name" : " codeTransformNumberOfTransformedFilesAccepted" ,
376
+ "type" : " int" ,
377
+ "description" : " The number of transformed files that have been accepted by the user"
378
+ },
379
+ {
380
+ "name" : " codeTransformNumberOfTransformedUnitsAccepted" ,
381
+ "type" : " int" ,
382
+ "description" : " The number of transformed buildable units that have been accepted by the user"
383
+ },
374
384
{
375
385
"name" : " codeTransformPatchViewerCancelSrcComponents" ,
376
386
"type" : " string" ,
1515
1525
{
1516
1526
"name" : " saveType" ,
1517
1527
"type" : " string" ,
1518
- "allowedValues" : [" MANUAL_SAVE" , " AUTO_SAVE" ],
1528
+ "allowedValues" : [
1529
+ " MANUAL_SAVE" ,
1530
+ " AUTO_SAVE"
1531
+ ],
1519
1532
"description" : " Type of save executed"
1520
1533
},
1521
1534
{
3473
3486
],
3474
3487
"passive" : true
3475
3488
},
3489
+ {
3490
+ "name" : " codeTransform_applyChanges" ,
3491
+ "description" : " Apply suggested changes to buildable units." ,
3492
+ "metadata" : [
3493
+ {
3494
+ "type" : " codeTransformNumberOfTransformedFilesAccepted" ,
3495
+ "required" : true
3496
+ },
3497
+ {
3498
+ "type" : " codeTransformNumberOfTransformedUnitsAccepted" ,
3499
+ "required" : false
3500
+ },
3501
+ {
3502
+ "type" : " codeTransformSessionId" ,
3503
+ "required" : true
3504
+ }
3505
+ ]
3506
+ },
3476
3507
{
3477
3508
"name" : " codeTransform_dependenciesCopied" ,
3478
3509
"description" : " Deprecated - use codeTransform_uploadProject (The repo copies over at least one dependency successfully)" ,
3550
3581
{
3551
3582
"name" : " codeTransform_initiateTransform" ,
3552
3583
"description" : " User initiates code transform from Q Chat Prompt." ,
3553
- "metadata" : [
3584
+ "metadata" : [
3554
3585
{
3555
3586
"type" : " codeTransformSessionId" ,
3556
3587
"required" : true
3719
3750
"type" : " codeTransformNumberOfProjects" ,
3720
3751
"required" : false
3721
3752
},
3753
+ {
3754
+ "type" : " codeTransformNumberOfTransformedFiles" ,
3755
+ "required" : false
3756
+ },
3722
3757
{
3723
3758
"type" : " codeTransformRunTimeLatency" ,
3724
3759
"required" : false
3742
3777
{
3743
3778
"type" : " result" ,
3744
3779
"required" : false
3780
+ },
3781
+ {
3782
+ "type" : " source" ,
3783
+ "required" : false
3745
3784
}
3746
3785
]
3747
3786
},
3794
3833
{
3795
3834
"name" : " codeTransform_localBuildProject" ,
3796
3835
"description" : " Transform initiates local build." ,
3797
- "metadata" : [
3836
+ "metadata" : [
3798
3837
{
3799
3838
"type" : " codeTransformBuildCommand" ,
3800
3839
"required" : true
3818
3857
"passive" : true ,
3819
3858
"description" : " Deprecated - avoid logging every service call" ,
3820
3859
"metadata" : [
3821
- {
3822
- "type" : " codeTransformApiErrorMessage" ,
3823
- "required" : true
3824
- },
3825
- {
3826
- "type" : " codeTransformApiNames" ,
3827
- "required" : true
3828
- },
3829
3860
{
3830
3861
"type" : " codeTransformJobId" ,
3831
3862
"required" : false
3841
3872
{
3842
3873
"type" : " codeTransformTotalByteSize" ,
3843
3874
"required" : false
3875
+ },
3876
+ {
3877
+ "type" : " reason" ,
3878
+ "required" : true
3844
3879
}
3845
3880
]
3846
3881
},
3882
3917
{
3883
3918
"name" : " codeTransform_logGeneralError" ,
3884
3919
"passive" : true ,
3885
- "description" : " Deprecated - avoid logging every service call " ,
3920
+ "description" : " A general error has occurred. " ,
3886
3921
"metadata" : [
3887
- {
3888
- "type" : " codeTransformApiErrorMessage" ,
3889
- "required" : true
3890
- },
3891
3922
{
3892
3923
"type" : " codeTransformJobId" ,
3893
3924
"required" : false
3894
3925
},
3895
3926
{
3896
3927
"type" : " codeTransformSessionId" ,
3897
3928
"required" : true
3929
+ },
3930
+ {
3931
+ "type" : " reason" ,
3932
+ "required" : true
3898
3933
}
3899
3934
]
3900
3935
},
3946
3981
{
3947
3982
"name" : " codeTransform_submitSelection" ,
3948
3983
"description" : " User provides input to project module and language selection." ,
3949
- "metadata" : [
3984
+ "metadata" : [
3950
3985
{
3951
3986
"type" : " codeTransformJavaSourceVersionsAllowed" ,
3952
3987
"required" : false
4016
4051
}
4017
4052
]
4018
4053
},
4019
-
4020
4054
{
4021
4055
"name" : " codeTransform_uploadProject" ,
4022
4056
"description" : " Transform initiates project artifact upload." ,
4023
- "metadata" : [
4057
+ "metadata" : [
4024
4058
{
4025
4059
"type" : " codeTransformDependenciesCopied" ,
4026
4060
"required" : true
4050
4084
{
4051
4085
"name" : " codeTransform_validateProject" ,
4052
4086
"description" : " Transform initiates project language, build tool, and build file validation." ,
4053
- "metadata" : [
4087
+ "metadata" : [
4054
4088
{
4055
4089
"type" : " buildSystemVersion" ,
4056
4090
"required" : false
6770
6804
]
6771
6805
}
6772
6806
]
6773
- }
6807
+ }
0 commit comments