diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 324b65c3ebd..69dbcf5b3bc 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -88537,7 +88537,7 @@ components: example: Checkout completed type: string feature_ids: - description: The list of feature IDs associated with the RUM operation. + description: The list of journey IDs associated with the RUM operation. items: type: string type: array @@ -88595,7 +88595,7 @@ components: example: Checkout completed type: string feature_ids: - description: The list of feature IDs associated with the RUM operation. + description: The list of journey IDs associated with the RUM operation. items: type: string type: array @@ -88648,7 +88648,7 @@ components: - attributes type: object RUMOperationStrongLinkCreateRequest: - description: The request body for creating a RUM operation strong link. + description: The request body for creating a RUM operation link. properties: data: $ref: "#/components/schemas/RUMOperationStrongLinkCreateRequestData" @@ -88656,19 +88656,19 @@ components: - data type: object RUMOperationStrongLinkCreateRequestAttributes: - description: Attributes for creating a RUM operation strong link. + description: Attributes for creating a RUM operation link. properties: application_id: description: The RUM application ID used when creating a stub operation from `operation_name`. format: uuid type: string description: - description: A description of the strong link. + description: A description of the link. nullable: true type: string feature_id: - description: The unique identifier of the feature to link. - example: "feature-123" + description: The unique identifier of the journey to link. + example: "journey-123" type: string operation_id: description: |- @@ -88684,7 +88684,7 @@ components: status: $ref: "#/components/schemas/RUMOperationStrongLinkStatus" tags: - description: A list of tags associated with the strong link. + description: A list of tags associated with the link. items: type: string type: array @@ -88692,7 +88692,7 @@ components: - feature_id type: object RUMOperationStrongLinkCreateRequestData: - description: The data object for creating a RUM operation strong link. + description: The data object for creating a RUM operation link. properties: attributes: $ref: "#/components/schemas/RUMOperationStrongLinkCreateRequestAttributes" @@ -88703,7 +88703,7 @@ components: - attributes type: object RUMOperationStrongLinkResponse: - description: The response for a single RUM operation strong link. + description: The response for a single RUM operation link. properties: data: $ref: "#/components/schemas/RUMOperationStrongLinkResponseData" @@ -88711,20 +88711,20 @@ components: - data type: object RUMOperationStrongLinkResponseAttributes: - description: Attributes of a RUM operation strong link response. + description: Attributes of a RUM operation link response. properties: created_at: - description: The timestamp when the strong link was created. + description: The timestamp when the link was created. format: date-time readOnly: true type: string description: - description: A description of the strong link. + description: A description of the link. nullable: true type: string feature_id: - description: The unique identifier of the linked feature. - example: "feature-123" + description: The unique identifier of the linked journey. + example: "journey-123" readOnly: true type: string operation_id: @@ -88735,12 +88735,12 @@ components: status: $ref: "#/components/schemas/RUMOperationStrongLinkStatus" tags: - description: A list of tags associated with the strong link. + description: A list of tags associated with the link. items: type: string type: array updated_at: - description: The timestamp when the strong link was last updated. + description: The timestamp when the link was last updated. format: date-time nullable: true readOnly: true @@ -88751,13 +88751,13 @@ components: - status type: object RUMOperationStrongLinkResponseData: - description: The data object in a RUM operation strong link response. + description: The data object in a RUM operation link response. properties: attributes: $ref: "#/components/schemas/RUMOperationStrongLinkResponseAttributes" id: - description: The unique identifier of the strong link, formatted as `:`. - example: "abc12345-1234-5678-abcd-ef1234567890:feature-123" + description: The unique identifier of the link, formatted as `:`. + example: "abc12345-1234-5678-abcd-ef1234567890:journey-123" readOnly: true type: string type: @@ -88768,7 +88768,7 @@ components: - attributes type: object RUMOperationStrongLinkStatus: - description: The status of a RUM operation strong link. + description: The status of a RUM operation link. enum: - DRAFT - CONFIRMED @@ -88780,7 +88780,7 @@ components: - CONFIRMED - REJECTED RUMOperationStrongLinkType: - description: The JSON:API type for RUM operation strong link resources. + description: The JSON:API type for RUM operation link resources. enum: - strong_links example: strong_links @@ -88788,7 +88788,7 @@ components: x-enum-varnames: - STRONG_LINKS RUMOperationStrongLinkUpdateRequest: - description: The request body for updating a RUM operation strong link. + description: The request body for updating a RUM operation link. properties: data: $ref: "#/components/schemas/RUMOperationStrongLinkUpdateRequestData" @@ -88796,7 +88796,7 @@ components: - data type: object RUMOperationStrongLinkUpdateRequestAttributes: - description: Attributes for updating a RUM operation strong link. + description: Attributes for updating a RUM operation link. properties: status: $ref: "#/components/schemas/RUMOperationStrongLinkUpdateStatus" @@ -88804,7 +88804,7 @@ components: - status type: object RUMOperationStrongLinkUpdateRequestData: - description: The data object for updating a RUM operation strong link. + description: The data object for updating a RUM operation link. properties: attributes: $ref: "#/components/schemas/RUMOperationStrongLinkUpdateRequestAttributes" @@ -88815,7 +88815,7 @@ components: - attributes type: object RUMOperationStrongLinkUpdateStatus: - description: The status of a RUM operation strong link. Can only be set to `CONFIRMED` or `REJECTED`. + description: The status of a RUM operation link. Can only be set to `CONFIRMED` or `REJECTED`. enum: - CONFIRMED - REJECTED @@ -88825,7 +88825,7 @@ components: - CONFIRMED - REJECTED RUMOperationStrongLinksListResponse: - description: The response for a list of RUM operation strong links. + description: The response for a list of RUM operation links. properties: data: items: @@ -88837,7 +88837,7 @@ components: - data type: object RUMOperationStrongLinksListResponseMeta: - description: Metadata for a list of RUM operation strong links. + description: Metadata for a list of RUM operation links. properties: limit: description: The pagination limit. @@ -88848,7 +88848,7 @@ components: format: int64 type: integer total: - description: The total number of strong links matching the request. + description: The total number of links matching the request. format: int64 type: integer type: object @@ -192716,7 +192716,7 @@ paths: description: "Tracks users completing the checkout flow." display_name: Checkout completed feature_ids: - - "feature-123" + - "journey-123" journey_rum: rum_steps: - nodes: @@ -192789,7 +192789,7 @@ paths: description: "Tracks users completing the checkout flow." display_name: Checkout completed feature_ids: - - "feature-123" + - "journey-123" journey_rum: rum_steps: - nodes: @@ -192833,7 +192833,9 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/rum/operations/search: get: - description: Search RUM operations for your organization. Supports filtering by query, creator, team, feature, and application. + description: |- + Search RUM operations for your organization. Supports filtering by query, creator, team, + journey, and application. operationId: ListRUMOperations parameters: - description: A search query to filter operations by name. @@ -192876,7 +192878,7 @@ paths: schema: example: "frontend,checkout" type: string - - description: Filter operations by feature ID. Accepts a comma-separated list of feature IDs. + - description: Filter operations by journey ID. Accepts a comma-separated list of journey IDs. in: query name: feature_id required: false @@ -192910,7 +192912,7 @@ paths: description: "Tracks users completing the checkout flow." display_name: Checkout completed feature_ids: - - "feature-123" + - "journey-123" journey_rum: rum_steps: - nodes: @@ -192959,18 +192961,18 @@ paths: /api/v2/rum/operations/strong_links: get: description: |- - List strong links between RUM operations and features. A strong link confirms that a feature - belongs to an operation. Provide `operation_id`, `feature_id`, or both to filter results; + List links between RUM operations and journeys. A link confirms that a journey + belongs to an operation. Provide `operation_id`, `feature_id` (journey ID), or both to filter results; at least one is required. operationId: ListRUMOperationStrongLinks parameters: - - description: Filter strong links by RUM operation ID. + - description: Filter links by RUM operation ID. in: query name: operation_id required: false schema: type: string - - description: Filter strong links by feature ID. + - description: Filter links by journey (feature) ID. in: query name: feature_id required: false @@ -193005,14 +193007,14 @@ paths: data: - attributes: created_at: "2024-01-15T10:30:00Z" - description: "Confirmed link between checkout_completed and feature-123." - feature_id: "feature-123" + description: "Confirmed link between checkout_completed and journey-123." + feature_id: "journey-123" operation_id: "abc12345-1234-5678-abcd-ef1234567890" status: CONFIRMED tags: - "team:checkout" updated_at: - id: "abc12345-1234-5678-abcd-ef1234567890:feature-123" + id: "abc12345-1234-5678-abcd-ef1234567890:journey-123" type: strong_links meta: limit: 50 @@ -193029,12 +193031,12 @@ paths: description: Bad Request "429": $ref: "#/components/responses/TooManyRequestsResponse" - summary: List RUM operation strong links + summary: List RUM operation links tags: - RUM Operations post: description: |- - Create a strong link between a RUM operation and a feature, confirming that the feature + Create a link between a RUM operation and a journey, confirming that the journey belongs to the operation. The operation can be identified by `operation_id` or `operation_name`; if `operation_name` does not match an existing operation, a stub operation is created. operationId: CreateRUMOperationStrongLink @@ -193054,14 +193056,14 @@ paths: data: attributes: created_at: "2024-01-15T10:30:00Z" - description: "Confirmed link between checkout_completed and feature-123." - feature_id: "feature-123" + description: "Confirmed link between checkout_completed and journey-123." + feature_id: "journey-123" operation_id: "abc12345-1234-5678-abcd-ef1234567890" status: CONFIRMED tags: - "team:checkout" updated_at: - id: "abc12345-1234-5678-abcd-ef1234567890:feature-123" + id: "abc12345-1234-5678-abcd-ef1234567890:journey-123" type: strong_links schema: $ref: "#/components/schemas/RUMOperationStrongLinkResponse" @@ -193083,10 +193085,10 @@ paths: application/json: schema: $ref: "#/components/schemas/JSONAPIErrorResponse" - description: Conflict. A strong link between this operation and feature already exists. + description: Conflict. A link between this operation and journey already exists. "429": $ref: "#/components/responses/TooManyRequestsResponse" - summary: Create a RUM operation strong link + summary: Create a RUM operation link tags: - RUM Operations x-unstable: |- @@ -193094,7 +193096,7 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/rum/operations/strong_links/{rum_operation_id}/{feature_id}: delete: - description: Delete the strong link between a RUM operation and a feature. + description: Delete the link between a RUM operation and a journey. operationId: DeleteRUMOperationStrongLink parameters: - description: The unique identifier of the RUM operation. @@ -193103,7 +193105,7 @@ paths: required: true schema: type: string - - description: The unique identifier of the feature. + - description: The unique identifier of the journey. in: path name: feature_id required: true @@ -193120,14 +193122,14 @@ paths: description: Not Found "429": $ref: "#/components/responses/TooManyRequestsResponse" - summary: Delete a RUM operation strong link + summary: Delete a RUM operation link tags: - RUM Operations x-unstable: |- **Note**: This endpoint is in Preview and is subject to change. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: - description: Update the status of a strong link between a RUM operation and a feature. + description: Update the status of a link between a RUM operation and a journey. operationId: UpdateRUMOperationStrongLink parameters: - description: The unique identifier of the RUM operation. @@ -193136,7 +193138,7 @@ paths: required: true schema: type: string - - description: The unique identifier of the feature. + - description: The unique identifier of the journey. in: path name: feature_id required: true @@ -193158,14 +193160,14 @@ paths: data: attributes: created_at: "2024-01-15T10:30:00Z" - description: "Confirmed link between checkout_completed and feature-123." - feature_id: "feature-123" + description: "Confirmed link between checkout_completed and journey-123." + feature_id: "journey-123" operation_id: "abc12345-1234-5678-abcd-ef1234567890" status: CONFIRMED tags: - "team:checkout" updated_at: "2024-01-16T09:00:00Z" - id: "abc12345-1234-5678-abcd-ef1234567890:feature-123" + id: "abc12345-1234-5678-abcd-ef1234567890:journey-123" type: strong_links schema: $ref: "#/components/schemas/RUMOperationStrongLinkResponse" @@ -193184,7 +193186,7 @@ paths: description: Not Found "429": $ref: "#/components/responses/TooManyRequestsResponse" - summary: Update a RUM operation strong link + summary: Update a RUM operation link tags: - RUM Operations x-unstable: |- @@ -193248,7 +193250,7 @@ paths: description: "Tracks users completing the checkout flow." display_name: Checkout completed feature_ids: - - "feature-123" + - "journey-123" journey_rum: rum_steps: - nodes: @@ -193322,7 +193324,7 @@ paths: description: "Tracks users completing the checkout flow." display_name: Checkout completed feature_ids: - - "feature-123" + - "journey-123" journey_rum: rum_steps: - nodes: @@ -223326,8 +223328,8 @@ tags: name: RUM Insights - description: |- Manage [RUM Operations](https://docs.datadoghq.com/real_user_monitoring/), business - transactions detected from RUM events through a configurable journey, and their strong links - to features. See the [RUM & Session Replay page](https://docs.datadoghq.com/real_user_monitoring/) + transactions detected from RUM events through a configurable journey, and their links + to journeys. See the [RUM & Session Replay page](https://docs.datadoghq.com/real_user_monitoring/) for more information. name: RUM Operations - description: |- diff --git a/examples/v2/rum-operations/CreateRUMOperationStrongLink.java b/examples/v2/rum-operations/CreateRUMOperationStrongLink.java index 23c0ddef5f5..3c7f25c4bce 100644 --- a/examples/v2/rum-operations/CreateRUMOperationStrongLink.java +++ b/examples/v2/rum-operations/CreateRUMOperationStrongLink.java @@ -1,4 +1,4 @@ -// Create a RUM operation strong link returns "Created" response +// Create a RUM operation link returns "Created" response import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; @@ -23,7 +23,7 @@ public static void main(String[] args) { .attributes( new RUMOperationStrongLinkCreateRequestAttributes() .description(null) - .featureId("feature-123") + .featureId("journey-123") .operationId("abc12345-1234-5678-abcd-ef1234567890") .status(RUMOperationStrongLinkStatus.CONFIRMED)) .type(RUMOperationStrongLinkType.STRONG_LINKS)); diff --git a/examples/v2/rum-operations/DeleteRUMOperationStrongLink.java b/examples/v2/rum-operations/DeleteRUMOperationStrongLink.java index b265328e439..fb726c4c25d 100644 --- a/examples/v2/rum-operations/DeleteRUMOperationStrongLink.java +++ b/examples/v2/rum-operations/DeleteRUMOperationStrongLink.java @@ -1,4 +1,4 @@ -// Delete a RUM operation strong link returns "No Content" response +// Delete a RUM operation link returns "No Content" response import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; diff --git a/examples/v2/rum-operations/ListRUMOperationStrongLinks.java b/examples/v2/rum-operations/ListRUMOperationStrongLinks.java index a4ff1179dfe..38c78d414a8 100644 --- a/examples/v2/rum-operations/ListRUMOperationStrongLinks.java +++ b/examples/v2/rum-operations/ListRUMOperationStrongLinks.java @@ -1,4 +1,4 @@ -// List RUM operation strong links returns "OK" response +// List RUM operation links returns "OK" response import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; diff --git a/examples/v2/rum-operations/UpdateRUMOperationStrongLink.java b/examples/v2/rum-operations/UpdateRUMOperationStrongLink.java index a6836bd5161..e6b3ca98b76 100644 --- a/examples/v2/rum-operations/UpdateRUMOperationStrongLink.java +++ b/examples/v2/rum-operations/UpdateRUMOperationStrongLink.java @@ -1,4 +1,4 @@ -// Update a RUM operation strong link returns "OK" response +// Update a RUM operation link returns "OK" response import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; diff --git a/src/main/java/com/datadog/api/client/v2/api/RumOperationsApi.java b/src/main/java/com/datadog/api/client/v2/api/RumOperationsApi.java index db64c26f8cf..6498c442782 100644 --- a/src/main/java/com/datadog/api/client/v2/api/RumOperationsApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/RumOperationsApi.java @@ -203,7 +203,7 @@ public CompletableFuture> createRUMOperationWi } /** - * Create a RUM operation strong link. + * Create a RUM operation link. * *

See {@link #createRUMOperationStrongLinkWithHttpInfo}. * @@ -217,7 +217,7 @@ public RUMOperationStrongLinkResponse createRUMOperationStrongLink( } /** - * Create a RUM operation strong link. + * Create a RUM operation link. * *

See {@link #createRUMOperationStrongLinkWithHttpInfoAsync}. * @@ -234,10 +234,10 @@ public CompletableFuture createRUMOperationStron } /** - * Create a strong link between a RUM operation and a feature, confirming that the feature belongs - * to the operation. The operation can be identified by operation_id or - * operation_name; if operation_name does not match an existing operation, a - * stub operation is created. + * Create a link between a RUM operation and a journey, confirming that the journey belongs to the + * operation. The operation can be identified by operation_id or operation_name + * ; if operation_name does not match an existing operation, a stub operation + * is created. * * @param body (required) * @return ApiResponse<RUMOperationStrongLinkResponse> @@ -249,7 +249,7 @@ public CompletableFuture createRUMOperationStron * 201 Created - * 400 Bad Request - * 404 Not Found. The referenced `operation_id` does not exist. - - * 409 Conflict. A strong link between this operation and feature already exists. - + * 409 Conflict. A link between this operation and journey already exists. - * 429 Too many requests - * */ @@ -295,7 +295,7 @@ public ApiResponse createRUMOperationStrongLinkW } /** - * Create a RUM operation strong link. + * Create a RUM operation link. * *

See {@link #createRUMOperationStrongLinkWithHttpInfo}. * @@ -516,12 +516,12 @@ public CompletableFuture> deleteRUMOperationWithHttpInfoAsync( } /** - * Delete a RUM operation strong link. + * Delete a RUM operation link. * *

See {@link #deleteRUMOperationStrongLinkWithHttpInfo}. * * @param rumOperationId The unique identifier of the RUM operation. (required) - * @param featureId The unique identifier of the feature. (required) + * @param featureId The unique identifier of the journey. (required) * @throws ApiException if fails to make API call */ public void deleteRUMOperationStrongLink(String rumOperationId, String featureId) @@ -530,12 +530,12 @@ public void deleteRUMOperationStrongLink(String rumOperationId, String featureId } /** - * Delete a RUM operation strong link. + * Delete a RUM operation link. * *

See {@link #deleteRUMOperationStrongLinkWithHttpInfoAsync}. * * @param rumOperationId The unique identifier of the RUM operation. (required) - * @param featureId The unique identifier of the feature. (required) + * @param featureId The unique identifier of the journey. (required) * @return CompletableFuture */ public CompletableFuture deleteRUMOperationStrongLinkAsync( @@ -548,10 +548,10 @@ public CompletableFuture deleteRUMOperationStrongLinkAsync( } /** - * Delete the strong link between a RUM operation and a feature. + * Delete the link between a RUM operation and a journey. * * @param rumOperationId The unique identifier of the RUM operation. (required) - * @param featureId The unique identifier of the feature. (required) + * @param featureId The unique identifier of the journey. (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call * @http.response.details @@ -619,12 +619,12 @@ public ApiResponse deleteRUMOperationStrongLinkWithHttpInfo( } /** - * Delete a RUM operation strong link. + * Delete a RUM operation link. * *

See {@link #deleteRUMOperationStrongLinkWithHttpInfo}. * * @param rumOperationId The unique identifier of the RUM operation. (required) - * @param featureId The unique identifier of the feature. (required) + * @param featureId The unique identifier of the journey. (required) * @return CompletableFuture<ApiResponse<Void>> */ public CompletableFuture> deleteRUMOperationStrongLinkWithHttpInfoAsync( @@ -1074,7 +1074,7 @@ public ListRUMOperationsOptionalParameters team(String team) { /** * Set featureId. * - * @param featureId Filter operations by feature ID. Accepts a comma-separated list of feature + * @param featureId Filter operations by journey ID. Accepts a comma-separated list of journey * IDs. (optional) * @return ListRUMOperationsOptionalParameters */ @@ -1155,7 +1155,7 @@ public CompletableFuture listRUMOperationsAsync( /** * Search RUM operations for your organization. Supports filtering by query, creator, team, - * feature, and application. + * journey, and application. * * @param parameters Optional parameters for the request. * @return ApiResponse<RUMOperationsListResponse> @@ -1299,7 +1299,7 @@ public static class ListRUMOperationStrongLinksOptionalParameters { /** * Set operationId. * - * @param operationId Filter strong links by RUM operation ID. (optional) + * @param operationId Filter links by RUM operation ID. (optional) * @return ListRUMOperationStrongLinksOptionalParameters */ public ListRUMOperationStrongLinksOptionalParameters operationId(String operationId) { @@ -1310,7 +1310,7 @@ public ListRUMOperationStrongLinksOptionalParameters operationId(String operatio /** * Set featureId. * - * @param featureId Filter strong links by feature ID. (optional) + * @param featureId Filter links by journey (feature) ID. (optional) * @return ListRUMOperationStrongLinksOptionalParameters */ public ListRUMOperationStrongLinksOptionalParameters featureId(String featureId) { @@ -1342,7 +1342,7 @@ public ListRUMOperationStrongLinksOptionalParameters pageLimit(Long pageLimit) { } /** - * List RUM operation strong links. + * List RUM operation links. * *

See {@link #listRUMOperationStrongLinksWithHttpInfo}. * @@ -1356,7 +1356,7 @@ public RUMOperationStrongLinksListResponse listRUMOperationStrongLinks() throws } /** - * List RUM operation strong links. + * List RUM operation links. * *

See {@link #listRUMOperationStrongLinksWithHttpInfoAsync}. * @@ -1372,7 +1372,7 @@ public CompletableFuture listRUMOperationSt } /** - * List RUM operation strong links. + * List RUM operation links. * *

See {@link #listRUMOperationStrongLinksWithHttpInfo}. * @@ -1386,7 +1386,7 @@ public RUMOperationStrongLinksListResponse listRUMOperationStrongLinks( } /** - * List RUM operation strong links. + * List RUM operation links. * *

See {@link #listRUMOperationStrongLinksWithHttpInfoAsync}. * @@ -1403,8 +1403,8 @@ public CompletableFuture listRUMOperationSt } /** - * List strong links between RUM operations and features. A strong link confirms that a feature - * belongs to an operation. Provide operation_id, feature_id, or both to + * List links between RUM operations and journeys. A link confirms that a journey belongs to an + * operation. Provide operation_id, feature_id (journey ID), or both to * filter results; at least one is required. * * @param parameters Optional parameters for the request. @@ -1458,7 +1458,7 @@ public ApiResponse listRUMOperationStrongLi } /** - * List RUM operation strong links. + * List RUM operation links. * *

See {@link #listRUMOperationStrongLinksWithHttpInfo}. * @@ -1694,12 +1694,12 @@ public CompletableFuture> updateRUMOperationWi } /** - * Update a RUM operation strong link. + * Update a RUM operation link. * *

See {@link #updateRUMOperationStrongLinkWithHttpInfo}. * * @param rumOperationId The unique identifier of the RUM operation. (required) - * @param featureId The unique identifier of the feature. (required) + * @param featureId The unique identifier of the journey. (required) * @param body (required) * @return RUMOperationStrongLinkResponse * @throws ApiException if fails to make API call @@ -1711,12 +1711,12 @@ public RUMOperationStrongLinkResponse updateRUMOperationStrongLink( } /** - * Update a RUM operation strong link. + * Update a RUM operation link. * *

See {@link #updateRUMOperationStrongLinkWithHttpInfoAsync}. * * @param rumOperationId The unique identifier of the RUM operation. (required) - * @param featureId The unique identifier of the feature. (required) + * @param featureId The unique identifier of the journey. (required) * @param body (required) * @return CompletableFuture<RUMOperationStrongLinkResponse> */ @@ -1730,10 +1730,10 @@ public CompletableFuture updateRUMOperationStron } /** - * Update the status of a strong link between a RUM operation and a feature. + * Update the status of a link between a RUM operation and a journey. * * @param rumOperationId The unique identifier of the RUM operation. (required) - * @param featureId The unique identifier of the feature. (required) + * @param featureId The unique identifier of the journey. (required) * @param body (required) * @return ApiResponse<RUMOperationStrongLinkResponse> * @throws ApiException if fails to make API call @@ -1810,12 +1810,12 @@ public ApiResponse updateRUMOperationStrongLinkW } /** - * Update a RUM operation strong link. + * Update a RUM operation link. * *

See {@link #updateRUMOperationStrongLinkWithHttpInfo}. * * @param rumOperationId The unique identifier of the RUM operation. (required) - * @param featureId The unique identifier of the feature. (required) + * @param featureId The unique identifier of the journey. (required) * @param body (required) * @return CompletableFuture<ApiResponse<RUMOperationStrongLinkResponse>> */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationRequestAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationRequestAttributes.java index 347b0da725b..df68b94614d 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationRequestAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationRequestAttributes.java @@ -192,7 +192,7 @@ public RUMOperationRequestAttributes addFeatureIdsItem(String featureIdsItem) { } /** - * The list of feature IDs associated with the RUM operation. + * The list of journey IDs associated with the RUM operation. * * @return featureIds */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationResponseAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationResponseAttributes.java index 4b9abeb3395..8c34c052b25 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationResponseAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationResponseAttributes.java @@ -260,7 +260,7 @@ public RUMOperationResponseAttributes addFeatureIdsItem(String featureIdsItem) { } /** - * The list of feature IDs associated with the RUM operation. + * The list of journey IDs associated with the RUM operation. * * @return featureIds */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkCreateRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkCreateRequest.java index 44b60f1cdd5..21c02b7a838 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkCreateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkCreateRequest.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** The request body for creating a RUM operation strong link. */ +/** The request body for creating a RUM operation link. */ @JsonPropertyOrder({RUMOperationStrongLinkCreateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -43,7 +43,7 @@ public RUMOperationStrongLinkCreateRequest data(RUMOperationStrongLinkCreateRequ } /** - * The data object for creating a RUM operation strong link. + * The data object for creating a RUM operation link. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkCreateRequestAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkCreateRequestAttributes.java index 1fb81b78883..fb4196cf627 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkCreateRequestAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkCreateRequestAttributes.java @@ -21,7 +21,7 @@ import java.util.UUID; import org.openapitools.jackson.nullable.JsonNullable; -/** Attributes for creating a RUM operation strong link. */ +/** Attributes for creating a RUM operation link. */ @JsonPropertyOrder({ RUMOperationStrongLinkCreateRequestAttributes.JSON_PROPERTY_APPLICATION_ID, RUMOperationStrongLinkCreateRequestAttributes.JSON_PROPERTY_DESCRIPTION, @@ -91,7 +91,7 @@ public RUMOperationStrongLinkCreateRequestAttributes description(String descript } /** - * A description of the strong link. + * A description of the link. * * @return description */ @@ -122,7 +122,7 @@ public RUMOperationStrongLinkCreateRequestAttributes featureId(String featureId) } /** - * The unique identifier of the feature to link. + * The unique identifier of the journey to link. * * @return featureId */ @@ -187,7 +187,7 @@ public RUMOperationStrongLinkCreateRequestAttributes status(RUMOperationStrongLi } /** - * The status of a RUM operation strong link. + * The status of a RUM operation link. * * @return status */ @@ -219,7 +219,7 @@ public RUMOperationStrongLinkCreateRequestAttributes addTagsItem(String tagsItem } /** - * A list of tags associated with the strong link. + * A list of tags associated with the link. * * @return tags */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkCreateRequestData.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkCreateRequestData.java index 0078cfb56a6..ff8d6e011fc 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkCreateRequestData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkCreateRequestData.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** The data object for creating a RUM operation strong link. */ +/** The data object for creating a RUM operation link. */ @JsonPropertyOrder({ RUMOperationStrongLinkCreateRequestData.JSON_PROPERTY_ATTRIBUTES, RUMOperationStrongLinkCreateRequestData.JSON_PROPERTY_TYPE @@ -53,7 +53,7 @@ public RUMOperationStrongLinkCreateRequestData attributes( } /** - * Attributes for creating a RUM operation strong link. + * Attributes for creating a RUM operation link. * * @return attributes */ @@ -77,7 +77,7 @@ public RUMOperationStrongLinkCreateRequestData type(RUMOperationStrongLinkType t } /** - * The JSON:API type for RUM operation strong link resources. + * The JSON:API type for RUM operation link resources. * * @return type */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkResponse.java index 77d827fb67b..4d76990a901 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkResponse.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** The response for a single RUM operation strong link. */ +/** The response for a single RUM operation link. */ @JsonPropertyOrder({RUMOperationStrongLinkResponse.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -43,7 +43,7 @@ public RUMOperationStrongLinkResponse data(RUMOperationStrongLinkResponseData da } /** - * The data object in a RUM operation strong link response. + * The data object in a RUM operation link response. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkResponseAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkResponseAttributes.java index 6a0c4683016..e3513bc3698 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkResponseAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkResponseAttributes.java @@ -21,7 +21,7 @@ import java.util.Objects; import org.openapitools.jackson.nullable.JsonNullable; -/** Attributes of a RUM operation strong link response. */ +/** Attributes of a RUM operation link response. */ @JsonPropertyOrder({ RUMOperationStrongLinkResponseAttributes.JSON_PROPERTY_CREATED_AT, RUMOperationStrongLinkResponseAttributes.JSON_PROPERTY_DESCRIPTION, @@ -71,7 +71,7 @@ public RUMOperationStrongLinkResponseAttributes( } /** - * The timestamp when the strong link was created. + * The timestamp when the link was created. * * @return createdAt */ @@ -88,7 +88,7 @@ public RUMOperationStrongLinkResponseAttributes description(String description) } /** - * A description of the strong link. + * A description of the link. * * @return description */ @@ -114,7 +114,7 @@ public void setDescription(String description) { } /** - * The unique identifier of the linked feature. + * The unique identifier of the linked journey. * * @return featureId */ @@ -142,7 +142,7 @@ public RUMOperationStrongLinkResponseAttributes status(RUMOperationStrongLinkSta } /** - * The status of a RUM operation strong link. + * The status of a RUM operation link. * * @return status */ @@ -173,7 +173,7 @@ public RUMOperationStrongLinkResponseAttributes addTagsItem(String tagsItem) { } /** - * A list of tags associated with the strong link. + * A list of tags associated with the link. * * @return tags */ @@ -189,7 +189,7 @@ public void setTags(List tags) { } /** - * The timestamp when the strong link was last updated. + * The timestamp when the link was last updated. * * @return updatedAt */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkResponseData.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkResponseData.java index 9207111acde..ea934efb25f 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkResponseData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkResponseData.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** The data object in a RUM operation strong link response. */ +/** The data object in a RUM operation link response. */ @JsonPropertyOrder({ RUMOperationStrongLinkResponseData.JSON_PROPERTY_ATTRIBUTES, RUMOperationStrongLinkResponseData.JSON_PROPERTY_ID, @@ -59,7 +59,7 @@ public RUMOperationStrongLinkResponseData attributes( } /** - * Attributes of a RUM operation strong link response. + * Attributes of a RUM operation link response. * * @return attributes */ @@ -77,8 +77,8 @@ public void setAttributes(RUMOperationStrongLinkResponseAttributes attributes) { } /** - * The unique identifier of the strong link, formatted as - * <operation_id>:<feature_id>. + * The unique identifier of the link, formatted as <operation_id>:<feature_id> + * . * * @return id */ @@ -95,7 +95,7 @@ public RUMOperationStrongLinkResponseData type(RUMOperationStrongLinkType type) } /** - * The JSON:API type for RUM operation strong link resources. + * The JSON:API type for RUM operation link resources. * * @return type */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkStatus.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkStatus.java index be52a10db1d..4f3cd5be44e 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkStatus.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkStatus.java @@ -18,7 +18,7 @@ import java.util.HashSet; import java.util.Set; -/** The status of a RUM operation strong link. */ +/** The status of a RUM operation link. */ @JsonSerialize(using = RUMOperationStrongLinkStatus.RUMOperationStrongLinkStatusSerializer.class) public class RUMOperationStrongLinkStatus extends ModelEnum { diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkType.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkType.java index 4125fb0f95a..e6686f8a22d 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkType.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkType.java @@ -18,7 +18,7 @@ import java.util.HashSet; import java.util.Set; -/** The JSON:API type for RUM operation strong link resources. */ +/** The JSON:API type for RUM operation link resources. */ @JsonSerialize(using = RUMOperationStrongLinkType.RUMOperationStrongLinkTypeSerializer.class) public class RUMOperationStrongLinkType extends ModelEnum { diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateRequest.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateRequest.java index c8a670ea4e0..4b43c9dc737 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateRequest.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateRequest.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** The request body for updating a RUM operation strong link. */ +/** The request body for updating a RUM operation link. */ @JsonPropertyOrder({RUMOperationStrongLinkUpdateRequest.JSON_PROPERTY_DATA}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -43,7 +43,7 @@ public RUMOperationStrongLinkUpdateRequest data(RUMOperationStrongLinkUpdateRequ } /** - * The data object for updating a RUM operation strong link. + * The data object for updating a RUM operation link. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateRequestAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateRequestAttributes.java index addfe38bfba..c361b2100fc 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateRequestAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateRequestAttributes.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** Attributes for updating a RUM operation strong link. */ +/** Attributes for updating a RUM operation link. */ @JsonPropertyOrder({RUMOperationStrongLinkUpdateRequestAttributes.JSON_PROPERTY_STATUS}) @jakarta.annotation.Generated( value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") @@ -44,8 +44,8 @@ public RUMOperationStrongLinkUpdateRequestAttributes status( } /** - * The status of a RUM operation strong link. Can only be set to CONFIRMED or - * REJECTED. + * The status of a RUM operation link. Can only be set to CONFIRMED or REJECTED + * . * * @return status */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateRequestData.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateRequestData.java index 3b25103ab40..66358b5bb2e 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateRequestData.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateRequestData.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** The data object for updating a RUM operation strong link. */ +/** The data object for updating a RUM operation link. */ @JsonPropertyOrder({ RUMOperationStrongLinkUpdateRequestData.JSON_PROPERTY_ATTRIBUTES, RUMOperationStrongLinkUpdateRequestData.JSON_PROPERTY_TYPE @@ -53,7 +53,7 @@ public RUMOperationStrongLinkUpdateRequestData attributes( } /** - * Attributes for updating a RUM operation strong link. + * Attributes for updating a RUM operation link. * * @return attributes */ @@ -77,7 +77,7 @@ public RUMOperationStrongLinkUpdateRequestData type(RUMOperationStrongLinkType t } /** - * The JSON:API type for RUM operation strong link resources. + * The JSON:API type for RUM operation link resources. * * @return type */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateStatus.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateStatus.java index 420768cf292..a2673e8274d 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateStatus.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinkUpdateStatus.java @@ -19,8 +19,8 @@ import java.util.Set; /** - * The status of a RUM operation strong link. Can only be set to CONFIRMED or - * REJECTED. + * The status of a RUM operation link. Can only be set to CONFIRMED or REJECTED + * . */ @JsonSerialize( using = RUMOperationStrongLinkUpdateStatus.RUMOperationStrongLinkUpdateStatusSerializer.class) diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinksListResponse.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinksListResponse.java index 1fa27121f0f..a71e8b36519 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinksListResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinksListResponse.java @@ -19,7 +19,7 @@ import java.util.Map; import java.util.Objects; -/** The response for a list of RUM operation strong links. */ +/** The response for a list of RUM operation links. */ @JsonPropertyOrder({ RUMOperationStrongLinksListResponse.JSON_PROPERTY_DATA, RUMOperationStrongLinksListResponse.JSON_PROPERTY_META @@ -88,7 +88,7 @@ public RUMOperationStrongLinksListResponse meta(RUMOperationStrongLinksListRespo } /** - * Metadata for a list of RUM operation strong links. + * Metadata for a list of RUM operation links. * * @return meta */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinksListResponseMeta.java b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinksListResponseMeta.java index 650c92d2477..32be2609e94 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinksListResponseMeta.java +++ b/src/main/java/com/datadog/api/client/v2/model/RUMOperationStrongLinksListResponseMeta.java @@ -16,7 +16,7 @@ import java.util.Map; import java.util.Objects; -/** Metadata for a list of RUM operation strong links. */ +/** Metadata for a list of RUM operation links. */ @JsonPropertyOrder({ RUMOperationStrongLinksListResponseMeta.JSON_PROPERTY_LIMIT, RUMOperationStrongLinksListResponseMeta.JSON_PROPERTY_OFFSET, @@ -83,7 +83,7 @@ public RUMOperationStrongLinksListResponseMeta total(Long total) { } /** - * The total number of strong links matching the request. + * The total number of links matching the request. * * @return total */ diff --git a/src/test/resources/com/datadog/api/client/v2/api/rum_operations.feature b/src/test/resources/com/datadog/api/client/v2/api/rum_operations.feature index e2e2043ed77..ad0b554d906 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/rum_operations.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/rum_operations.feature @@ -2,7 +2,7 @@ Feature: RUM Operations Manage [RUM Operations](https://docs.datadoghq.com/real_user_monitoring/), business transactions detected from RUM events through a configurable - journey, and their strong links to features. See the [RUM & Session Replay + journey, and their links to journeys. See the [RUM & Session Replay page](https://docs.datadoghq.com/real_user_monitoring/) for more information. @@ -11,6 +11,38 @@ Feature: RUM Operations And a valid "appKeyAuth" key in the system And an instance of "RUMOperations" API + @generated @skip @team:DataDog/rum-backend + Scenario: Create a RUM operation link returns "Bad Request" response + Given operation "CreateRUMOperationStrongLink" enabled + And new "CreateRUMOperationStrongLink" request + And body with value {"data": {"attributes": {"description": null, "feature_id": "journey-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/rum-backend + Scenario: Create a RUM operation link returns "Conflict. A link between this operation and journey already exists." response + Given operation "CreateRUMOperationStrongLink" enabled + And new "CreateRUMOperationStrongLink" request + And body with value {"data": {"attributes": {"description": null, "feature_id": "journey-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} + When the request is sent + Then the response status is 409 Conflict. A link between this operation and journey already exists. + + @generated @skip @team:DataDog/rum-backend + Scenario: Create a RUM operation link returns "Created" response + Given operation "CreateRUMOperationStrongLink" enabled + And new "CreateRUMOperationStrongLink" request + And body with value {"data": {"attributes": {"description": null, "feature_id": "journey-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} + When the request is sent + Then the response status is 201 Created + + @generated @skip @team:DataDog/rum-backend + Scenario: Create a RUM operation link returns "Not Found. The referenced `operation_id` does not exist." response + Given operation "CreateRUMOperationStrongLink" enabled + And new "CreateRUMOperationStrongLink" request + And body with value {"data": {"attributes": {"description": null, "feature_id": "journey-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} + When the request is sent + Then the response status is 404 Not Found. The referenced `operation_id` does not exist. + @generated @skip @team:DataDog/rum-backend Scenario: Create a RUM operation returns "Bad Request" response Given operation "CreateRUMOperation" enabled @@ -36,36 +68,22 @@ Feature: RUM Operations Then the response status is 200 OK @generated @skip @team:DataDog/rum-backend - Scenario: Create a RUM operation strong link returns "Bad Request" response - Given operation "CreateRUMOperationStrongLink" enabled - And new "CreateRUMOperationStrongLink" request - And body with value {"data": {"attributes": {"description": null, "feature_id": "feature-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} - When the request is sent - Then the response status is 400 Bad Request - - @generated @skip @team:DataDog/rum-backend - Scenario: Create a RUM operation strong link returns "Conflict. A strong link between this operation and feature already exists." response - Given operation "CreateRUMOperationStrongLink" enabled - And new "CreateRUMOperationStrongLink" request - And body with value {"data": {"attributes": {"description": null, "feature_id": "feature-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} - When the request is sent - Then the response status is 409 Conflict. A strong link between this operation and feature already exists. - - @generated @skip @team:DataDog/rum-backend - Scenario: Create a RUM operation strong link returns "Created" response - Given operation "CreateRUMOperationStrongLink" enabled - And new "CreateRUMOperationStrongLink" request - And body with value {"data": {"attributes": {"description": null, "feature_id": "feature-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} + Scenario: Delete a RUM operation link returns "No Content" response + Given operation "DeleteRUMOperationStrongLink" enabled + And new "DeleteRUMOperationStrongLink" request + And request contains "rum_operation_id" parameter from "REPLACE.ME" + And request contains "feature_id" parameter from "REPLACE.ME" When the request is sent - Then the response status is 201 Created + Then the response status is 204 No Content @generated @skip @team:DataDog/rum-backend - Scenario: Create a RUM operation strong link returns "Not Found. The referenced `operation_id` does not exist." response - Given operation "CreateRUMOperationStrongLink" enabled - And new "CreateRUMOperationStrongLink" request - And body with value {"data": {"attributes": {"description": null, "feature_id": "feature-123", "operation_id": "abc12345-1234-5678-abcd-ef1234567890", "status": "CONFIRMED", "tags": []}, "type": "strong_links"}} + Scenario: Delete a RUM operation link returns "Not Found" response + Given operation "DeleteRUMOperationStrongLink" enabled + And new "DeleteRUMOperationStrongLink" request + And request contains "rum_operation_id" parameter from "REPLACE.ME" + And request contains "feature_id" parameter from "REPLACE.ME" When the request is sent - Then the response status is 404 Not Found. The referenced `operation_id` does not exist. + Then the response status is 404 Not Found @generated @skip @team:DataDog/rum-backend Scenario: Delete a RUM operation returns "No Content" response @@ -83,24 +101,6 @@ Feature: RUM Operations When the request is sent Then the response status is 404 Not Found - @generated @skip @team:DataDog/rum-backend - Scenario: Delete a RUM operation strong link returns "No Content" response - Given operation "DeleteRUMOperationStrongLink" enabled - And new "DeleteRUMOperationStrongLink" request - And request contains "rum_operation_id" parameter from "REPLACE.ME" - And request contains "feature_id" parameter from "REPLACE.ME" - When the request is sent - Then the response status is 204 No Content - - @generated @skip @team:DataDog/rum-backend - Scenario: Delete a RUM operation strong link returns "Not Found" response - Given operation "DeleteRUMOperationStrongLink" enabled - And new "DeleteRUMOperationStrongLink" request - And request contains "rum_operation_id" parameter from "REPLACE.ME" - And request contains "feature_id" parameter from "REPLACE.ME" - When the request is sent - Then the response status is 404 Not Found - @generated @skip @team:DataDog/rum-backend Scenario: Get a RUM operation by name returns "Bad Request" response Given operation "GetRUMOperationByName" enabled @@ -142,13 +142,13 @@ Feature: RUM Operations Then the response status is 200 OK @generated @skip @team:DataDog/rum-backend - Scenario: List RUM operation strong links returns "Bad Request" response + Scenario: List RUM operation links returns "Bad Request" response Given new "ListRUMOperationStrongLinks" request When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/rum-backend - Scenario: List RUM operation strong links returns "OK" response + Scenario: List RUM operation links returns "OK" response Given new "ListRUMOperationStrongLinks" request When the request is sent Then the response status is 200 OK @@ -167,6 +167,36 @@ Feature: RUM Operations When the request is sent Then the response status is 200 OK + @generated @skip @team:DataDog/rum-backend + Scenario: Update a RUM operation link returns "Bad Request" response + Given operation "UpdateRUMOperationStrongLink" enabled + And new "UpdateRUMOperationStrongLink" request + And request contains "rum_operation_id" parameter from "REPLACE.ME" + And request contains "feature_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"status": "CONFIRMED"}, "type": "strong_links"}} + When the request is sent + Then the response status is 400 Bad Request + + @generated @skip @team:DataDog/rum-backend + Scenario: Update a RUM operation link returns "Not Found" response + Given operation "UpdateRUMOperationStrongLink" enabled + And new "UpdateRUMOperationStrongLink" request + And request contains "rum_operation_id" parameter from "REPLACE.ME" + And request contains "feature_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"status": "CONFIRMED"}, "type": "strong_links"}} + When the request is sent + Then the response status is 404 Not Found + + @generated @skip @team:DataDog/rum-backend + Scenario: Update a RUM operation link returns "OK" response + Given operation "UpdateRUMOperationStrongLink" enabled + And new "UpdateRUMOperationStrongLink" request + And request contains "rum_operation_id" parameter from "REPLACE.ME" + And request contains "feature_id" parameter from "REPLACE.ME" + And body with value {"data": {"attributes": {"status": "CONFIRMED"}, "type": "strong_links"}} + When the request is sent + Then the response status is 200 OK + @generated @skip @team:DataDog/rum-backend Scenario: Update a RUM operation returns "Bad Request" response Given operation "UpdateRUMOperation" enabled @@ -202,33 +232,3 @@ Feature: RUM Operations And body with value {"data": {"attributes": {"application_id": "abc12345-1234-5678-abcd-ef1234567890", "category": null, "description": null, "display_name": "Checkout completed", "feature_ids": [], "journey_rum": {"rum_steps": [{"composite": {"kind": "all_of", "max_window_ms": 30000, "predicates": [{"query": "@type:action @action.type:click"}]}, "nodes": [{"query": "@type:action @action.type:click"}], "type": "start"}]}, "name": "checkout_completed", "tags": ["team:checkout"]}, "id": "abc12345-1234-5678-abcd-ef1234567890", "type": "operations"}} When the request is sent Then the response status is 200 OK - - @generated @skip @team:DataDog/rum-backend - Scenario: Update a RUM operation strong link returns "Bad Request" response - Given operation "UpdateRUMOperationStrongLink" enabled - And new "UpdateRUMOperationStrongLink" request - And request contains "rum_operation_id" parameter from "REPLACE.ME" - And request contains "feature_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"status": "CONFIRMED"}, "type": "strong_links"}} - When the request is sent - Then the response status is 400 Bad Request - - @generated @skip @team:DataDog/rum-backend - Scenario: Update a RUM operation strong link returns "Not Found" response - Given operation "UpdateRUMOperationStrongLink" enabled - And new "UpdateRUMOperationStrongLink" request - And request contains "rum_operation_id" parameter from "REPLACE.ME" - And request contains "feature_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"status": "CONFIRMED"}, "type": "strong_links"}} - When the request is sent - Then the response status is 404 Not Found - - @generated @skip @team:DataDog/rum-backend - Scenario: Update a RUM operation strong link returns "OK" response - Given operation "UpdateRUMOperationStrongLink" enabled - And new "UpdateRUMOperationStrongLink" request - And request contains "rum_operation_id" parameter from "REPLACE.ME" - And request contains "feature_id" parameter from "REPLACE.ME" - And body with value {"data": {"attributes": {"status": "CONFIRMED"}, "type": "strong_links"}} - When the request is sent - Then the response status is 200 OK