Skip to content

Commit 517d686

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 33da7e2 of spec repo
1 parent 963308b commit 517d686

File tree

29 files changed

+364
-364
lines changed

29 files changed

+364
-364
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 216 additions & 216 deletions
Large diffs are not rendered by default.

src/main/java/com/datadog/api/client/ApiClient.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,12 @@ public class ApiClient {
798798
put("v2.updateMonitorUserTemplate", false);
799799
put("v2.validateExistingMonitorUserTemplate", false);
800800
put("v2.validateMonitorUserTemplate", false);
801+
put("v2.createPipeline", false);
802+
put("v2.deletePipeline", false);
803+
put("v2.getPipeline", false);
804+
put("v2.listPipelines", false);
805+
put("v2.updatePipeline", false);
806+
put("v2.validatePipeline", false);
801807
put("v2.listRoleTemplates", false);
802808
put("v2.createConnection", false);
803809
put("v2.deleteConnection", false);
@@ -809,12 +815,6 @@ public class ApiClient {
809815
put("v2.queryEventFilteredUsers", false);
810816
put("v2.queryUsers", false);
811817
put("v2.updateConnection", false);
812-
put("v2.createPipeline", false);
813-
put("v2.deletePipeline", false);
814-
put("v2.getPipeline", false);
815-
put("v2.listPipelines", false);
816-
put("v2.updatePipeline", false);
817-
put("v2.validatePipeline", false);
818818
put("v2.createScorecardOutcomesBatch", false);
819819
put("v2.createScorecardRule", false);
820820
put("v2.deleteScorecardRule", false);

src/main/java/com/datadog/api/client/v2/api/ObservabilityPipelinesApi.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public ApiResponse<ObservabilityPipeline> createPipelineWithHttpInfo(
111111
400, "Missing the required parameter 'body' when calling createPipeline");
112112
}
113113
// create path and map variables
114-
String localVarPath = "/api/v2/remote_config/products/obs_pipelines/pipelines";
114+
String localVarPath = "/api/v2/obs-pipelines/pipelines";
115115

116116
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
117117

@@ -166,7 +166,7 @@ public CompletableFuture<ApiResponse<ObservabilityPipeline>> createPipelineWithH
166166
return result;
167167
}
168168
// create path and map variables
169-
String localVarPath = "/api/v2/remote_config/products/obs_pipelines/pipelines";
169+
String localVarPath = "/api/v2/obs-pipelines/pipelines";
170170

171171
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
172172

@@ -259,7 +259,7 @@ public ApiResponse<Void> deletePipelineWithHttpInfo(String pipelineId) throws Ap
259259
}
260260
// create path and map variables
261261
String localVarPath =
262-
"/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}"
262+
"/api/v2/obs-pipelines/pipelines/{pipeline_id}"
263263
.replaceAll(
264264
"\\{" + "pipeline_id" + "\\}", apiClient.escapeString(pipelineId.toString()));
265265

@@ -316,7 +316,7 @@ public CompletableFuture<ApiResponse<Void>> deletePipelineWithHttpInfoAsync(Stri
316316
}
317317
// create path and map variables
318318
String localVarPath =
319-
"/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}"
319+
"/api/v2/obs-pipelines/pipelines/{pipeline_id}"
320320
.replaceAll(
321321
"\\{" + "pipeline_id" + "\\}", apiClient.escapeString(pipelineId.toString()));
322322

@@ -411,7 +411,7 @@ public ApiResponse<ObservabilityPipeline> getPipelineWithHttpInfo(String pipelin
411411
}
412412
// create path and map variables
413413
String localVarPath =
414-
"/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}"
414+
"/api/v2/obs-pipelines/pipelines/{pipeline_id}"
415415
.replaceAll(
416416
"\\{" + "pipeline_id" + "\\}", apiClient.escapeString(pipelineId.toString()));
417417

@@ -469,7 +469,7 @@ public CompletableFuture<ApiResponse<ObservabilityPipeline>> getPipelineWithHttp
469469
}
470470
// create path and map variables
471471
String localVarPath =
472-
"/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}"
472+
"/api/v2/obs-pipelines/pipelines/{pipeline_id}"
473473
.replaceAll(
474474
"\\{" + "pipeline_id" + "\\}", apiClient.escapeString(pipelineId.toString()));
475475

@@ -618,7 +618,7 @@ public ApiResponse<ListPipelinesResponse> listPipelinesWithHttpInfo(
618618
Long pageSize = parameters.pageSize;
619619
Long pageNumber = parameters.pageNumber;
620620
// create path and map variables
621-
String localVarPath = "/api/v2/remote_config/products/obs_pipelines/pipelines";
621+
String localVarPath = "/api/v2/obs-pipelines/pipelines";
622622

623623
List<Pair> localVarQueryParams = new ArrayList<Pair>();
624624
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
@@ -670,7 +670,7 @@ public CompletableFuture<ApiResponse<ListPipelinesResponse>> listPipelinesWithHt
670670
Long pageSize = parameters.pageSize;
671671
Long pageNumber = parameters.pageNumber;
672672
// create path and map variables
673-
String localVarPath = "/api/v2/remote_config/products/obs_pipelines/pipelines";
673+
String localVarPath = "/api/v2/obs-pipelines/pipelines";
674674

675675
List<Pair> localVarQueryParams = new ArrayList<Pair>();
676676
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
@@ -781,7 +781,7 @@ public ApiResponse<ObservabilityPipeline> updatePipelineWithHttpInfo(
781781
}
782782
// create path and map variables
783783
String localVarPath =
784-
"/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}"
784+
"/api/v2/obs-pipelines/pipelines/{pipeline_id}"
785785
.replaceAll(
786786
"\\{" + "pipeline_id" + "\\}", apiClient.escapeString(pipelineId.toString()));
787787

@@ -849,7 +849,7 @@ public CompletableFuture<ApiResponse<ObservabilityPipeline>> updatePipelineWithH
849849
}
850850
// create path and map variables
851851
String localVarPath =
852-
"/api/v2/remote_config/products/obs_pipelines/pipelines/{pipeline_id}"
852+
"/api/v2/obs-pipelines/pipelines/{pipeline_id}"
853853
.replaceAll(
854854
"\\{" + "pipeline_id" + "\\}", apiClient.escapeString(pipelineId.toString()));
855855

