Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
635 changes: 0 additions & 635 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

56 changes: 0 additions & 56 deletions examples/v2/rum-insights/QueryAggregatedSignalsProblems.java

This file was deleted.

1 change: 0 additions & 1 deletion src/main/java/com/datadog/api/client/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -1476,7 +1476,6 @@ public class ApiClient {
put("v2.updateRUMOperation", false);
put("v2.updateRUMOperationStrongLink", false);
put("v2.queryAggregatedLongTasks", false);
put("v2.queryAggregatedSignalsProblems", false);
put("v2.queryAggregatedWaterfall", false);
put("v2.createScorecardOutcomesBatch", false);
put("v2.getEntityRiskScore", false);
Expand Down
157 changes: 0 additions & 157 deletions src/main/java/com/datadog/api/client/v2/api/RumInsightsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
import com.datadog.api.client.Pair;
import com.datadog.api.client.v2.model.AggregatedLongTasksRequest;
import com.datadog.api.client.v2.model.AggregatedLongTasksResponse;
import com.datadog.api.client.v2.model.AggregatedSignalsProblemsRequest;
import com.datadog.api.client.v2.model.AggregatedSignalsProblemsResponse;
import com.datadog.api.client.v2.model.AggregatedWaterfallRequest;
import com.datadog.api.client.v2.model.AggregatedWaterfallResponse;
import jakarta.ws.rs.client.Invocation;
Expand Down Expand Up @@ -202,161 +200,6 @@ public ApiResponse<AggregatedLongTasksResponse> queryAggregatedLongTasksWithHttp
new GenericType<AggregatedLongTasksResponse>() {});
}

/**
* Query aggregated signals and problems.
*
* <p>See {@link #queryAggregatedSignalsProblemsWithHttpInfo}.
*
* @param body (required)
* @return AggregatedSignalsProblemsResponse
* @throws ApiException if fails to make API call
*/
public AggregatedSignalsProblemsResponse queryAggregatedSignalsProblems(
AggregatedSignalsProblemsRequest body) throws ApiException {
return queryAggregatedSignalsProblemsWithHttpInfo(body).getData();
}

/**
* Query aggregated signals and problems.
*
* <p>See {@link #queryAggregatedSignalsProblemsWithHttpInfoAsync}.
*
* @param body (required)
* @return CompletableFuture&lt;AggregatedSignalsProblemsResponse&gt;
*/
public CompletableFuture<AggregatedSignalsProblemsResponse> queryAggregatedSignalsProblemsAsync(
AggregatedSignalsProblemsRequest body) {
return queryAggregatedSignalsProblemsWithHttpInfoAsync(body)
.thenApply(
response -> {
return response.getData();
});
}

/**
* Get aggregated performance signals and problem detections for a RUM view, sampled across
* multiple view instances.
*
* @param body (required)
* @return ApiResponse&lt;AggregatedSignalsProblemsResponse&gt;
* @throws ApiException if fails to make API call
* @http.response.details
* <table border="1">
* <caption>Response details</caption>
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
* <tr><td> 201 </td><td> Successful response </td><td> - </td></tr>
* <tr><td> 400 </td><td> Bad Request </td><td> - </td></tr>
* <tr><td> 401 </td><td> Unauthorized </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*/
public ApiResponse<AggregatedSignalsProblemsResponse> queryAggregatedSignalsProblemsWithHttpInfo(
AggregatedSignalsProblemsRequest body) throws ApiException {
// Check if unstable operation is enabled
String operationId = "queryAggregatedSignalsProblems";
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
} else {
throw new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId));
}
Object localVarPostBody = body;

// verify the required parameter 'body' is set
if (body == null) {
throw new ApiException(
400, "Missing the required parameter 'body' when calling queryAggregatedSignalsProblems");
}
// create path and map variables
String localVarPath = "/api/v2/rum/query/insight/aggregated_signals_problems";

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

Invocation.Builder builder =
apiClient.createBuilder(
"v2.RumInsightsApi.queryAggregatedSignalsProblems",
localVarPath,
new ArrayList<Pair>(),
localVarHeaderParams,
new HashMap<String, String>(),
new String[] {"application/json"},
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
return apiClient.invokeAPI(
"POST",
builder,
localVarHeaderParams,
new String[] {"application/json"},
localVarPostBody,
new HashMap<String, Object>(),
false,
new GenericType<AggregatedSignalsProblemsResponse>() {});
}

/**
* Query aggregated signals and problems.
*
* <p>See {@link #queryAggregatedSignalsProblemsWithHttpInfo}.
*
* @param body (required)
* @return CompletableFuture&lt;ApiResponse&lt;AggregatedSignalsProblemsResponse&gt;&gt;
*/
public CompletableFuture<ApiResponse<AggregatedSignalsProblemsResponse>>
queryAggregatedSignalsProblemsWithHttpInfoAsync(AggregatedSignalsProblemsRequest body) {
// Check if unstable operation is enabled
String operationId = "queryAggregatedSignalsProblems";
if (apiClient.isUnstableOperationEnabled("v2." + operationId)) {
apiClient.getLogger().warning(String.format("Using unstable operation '%s'", operationId));
} else {
CompletableFuture<ApiResponse<AggregatedSignalsProblemsResponse>> result =
new CompletableFuture<>();
result.completeExceptionally(
new ApiException(0, String.format("Unstable operation '%s' is disabled", operationId)));
return result;
}
Object localVarPostBody = body;

// verify the required parameter 'body' is set
if (body == null) {
CompletableFuture<ApiResponse<AggregatedSignalsProblemsResponse>> result =
new CompletableFuture<>();
result.completeExceptionally(
new ApiException(
400,
"Missing the required parameter 'body' when calling queryAggregatedSignalsProblems"));
return result;
}
// create path and map variables
String localVarPath = "/api/v2/rum/query/insight/aggregated_signals_problems";

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

Invocation.Builder builder;
try {
builder =
apiClient.createBuilder(
"v2.RumInsightsApi.queryAggregatedSignalsProblems",
localVarPath,
new ArrayList<Pair>(),
localVarHeaderParams,
new HashMap<String, String>(),
new String[] {"application/json"},
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
} catch (ApiException ex) {
CompletableFuture<ApiResponse<AggregatedSignalsProblemsResponse>> result =
new CompletableFuture<>();
result.completeExceptionally(ex);
return result;
}
return apiClient.invokeAPIAsync(
"POST",
builder,
localVarHeaderParams,
new String[] {"application/json"},
localVarPostBody,
new HashMap<String, Object>(),
false,
new GenericType<AggregatedSignalsProblemsResponse>() {});
}

/**
* Query aggregated waterfall.
*
Expand Down
Loading
Loading