@@ -5734,3 +5734,388 @@ workflows:
5734
5734
}
5735
5735
type : simple
5736
5736
x-speakeasy-test-group : certs
5737
+ - workflowId : patchEdgeConfigItems
5738
+ steps :
5739
+ - stepId : test
5740
+ operationId : patchEdgeConfigItems
5741
+ parameters :
5742
+ - name : edgeConfigId
5743
+ in : path
5744
+ value : <id>
5745
+ - name : teamId
5746
+ in : query
5747
+ value : team_1a2b3c4d5e6f7g8h9i0j1k2l
5748
+ - name : slug
5749
+ in : query
5750
+ value : my-team-url-slug
5751
+ successCriteria :
5752
+ - condition : $statusCode == 200
5753
+ - condition : $response.header.Content-Type == application/json
5754
+ - context : $response.body
5755
+ condition : |
5756
+ {
5757
+ "status": "\u003cvalue\u003e"
5758
+ }
5759
+ type : simple
5760
+ x-speakeasy-test-group : edge-config
5761
+ - workflowId : getRollingReleaseConfig
5762
+ steps :
5763
+ - stepId : test
5764
+ operationId : getRollingReleaseConfig
5765
+ parameters :
5766
+ - name : idOrName
5767
+ in : path
5768
+ value : <value>
5769
+ - name : teamId
5770
+ in : query
5771
+ value : team_1a2b3c4d5e6f7g8h9i0j1k2l
5772
+ - name : slug
5773
+ in : query
5774
+ value : my-team-url-slug
5775
+ successCriteria :
5776
+ - condition : $statusCode == 200
5777
+ - condition : $response.header.Content-Type == application/json
5778
+ - context : $response.body
5779
+ condition : |
5780
+ {
5781
+ "rollingRelease": {
5782
+ "target": "production",
5783
+ "stages": [
5784
+ {
5785
+ "targetPercentage": 25,
5786
+ "requireApproval": false,
5787
+ "duration": 600
5788
+ }
5789
+ ],
5790
+ "canaryResponseHeader": false
5791
+ }
5792
+ }
5793
+ type : simple
5794
+ x-speakeasy-test-group : rolling-release
5795
+ - workflowId : deleteRollingReleaseConfig
5796
+ steps :
5797
+ - stepId : test
5798
+ operationId : deleteRollingReleaseConfig
5799
+ parameters :
5800
+ - name : idOrName
5801
+ in : path
5802
+ value : <value>
5803
+ - name : teamId
5804
+ in : query
5805
+ value : team_1a2b3c4d5e6f7g8h9i0j1k2l
5806
+ - name : slug
5807
+ in : query
5808
+ value : my-team-url-slug
5809
+ successCriteria :
5810
+ - condition : $statusCode == 200
5811
+ - condition : $response.header.Content-Type == application/json
5812
+ - context : $response.body
5813
+ condition : |
5814
+ {
5815
+ "rollingRelease": "\u003cvalue\u003e"
5816
+ }
5817
+ type : simple
5818
+ x-speakeasy-test-group : rolling-release
5819
+ - workflowId : updateRollingReleaseConfig
5820
+ steps :
5821
+ - stepId : test
5822
+ operationId : updateRollingReleaseConfig
5823
+ parameters :
5824
+ - name : idOrName
5825
+ in : path
5826
+ value : <value>
5827
+ - name : teamId
5828
+ in : query
5829
+ value : team_1a2b3c4d5e6f7g8h9i0j1k2l
5830
+ - name : slug
5831
+ in : query
5832
+ value : my-team-url-slug
5833
+ successCriteria :
5834
+ - condition : $statusCode == 200
5835
+ - condition : $response.header.Content-Type == application/json
5836
+ - context : $response.body
5837
+ condition : |
5838
+ {
5839
+ "rollingRelease": "\u003cvalue\u003e"
5840
+ }
5841
+ type : simple
5842
+ x-speakeasy-test-group : rolling-release
5843
+ - workflowId : getRollingRelease
5844
+ steps :
5845
+ - stepId : test
5846
+ operationId : getRollingRelease
5847
+ parameters :
5848
+ - name : idOrName
5849
+ in : path
5850
+ value : <value>
5851
+ - name : teamId
5852
+ in : query
5853
+ value : team_1a2b3c4d5e6f7g8h9i0j1k2l
5854
+ - name : slug
5855
+ in : query
5856
+ value : my-team-url-slug
5857
+ successCriteria :
5858
+ - condition : $statusCode == 200
5859
+ - condition : $response.header.Content-Type == application/json
5860
+ - context : $response.body
5861
+ condition : |
5862
+ {
5863
+ "rollingRelease": {
5864
+ "state": "ACTIVE",
5865
+ "currentDeployment": {
5866
+ "id": "dpl_abc123",
5867
+ "name": "my-shop@main",
5868
+ "url": "my-shop.vercel.app",
5869
+ "target": "production",
5870
+ "source": "git",
5871
+ "createdAt": 1716206500000,
5872
+ "readyState": "READY",
5873
+ "readyStateAt": 1716206800000
5874
+ },
5875
+ "canaryDeployment": {
5876
+ "id": "dpl_def456",
5877
+ "name": "my-shop@9c7e2f4",
5878
+ "url": "9c7e2f4-my-shop.vercel.app",
5879
+ "target": "production",
5880
+ "source": "git",
5881
+ "createdAt": 1716210100000,
5882
+ "readyState": "READY",
5883
+ "readyStateAt": 1716210400000
5884
+ },
5885
+ "queuedDeploymentId": "dpl_ghi789",
5886
+ "stages": [
5887
+ {
5888
+ "index": 0,
5889
+ "isFinalStage": false,
5890
+ "targetPercentage": 5,
5891
+ "requireApproval": true,
5892
+ "duration": null
5893
+ },
5894
+ {
5895
+ "index": 1,
5896
+ "isFinalStage": false,
5897
+ "targetPercentage": 25,
5898
+ "requireApproval": true,
5899
+ "duration": null
5900
+ },
5901
+ {
5902
+ "index": 2,
5903
+ "isFinalStage": false,
5904
+ "targetPercentage": 60,
5905
+ "requireApproval": true,
5906
+ "duration": null
5907
+ },
5908
+ {
5909
+ "index": 3,
5910
+ "isFinalStage": true,
5911
+ "targetPercentage": 100,
5912
+ "requireApproval": false,
5913
+ "duration": null
5914
+ }
5915
+ ],
5916
+ "activeStage": {
5917
+ "index": 1,
5918
+ "isFinalStage": false,
5919
+ "targetPercentage": 25,
5920
+ "requireApproval": true,
5921
+ "duration": null
5922
+ },
5923
+ "nextStage": {
5924
+ "index": 2,
5925
+ "isFinalStage": false,
5926
+ "targetPercentage": 60,
5927
+ "requireApproval": true,
5928
+ "duration": null
5929
+ },
5930
+ "startedAt": 1716210500000,
5931
+ "updatedAt": 1716210600000
5932
+ }
5933
+ }
5934
+ type : simple
5935
+ x-speakeasy-test-group : rolling-release
5936
+ - workflowId : approveRollingReleaseStage
5937
+ steps :
5938
+ - stepId : test
5939
+ operationId : approveRollingReleaseStage
5940
+ parameters :
5941
+ - name : idOrName
5942
+ in : path
5943
+ value : <value>
5944
+ - name : teamId
5945
+ in : query
5946
+ value : team_1a2b3c4d5e6f7g8h9i0j1k2l
5947
+ - name : slug
5948
+ in : query
5949
+ value : my-team-url-slug
5950
+ successCriteria :
5951
+ - condition : $statusCode == 200
5952
+ - condition : $response.header.Content-Type == application/json
5953
+ - context : $response.body
5954
+ condition : |
5955
+ {
5956
+ "rollingRelease": {
5957
+ "state": "ACTIVE",
5958
+ "currentDeployment": {
5959
+ "id": "dpl_abc123",
5960
+ "name": "my-shop@main",
5961
+ "url": "my-shop.vercel.app",
5962
+ "target": "production",
5963
+ "source": "git",
5964
+ "createdAt": 1716206500000,
5965
+ "readyState": "READY",
5966
+ "readyStateAt": 1716206800000
5967
+ },
5968
+ "canaryDeployment": {
5969
+ "id": "dpl_def456",
5970
+ "name": "my-shop@9c7e2f4",
5971
+ "url": "9c7e2f4-my-shop.vercel.app",
5972
+ "target": "production",
5973
+ "source": "git",
5974
+ "createdAt": 1716210100000,
5975
+ "readyState": "READY",
5976
+ "readyStateAt": 1716210400000
5977
+ },
5978
+ "queuedDeploymentId": "dpl_ghi789",
5979
+ "stages": [
5980
+ {
5981
+ "index": 0,
5982
+ "isFinalStage": false,
5983
+ "targetPercentage": 5,
5984
+ "requireApproval": true,
5985
+ "duration": null
5986
+ },
5987
+ {
5988
+ "index": 1,
5989
+ "isFinalStage": false,
5990
+ "targetPercentage": 25,
5991
+ "requireApproval": true,
5992
+ "duration": null
5993
+ },
5994
+ {
5995
+ "index": 2,
5996
+ "isFinalStage": false,
5997
+ "targetPercentage": 60,
5998
+ "requireApproval": true,
5999
+ "duration": null
6000
+ },
6001
+ {
6002
+ "index": 3,
6003
+ "isFinalStage": true,
6004
+ "targetPercentage": 100,
6005
+ "requireApproval": false,
6006
+ "duration": null
6007
+ }
6008
+ ],
6009
+ "activeStage": {
6010
+ "index": 1,
6011
+ "isFinalStage": false,
6012
+ "targetPercentage": 25,
6013
+ "requireApproval": true,
6014
+ "duration": null
6015
+ },
6016
+ "nextStage": {
6017
+ "index": 2,
6018
+ "isFinalStage": false,
6019
+ "targetPercentage": 60,
6020
+ "requireApproval": true,
6021
+ "duration": null
6022
+ },
6023
+ "startedAt": 1716210500000,
6024
+ "updatedAt": 1716210600000
6025
+ }
6026
+ }
6027
+ type : simple
6028
+ x-speakeasy-test-group : rolling-release
6029
+ - workflowId : completeRollingRelease
6030
+ steps :
6031
+ - stepId : test
6032
+ operationId : completeRollingRelease
6033
+ parameters :
6034
+ - name : idOrName
6035
+ in : path
6036
+ value : <value>
6037
+ - name : teamId
6038
+ in : query
6039
+ value : team_1a2b3c4d5e6f7g8h9i0j1k2l
6040
+ - name : slug
6041
+ in : query
6042
+ value : my-team-url-slug
6043
+ successCriteria :
6044
+ - condition : $statusCode == 200
6045
+ - condition : $response.header.Content-Type == application/json
6046
+ - context : $response.body
6047
+ condition : |
6048
+ {
6049
+ "rollingRelease": {
6050
+ "state": "ACTIVE",
6051
+ "currentDeployment": {
6052
+ "id": "dpl_abc123",
6053
+ "name": "my-shop@main",
6054
+ "url": "my-shop.vercel.app",
6055
+ "target": "production",
6056
+ "source": "git",
6057
+ "createdAt": 1716206500000,
6058
+ "readyState": "READY",
6059
+ "readyStateAt": 1716206800000
6060
+ },
6061
+ "canaryDeployment": {
6062
+ "id": "dpl_def456",
6063
+ "name": "my-shop@9c7e2f4",
6064
+ "url": "9c7e2f4-my-shop.vercel.app",
6065
+ "target": "production",
6066
+ "source": "git",
6067
+ "createdAt": 1716210100000,
6068
+ "readyState": "READY",
6069
+ "readyStateAt": 1716210400000
6070
+ },
6071
+ "queuedDeploymentId": "dpl_ghi789",
6072
+ "stages": [
6073
+ {
6074
+ "index": 0,
6075
+ "isFinalStage": false,
6076
+ "targetPercentage": 5,
6077
+ "requireApproval": true,
6078
+ "duration": null
6079
+ },
6080
+ {
6081
+ "index": 1,
6082
+ "isFinalStage": false,
6083
+ "targetPercentage": 25,
6084
+ "requireApproval": true,
6085
+ "duration": null
6086
+ },
6087
+ {
6088
+ "index": 2,
6089
+ "isFinalStage": false,
6090
+ "targetPercentage": 60,
6091
+ "requireApproval": true,
6092
+ "duration": null
6093
+ },
6094
+ {
6095
+ "index": 3,
6096
+ "isFinalStage": true,
6097
+ "targetPercentage": 100,
6098
+ "requireApproval": false,
6099
+ "duration": null
6100
+ }
6101
+ ],
6102
+ "activeStage": {
6103
+ "index": 1,
6104
+ "isFinalStage": false,
6105
+ "targetPercentage": 25,
6106
+ "requireApproval": true,
6107
+ "duration": null
6108
+ },
6109
+ "nextStage": {
6110
+ "index": 2,
6111
+ "isFinalStage": false,
6112
+ "targetPercentage": 60,
6113
+ "requireApproval": true,
6114
+ "duration": null
6115
+ },
6116
+ "startedAt": 1716210500000,
6117
+ "updatedAt": 1716210600000
6118
+ }
6119
+ }
6120
+ type : simple
6121
+ x-speakeasy-test-group : rolling-release
0 commit comments