From 526f8af2365d490d821d572b97f06afb033afd2c Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Tue, 31 Aug 2021 16:24:20 +0000
Subject: [PATCH 02/14] Update AutoDoc
---
docs/REST API JSONs.md | 104 ++++++++++++++++++++++-------------------
1 file changed, 55 insertions(+), 49 deletions(-)
diff --git a/docs/REST API JSONs.md b/docs/REST API JSONs.md
index be935d0eed..a27b2fbe09 100644
--- a/docs/REST API JSONs.md
+++ b/docs/REST API JSONs.md
@@ -760,7 +760,7 @@ Supported Fields:
| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/models/config/FrontendConfig.java#L24) | thousandSeparator | `String` | `"."` | | |
-### Type ExecutionStatus [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L18)
+### Type ExecutionStatus [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L20)Details
@@ -771,22 +771,24 @@ Supported Fields:
| | Field | Type | Default | Example | Description |
| --- | --- | --- | --- | --- | --- |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L28) | createdAt | `ZonedDateTime` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L36) | id | ID of `ManagedExecution` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L25) | label | `String` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L29) | lastUsed | `ZonedDateTime` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L38) | numberOfResults | `long` or `null` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L33) | own | `boolean` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L30) | owner | ID of `User` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L31) | ownerName | `String` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L41) | queryType | `String` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L39) | requiredTime | `long` or `null` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L45-L47) | resultUrls | list of `URL` | ? | | The urls under from which the result of the execution can be downloaded as soon as it finished successfully. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L42) | secondaryId | ID of `SecondaryIdDescription` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L32) | shared | `boolean` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L37) | status | one of NEW, RUNNING, FAILED, DONE | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L34) | system | `boolean` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L24) | tags | list of `String` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L30) | createdAt | `ZonedDateTime` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L44) | finishTime | `LocalDateTime` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L38) | id | ID of `ManagedExecution` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L27) | label | `String` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L31) | lastUsed | `ZonedDateTime` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L40) | numberOfResults | `long` or `null` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L35) | own | `boolean` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L32) | owner | ID of `User` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L33) | ownerName | `String` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L46) | queryType | `String` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L41) | requiredTime | `long` or `null` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L50-L52) | resultUrls | list of `URL` | ? | | The urls under from which the result of the execution can be downloaded as soon as it finished successfully. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L47) | secondaryId | ID of `SecondaryIdDescription` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L34) | shared | `boolean` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L43) | startTime | `LocalDateTime` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L39) | status | one of NEW, RUNNING, FAILED, DONE | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L36) | system | `boolean` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L26) | tags | list of `String` | ? | | |
### Type FERoot [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/frontend/FERoot.java#L11-L13)
@@ -899,22 +901,24 @@ Supported Fields:
| | Field | Type | Default | Example | Description |
| --- | --- | --- | --- | --- | --- |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L28) | createdAt | `ZonedDateTime` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L36) | id | ID of `ManagedExecution` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L25) | label | `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L29) | lastUsed | `ZonedDateTime` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L38) | numberOfResults | `long` or `null` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L33) | own | `boolean` | `false` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L30) | owner | ID of `User` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L31) | ownerName | `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L41) | queryType | `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L39) | requiredTime | `long` or `null` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L45-L47) | resultUrls | list of `URL` | `[]` | | The urls under from which the result of the execution can be downloaded as soon as it finished successfully. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L42) | secondaryId | ID of `SecondaryIdDescription` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L32) | shared | `boolean` | `false` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L37) | status | one of NEW, RUNNING, FAILED, DONE | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L34) | system | `boolean` | `false` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L24) | tags | list of `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L30) | createdAt | `ZonedDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L44) | finishTime | `LocalDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L38) | id | ID of `ManagedExecution` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L27) | label | `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L31) | lastUsed | `ZonedDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L40) | numberOfResults | `long` or `null` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L35) | own | `boolean` | `false` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L32) | owner | ID of `User` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L33) | ownerName | `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L46) | queryType | `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L41) | requiredTime | `long` or `null` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L50-L52) | resultUrls | list of `URL` | `[]` | | The urls under from which the result of the execution can be downloaded as soon as it finished successfully. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L47) | secondaryId | ID of `SecondaryIdDescription` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L34) | shared | `boolean` | `false` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L43) | startTime | `LocalDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L39) | status | one of NEW, RUNNING, FAILED, DONE | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L36) | system | `boolean` | `false` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L26) | tags | list of `String` | `null` | | |
| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L64-L66) | availableSecondaryIds | list of ID of `@NsIdRefCollection Set` | `null` | | Possible {@link SecondaryIdDescription}s available, of {@link com.bakdata.conquery.models.datasets.concepts.Concept}s used in this Query. |
| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L44-L46) | canExpand | `boolean` | `false` | | Indicates if the concepts that are included in the query description can be accessed by the user. |
| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L39-L41) | columnDescriptions | list of `ColumnDescriptor` | `null` | | Holds a description for each column, present in the result. |
@@ -962,22 +966,24 @@ Supported Fields:
| | Field | Type | Default | Example | Description |
| --- | --- | --- | --- | --- | --- |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L28) | createdAt | `ZonedDateTime` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L36) | id | ID of `ManagedExecution` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L25) | label | `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L29) | lastUsed | `ZonedDateTime` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L38) | numberOfResults | `long` or `null` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L33) | own | `boolean` | `false` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L30) | owner | ID of `User` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L31) | ownerName | `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L41) | queryType | `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L39) | requiredTime | `long` or `null` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L45-L47) | resultUrls | list of `URL` | `[]` | | The urls under from which the result of the execution can be downloaded as soon as it finished successfully. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L42) | secondaryId | ID of `SecondaryIdDescription` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L32) | shared | `boolean` | `false` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L37) | status | one of NEW, RUNNING, FAILED, DONE | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L34) | system | `boolean` | `false` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L24) | tags | list of `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L30) | createdAt | `ZonedDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L44) | finishTime | `LocalDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L38) | id | ID of `ManagedExecution` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L27) | label | `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L31) | lastUsed | `ZonedDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L40) | numberOfResults | `long` or `null` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L35) | own | `boolean` | `false` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L32) | owner | ID of `User` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L33) | ownerName | `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L46) | queryType | `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L41) | requiredTime | `long` or `null` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L50-L52) | resultUrls | list of `URL` | `[]` | | The urls under from which the result of the execution can be downloaded as soon as it finished successfully. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L47) | secondaryId | ID of `SecondaryIdDescription` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L34) | shared | `boolean` | `false` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L43) | startTime | `LocalDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L39) | status | one of NEW, RUNNING, FAILED, DONE | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L36) | system | `boolean` | `false` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L26) | tags | list of `String` | `null` | | |
### Type ResolvedConceptsResult [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/resources/api/ConceptsProcessor.java#L260)
From 574b15ce64b18bc83ad50b61c01bae326002e1ef Mon Sep 17 00:00:00 2001
From: Njimefo <34373197+Njimefo@users.noreply.github.com>
Date: Wed, 1 Sep 2021 15:08:56 +0200
Subject: [PATCH 03/14] Update
backend/src/main/java/com/bakdata/conquery/resources/admin/rest/AdminResource.java
Co-authored-by: awildturtok <1553491+awildturtok@users.noreply.github.com>
---
.../bakdata/conquery/resources/admin/rest/AdminResource.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/AdminResource.java b/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/AdminResource.java
index 9d5aa35cc2..ffbc347394 100644
--- a/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/AdminResource.java
+++ b/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/AdminResource.java
@@ -95,7 +95,7 @@ public ImmutableMap getJobs() {
public FullExecutionStatus[] getQueries(@Auth User currentUser) {
final MetaStorage storage = processor.getStorage();
final DatasetRegistry datasetRegistry = processor.getDatasetRegistry();
- return processor.getStorage().getAllExecutions().stream().map(t->t.buildStatusFull(storage, currentUser, datasetRegistry)).toArray(FullExecutionStatus[]::new);
+ return storage.getAllExecutions().stream().map(t->t.buildStatusFull(storage, currentUser, datasetRegistry)).toArray(FullExecutionStatus[]::new);
}
From 7bf0fb5c723c49f6b7ed008dcbcc90ef50abf99e Mon Sep 17 00:00:00 2001
From: Brandon Tietse
Date: Thu, 2 Sep 2021 15:50:16 +0200
Subject: [PATCH 04/14] Admin UI for live view of queries adapted
---
.../conquery/apiv1/FullExecutionStatus.java | 7 +
.../models/execution/ManagedExecution.java | 3 +
.../resources/admin/rest/AdminResource.java | 300 +-----------------
.../resources/admin/rest/UIProcessor.java | 5 -
.../resources/admin/ui/queries.html.ftl | 122 +++----
.../tests/endpoints/adminEndpointInfo.json | 5 +
6 files changed, 84 insertions(+), 358 deletions(-)
diff --git a/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java b/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java
index 2a1996d35b..85783544c8 100644
--- a/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java
+++ b/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java
@@ -16,6 +16,9 @@
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldNameConstants;
+import com.bakdata.conquery.models.i18n.I18n;
+
+import static org.apache.shiro.util.StringUtils.hasText;
/**
* This status holds extensive information about the query description and meta data that is computational heavy
@@ -28,6 +31,10 @@
@FieldNameConstants
public class FullExecutionStatus extends ExecutionStatus {
+ /**
+ * Indicates the actual language of system
+ */
+ private String languageTag;
/**
* The estimated progress of an running execution in the enclosing interval [0-1].
* This value does not have to be set if the state is RUNNING and it must not be set
diff --git a/backend/src/main/java/com/bakdata/conquery/models/execution/ManagedExecution.java b/backend/src/main/java/com/bakdata/conquery/models/execution/ManagedExecution.java
index 33702ce615..03e610144a 100644
--- a/backend/src/main/java/com/bakdata/conquery/models/execution/ManagedExecution.java
+++ b/backend/src/main/java/com/bakdata/conquery/models/execution/ManagedExecution.java
@@ -60,6 +60,8 @@
import org.apache.commons.lang3.ArrayUtils;
import org.apache.shiro.authz.Permission;
+import static org.apache.shiro.util.StringUtils.hasText;
+
@Getter
@Setter
@ToString
@@ -277,6 +279,7 @@ public FullExecutionStatus buildStatusFull(@NonNull MetaStorage storage, User us
setAvailableSecondaryIds(status);
status.setProgress(progress);
+ status.setLanguageTag(I18n.LOCALE.get().getLanguage() + (hasText(I18n.LOCALE.get().getCountry()) ? "-" + I18n.LOCALE.get().getCountry() : ""));
if (getState().equals(ExecutionState.FAILED) && error != null) {
// Use plain format here to have a uniform serialization.
diff --git a/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/AdminResource.java b/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/AdminResource.java
index ffbc347394..6577246d45 100644
--- a/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/AdminResource.java
+++ b/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/AdminResource.java
@@ -11,6 +11,7 @@
import com.bakdata.conquery.models.error.ConqueryError;
import com.bakdata.conquery.models.execution.ExecutionState;
import com.bakdata.conquery.models.execution.ManagedExecution;
+import com.bakdata.conquery.models.i18n.I18n;
import com.bakdata.conquery.models.identifiable.ids.specific.DatasetId;
import com.bakdata.conquery.models.identifiable.ids.specific.ManagedExecutionId;
import com.bakdata.conquery.models.jobs.JobManagerStatus;
@@ -26,6 +27,7 @@
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.UriBuilder;
+import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.ZonedDateTime;
import java.util.List;
@@ -33,6 +35,7 @@
import java.util.UUID;
import static com.bakdata.conquery.resources.ResourceConstants.JOB_ID;
+import static org.apache.shiro.util.StringUtils.hasText;
@Consumes({ExtraMimeTypes.JSON_STRING, ExtraMimeTypes.SMILE_STRING})
@Produces(ExtraMimeTypes.JSON_STRING)
@@ -88,302 +91,15 @@ public ImmutableMap getJobs() {
}
-
-
@GET
@Path("/queries")
public FullExecutionStatus[] getQueries(@Auth User currentUser) {
final MetaStorage storage = processor.getStorage();
final DatasetRegistry datasetRegistry = processor.getDatasetRegistry();
- return storage.getAllExecutions().stream().map(t->t.buildStatusFull(storage, currentUser, datasetRegistry)).toArray(FullExecutionStatus[]::new);
- }
-
-
-
- // For test purposes
-/*
- @GET
- @Path("/queries")
- public FullExecutionStatus[] getQueries() {
- CQAnd root = new CQAnd();
- CQConcept e1 = new CQConcept();
- e1.setLabel("Concept Label");
- root.setChildren(List.of(e1));
- Query testQuery = new ConceptQuery(root);
-
- FullExecutionStatus[] result = new FullExecutionStatus[]{
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset2"),UUID.randomUUID()));
- setOwnerName("Doriane");
- setQueryType("QueryType1");
- setStatus(ExecutionState.NEW);
- setLabel("dataset2Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(3));
- setFinishTime(LocalDateTime.now().plusMinutes(5));
- setRequiredTime(3400L);
- setProgress(0F);
- setError(null);
- setQuery(testQuery);
- }
- },
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset2"),UUID.randomUUID()));
- setOwnerName("Doriane");
- setQueryType("QueryType2");
- setStatus(ExecutionState.RUNNING);
- setLabel("dataset2Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(12));
- setFinishTime(LocalDateTime.now().plusMinutes(33));
- setRequiredTime(300L);
- setProgress(78.9F);
- setError(null);
- setQuery(testQuery);
- }
- },
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset2"),UUID.randomUUID()));
- setOwnerName("Doriane");
- setQueryType("QueryType3");
- setStatus(ExecutionState.FAILED);
- setLabel("dataset2Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(1));
- setFinishTime(null);
- setRequiredTime(120L);
- setProgress(12.6F);
- setError(ConqueryError.asConqueryError(new IllegalStateException()));
- setQuery(testQuery);
- }
- },
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset2"),UUID.randomUUID()));
- setOwnerName("Doriane");
- setQueryType("QueryType4");
- setStatus(ExecutionState.DONE);
- setLabel("dataset2Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(2));
- setFinishTime(LocalDateTime.now().plusMinutes(3));
- setRequiredTime(200L);
- setProgress(99F);
- setError(null);
- setQuery(testQuery);
- }
- },
-
-
-
-
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset3"),UUID.randomUUID()));
- setOwnerName("David");
- setQueryType("QueryType1");
- setStatus(ExecutionState.NEW);
- setLabel("dataset3Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(2));
- setFinishTime(LocalDateTime.now().plusMinutes(3));
- setRequiredTime(200L);
- setProgress(0F);
- setError(null);
- setQuery(testQuery);
- }
- },
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset3"),UUID.randomUUID()));
- setOwnerName("David");
- setQueryType("QueryType2");
- setStatus(ExecutionState.RUNNING);
- setLabel("dataset3Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(21));
- setFinishTime(LocalDateTime.now().plusMinutes(32));
- setRequiredTime(300L);
- setProgress(43.1F);
- setError(null);
- setQuery(testQuery);
- }
- },
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset3"),UUID.randomUUID()));
- setOwnerName("David");
- setQueryType("QueryType3");
- setStatus(ExecutionState.FAILED);
- setLabel("dataset3Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(2));
- setFinishTime(null);
- setRequiredTime(120L);
- setProgress(78.3F);
- setError(ConqueryError.asConqueryError(new IllegalStateException()));
- setQuery(testQuery);
- }
- },
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset3"),UUID.randomUUID()));
- setOwnerName("David");
- setQueryType("QueryType4");
- setStatus(ExecutionState.DONE);
- setLabel("dataset3Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(3));
- setFinishTime(LocalDateTime.now().plusMinutes(9));
- setRequiredTime(200L);
- setProgress(99.9F);
- setError(null);
- setQuery(testQuery);
- }
- },
-
-
-
-
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset4"),UUID.randomUUID()));
- setOwnerName("Meza");
- setQueryType("QueryType1");
- setStatus(ExecutionState.NEW);
- setLabel("dataset4Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(9));
- setFinishTime(LocalDateTime.now().plusMinutes(13));
- setRequiredTime(2220L);
- setProgress(0F);
- setError(null);
- setQuery(testQuery);
- }
- },
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset4"),UUID.randomUUID()));
- setOwnerName("Meza");
- setQueryType("QueryType2");
- setStatus(ExecutionState.RUNNING);
- setLabel("dataset4Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(9));
- setFinishTime(LocalDateTime.now().plusMinutes(11));
- setRequiredTime(330L);
- setProgress(24.9F);
- setError(null);
- setQuery(testQuery);
- }
- },
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset4"),UUID.randomUUID()));
- setOwnerName("Meza");
- setQueryType("QueryType3");
- setStatus(ExecutionState.FAILED);
- setLabel("dataset4Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(23));
- setFinishTime(null);
- setRequiredTime(120L);
- setProgress(55F);
- setError(ConqueryError.asConqueryError(new IllegalStateException()));
- setQuery(testQuery);
- }
- },
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset4"),UUID.randomUUID()));
- setOwnerName("Meza");
- setQueryType("QueryType4");
- setStatus(ExecutionState.DONE);
- setLabel("dataset4Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(17));
- setFinishTime(LocalDateTime.now().plusMinutes(19));
- setRequiredTime(200L);
- setProgress(99F);
- setError(null);
- setQuery(testQuery);
- }
- },
-
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset1"),UUID.randomUUID()));
- setOwnerName("Peter");
- setQueryType("QueryType1");
- setStatus(ExecutionState.NEW);
- setLabel("dataset1Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(2));
- setFinishTime(LocalDateTime.now().plusMinutes(3));
- setRequiredTime(200L);
- setProgress(0F);
- setError(null);
- setQuery(testQuery);
- }
- },
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset1"),UUID.randomUUID()));
- setOwnerName("Audrane");
- setQueryType("QueryType2");
- setStatus(ExecutionState.RUNNING);
- setLabel("dataset1Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(2));
- setFinishTime(LocalDateTime.now().plusMinutes(3));
- setRequiredTime(300L);
- setProgress(35.45F);
- setError(null);
- setQuery(testQuery);
- }
- },
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset1"),UUID.randomUUID()));
- setOwnerName("Audrane");
- setQueryType("QueryType3");
- setStatus(ExecutionState.FAILED);
- setLabel("dataset1Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(2));
- setFinishTime(null);
- setRequiredTime(120L);
- setProgress(35.45F);
- setError(ConqueryError.asConqueryError(new IllegalStateException()));
- setQuery(testQuery);
- }
- },
- new FullExecutionStatus(){
- {
- setId(new ManagedExecutionId(new DatasetId("Dataset1"),UUID.randomUUID()));
- setOwnerName("Audrane");
- setQueryType("QueryType4");
- setStatus(ExecutionState.DONE);
- setLabel("dataset1Label");
- setCreatedAt(ZonedDateTime.now());
- setStartTime(LocalDateTime.now().plusMinutes(2));
- setFinishTime(LocalDateTime.now().plusMinutes(3));
- setRequiredTime(200L);
- setProgress(99F);
- setError(null);
- setQuery(testQuery);
- }
- },
-
- };
-
- return result;
+ return storage.getAllExecutions().stream()
+ .map(t -> t.buildStatusFull(storage, currentUser, datasetRegistry))
+ .filter(t -> t.getCreatedAt().toLocalDate().equals(LocalDate.now(t.getCreatedAt().getZone())))
+ .limit(100)
+ .toArray(FullExecutionStatus[]::new);
}
-*/
-
-
-
}
diff --git a/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/UIProcessor.java b/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/UIProcessor.java
index 586dbd9ac6..37b052ea1e 100644
--- a/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/UIProcessor.java
+++ b/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/UIProcessor.java
@@ -179,11 +179,6 @@ public ImportStatistics getImportStatistics(Import imp) {
return new ImportStatistics(imp, cBlockSize);
}
- public void getAllQueries()
- {
- getStorage().getAllExecutions();
- }
-
public static long calculateCBlocksSizeBytes(Import imp, Collection extends Concept>> concepts) {
// CBlocks are created per (per Bucket) Import per Connector targeting this table
diff --git a/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl b/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl
index 73290e1e51..6566c8b628 100644
--- a/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl
+++ b/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl
@@ -37,7 +37,6 @@
Queries
-
+
@@ -247,11 +253,9 @@ function getQueries() {
-
-
-
#
-
-
+
+
+
@@ -259,18 +263,17 @@ function getQueries() {
+
+
+
+
-
-
-
#
-
-
@@ -279,17 +282,16 @@ function getQueries() {
-
-
-
#
-
-
+
+
+
+
@@ -297,17 +299,15 @@ function getQueries() {
-
-
-
#
-
-
+
+
+
diff --git a/backend/src/test/resources/tests/endpoints/adminEndpointInfo.json b/backend/src/test/resources/tests/endpoints/adminEndpointInfo.json
index 36b33b76d8..069bfd21ec 100644
--- a/backend/src/test/resources/tests/endpoints/adminEndpointInfo.json
+++ b/backend/src/test/resources/tests/endpoints/adminEndpointInfo.json
@@ -234,6 +234,11 @@
"path": "/jobs/",
"clazz": "AdminResource"
},
+ {
+ "method": "GET",
+ "path": "/queries/",
+ "clazz": "AdminResource"
+ },
{
"method": "POST",
"path": "/jobs/{jobId}/cancel",
From 9102f93f4b37ab3cbd40755978b84bec5f938ef7 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Thu, 2 Sep 2021 13:53:13 +0000
Subject: [PATCH 05/14] Update AutoDoc
---
docs/REST API JSONs.md | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/docs/REST API JSONs.md b/docs/REST API JSONs.md
index ec2030f48f..3000f5b0da 100644
--- a/docs/REST API JSONs.md
+++ b/docs/REST API JSONs.md
@@ -903,7 +903,7 @@ Supported Fields:
| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/models/config/FrontendConfig.java#L51) | version | `String` | `"0.0.0-SNAPSHOT"` | | |
-### Type FullExecutionStatus [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L20-L24)
+### Type FullExecutionStatus [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L23-L27)
This status holds extensive information about the query description and meta data that is computational heavy and can produce a larger payload to requests. It should only be rendered, when a client asks for a specific execution, not if a list of executions is requested.
Details
@@ -932,13 +932,14 @@ Supported Fields:
| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L39) | status | one of NEW, RUNNING, FAILED, DONE | `null` | | |
| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L36) | system | `boolean` | `false` | | |
| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L26) | tags | list of `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L64-L66) | availableSecondaryIds | list of ID of `@NsIdRefCollection Set` | `null` | | Possible {@link SecondaryIdDescription}s available, of {@link com.bakdata.conquery.models.datasets.concepts.Concept}s used in this Query. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L44-L46) | canExpand | `boolean` | `false` | | Indicates if the concepts that are included in the query description can be accessed by the user. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L39-L41) | columnDescriptions | list of `ColumnDescriptor` | `null` | | Holds a description for each column, present in the result. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L54-L56) | error | `ConqueryErrorInfo` | `null` | | Is set when the QueryFailed |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L59-L61) | groups | `Collection` | `null` | | The groups this execution is shared with. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L31-L35) | progress | `float` or `null` | `null` | | The estimated progress of an running execution in the enclosing interval [0-1]. This value does not have to be set if the state is RUNNING and it must not be set if the state is not RUNNING. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L49-L51) | query | [QueryDescription](#Base-QueryDescription) | `null` | | Is set to the query description if the user can expand all included concepts. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L71-L73) | availableSecondaryIds | list of ID of `@NsIdRefCollection Set` | `null` | | Possible {@link SecondaryIdDescription}s available, of {@link com.bakdata.conquery.models.datasets.concepts.Concept}s used in this Query. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L51-L53) | canExpand | `boolean` | `false` | | Indicates if the concepts that are included in the query description can be accessed by the user. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L46-L48) | columnDescriptions | list of `ColumnDescriptor` | `null` | | Holds a description for each column, present in the result. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L61-L63) | error | `ConqueryErrorInfo` | `null` | | Is set when the QueryFailed |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L66-L68) | groups | `Collection` | `null` | | The groups this execution is shared with. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L34-L36) | languageTag | `String` | `null` | | Indicates the actual language of system |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L38-L42) | progress | `float` or `null` | `null` | | The estimated progress of an running execution in the enclosing interval [0-1]. This value does not have to be set if the state is RUNNING and it must not be set if the state is not RUNNING. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L56-L58) | query | [QueryDescription](#Base-QueryDescription) | `null` | | Is set to the query description if the user can expand all included concepts. |
### Type IdLabel [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/IdLabel.java#L13-L16)
From 2da1d9c8fc2be6df5d5a4ddce2cac3c5be521105 Mon Sep 17 00:00:00 2001
From: Brandon Tietse
Date: Fri, 3 Sep 2021 10:11:30 +0200
Subject: [PATCH 06/14] languageTag in backend removed and added in fronted
---
.../com/bakdata/conquery/apiv1/FullExecutionStatus.java | 4 ----
.../conquery/models/execution/ManagedExecution.java | 1 -
.../bakdata/conquery/resources/admin/ui/queries.html.ftl | 9 +++++----
3 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java b/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java
index 85783544c8..dd3902bee8 100644
--- a/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java
+++ b/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java
@@ -31,10 +31,6 @@
@FieldNameConstants
public class FullExecutionStatus extends ExecutionStatus {
- /**
- * Indicates the actual language of system
- */
- private String languageTag;
/**
* The estimated progress of an running execution in the enclosing interval [0-1].
* This value does not have to be set if the state is RUNNING and it must not be set
diff --git a/backend/src/main/java/com/bakdata/conquery/models/execution/ManagedExecution.java b/backend/src/main/java/com/bakdata/conquery/models/execution/ManagedExecution.java
index 03e610144a..a9f6e48b0c 100644
--- a/backend/src/main/java/com/bakdata/conquery/models/execution/ManagedExecution.java
+++ b/backend/src/main/java/com/bakdata/conquery/models/execution/ManagedExecution.java
@@ -279,7 +279,6 @@ public FullExecutionStatus buildStatusFull(@NonNull MetaStorage storage, User us
setAvailableSecondaryIds(status);
status.setProgress(progress);
- status.setLanguageTag(I18n.LOCALE.get().getLanguage() + (hasText(I18n.LOCALE.get().getCountry()) ? "-" + I18n.LOCALE.get().getCountry() : ""));
if (getState().equals(ExecutionState.FAILED) && error != null) {
// Use plain format here to have a uniform serialization.
diff --git a/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl b/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl
index 6566c8b628..e288ba23c9 100644
--- a/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl
+++ b/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl
@@ -50,8 +50,9 @@ var failedNbrElt = {};
var succeedNbrElt = {};
var canUpdate = true;
var reloader = {};
-
+var languageTag = {};
window.onload = (event) => {
+ languageTag = navigator.language || navigator.userLanguage;
reloader = setInterval(getQueries, 5000);
runningQueriesTable = document.getElementById("runningQueriesTable");
notStartedQueriesTable = document.getElementById("notStartedQueriesTable");
@@ -166,13 +167,13 @@ function handleUpdateCheck(event){
From 8eac327ffe427e44dfb637aa3c38472266c5c820 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Fri, 3 Sep 2021 08:14:27 +0000
Subject: [PATCH 07/14] Update AutoDoc
---
docs/REST API JSONs.md | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/docs/REST API JSONs.md b/docs/REST API JSONs.md
index 3000f5b0da..b8398c0334 100644
--- a/docs/REST API JSONs.md
+++ b/docs/REST API JSONs.md
@@ -932,14 +932,13 @@ Supported Fields:
| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L39) | status | one of NEW, RUNNING, FAILED, DONE | `null` | | |
| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L36) | system | `boolean` | `false` | | |
| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L26) | tags | list of `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L71-L73) | availableSecondaryIds | list of ID of `@NsIdRefCollection Set` | `null` | | Possible {@link SecondaryIdDescription}s available, of {@link com.bakdata.conquery.models.datasets.concepts.Concept}s used in this Query. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L51-L53) | canExpand | `boolean` | `false` | | Indicates if the concepts that are included in the query description can be accessed by the user. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L46-L48) | columnDescriptions | list of `ColumnDescriptor` | `null` | | Holds a description for each column, present in the result. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L61-L63) | error | `ConqueryErrorInfo` | `null` | | Is set when the QueryFailed |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L66-L68) | groups | `Collection` | `null` | | The groups this execution is shared with. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L34-L36) | languageTag | `String` | `null` | | Indicates the actual language of system |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L38-L42) | progress | `float` or `null` | `null` | | The estimated progress of an running execution in the enclosing interval [0-1]. This value does not have to be set if the state is RUNNING and it must not be set if the state is not RUNNING. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L56-L58) | query | [QueryDescription](#Base-QueryDescription) | `null` | | Is set to the query description if the user can expand all included concepts. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L67-L69) | availableSecondaryIds | list of ID of `@NsIdRefCollection Set` | `null` | | Possible {@link SecondaryIdDescription}s available, of {@link com.bakdata.conquery.models.datasets.concepts.Concept}s used in this Query. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L47-L49) | canExpand | `boolean` | `false` | | Indicates if the concepts that are included in the query description can be accessed by the user. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L42-L44) | columnDescriptions | list of `ColumnDescriptor` | `null` | | Holds a description for each column, present in the result. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L57-L59) | error | `ConqueryErrorInfo` | `null` | | Is set when the QueryFailed |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L62-L64) | groups | `Collection` | `null` | | The groups this execution is shared with. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L34-L38) | progress | `float` or `null` | `null` | | The estimated progress of an running execution in the enclosing interval [0-1]. This value does not have to be set if the state is RUNNING and it must not be set if the state is not RUNNING. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L52-L54) | query | [QueryDescription](#Base-QueryDescription) | `null` | | Is set to the query description if the user can expand all included concepts. |
### Type IdLabel [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/IdLabel.java#L13-L16)
From 1ae82cb582c289e93881b0e5587ad9b6a2bb869c Mon Sep 17 00:00:00 2001
From: Brandon Tietse
Date: Fri, 3 Sep 2021 10:38:07 +0200
Subject: [PATCH 08/14] path issues resolved
---
.../bakdata/conquery/resources/admin/rest/AdminResource.java | 2 +-
.../com/bakdata/conquery/resources/admin/ui/queries.html.ftl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/AdminResource.java b/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/AdminResource.java
index 6577246d45..d0dc9d317a 100644
--- a/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/AdminResource.java
+++ b/backend/src/main/java/com/bakdata/conquery/resources/admin/rest/AdminResource.java
@@ -92,7 +92,7 @@ public ImmutableMap getJobs() {
@GET
- @Path("/queries")
+ @Path("/queries/")
public FullExecutionStatus[] getQueries(@Auth User currentUser) {
final MetaStorage storage = processor.getStorage();
final DatasetRegistry datasetRegistry = processor.getDatasetRegistry();
diff --git a/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl b/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl
index e288ba23c9..4a2dfd2dca 100644
--- a/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl
+++ b/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl
@@ -201,7 +201,7 @@ function handleUpdateCheck(event){
From 0e80020b4741b431c6afdc48907a201b17d7c6f7 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Fri, 10 Sep 2021 11:03:06 +0000
Subject: [PATCH 13/14] Update AutoDoc
---
docs/REST API JSONs.md | 126 ++++++++++++++++++++---------------------
1 file changed, 63 insertions(+), 63 deletions(-)
diff --git a/docs/REST API JSONs.md b/docs/REST API JSONs.md
index c29544717b..59d55b1495 100644
--- a/docs/REST API JSONs.md
+++ b/docs/REST API JSONs.md
@@ -772,7 +772,7 @@ Supported Fields:
| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/models/config/FrontendConfig.java#L198) | thousandSeparator | `String` | `"."` | | |
-### Type ExecutionStatus [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L20)
+### Type ExecutionStatus [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L19)Details
@@ -783,24 +783,24 @@ Supported Fields:
| | Field | Type | Default | Example | Description |
| --- | --- | --- | --- | --- | --- |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L30) | createdAt | `ZonedDateTime` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L44) | finishTime | `LocalDateTime` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L38) | id | ID of `ManagedExecution` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L27) | label | `String` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L31) | lastUsed | `ZonedDateTime` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L40) | numberOfResults | `long` or `null` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L35) | own | `boolean` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L32) | owner | ID of `User` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L33) | ownerName | `String` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L46) | queryType | `String` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L41) | requiredTime | `long` or `null` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L50-L52) | resultUrls | list of `URL` | ? | | The urls under from which the result of the execution can be downloaded as soon as it finished successfully. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L47) | secondaryId | ID of `SecondaryIdDescription` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L34) | shared | `boolean` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L43) | startTime | `LocalDateTime` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L39) | status | one of NEW, RUNNING, FAILED, DONE | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L36) | system | `boolean` | ? | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L26) | tags | list of `String` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L29) | createdAt | `ZonedDateTime` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L43) | finishTime | `LocalDateTime` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L37) | id | ID of `ManagedExecution` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L26) | label | `String` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L30) | lastUsed | `ZonedDateTime` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L39) | numberOfResults | `long` or `null` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L34) | own | `boolean` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L31) | owner | ID of `User` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L32) | ownerName | `String` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L45) | queryType | `String` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L40) | requiredTime | `long` or `null` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L49-L51) | resultUrls | list of `URL` | ? | | The urls under from which the result of the execution can be downloaded as soon as it finished successfully. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L46) | secondaryId | ID of `SecondaryIdDescription` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L33) | shared | `boolean` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L42) | startTime | `LocalDateTime` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L38) | status | one of NEW, RUNNING, FAILED, DONE | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L35) | system | `boolean` | ? | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L25) | tags | list of `String` | ? | | |
### Type FERoot [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/frontend/FERoot.java#L11-L13)
@@ -903,7 +903,7 @@ Supported Fields:
| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/models/config/FrontendConfig.java#L51) | version | `String` | `"0.0.0-SNAPSHOT"` | | |
-### Type FullExecutionStatus [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L23-L27)
+### Type FullExecutionStatus [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L19-L23)
This status holds extensive information about the query description and meta data that is computational heavy and can produce a larger payload to requests. It should only be rendered, when a client asks for a specific execution, not if a list of executions is requested.
Details
@@ -914,31 +914,31 @@ Supported Fields:
| | Field | Type | Default | Example | Description |
| --- | --- | --- | --- | --- | --- |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L30) | createdAt | `ZonedDateTime` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L44) | finishTime | `LocalDateTime` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L38) | id | ID of `ManagedExecution` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L27) | label | `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L31) | lastUsed | `ZonedDateTime` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L40) | numberOfResults | `long` or `null` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L35) | own | `boolean` | `false` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L32) | owner | ID of `User` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L33) | ownerName | `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L46) | queryType | `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L41) | requiredTime | `long` or `null` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L50-L52) | resultUrls | list of `URL` | `[]` | | The urls under from which the result of the execution can be downloaded as soon as it finished successfully. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L47) | secondaryId | ID of `SecondaryIdDescription` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L34) | shared | `boolean` | `false` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L43) | startTime | `LocalDateTime` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L39) | status | one of NEW, RUNNING, FAILED, DONE | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L36) | system | `boolean` | `false` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L26) | tags | list of `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L67-L69) | availableSecondaryIds | list of ID of `@NsIdRefCollection Set` | `null` | | Possible {@link SecondaryIdDescription}s available, of {@link com.bakdata.conquery.models.datasets.concepts.Concept}s used in this Query. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L47-L49) | canExpand | `boolean` | `false` | | Indicates if the concepts that are included in the query description can be accessed by the user. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L42-L44) | columnDescriptions | list of `ColumnDescriptor` | `null` | | Holds a description for each column, present in the result. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L57-L59) | error | `ConqueryErrorInfo` | `null` | | Is set when the QueryFailed |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L62-L64) | groups | `Collection` | `null` | | The groups this execution is shared with. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L34-L38) | progress | `float` or `null` | `null` | | The estimated progress of an running execution in the enclosing interval [0-1]. This value does not have to be set if the state is RUNNING and it must not be set if the state is not RUNNING. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L52-L54) | query | [QueryDescription](#Base-QueryDescription) | `null` | | Is set to the query description if the user can expand all included concepts. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L29) | createdAt | `ZonedDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L43) | finishTime | `LocalDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L37) | id | ID of `ManagedExecution` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L26) | label | `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L30) | lastUsed | `ZonedDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L39) | numberOfResults | `long` or `null` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L34) | own | `boolean` | `false` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L31) | owner | ID of `User` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L32) | ownerName | `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L45) | queryType | `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L40) | requiredTime | `long` or `null` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L49-L51) | resultUrls | list of `URL` | `[]` | | The urls under from which the result of the execution can be downloaded as soon as it finished successfully. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L46) | secondaryId | ID of `SecondaryIdDescription` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L33) | shared | `boolean` | `false` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L42) | startTime | `LocalDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L38) | status | one of NEW, RUNNING, FAILED, DONE | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L35) | system | `boolean` | `false` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L25) | tags | list of `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L63-L65) | availableSecondaryIds | list of ID of `@NsIdRefCollection Set` | `null` | | Possible {@link SecondaryIdDescription}s available, of {@link com.bakdata.conquery.models.datasets.concepts.Concept}s used in this Query. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L43-L45) | canExpand | `boolean` | `false` | | Indicates if the concepts that are included in the query description can be accessed by the user. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L38-L40) | columnDescriptions | list of `ColumnDescriptor` | `null` | | Holds a description for each column, present in the result. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L53-L55) | error | `ConqueryErrorInfo` | `null` | | Is set when the QueryFailed |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L58-L60) | groups | `Collection` | `null` | | The groups this execution is shared with. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L30-L34) | progress | `float` or `null` | `null` | | The estimated progress of an running execution in the enclosing interval [0-1]. This value does not have to be set if the state is RUNNING and it must not be set if the state is not RUNNING. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/FullExecutionStatus.java#L48-L50) | query | [QueryDescription](#Base-QueryDescription) | `null` | | Is set to the query description if the user can expand all included concepts. |
### Type IdLabel [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/IdLabel.java#L13-L16)
@@ -979,24 +979,24 @@ Supported Fields:
| | Field | Type | Default | Example | Description |
| --- | --- | --- | --- | --- | --- |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L30) | createdAt | `ZonedDateTime` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L44) | finishTime | `LocalDateTime` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L38) | id | ID of `ManagedExecution` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L27) | label | `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L31) | lastUsed | `ZonedDateTime` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L40) | numberOfResults | `long` or `null` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L35) | own | `boolean` | `false` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L32) | owner | ID of `User` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L33) | ownerName | `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L46) | queryType | `String` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L41) | requiredTime | `long` or `null` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L50-L52) | resultUrls | list of `URL` | `[]` | | The urls under from which the result of the execution can be downloaded as soon as it finished successfully. |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L47) | secondaryId | ID of `SecondaryIdDescription` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L34) | shared | `boolean` | `false` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L43) | startTime | `LocalDateTime` | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L39) | status | one of NEW, RUNNING, FAILED, DONE | `null` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L36) | system | `boolean` | `false` | | |
-| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L26) | tags | list of `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L29) | createdAt | `ZonedDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L43) | finishTime | `LocalDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L37) | id | ID of `ManagedExecution` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L26) | label | `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L30) | lastUsed | `ZonedDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L39) | numberOfResults | `long` or `null` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L34) | own | `boolean` | `false` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L31) | owner | ID of `User` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L32) | ownerName | `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L45) | queryType | `String` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L40) | requiredTime | `long` or `null` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L49-L51) | resultUrls | list of `URL` | `[]` | | The urls under from which the result of the execution can be downloaded as soon as it finished successfully. |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L46) | secondaryId | ID of `SecondaryIdDescription` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L33) | shared | `boolean` | `false` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L42) | startTime | `LocalDateTime` | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L38) | status | one of NEW, RUNNING, FAILED, DONE | `null` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L35) | system | `boolean` | `false` | | |
+| [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/apiv1/ExecutionStatus.java#L25) | tags | list of `String` | `null` | | |
### Type ResolvedConceptsResult [✎](https://github.com/bakdata/conquery/edit/develop/backend/src/main/java/com/bakdata/conquery/resources/api/ConceptsProcessor.java#L274)
From 3418875c6d3d512ea619ad60bcb96cb7bbae5491 Mon Sep 17 00:00:00 2001
From: Brandon Tietse
Date: Fri, 10 Sep 2021 14:28:14 +0200
Subject: [PATCH 14/14] updated code after code review
---
.../conquery/resources/admin/ui/queries.html.ftl | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl b/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl
index de5f460ccd..5bac320b71 100644
--- a/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl
+++ b/backend/src/main/resources/com/bakdata/conquery/resources/admin/ui/queries.html.ftl
@@ -28,7 +28,7 @@
}