diff --git a/.apigentools-info b/.apigentools-info index e0848d8bf9d..3bd4e1bbf01 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-02-03 17:18:18.781362", - "spec_repo_commit": "b584742c" + "regenerated": "2025-02-03 18:38:23.758028", + "spec_repo_commit": "325cdedf" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-02-03 17:18:18.796817", - "spec_repo_commit": "b584742c" + "regenerated": "2025-02-03 18:38:23.773753", + "spec_repo_commit": "325cdedf" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 93f511f4bd9..b1c7f087884 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -7322,8 +7322,8 @@ components: type: gridCell type: grid description: This is a simple example app - embeddedQueries: [] name: Example App + queries: [] rootInstanceName: grid0 type: appDefinitions properties: @@ -7351,15 +7351,15 @@ components: description: description: A human-readable description for the app. type: string - embeddedQueries: + name: + description: The name of the app. + type: string + queries: description: An array of queries, such as external actions and state variables, that the app uses. items: $ref: '#/components/schemas/Query' type: array - name: - description: The name of the app. - type: string rootInstanceName: description: The name of the root component of the app. This must be a `grid` component that contains all other components. @@ -12519,18 +12519,18 @@ components: description: description: A human-readable description for the app. type: string - embeddedQueries: - description: An array of queries, such as external actions and state variables, - that the app uses. - items: - $ref: '#/components/schemas/Query' - type: array favorite: description: Whether the app is marked as a favorite by the current user. type: boolean name: description: The name of the app. type: string + queries: + description: An array of queries, such as external actions and state variables, + that the app uses. + items: + $ref: '#/components/schemas/Query' + type: array rootInstanceName: description: The name of the root component of the app. This must be a `grid` component that contains all other components. @@ -29742,8 +29742,8 @@ components: type: gridCell type: grid description: This is a simple example app - embeddedQueries: [] name: Example App + queries: [] rootInstanceName: grid0 id: 9e20cbaf-68da-45a6-9ccf-54193ac29fa5 type: appDefinitions @@ -29782,16 +29782,16 @@ components: description: description: The new human-readable description for the app. type: string - embeddedQueries: + name: + description: The new name of the app. + type: string + queries: description: The new array of queries, such as external actions and state variables, that the app uses. If this field is set, all existing queries are replaced with the new queries under this field. items: $ref: '#/components/schemas/Query' type: array - name: - description: The new name of the app. - type: string rootInstanceName: description: The new name of the root component of the app. This must be a `grid` component that contains all other components. @@ -29852,18 +29852,18 @@ components: description: description: The human-readable description for the app. type: string - embeddedQueries: - description: An array of queries, such as external actions and state variables, - that the app uses. - items: - $ref: '#/components/schemas/Query' - type: array favorite: description: Whether the app is marked as a favorite by the current user. type: boolean name: description: The name of the app. type: string + queries: + description: An array of queries, such as external actions and state variables, + that the app uses. + items: + $ref: '#/components/schemas/Query' + type: array rootInstanceName: description: The name of the root component of the app. This must be a `grid` component that contains all other components. diff --git a/src/main/java/com/datadog/api/client/v2/model/CreateAppRequestDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/CreateAppRequestDataAttributes.java index 49180abf57c..b7a2632f00f 100644 --- a/src/main/java/com/datadog/api/client/v2/model/CreateAppRequestDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/CreateAppRequestDataAttributes.java @@ -22,8 +22,8 @@ @JsonPropertyOrder({ CreateAppRequestDataAttributes.JSON_PROPERTY_COMPONENTS, CreateAppRequestDataAttributes.JSON_PROPERTY_DESCRIPTION, - CreateAppRequestDataAttributes.JSON_PROPERTY_EMBEDDED_QUERIES, CreateAppRequestDataAttributes.JSON_PROPERTY_NAME, + CreateAppRequestDataAttributes.JSON_PROPERTY_QUERIES, CreateAppRequestDataAttributes.JSON_PROPERTY_ROOT_INSTANCE_NAME, CreateAppRequestDataAttributes.JSON_PROPERTY_TAGS }) @@ -37,12 +37,12 @@ public class CreateAppRequestDataAttributes { public static final String JSON_PROPERTY_DESCRIPTION = "description"; private String description; - public static final String JSON_PROPERTY_EMBEDDED_QUERIES = "embeddedQueries"; - private List embeddedQueries = null; - public static final String JSON_PROPERTY_NAME = "name"; private String name; + public static final String JSON_PROPERTY_QUERIES = "queries"; + private List queries = null; + public static final String JSON_PROPERTY_ROOT_INSTANCE_NAME = "rootInstanceName"; private String rootInstanceName; @@ -103,58 +103,58 @@ public void setDescription(String description) { this.description = description; } - public CreateAppRequestDataAttributes embeddedQueries(List embeddedQueries) { - this.embeddedQueries = embeddedQueries; - for (Query item : embeddedQueries) { - this.unparsed |= item.unparsed; - } - return this; - } - - public CreateAppRequestDataAttributes addEmbeddedQueriesItem(Query embeddedQueriesItem) { - if (this.embeddedQueries == null) { - this.embeddedQueries = new ArrayList<>(); - } - this.embeddedQueries.add(embeddedQueriesItem); - this.unparsed |= embeddedQueriesItem.unparsed; + public CreateAppRequestDataAttributes name(String name) { + this.name = name; return this; } /** - * An array of queries, such as external actions and state variables, that the app uses. + * The name of the app. * - * @return embeddedQueries + * @return name */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMBEDDED_QUERIES) + @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getEmbeddedQueries() { - return embeddedQueries; + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; } - public void setEmbeddedQueries(List embeddedQueries) { - this.embeddedQueries = embeddedQueries; + public CreateAppRequestDataAttributes queries(List queries) { + this.queries = queries; + for (Query item : queries) { + this.unparsed |= item.unparsed; + } + return this; } - public CreateAppRequestDataAttributes name(String name) { - this.name = name; + public CreateAppRequestDataAttributes addQueriesItem(Query queriesItem) { + if (this.queries == null) { + this.queries = new ArrayList<>(); + } + this.queries.add(queriesItem); + this.unparsed |= queriesItem.unparsed; return this; } /** - * The name of the app. + * An array of queries, such as external actions and state variables, that the app uses. * - * @return name + * @return queries */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @JsonProperty(JSON_PROPERTY_QUERIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { - return name; + public List getQueries() { + return queries; } - public void setName(String name) { - this.name = name; + public void setQueries(List queries) { + this.queries = queries; } public CreateAppRequestDataAttributes rootInstanceName(String rootInstanceName) { @@ -267,8 +267,8 @@ public boolean equals(Object o) { (CreateAppRequestDataAttributes) o; return Objects.equals(this.components, createAppRequestDataAttributes.components) && Objects.equals(this.description, createAppRequestDataAttributes.description) - && Objects.equals(this.embeddedQueries, createAppRequestDataAttributes.embeddedQueries) && Objects.equals(this.name, createAppRequestDataAttributes.name) + && Objects.equals(this.queries, createAppRequestDataAttributes.queries) && Objects.equals(this.rootInstanceName, createAppRequestDataAttributes.rootInstanceName) && Objects.equals(this.tags, createAppRequestDataAttributes.tags) && Objects.equals( @@ -278,13 +278,7 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( - components, - description, - embeddedQueries, - name, - rootInstanceName, - tags, - additionalProperties); + components, description, name, queries, rootInstanceName, tags, additionalProperties); } @Override @@ -293,8 +287,8 @@ public String toString() { sb.append("class CreateAppRequestDataAttributes {\n"); sb.append(" components: ").append(toIndentedString(components)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" embeddedQueries: ").append(toIndentedString(embeddedQueries)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" queries: ").append(toIndentedString(queries)).append("\n"); sb.append(" rootInstanceName: ").append(toIndentedString(rootInstanceName)).append("\n"); sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/GetAppResponseDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/GetAppResponseDataAttributes.java index 59eafc8dd65..37d5decaaef 100644 --- a/src/main/java/com/datadog/api/client/v2/model/GetAppResponseDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/GetAppResponseDataAttributes.java @@ -22,9 +22,9 @@ @JsonPropertyOrder({ GetAppResponseDataAttributes.JSON_PROPERTY_COMPONENTS, GetAppResponseDataAttributes.JSON_PROPERTY_DESCRIPTION, - GetAppResponseDataAttributes.JSON_PROPERTY_EMBEDDED_QUERIES, GetAppResponseDataAttributes.JSON_PROPERTY_FAVORITE, GetAppResponseDataAttributes.JSON_PROPERTY_NAME, + GetAppResponseDataAttributes.JSON_PROPERTY_QUERIES, GetAppResponseDataAttributes.JSON_PROPERTY_ROOT_INSTANCE_NAME, GetAppResponseDataAttributes.JSON_PROPERTY_TAGS }) @@ -38,15 +38,15 @@ public class GetAppResponseDataAttributes { public static final String JSON_PROPERTY_DESCRIPTION = "description"; private String description; - public static final String JSON_PROPERTY_EMBEDDED_QUERIES = "embeddedQueries"; - private List embeddedQueries = null; - public static final String JSON_PROPERTY_FAVORITE = "favorite"; private Boolean favorite; public static final String JSON_PROPERTY_NAME = "name"; private String name; + public static final String JSON_PROPERTY_QUERIES = "queries"; + private List queries = null; + public static final String JSON_PROPERTY_ROOT_INSTANCE_NAME = "rootInstanceName"; private String rootInstanceName; @@ -107,39 +107,6 @@ public void setDescription(String description) { this.description = description; } - public GetAppResponseDataAttributes embeddedQueries(List embeddedQueries) { - this.embeddedQueries = embeddedQueries; - for (Query item : embeddedQueries) { - this.unparsed |= item.unparsed; - } - return this; - } - - public GetAppResponseDataAttributes addEmbeddedQueriesItem(Query embeddedQueriesItem) { - if (this.embeddedQueries == null) { - this.embeddedQueries = new ArrayList<>(); - } - this.embeddedQueries.add(embeddedQueriesItem); - this.unparsed |= embeddedQueriesItem.unparsed; - return this; - } - - /** - * An array of queries, such as external actions and state variables, that the app uses. - * - * @return embeddedQueries - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMBEDDED_QUERIES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getEmbeddedQueries() { - return embeddedQueries; - } - - public void setEmbeddedQueries(List embeddedQueries) { - this.embeddedQueries = embeddedQueries; - } - public GetAppResponseDataAttributes favorite(Boolean favorite) { this.favorite = favorite; return this; @@ -182,6 +149,39 @@ public void setName(String name) { this.name = name; } + public GetAppResponseDataAttributes queries(List queries) { + this.queries = queries; + for (Query item : queries) { + this.unparsed |= item.unparsed; + } + return this; + } + + public GetAppResponseDataAttributes addQueriesItem(Query queriesItem) { + if (this.queries == null) { + this.queries = new ArrayList<>(); + } + this.queries.add(queriesItem); + this.unparsed |= queriesItem.unparsed; + return this; + } + + /** + * An array of queries, such as external actions and state variables, that the app uses. + * + * @return queries + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_QUERIES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getQueries() { + return queries; + } + + public void setQueries(List queries) { + this.queries = queries; + } + public GetAppResponseDataAttributes rootInstanceName(String rootInstanceName) { this.rootInstanceName = rootInstanceName; return this; @@ -291,9 +291,9 @@ public boolean equals(Object o) { GetAppResponseDataAttributes getAppResponseDataAttributes = (GetAppResponseDataAttributes) o; return Objects.equals(this.components, getAppResponseDataAttributes.components) && Objects.equals(this.description, getAppResponseDataAttributes.description) - && Objects.equals(this.embeddedQueries, getAppResponseDataAttributes.embeddedQueries) && Objects.equals(this.favorite, getAppResponseDataAttributes.favorite) && Objects.equals(this.name, getAppResponseDataAttributes.name) + && Objects.equals(this.queries, getAppResponseDataAttributes.queries) && Objects.equals(this.rootInstanceName, getAppResponseDataAttributes.rootInstanceName) && Objects.equals(this.tags, getAppResponseDataAttributes.tags) && Objects.equals( @@ -305,9 +305,9 @@ public int hashCode() { return Objects.hash( components, description, - embeddedQueries, favorite, name, + queries, rootInstanceName, tags, additionalProperties); @@ -319,9 +319,9 @@ public String toString() { sb.append("class GetAppResponseDataAttributes {\n"); sb.append(" components: ").append(toIndentedString(components)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" embeddedQueries: ").append(toIndentedString(embeddedQueries)).append("\n"); sb.append(" favorite: ").append(toIndentedString(favorite)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" queries: ").append(toIndentedString(queries)).append("\n"); sb.append(" rootInstanceName: ").append(toIndentedString(rootInstanceName)).append("\n"); sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/UpdateAppRequestDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/UpdateAppRequestDataAttributes.java index 9fb9ae62916..74b0bea5d35 100644 --- a/src/main/java/com/datadog/api/client/v2/model/UpdateAppRequestDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/UpdateAppRequestDataAttributes.java @@ -22,8 +22,8 @@ @JsonPropertyOrder({ UpdateAppRequestDataAttributes.JSON_PROPERTY_COMPONENTS, UpdateAppRequestDataAttributes.JSON_PROPERTY_DESCRIPTION, - UpdateAppRequestDataAttributes.JSON_PROPERTY_EMBEDDED_QUERIES, UpdateAppRequestDataAttributes.JSON_PROPERTY_NAME, + UpdateAppRequestDataAttributes.JSON_PROPERTY_QUERIES, UpdateAppRequestDataAttributes.JSON_PROPERTY_ROOT_INSTANCE_NAME, UpdateAppRequestDataAttributes.JSON_PROPERTY_TAGS }) @@ -37,12 +37,12 @@ public class UpdateAppRequestDataAttributes { public static final String JSON_PROPERTY_DESCRIPTION = "description"; private String description; - public static final String JSON_PROPERTY_EMBEDDED_QUERIES = "embeddedQueries"; - private List embeddedQueries = null; - public static final String JSON_PROPERTY_NAME = "name"; private String name; + public static final String JSON_PROPERTY_QUERIES = "queries"; + private List queries = null; + public static final String JSON_PROPERTY_ROOT_INSTANCE_NAME = "rootInstanceName"; private String rootInstanceName; @@ -104,59 +104,59 @@ public void setDescription(String description) { this.description = description; } - public UpdateAppRequestDataAttributes embeddedQueries(List embeddedQueries) { - this.embeddedQueries = embeddedQueries; - for (Query item : embeddedQueries) { - this.unparsed |= item.unparsed; - } - return this; - } - - public UpdateAppRequestDataAttributes addEmbeddedQueriesItem(Query embeddedQueriesItem) { - if (this.embeddedQueries == null) { - this.embeddedQueries = new ArrayList<>(); - } - this.embeddedQueries.add(embeddedQueriesItem); - this.unparsed |= embeddedQueriesItem.unparsed; + public UpdateAppRequestDataAttributes name(String name) { + this.name = name; return this; } /** - * The new array of queries, such as external actions and state variables, that the app uses. If - * this field is set, all existing queries are replaced with the new queries under this field. + * The new name of the app. * - * @return embeddedQueries + * @return name */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMBEDDED_QUERIES) + @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getEmbeddedQueries() { - return embeddedQueries; + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; } - public void setEmbeddedQueries(List embeddedQueries) { - this.embeddedQueries = embeddedQueries; + public UpdateAppRequestDataAttributes queries(List queries) { + this.queries = queries; + for (Query item : queries) { + this.unparsed |= item.unparsed; + } + return this; } - public UpdateAppRequestDataAttributes name(String name) { - this.name = name; + public UpdateAppRequestDataAttributes addQueriesItem(Query queriesItem) { + if (this.queries == null) { + this.queries = new ArrayList<>(); + } + this.queries.add(queriesItem); + this.unparsed |= queriesItem.unparsed; return this; } /** - * The new name of the app. + * The new array of queries, such as external actions and state variables, that the app uses. If + * this field is set, all existing queries are replaced with the new queries under this field. * - * @return name + * @return queries */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) + @JsonProperty(JSON_PROPERTY_QUERIES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getName() { - return name; + public List getQueries() { + return queries; } - public void setName(String name) { - this.name = name; + public void setQueries(List queries) { + this.queries = queries; } public UpdateAppRequestDataAttributes rootInstanceName(String rootInstanceName) { @@ -270,8 +270,8 @@ public boolean equals(Object o) { (UpdateAppRequestDataAttributes) o; return Objects.equals(this.components, updateAppRequestDataAttributes.components) && Objects.equals(this.description, updateAppRequestDataAttributes.description) - && Objects.equals(this.embeddedQueries, updateAppRequestDataAttributes.embeddedQueries) && Objects.equals(this.name, updateAppRequestDataAttributes.name) + && Objects.equals(this.queries, updateAppRequestDataAttributes.queries) && Objects.equals(this.rootInstanceName, updateAppRequestDataAttributes.rootInstanceName) && Objects.equals(this.tags, updateAppRequestDataAttributes.tags) && Objects.equals( @@ -281,13 +281,7 @@ public boolean equals(Object o) { @Override public int hashCode() { return Objects.hash( - components, - description, - embeddedQueries, - name, - rootInstanceName, - tags, - additionalProperties); + components, description, name, queries, rootInstanceName, tags, additionalProperties); } @Override @@ -296,8 +290,8 @@ public String toString() { sb.append("class UpdateAppRequestDataAttributes {\n"); sb.append(" components: ").append(toIndentedString(components)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" embeddedQueries: ").append(toIndentedString(embeddedQueries)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" queries: ").append(toIndentedString(queries)).append("\n"); sb.append(" rootInstanceName: ").append(toIndentedString(rootInstanceName)).append("\n"); sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/main/java/com/datadog/api/client/v2/model/UpdateAppResponseDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/UpdateAppResponseDataAttributes.java index b67d9495f16..557c69a1bf0 100644 --- a/src/main/java/com/datadog/api/client/v2/model/UpdateAppResponseDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/UpdateAppResponseDataAttributes.java @@ -22,9 +22,9 @@ @JsonPropertyOrder({ UpdateAppResponseDataAttributes.JSON_PROPERTY_COMPONENTS, UpdateAppResponseDataAttributes.JSON_PROPERTY_DESCRIPTION, - UpdateAppResponseDataAttributes.JSON_PROPERTY_EMBEDDED_QUERIES, UpdateAppResponseDataAttributes.JSON_PROPERTY_FAVORITE, UpdateAppResponseDataAttributes.JSON_PROPERTY_NAME, + UpdateAppResponseDataAttributes.JSON_PROPERTY_QUERIES, UpdateAppResponseDataAttributes.JSON_PROPERTY_ROOT_INSTANCE_NAME, UpdateAppResponseDataAttributes.JSON_PROPERTY_TAGS }) @@ -38,15 +38,15 @@ public class UpdateAppResponseDataAttributes { public static final String JSON_PROPERTY_DESCRIPTION = "description"; private String description; - public static final String JSON_PROPERTY_EMBEDDED_QUERIES = "embeddedQueries"; - private List embeddedQueries = null; - public static final String JSON_PROPERTY_FAVORITE = "favorite"; private Boolean favorite; public static final String JSON_PROPERTY_NAME = "name"; private String name; + public static final String JSON_PROPERTY_QUERIES = "queries"; + private List queries = null; + public static final String JSON_PROPERTY_ROOT_INSTANCE_NAME = "rootInstanceName"; private String rootInstanceName; @@ -107,39 +107,6 @@ public void setDescription(String description) { this.description = description; } - public UpdateAppResponseDataAttributes embeddedQueries(List embeddedQueries) { - this.embeddedQueries = embeddedQueries; - for (Query item : embeddedQueries) { - this.unparsed |= item.unparsed; - } - return this; - } - - public UpdateAppResponseDataAttributes addEmbeddedQueriesItem(Query embeddedQueriesItem) { - if (this.embeddedQueries == null) { - this.embeddedQueries = new ArrayList<>(); - } - this.embeddedQueries.add(embeddedQueriesItem); - this.unparsed |= embeddedQueriesItem.unparsed; - return this; - } - - /** - * An array of queries, such as external actions and state variables, that the app uses. - * - * @return embeddedQueries - */ - @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMBEDDED_QUERIES) - @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public List getEmbeddedQueries() { - return embeddedQueries; - } - - public void setEmbeddedQueries(List embeddedQueries) { - this.embeddedQueries = embeddedQueries; - } - public UpdateAppResponseDataAttributes favorite(Boolean favorite) { this.favorite = favorite; return this; @@ -182,6 +149,39 @@ public void setName(String name) { this.name = name; } + public UpdateAppResponseDataAttributes queries(List queries) { + this.queries = queries; + for (Query item : queries) { + this.unparsed |= item.unparsed; + } + return this; + } + + public UpdateAppResponseDataAttributes addQueriesItem(Query queriesItem) { + if (this.queries == null) { + this.queries = new ArrayList<>(); + } + this.queries.add(queriesItem); + this.unparsed |= queriesItem.unparsed; + return this; + } + + /** + * An array of queries, such as external actions and state variables, that the app uses. + * + * @return queries + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_QUERIES) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public List getQueries() { + return queries; + } + + public void setQueries(List queries) { + this.queries = queries; + } + public UpdateAppResponseDataAttributes rootInstanceName(String rootInstanceName) { this.rootInstanceName = rootInstanceName; return this; @@ -292,9 +292,9 @@ public boolean equals(Object o) { (UpdateAppResponseDataAttributes) o; return Objects.equals(this.components, updateAppResponseDataAttributes.components) && Objects.equals(this.description, updateAppResponseDataAttributes.description) - && Objects.equals(this.embeddedQueries, updateAppResponseDataAttributes.embeddedQueries) && Objects.equals(this.favorite, updateAppResponseDataAttributes.favorite) && Objects.equals(this.name, updateAppResponseDataAttributes.name) + && Objects.equals(this.queries, updateAppResponseDataAttributes.queries) && Objects.equals(this.rootInstanceName, updateAppResponseDataAttributes.rootInstanceName) && Objects.equals(this.tags, updateAppResponseDataAttributes.tags) && Objects.equals( @@ -306,9 +306,9 @@ public int hashCode() { return Objects.hash( components, description, - embeddedQueries, favorite, name, + queries, rootInstanceName, tags, additionalProperties); @@ -320,9 +320,9 @@ public String toString() { sb.append("class UpdateAppResponseDataAttributes {\n"); sb.append(" components: ").append(toIndentedString(components)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" embeddedQueries: ").append(toIndentedString(embeddedQueries)).append("\n"); sb.append(" favorite: ").append(toIndentedString(favorite)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" queries: ").append(toIndentedString(queries)).append("\n"); sb.append(" rootInstanceName: ").append(toIndentedString(rootInstanceName)).append("\n"); sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append(" additionalProperties: ") diff --git a/src/test/resources/cassettes/features/v2/Create_App_returns_Bad_Request_response.freeze b/src/test/resources/cassettes/features/v2/Create_App_returns_Bad_Request_response.freeze index 2887e18b734..f4fed19b332 100644 --- a/src/test/resources/cassettes/features/v2/Create_App_returns_Bad_Request_response.freeze +++ b/src/test/resources/cassettes/features/v2/Create_App_returns_Bad_Request_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:37.253Z \ No newline at end of file +2025-01-30T22:30:41.653Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_App_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Create_App_returns_Bad_Request_response.json index 8330b6f8fb4..f5d218f423d 100644 --- a/src/test/resources/cassettes/features/v2/Create_App_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Create_App_returns_Bad_Request_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"description\":\"This is a bad example app\",\"embeddedQueries\":[],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + "json": "{\"data\":{\"attributes\":{\"description\":\"This is a bad example app\",\"queries\":[],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"errors\":[{\"title\":\"missing required field\",\"detail\":\"missing required field\",\"source\":{\"pointer\":\"/data/attributes/name\"}}]}", + "body": "{\"errors\":[{\"title\":\"missing required field\",\"source\":{\"pointer\":\"/data/attributes/name\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,6 +27,6 @@ "timeToLive": { "unlimited": true }, - "id": "cac8f72e-b8c3-9caf-9580-ed4fa55c0d31" + "id": "318f4ef0-caac-5539-a476-81f4bbdc0114" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.freeze b/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.freeze index d601c8eb950..e194fa4dff0 100644 --- a/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.freeze +++ b/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:37.369Z \ No newline at end of file +2025-01-30T22:30:41.765Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json index 91ce679a49a..4bbf5a58df5 100644 --- a/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Create_App_returns_Created_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isLoading\":false,\"isUnpublishd\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"embeddedQueries\":[],\"name\":\"Example App\",\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isLoading\":false,\"isUnpublishd\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"name\":\"Example App\",\"queries\":[],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"4cbecc90-b8a4-49c4-9608-1a880d9d3de5\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"444afc7d-6572-42eb-b655-b8763ba2d032\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "3fbb37d7-7ebb-0217-970a-83d7832dc015" + "id": "eb2804a5-c50d-d6f3-1122-a88cc1a86a35" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/app-builder/apps/4cbecc90-b8a4-49c4-9608-1a880d9d3de5", + "path": "/api/v2/app-builder/apps/444afc7d-6572-42eb-b655-b8763ba2d032", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"4cbecc90-b8a4-49c4-9608-1a880d9d3de5\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"444afc7d-6572-42eb-b655-b8763ba2d032\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -53,6 +53,6 @@ "timeToLive": { "unlimited": true }, - "id": "6f9946bf-bb39-c08b-1efc-7838471a32d0" + "id": "0234ea5a-c365-c4dd-7545-c2e9b9c58785" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_App_returns_Not_Found_response.freeze b/src/test/resources/cassettes/features/v2/Delete_App_returns_Not_Found_response.freeze index e92ddd7d4b4..d59753b20fa 100644 --- a/src/test/resources/cassettes/features/v2/Delete_App_returns_Not_Found_response.freeze +++ b/src/test/resources/cassettes/features/v2/Delete_App_returns_Not_Found_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:37.755Z \ No newline at end of file +2025-01-30T22:30:42.199Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_App_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Delete_App_returns_Not_Found_response.json index 35d6ddb5787..dd4c284f49a 100644 --- a/src/test/resources/cassettes/features/v2/Delete_App_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_App_returns_Not_Found_response.json @@ -8,7 +8,7 @@ "secure": true }, "httpResponse": { - "body": "{\"errors\":[{\"title\":\"app not found\",\"detail\":\"app not found\"}]}", + "body": "{\"errors\":[{\"title\":\"app not found\"}]}", "headers": { "Content-Type": [ "application/vnd.api+json" diff --git a/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.freeze index b39282600f4..8d71c0bb47c 100644 --- a/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:37.852Z \ No newline at end of file +2025-01-30T22:30:42.276Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json index 4a6fb15ec7a..649092e3fca 100644 --- a/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_App_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"embeddedQueries\":[],\"name\":\"Example App\",\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"name\":\"Example App\",\"queries\":[],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"1d01a77d-1251-42fb-ab67-c99edfb26970\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"6d05b89a-db5e-4f7d-aa03-26ccd05be44e\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "820bad24-1ae4-7d45-b443-7591eb8052bf" + "id": "b8e7d077-8c77-c831-844b-014fb6c12fa9" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/app-builder/apps/1d01a77d-1251-42fb-ab67-c99edfb26970", + "path": "/api/v2/app-builder/apps/6d05b89a-db5e-4f7d-aa03-26ccd05be44e", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"1d01a77d-1251-42fb-ab67-c99edfb26970\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"6d05b89a-db5e-4f7d-aa03-26ccd05be44e\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -53,18 +53,18 @@ "timeToLive": { "unlimited": true }, - "id": "457caa5d-8eb8-6487-8fff-6a7d5b8e8dc1" + "id": "5e9e830b-64c7-95ef-4d78-399feeacb528" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/app-builder/apps/1d01a77d-1251-42fb-ab67-c99edfb26970", + "path": "/api/v2/app-builder/apps/6d05b89a-db5e-4f7d-aa03-26ccd05be44e", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"errors\":[{\"title\":\"app not found\",\"detail\":\"app not found\"}]}", + "body": "{\"errors\":[{\"title\":\"app not found\"}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -79,6 +79,6 @@ "timeToLive": { "unlimited": true }, - "id": "457caa5d-8eb8-6487-8fff-6a7d5b8e8dc2" + "id": "5e9e830b-64c7-95ef-4d78-399feeacb529" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_Not_Found_response.freeze b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_Not_Found_response.freeze index a502e206a86..1e20d6bc1e2 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_Not_Found_response.freeze +++ b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_Not_Found_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:38.331Z \ No newline at end of file +2025-01-30T22:30:42.693Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_Not_Found_response.json index 4714c6e51dc..c27c3e1a7db 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_Not_Found_response.json @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"errors\":[{\"title\":\"one or more apps not found\",\"detail\":\"one or more apps not found\"}]}", + "body": "{\"errors\":[{\"title\":\"one or more apps not found\"}]}", "headers": { "Content-Type": [ "application/vnd.api+json" diff --git a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.freeze index 0d90abf2676..d5d8aa92f4b 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:38.424Z \ No newline at end of file +2025-01-30T22:30:42.770Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json index a07ce0b4866..6b38f44e69b 100644 --- a/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Delete_Multiple_Apps_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"embeddedQueries\":[],\"name\":\"Example App\",\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"name\":\"Example App\",\"queries\":[],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"7b5a5fec-3026-47a9-acca-e01dc557af0a\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"91f80f89-33dc-4311-93fe-b4936275bc74\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,13 +27,13 @@ "timeToLive": { "unlimited": true }, - "id": "820bad24-1ae4-7d45-b443-7591eb8052be" + "id": "b8e7d077-8c77-c831-844b-014fb6c12fa8" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":[{\"id\":\"7b5a5fec-3026-47a9-acca-e01dc557af0a\",\"type\":\"appDefinitions\"}]}" + "json": "{\"data\":[{\"id\":\"91f80f89-33dc-4311-93fe-b4936275bc74\",\"type\":\"appDefinitions\"}]}" }, "headers": {}, "method": "DELETE", @@ -42,7 +42,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":[{\"id\":\"7b5a5fec-3026-47a9-acca-e01dc557af0a\",\"type\":\"appDefinitions\"}]}", + "body": "{\"data\":[{\"id\":\"91f80f89-33dc-4311-93fe-b4936275bc74\",\"type\":\"appDefinitions\"}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "cca5f80f-5590-2343-08b8-636c13c1e347" + "id": "481d7c51-735a-0c5a-5976-4dafd7e85b05" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/app-builder/apps/7b5a5fec-3026-47a9-acca-e01dc557af0a", + "path": "/api/v2/app-builder/apps/91f80f89-33dc-4311-93fe-b4936275bc74", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"errors\":[{\"title\":\"app not found\",\"detail\":\"app not found\"}]}", + "body": "{\"errors\":[{\"title\":\"app not found\"}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -83,6 +83,6 @@ "timeToLive": { "unlimited": true }, - "id": "e677c7b8-0fdc-51c1-e317-293ca94515de" + "id": "a8653446-84d3-0c11-1761-0aae84f7da8e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_App_returns_Not_Found_response.freeze b/src/test/resources/cassettes/features/v2/Get_App_returns_Not_Found_response.freeze index 7cdb4f55583..6c7b9a9df98 100644 --- a/src/test/resources/cassettes/features/v2/Get_App_returns_Not_Found_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_App_returns_Not_Found_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:38.801Z \ No newline at end of file +2025-01-30T22:30:43.135Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_App_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Get_App_returns_Not_Found_response.json index 36aedc688d2..0479cdb4111 100644 --- a/src/test/resources/cassettes/features/v2/Get_App_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Get_App_returns_Not_Found_response.json @@ -8,7 +8,7 @@ "secure": true }, "httpResponse": { - "body": "{\"errors\":[{\"title\":\"app not found\",\"detail\":\"app not found\"}]}", + "body": "{\"errors\":[{\"title\":\"app not found\"}]}", "headers": { "Content-Type": [ "application/vnd.api+json" diff --git a/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.freeze index 52d6e6be29a..bf7c9e277ef 100644 --- a/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:38.890Z \ No newline at end of file +2025-01-30T22:30:43.220Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json index 0e431f41735..4b772a88638 100644 --- a/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Get_App_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"embeddedQueries\":[],\"name\":\"Example App\",\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"name\":\"Example App\",\"queries\":[],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"862d8836-4fa8-494c-8760-5555eab08dda\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"25442f2c-fb75-4abe-b875-ed3497d2fc2c\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "820bad24-1ae4-7d45-b443-7591eb8052c1" + "id": "b8e7d077-8c77-c831-844b-014fb6c12fab" }, { "httpRequest": { "headers": {}, "method": "GET", - "path": "/api/v2/app-builder/apps/862d8836-4fa8-494c-8760-5555eab08dda", + "path": "/api/v2/app-builder/apps/25442f2c-fb75-4abe-b875-ed3497d2fc2c", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"862d8836-4fa8-494c-8760-5555eab08dda\",\"type\":\"appDefinitions\",\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"embeddedQueries\":[],\"favorite\":false,\"name\":\"Example App\",\"rootInstanceName\":\"grid0\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":15479137,\"user_uuid\":\"b3f98453-b289-11ef-a4e9-d6d283f92d91\",\"user_name\":\"oliver.li@datadoghq.com\",\"version\":1,\"updated_since_deployment\":false,\"created_at\":\"2025-01-09T20:40:38.983288Z\",\"updated_at\":\"2025-01-09T20:40:38.983288Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}}}", + "body": "{\"data\":{\"id\":\"25442f2c-fb75-4abe-b875-ed3497d2fc2c\",\"type\":\"appDefinitions\",\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"favorite\":false,\"name\":\"Example App\",\"queries\":[],\"rootInstanceName\":\"grid0\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":15479137,\"user_uuid\":\"b3f98453-b289-11ef-a4e9-d6d283f92d91\",\"user_name\":\"oliver.li@datadoghq.com\",\"version\":1,\"updated_since_deployment\":false,\"created_at\":\"2025-01-30T22:30:43.296595Z\",\"updated_at\":\"2025-01-30T22:30:43.296595Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -53,18 +53,18 @@ "timeToLive": { "unlimited": true }, - "id": "013a3f3d-2b03-342c-2fb2-864333e55db0" + "id": "870d6b19-06d2-60da-17d5-15f37c897c50" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/app-builder/apps/862d8836-4fa8-494c-8760-5555eab08dda", + "path": "/api/v2/app-builder/apps/25442f2c-fb75-4abe-b875-ed3497d2fc2c", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"862d8836-4fa8-494c-8760-5555eab08dda\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"25442f2c-fb75-4abe-b875-ed3497d2fc2c\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -79,6 +79,6 @@ "timeToLive": { "unlimited": true }, - "id": "c84edc13-9170-6243-de8e-7db02803d1a2" + "id": "38da5923-743e-516a-91e7-e2e7295d722d" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_Apps_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/List_Apps_returns_OK_response.freeze index 169b4473122..c70176b29cc 100644 --- a/src/test/resources/cassettes/features/v2/List_Apps_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/List_Apps_returns_OK_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:39.352Z \ No newline at end of file +2025-01-30T22:30:43.707Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/List_Apps_returns_OK_response.json b/src/test/resources/cassettes/features/v2/List_Apps_returns_OK_response.json index 39f5d9ccad8..9354f1e0078 100644 --- a/src/test/resources/cassettes/features/v2/List_Apps_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/List_Apps_returns_OK_response.json @@ -8,7 +8,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":[{\"id\":\"637107ff-d8af-4bc7-bf99-8b57e5ec6f5a\",\"type\":\"appDefinitions\",\"attributes\":{\"description\":\"\",\"favorite\":false,\"name\":\"[synthetics] app name 0123456789\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":7571471,\"user_uuid\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"user_name\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"version\":0,\"updated_since_deployment\":false,\"created_at\":\"2024-12-29T15:23:59.7047Z\",\"updated_at\":\"2024-12-29T15:23:59.957962Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}},{\"id\":\"0cc51f70-6f90-406e-880b-e2fac88e823a\",\"type\":\"appDefinitions\",\"attributes\":{\"description\":\"\",\"favorite\":false,\"name\":\"[synthetics] app name 0123456789\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":7571471,\"user_uuid\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"user_name\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"version\":0,\"updated_since_deployment\":false,\"created_at\":\"2024-12-18T11:48:55.89363Z\",\"updated_at\":\"2024-12-18T11:48:55.89363Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}},{\"id\":\"d595693a-473d-4671-9da3-fce89e3a5c5d\",\"type\":\"appDefinitions\",\"attributes\":{\"description\":\"\",\"favorite\":false,\"name\":\"Max's App Fri, Jul 12, 11:10:35 am\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":7571362,\"user_uuid\":\"3114f3a0-3fc9-11ef-acbe-a6def6551924\",\"user_name\":\"max.gale@datadoghq.com\",\"version\":0,\"updated_since_deployment\":false,\"created_at\":\"2024-07-12T15:10:48.690305Z\",\"updated_at\":\"2024-07-12T15:10:48.690305Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}}],\"meta\":{\"page\":{\"totalCount\":3,\"totalFilteredCount\":3}}}", + "body": "{\"data\":[{\"id\":\"31bfe961-ba29-4c43-85d8-f7d02afdb9a3\",\"type\":\"appDefinitions\",\"attributes\":{\"description\":\"\",\"favorite\":false,\"name\":\"[synthetics] app name 0123456789\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":7571471,\"user_uuid\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"user_name\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"version\":0,\"updated_since_deployment\":false,\"created_at\":\"2025-01-29T15:53:32.324305Z\",\"updated_at\":\"2025-01-29T15:53:32.324305Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}},{\"id\":\"2363c6a3-9077-4c58-a7e2-39f27ca42e02\",\"type\":\"appDefinitions\",\"attributes\":{\"description\":\"\",\"favorite\":false,\"name\":\"[synthetics] app name 0123456789\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":7571471,\"user_uuid\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"user_name\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"version\":0,\"updated_since_deployment\":false,\"created_at\":\"2025-01-23T00:18:13.328203Z\",\"updated_at\":\"2025-01-23T00:18:13.328203Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}},{\"id\":\"a5557ecf-17c6-43dc-b20f-6c77869777c1\",\"type\":\"appDefinitions\",\"attributes\":{\"description\":\"\",\"favorite\":false,\"name\":\"[synthetics] app name 0123456789\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":7571471,\"user_uuid\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"user_name\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"version\":0,\"updated_since_deployment\":false,\"created_at\":\"2025-01-22T17:17:39.807236Z\",\"updated_at\":\"2025-01-22T17:17:39.807236Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}},{\"id\":\"83ca3945-3c9f-4eb9-b46a-992a97f1acf3\",\"type\":\"appDefinitions\",\"attributes\":{\"description\":\"\",\"favorite\":false,\"name\":\"[synthetics] app name 0123456789\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":7571471,\"user_uuid\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"user_name\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"version\":0,\"updated_since_deployment\":false,\"created_at\":\"2025-01-22T13:16:57.34142Z\",\"updated_at\":\"2025-01-22T13:16:57.34142Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}},{\"id\":\"9e02b865-585b-4da0-b2c3-aab734317e93\",\"type\":\"appDefinitions\",\"attributes\":{\"description\":\"\",\"favorite\":false,\"name\":\"[synthetics] app name 0123456789\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":7571471,\"user_uuid\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"user_name\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"version\":0,\"updated_since_deployment\":false,\"created_at\":\"2025-01-22T10:47:57.329697Z\",\"updated_at\":\"2025-01-22T10:47:57.329697Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}},{\"id\":\"9ccf8f9b-d9ae-43ef-b1c6-c85e075a3ca7\",\"type\":\"appDefinitions\",\"attributes\":{\"description\":\"\",\"favorite\":false,\"name\":\"[synthetics] app name 0123456789\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":7571471,\"user_uuid\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"user_name\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"version\":0,\"updated_since_deployment\":false,\"created_at\":\"2025-01-21T23:30:39.902639Z\",\"updated_at\":\"2025-01-21T23:30:40.166756Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}},{\"id\":\"d21c6da5-cb04-4ee6-aa7d-3fe6b2fd0be3\",\"type\":\"appDefinitions\",\"attributes\":{\"description\":\"\",\"favorite\":false,\"name\":\"[synthetics] app name 0123456789\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":7571471,\"user_uuid\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"user_name\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"version\":0,\"updated_since_deployment\":false,\"created_at\":\"2025-01-21T22:36:50.399181Z\",\"updated_at\":\"2025-01-21T22:36:50.399181Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}},{\"id\":\"02343a47-9092-40a7-9464-aade9d617050\",\"type\":\"appDefinitions\",\"attributes\":{\"description\":\"\",\"favorite\":false,\"name\":\"[synthetics] app name 0123456789\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":7571471,\"user_uuid\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"user_name\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"version\":0,\"updated_since_deployment\":false,\"created_at\":\"2025-01-20T23:17:39.895098Z\",\"updated_at\":\"2025-01-20T23:17:40.19356Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}},{\"id\":\"be847238-5f04-4e50-9cce-facc0b8fbb09\",\"type\":\"appDefinitions\",\"attributes\":{\"description\":\"\",\"favorite\":false,\"name\":\"[synthetics] app name 0123456789\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":7571471,\"user_uuid\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"user_name\":\"01347f51-3fcd-11ef-95dd-a65df5ee2843\",\"version\":0,\"updated_since_deployment\":false,\"created_at\":\"2025-01-20T01:48:05.39422Z\",\"updated_at\":\"2025-01-20T01:48:05.39422Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}},{\"id\":\"4b562f9c-3fe4-49dc-9e08-4a704db958a8\",\"type\":\"appDefinitions\",\"attributes\":{\"description\":\"\",\"favorite\":false,\"name\":\"Kelly's App Thu, Jan 16, 1:13:37 pm\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":20776465,\"user_uuid\":\"8820640c-cdf5-11ef-b473-76727e778fd9\",\"user_name\":\"kelly.sun@datadoghq.com\",\"version\":0,\"updated_since_deployment\":false,\"created_at\":\"2025-01-16T18:14:00.896371Z\",\"updated_at\":\"2025-01-16T18:14:00.896371Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}}],\"meta\":{\"page\":{\"totalCount\":29,\"totalFilteredCount\":29}}}", "headers": { "Content-Type": [ "application/vnd.api+json" diff --git a/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.freeze b/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.freeze index ee1be769428..c28deba1baa 100644 --- a/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.freeze +++ b/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:39.474Z \ No newline at end of file +2025-01-30T22:30:43.820Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json b/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json index c76c4dc2525..56b5a264eff 100644 --- a/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json +++ b/src/test/resources/cassettes/features/v2/Publish_App_returns_Created_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"embeddedQueries\":[],\"name\":\"Example App\",\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"name\":\"Example App\",\"queries\":[],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"f33cfd55-b517-4c29-862b-45c99742ed0e\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"4e22b013-8758-49b7-98ea-0b2508c97bbf\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "820bad24-1ae4-7d45-b443-7591eb8052c3" + "id": "b8e7d077-8c77-c831-844b-014fb6c12fad" }, { "httpRequest": { "headers": {}, "method": "POST", - "path": "/api/v2/app-builder/apps/f33cfd55-b517-4c29-862b-45c99742ed0e/deployment", + "path": "/api/v2/app-builder/apps/4e22b013-8758-49b7-98ea-0b2508c97bbf/deployment", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"01087e5d-de82-4a28-bf05-d2e66ec4ed44\",\"type\":\"deployment\",\"attributes\":{\"app_version_id\":\"f638f430-5534-447f-85c8-860693539ff6\"},\"meta\":{\"created_at\":\"2025-01-09T20:40:39.764785Z\",\"user_id\":15479137,\"user_uuid\":\"b3f98453-b289-11ef-a4e9-d6d283f92d91\",\"user_name\":\"oliver.li@datadoghq.com\"}}}", + "body": "{\"data\":{\"id\":\"62438b66-95eb-47d3-b540-a5d4b0b0a791\",\"type\":\"deployment\",\"attributes\":{\"app_version_id\":\"178fbd22-f8b5-4841-92eb-f8c1c03d44c1\"},\"meta\":{\"created_at\":\"2025-01-30T22:30:44.12194Z\",\"user_id\":15479137,\"user_uuid\":\"b3f98453-b289-11ef-a4e9-d6d283f92d91\",\"user_name\":\"oliver.li@datadoghq.com\"}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -53,18 +53,18 @@ "timeToLive": { "unlimited": true }, - "id": "82f3f4cf-21de-10d5-1f63-7685a2c869dd" + "id": "8287658c-6e1c-bb6a-486a-73edd26af881" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/app-builder/apps/f33cfd55-b517-4c29-862b-45c99742ed0e", + "path": "/api/v2/app-builder/apps/4e22b013-8758-49b7-98ea-0b2508c97bbf", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"f33cfd55-b517-4c29-862b-45c99742ed0e\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"4e22b013-8758-49b7-98ea-0b2508c97bbf\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -79,6 +79,6 @@ "timeToLive": { "unlimited": true }, - "id": "00e0a51b-9ee2-1c19-dea8-a77cef62e3c5" + "id": "bbf23951-1d38-f770-32bd-f15be7a906ef" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Publish_App_returns_Not_Found_response.freeze b/src/test/resources/cassettes/features/v2/Publish_App_returns_Not_Found_response.freeze index 3a40add39a6..3a29d90cff8 100644 --- a/src/test/resources/cassettes/features/v2/Publish_App_returns_Not_Found_response.freeze +++ b/src/test/resources/cassettes/features/v2/Publish_App_returns_Not_Found_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:39.992Z \ No newline at end of file +2025-01-30T22:30:44.372Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Publish_App_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Publish_App_returns_Not_Found_response.json index 6d27457df7a..ce59a00c67a 100644 --- a/src/test/resources/cassettes/features/v2/Publish_App_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Publish_App_returns_Not_Found_response.json @@ -8,7 +8,7 @@ "secure": true }, "httpResponse": { - "body": "{\"errors\":[{\"title\":\"app not found\",\"detail\":\"app not found\"}]}", + "body": "{\"errors\":[{\"title\":\"app not found\"}]}", "headers": { "Content-Type": [ "application/vnd.api+json" diff --git a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_Not_Found_response.freeze b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_Not_Found_response.freeze index 89158226aa3..4e09395f987 100644 --- a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_Not_Found_response.freeze +++ b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_Not_Found_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:40.084Z \ No newline at end of file +2025-01-30T22:30:44.457Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_Not_Found_response.json b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_Not_Found_response.json index 7a1a68552c6..3606a6164f5 100644 --- a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_Not_Found_response.json +++ b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_Not_Found_response.json @@ -8,7 +8,7 @@ "secure": true }, "httpResponse": { - "body": "{\"errors\":[{\"title\":\"app not found\",\"detail\":\"app not found\"}]}", + "body": "{\"errors\":[{\"title\":\"app not found\"}]}", "headers": { "Content-Type": [ "application/vnd.api+json" diff --git a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.freeze index 7caa9400c89..fbc38a5c7cf 100644 --- a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:40.161Z \ No newline at end of file +2025-01-30T22:30:44.533Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json index d173d4c08da..839d8eeae3c 100644 --- a/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Unpublish_App_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"embeddedQueries\":[],\"name\":\"Example App\",\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"name\":\"Example App\",\"queries\":[],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"5a291e81-8d65-4404-a700-2c3d46b1da47\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"74865138-3856-43bf-b309-e6c5f5599e36\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,18 +27,18 @@ "timeToLive": { "unlimited": true }, - "id": "820bad24-1ae4-7d45-b443-7591eb8052bd" + "id": "b8e7d077-8c77-c831-844b-014fb6c12fa7" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/app-builder/apps/5a291e81-8d65-4404-a700-2c3d46b1da47/deployment", + "path": "/api/v2/app-builder/apps/74865138-3856-43bf-b309-e6c5f5599e36/deployment", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"8c318f17-b117-4ea5-b01d-b02db78134bb\",\"type\":\"deployment\",\"attributes\":{\"app_version_id\":\"00000000-0000-0000-0000-000000000000\"},\"meta\":{\"created_at\":\"2025-01-09T20:40:40.464096Z\",\"user_id\":15479137,\"user_uuid\":\"b3f98453-b289-11ef-a4e9-d6d283f92d91\",\"user_name\":\"oliver.li@datadoghq.com\"}}}", + "body": "{\"data\":{\"id\":\"b8434408-826f-4fea-bd27-786526d74e30\",\"type\":\"deployment\",\"attributes\":{\"app_version_id\":\"00000000-0000-0000-0000-000000000000\"},\"meta\":{\"created_at\":\"2025-01-30T22:30:44.827748Z\",\"user_id\":15479137,\"user_uuid\":\"b3f98453-b289-11ef-a4e9-d6d283f92d91\",\"user_name\":\"oliver.li@datadoghq.com\"}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -53,18 +53,18 @@ "timeToLive": { "unlimited": true }, - "id": "f6035cdf-8e5b-4d3b-0272-623ff11e241d" + "id": "e2cfc50b-7aed-ede7-b7ea-df1b0d749561" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/app-builder/apps/5a291e81-8d65-4404-a700-2c3d46b1da47", + "path": "/api/v2/app-builder/apps/74865138-3856-43bf-b309-e6c5f5599e36", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"5a291e81-8d65-4404-a700-2c3d46b1da47\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"74865138-3856-43bf-b309-e6c5f5599e36\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -79,6 +79,6 @@ "timeToLive": { "unlimited": true }, - "id": "4a84fd22-ab4b-631e-a1d8-91e850e06765" + "id": "a0b39d4c-5937-b304-4d99-c9178ea9dd7e" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.freeze b/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.freeze index 67b5e984d6c..84b4273039a 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:40.664Z \ No newline at end of file +2025-01-30T22:30:45.101Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json b/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json index 70b58cc4733..0d1e03261f6 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json +++ b/src/test/resources/cassettes/features/v2/Update_App_returns_Bad_Request_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"embeddedQueries\":[],\"name\":\"Example App\",\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"name\":\"Example App\",\"queries\":[],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"b3f997e6-a9db-4984-a560-23005049c5f3\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"3800673b-840c-4c3a-8815-058b4a8ce38e\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "820bad24-1ae4-7d45-b443-7591eb8052c0" + "id": "b8e7d077-8c77-c831-844b-014fb6c12faa" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"rootInstanceName\":\"\"},\"id\":\"b3f997e6-a9db-4984-a560-23005049c5f3\",\"type\":\"appDefinitions\"}}" + "json": "{\"data\":{\"attributes\":{\"rootInstanceName\":\"\"},\"id\":\"3800673b-840c-4c3a-8815-058b4a8ce38e\",\"type\":\"appDefinitions\"}}" }, "headers": {}, "method": "PATCH", - "path": "/api/v2/app-builder/apps/b3f997e6-a9db-4984-a560-23005049c5f3", + "path": "/api/v2/app-builder/apps/3800673b-840c-4c3a-8815-058b4a8ce38e", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"errors\":[{\"title\":\"missing required field\",\"detail\":\"missing required field\",\"source\":{\"pointer\":\"/data/attributes/rootInstanceName\"}}]}", + "body": "{\"errors\":[{\"title\":\"missing required field\",\"source\":{\"pointer\":\"/data/attributes/rootInstanceName\"}}]}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "f0b0b525-922a-f9bb-68c8-3d0d65a5f15e" + "id": "549223ff-f939-0d8e-9e85-13e16de11161" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/app-builder/apps/b3f997e6-a9db-4984-a560-23005049c5f3", + "path": "/api/v2/app-builder/apps/3800673b-840c-4c3a-8815-058b4a8ce38e", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"b3f997e6-a9db-4984-a560-23005049c5f3\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"3800673b-840c-4c3a-8815-058b4a8ce38e\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -83,6 +83,6 @@ "timeToLive": { "unlimited": true }, - "id": "4bd748f4-034f-7f8f-0e97-94ff64d8d37c" + "id": "066cbef5-ca0d-73d1-805e-791cd434dfff" } ] \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.freeze b/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.freeze index 920baa8fa2d..0c72a214a00 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.freeze +++ b/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.freeze @@ -1 +1 @@ -2025-01-09T20:40:41.221Z \ No newline at end of file +2025-01-30T22:30:45.511Z \ No newline at end of file diff --git a/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json b/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json index ba60ec32853..2049e9ae6a5 100644 --- a/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json +++ b/src/test/resources/cassettes/features/v2/Update_App_returns_OK_response.json @@ -3,7 +3,7 @@ "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"embeddedQueries\":[],\"name\":\"Example App\",\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" + "json": "{\"data\":{\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"name\":\"Example App\",\"queries\":[],\"rootInstanceName\":\"grid0\"},\"type\":\"appDefinitions\"}}" }, "headers": {}, "method": "POST", @@ -12,7 +12,7 @@ "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"b5820444-b12a-48d2-9cf2-231d6a3e8858\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"892d9225-fd31-4237-b218-e964ac33fc71\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -27,22 +27,22 @@ "timeToLive": { "unlimited": true }, - "id": "820bad24-1ae4-7d45-b443-7591eb8052c2" + "id": "b8e7d077-8c77-c831-844b-014fb6c12fac" }, { "httpRequest": { "body": { "type": "JSON", - "json": "{\"data\":{\"attributes\":{\"name\":\"Updated Name\",\"rootInstanceName\":\"grid0\"},\"id\":\"b5820444-b12a-48d2-9cf2-231d6a3e8858\",\"type\":\"appDefinitions\"}}" + "json": "{\"data\":{\"attributes\":{\"name\":\"Updated Name\",\"rootInstanceName\":\"grid0\"},\"id\":\"892d9225-fd31-4237-b218-e964ac33fc71\",\"type\":\"appDefinitions\"}}" }, "headers": {}, "method": "PATCH", - "path": "/api/v2/app-builder/apps/b5820444-b12a-48d2-9cf2-231d6a3e8858", + "path": "/api/v2/app-builder/apps/892d9225-fd31-4237-b218-e964ac33fc71", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"b5820444-b12a-48d2-9cf2-231d6a3e8858\",\"type\":\"appDefinitions\",\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"embeddedQueries\":[],\"favorite\":false,\"name\":\"Updated Name\",\"rootInstanceName\":\"grid0\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":15479137,\"user_uuid\":\"b3f98453-b289-11ef-a4e9-d6d283f92d91\",\"user_name\":\"oliver.li@datadoghq.com\",\"version\":2,\"updated_since_deployment\":false,\"created_at\":\"2025-01-09T20:40:41.309534Z\",\"updated_at\":\"2025-01-09T20:40:41.499741Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}}}", + "body": "{\"data\":{\"id\":\"892d9225-fd31-4237-b218-e964ac33fc71\",\"type\":\"appDefinitions\",\"attributes\":{\"components\":[{\"events\":[],\"name\":\"grid0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"gridCell0\",\"properties\":{\"children\":[{\"events\":[],\"name\":\"calloutValue0\",\"properties\":{\"isDisabled\":false,\"isLoading\":false,\"isVisible\":true,\"label\":\"CPU Usage\",\"size\":\"sm\",\"style\":\"vivid_yellow\",\"unit\":\"kB\",\"value\":\"42\"},\"type\":\"calloutValue\"}],\"isVisible\":\"true\",\"layout\":{\"default\":{\"height\":8,\"width\":2,\"x\":0,\"y\":0}}},\"type\":\"gridCell\"}]},\"type\":\"grid\"}],\"description\":\"This is a simple example app\",\"favorite\":false,\"name\":\"Updated Name\",\"queries\":[],\"rootInstanceName\":\"grid0\",\"selfService\":false,\"tags\":[]},\"meta\":{\"org_id\":1107852,\"user_id\":15479137,\"user_uuid\":\"b3f98453-b289-11ef-a4e9-d6d283f92d91\",\"user_name\":\"oliver.li@datadoghq.com\",\"version\":2,\"updated_since_deployment\":false,\"created_at\":\"2025-01-30T22:30:45.584607Z\",\"updated_at\":\"2025-01-30T22:30:45.785438Z\",\"deleted_at\":\"0001-01-01T00:00:00Z\"}}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -57,18 +57,18 @@ "timeToLive": { "unlimited": true }, - "id": "bc194ba3-3de7-1e71-0c3e-eb036e0e371e" + "id": "8fe8d822-0f46-5d3e-0143-f25cc28d3671" }, { "httpRequest": { "headers": {}, "method": "DELETE", - "path": "/api/v2/app-builder/apps/b5820444-b12a-48d2-9cf2-231d6a3e8858", + "path": "/api/v2/app-builder/apps/892d9225-fd31-4237-b218-e964ac33fc71", "keepAlive": false, "secure": true }, "httpResponse": { - "body": "{\"data\":{\"id\":\"b5820444-b12a-48d2-9cf2-231d6a3e8858\",\"type\":\"appDefinitions\"}}", + "body": "{\"data\":{\"id\":\"892d9225-fd31-4237-b218-e964ac33fc71\",\"type\":\"appDefinitions\"}}", "headers": { "Content-Type": [ "application/vnd.api+json" @@ -83,6 +83,6 @@ "timeToLive": { "unlimited": true }, - "id": "f10abe38-508c-9a27-0775-ce45168975cd" + "id": "0a25ac3c-b220-ea14-fef4-3134607b158f" } ] \ No newline at end of file diff --git a/src/test/resources/com/datadog/api/client/v2/api/app_builder.feature b/src/test/resources/com/datadog/api/client/v2/api/app_builder.feature index e0385bdb832..1c8226e8970 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/app_builder.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/app_builder.feature @@ -14,17 +14,17 @@ Feature: App Builder Scenario: Create App returns "Bad Request" response Given operation "CreateApp" enabled And new "CreateApp" request - And body with value {"data": {"attributes": {"description": "This is a bad example app", "embeddedQueries": [], "rootInstanceName": "grid0"}, "type": "appDefinitions"}} + And body with value {"data": {"attributes": {"description": "This is a bad example app", "queries": [], "rootInstanceName": "grid0"}, "type": "appDefinitions"}} When the request is sent Then the response status is 400 Bad Request And the response "errors" has length 1 - And the response "errors[0].detail" is equal to "missing required field" + And the response "errors[0].title" is equal to "missing required field" @skip-typescript @team:DataDog/app-builder-backend Scenario: Create App returns "Created" response Given operation "CreateApp" enabled And new "CreateApp" request - And body with value {"data": {"attributes": {"components": [{"events": [], "name": "grid0", "properties": {"children": [{"events": [], "name": "gridCell0", "properties": {"children": [{"events": [], "name": "calloutValue0", "properties": {"isVisible": true, "isUnpublishd": false, "isLoading": false, "label": "CPU Usage", "size": "sm", "style": "vivid_yellow", "unit": "kB", "value": "42"}, "type": "calloutValue"}], "isVisible": "true", "layout": {"default": {"height": 8, "width": 2, "x": 0, "y": 0}}}, "type": "gridCell"}]}, "type": "grid"}], "description": "This is a simple example app", "embeddedQueries": [], "name": "Example App", "rootInstanceName": "grid0"}, "type": "appDefinitions"}} + And body with value {"data": {"attributes": {"components": [{"events": [], "name": "grid0", "properties": {"children": [{"events": [], "name": "gridCell0", "properties": {"children": [{"events": [], "name": "calloutValue0", "properties": {"isVisible": true, "isUnpublishd": false, "isLoading": false, "label": "CPU Usage", "size": "sm", "style": "vivid_yellow", "unit": "kB", "value": "42"}, "type": "calloutValue"}], "isVisible": "true", "layout": {"default": {"height": 8, "width": 2, "x": 0, "y": 0}}}, "type": "gridCell"}]}, "type": "grid"}], "description": "This is a simple example app", "queries": [], "name": "Example App", "rootInstanceName": "grid0"}, "type": "appDefinitions"}} When the request is sent Then the response status is 201 Created And the response "data.type" is equal to "appDefinitions" @@ -192,7 +192,7 @@ Feature: App Builder When the request is sent Then the response status is 400 Bad Request And the response "errors" has length 1 - And the response "errors[0].detail" is equal to "missing required field" + And the response "errors[0].title" is equal to "missing required field" @skip-typescript @team:DataDog/app-builder-backend Scenario: Update App returns "OK" response diff --git a/src/test/resources/com/datadog/api/client/v2/api/given.json b/src/test/resources/com/datadog/api/client/v2/api/given.json index 79b780cf5c8..b33ac88a36d 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/given.json +++ b/src/test/resources/com/datadog/api/client/v2/api/given.json @@ -63,7 +63,7 @@ "parameters": [ { "name": "body", - "value": "{\"data\": {\"attributes\": {\"components\": [{\"events\": [], \"name\": \"grid0\", \"properties\": {\"children\": [{\"events\": [], \"name\": \"gridCell0\", \"properties\": {\"children\": [{\"events\": [], \"name\": \"calloutValue0\", \"properties\": {\"isDisabled\": false, \"isLoading\": false, \"isVisible\": true, \"label\": \"CPU Usage\", \"size\": \"sm\", \"style\": \"vivid_yellow\", \"unit\": \"kB\", \"value\": \"42\"}, \"type\": \"calloutValue\"}], \"isVisible\": \"true\", \"layout\": {\"default\": {\"height\": 8, \"width\": 2, \"x\": 0, \"y\": 0}}}, \"type\": \"gridCell\"}]}, \"type\": \"grid\"}], \"description\": \"This is a simple example app\", \"embeddedQueries\": [], \"name\": \"Example App\", \"rootInstanceName\": \"grid0\"}, \"type\": \"appDefinitions\"}}" + "value": "{\"data\": {\"attributes\": {\"components\": [{\"events\": [], \"name\": \"grid0\", \"properties\": {\"children\": [{\"events\": [], \"name\": \"gridCell0\", \"properties\": {\"children\": [{\"events\": [], \"name\": \"calloutValue0\", \"properties\": {\"isDisabled\": false, \"isLoading\": false, \"isVisible\": true, \"label\": \"CPU Usage\", \"size\": \"sm\", \"style\": \"vivid_yellow\", \"unit\": \"kB\", \"value\": \"42\"}, \"type\": \"calloutValue\"}], \"isVisible\": \"true\", \"layout\": {\"default\": {\"height\": 8, \"width\": 2, \"x\": 0, \"y\": 0}}}, \"type\": \"gridCell\"}]}, \"type\": \"grid\"}], \"description\": \"This is a simple example app\", \"queries\": [], \"name\": \"Example App\", \"rootInstanceName\": \"grid0\"}, \"type\": \"appDefinitions\"}}" } ], "step": "there is a valid \"app\" in the system",