@@ -946,7 +946,7 @@ public ApiResponse<ValidationResponse> validatePipelineWithHttpInfo(
946946
400, "Missing the required parameter 'body' when calling validatePipeline");
947947
}
948948
// create path and map variables
949-
String localVarPath = "/api/v2/remote_config/products/obs_pipelines/pipelines/validate";
949+
String localVarPath = "/api/v2/obs-pipelines/pipelines/validate";
950950

951951
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
952952

@@ -1001,7 +1001,7 @@ public CompletableFuture<ApiResponse<ValidationResponse>> validatePipelineWithHt
10011001
return result;
10021002
}
10031003
// create path and map variables
1004-
String localVarPath = "/api/v2/remote_config/products/obs_pipelines/pipelines/validate";
1004+
String localVarPath = "/api/v2/obs-pipelines/pipelines/validate";
10051005

10061006
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
10071007

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-12-12T12:01:38.830Z
1+
2025-12-18T12:40:33.433Z

src/test/resources/cassettes/features/v2/Create_a_new_pipeline_returns_Bad_Request_response.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"headers": {},
99
"method": "POST",
10-
"path": "/api/v2/remote_config/products/obs_pipelines/pipelines",
10+
"path": "/api/v2/obs-pipelines/pipelines",
1111
"keepAlive": false,
1212
"secure": true
1313
},
@@ -27,6 +27,6 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "95a57011-26df-3343-b440-f0295430ff3b"
30+
"id": "f570a090-dc8d-8dc9-a94c-5375590acb1d"
3131
}
3232
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-12-12T12:01:39.315Z
1+
2025-12-18T12:40:33.865Z

src/test/resources/cassettes/features/v2/Create_a_new_pipeline_returns_OK_response.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
},
88
"headers": {},
99
"method": "POST",
10-
"path": "/api/v2/remote_config/products/obs_pipelines/pipelines",
10+
"path": "/api/v2/obs-pipelines/pipelines",
1111
"keepAlive": false,
1212
"secure": true
1313
},
1414
"httpResponse": {
15-
"body": "{\"data\":{\"id\":\"512fbd46-d752-11f0-b25a-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n",
15+
"body": "{\"data\":{\"id\":\"bf212248-dc0e-11f0-b693-da7ad0900002\",\"type\":\"pipelines\",\"attributes\":{\"name\":\"Main Observability Pipeline\",\"config\":{\"destinations\":[{\"id\":\"datadog-logs-destination\",\"inputs\":[\"my-processor-group\"],\"type\":\"datadog_logs\"}],\"processors\":[{\"enabled\":true,\"id\":\"my-processor-group\",\"include\":\"service:my-service\",\"inputs\":[\"datadog-agent-source\"],\"processors\":[{\"enabled\":true,\"id\":\"filter-processor\",\"include\":\"status:error\",\"type\":\"filter\"}]}],\"sources\":[{\"id\":\"datadog-agent-source\",\"type\":\"datadog_agent\"}]}}}}\n",
1616
"headers": {
1717
"Content-Type": [
18-
"application/json"
18+
"application/vnd.api+json"
1919
]
2020
},
2121
"statusCode": 201,
@@ -27,13 +27,13 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "2cc7f51a-ea1a-7fda-97ed-d909fad481a4"
30+
"id": "060acb65-7a12-b2a9-8635-609549001241"
3131
},
3232
{
3333
"httpRequest": {
3434
"headers": {},
3535
"method": "DELETE",
36-
"path": "/api/v2/remote_config/products/obs_pipelines/pipelines/512fbd46-d752-11f0-b25a-da7ad0900002",
36+
"path": "/api/v2/obs-pipelines/pipelines/bf212248-dc0e-11f0-b693-da7ad0900002",
3737
"keepAlive": false,
3838
"secure": true
3939
},
@@ -52,6 +52,6 @@
5252
"timeToLive": {
5353
"unlimited": true
5454
},
55-
"id": "daee0d2a-6bfc-56da-d16e-3e11b211ca18"
55+
"id": "82a2f9f5-9017-1ea5-0154-55c8a87d77de"
5656
}
5757
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-12-12T12:01:40.725Z
1+
2025-12-18T12:40:35.020Z

src/test/resources/cassettes/features/v2/Delete_a_pipeline_returns_Not_Found_response.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"httpRequest": {
44
"headers": {},
55
"method": "DELETE",
6-
"path": "/api/v2/remote_config/products/obs_pipelines/pipelines/3fa85f64-5717-4562-b3fc-2c963f66afa6",
6+
"path": "/api/v2/obs-pipelines/pipelines/3fa85f64-5717-4562-b3fc-2c963f66afa6",
77
"keepAlive": false,
88
"secure": true
99
},
@@ -23,6 +23,6 @@
2323
"timeToLive": {
2424
"unlimited": true
2525
},
26-
"id": "d504871e-95a9-3921-d8b6-426d67fce395"
26+
"id": "5d00cc15-9785-8838-1fbb-b4a1545c67cc"
2727
}
2828
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-12-12T12:01:41.308Z
1+
2025-12-18T12:40:35.481Z

0 commit comments

Comments
 (0)