Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infocard for Entity Preview #2616

Merged
merged 25 commits into from
Aug 22, 2022
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
0320294
Rough sketch of how to create infoCard query
awildturtok Jul 21, 2022
0626d96
Directly use the involved Workers
awildturtok Jul 21, 2022
9aaf318
pull Selects from PreviewConfig, asserting their resolvability and ma…
awildturtok Jul 26, 2022
f94bcdb
also embed Infocard Execution into Status
awildturtok Jul 26, 2022
4b14122
rough sketch, to evaluate and embed infocard result
awildturtok Aug 2, 2022
86d05b3
Fix expecting SingleLineResutl, where ArrayFormQueryPlan always retur…
awildturtok Aug 16, 2022
e30f3e4
Adapt test for EntityPreviewCard
awildturtok Aug 16, 2022
a7fe3f3
Merge branch 'develop' into feature/entity-extra-info
awildturtok Aug 16, 2022
b264cc8
Restructure EntityPreview as Form creating two subqueries
awildturtok Aug 17, 2022
47c348f
Update AutoDoc
github-actions[bot] Aug 17, 2022
0ac87ea
fix tests
awildturtok Aug 17, 2022
84c6eb3
adds types and semantics to EntityPreviewStatus.Info
awildturtok Aug 17, 2022
e53ec44
Update AutoDoc
github-actions[bot] Aug 17, 2022
aebff7c
cleanup and move queries to form construction
awildturtok Aug 18, 2022
ae79d2e
Update AutoDoc
github-actions[bot] Aug 18, 2022
4e9ae37
adds documentation
awildturtok Aug 18, 2022
57128ca
adds documentation
awildturtok Aug 18, 2022
5cbb457
Update AutoDoc
github-actions[bot] Aug 18, 2022
166e9fd
Merge branch 'develop' into feature/entity-extra-info
awildturtok Aug 22, 2022
acc0ab4
copy paste TestForm splitting into Rel and Abs
awildturtok Aug 22, 2022
6175260
fixup prior commit
awildturtok Aug 22, 2022
254e201
also allow labelling of InfoCardSelects by virtue of PrintSettings co…
awildturtok Aug 22, 2022
66c1dff
Merge branch 'develop' into feature/entity-extra-info
awildturtok Aug 22, 2022
c597b95
Update AutoDoc
github-actions[bot] Aug 22, 2022
94158d8
adds documentation
awildturtok Aug 22, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adapt test for EntityPreviewCard
  • Loading branch information
awildturtok committed Aug 16, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit e30f3e4b42670350bb32a7d9a5460f1115da32c4
Original file line number Diff line number Diff line change
@@ -2,11 +2,15 @@

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

@Data
@Slf4j
@AllArgsConstructor
@NoArgsConstructor
public class PreviewConfig {
private List<String> infoCardSelects = List.of();

Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"type": "QUERY_TEST",
"label": "ENTITY_EXPORT_TESTS Test",
"expectedCsv": "tests/query/ENTITY_EXPORT_TESTS/expected.csv",
"query": {
"type": "CONCEPT_QUERY",
"root": {
"type": "CONCEPT",
"ids": [
"tree1.child1"
],
"tables": [
{
"id": "tree1.connectors",
"filters": []
}
]
}
},
"concepts": [
{
"label": "tree1",
"type": "TREE",
"connectors": [
{
"name": "connector",
"column": "table1.column",
"selects": [
{
"name": "values",
"type": "DISTINCT",
"column": "table1.column"
},
{
"name": "age",
"type": "DATE_DISTANCE",
"column": "table1.datum"
}
],
"validityDates": {
"label": "datum",
"column": "table1.datum"
}
}
]
},
{
"label": "tree2",
"type": "TREE",
"connectors": [
{
"name": "connector",
"column": "table2.column",
"selects": [
{
"name": "values",
"type": "DISTINCT",
"column": "table2.column"
},
{
"name": "age",
"type": "DATE_DISTANCE",
"column": "table2.datum"
}
],
"validityDates": {
"label": "datum",
"column": "table2.datum"
}
}
]
}
],
"content": {
"tables": [
{
"csv": "tests/query/ENTITY_EXPORT_TESTS/content1.csv",
"name": "table1",
"primaryColumn": {
"name": "pid",
"type": "STRING"
},
"columns": [
{
"name": "datum",
"type": "DATE"
},
{
"name": "column",
"type": "STRING"
}
]
},
{
"csv": "tests/query/ENTITY_EXPORT_TESTS/content2.csv",
"name": "table2",
"primaryColumn": {
"name": "pid",
"type": "STRING"
},
"columns": [
{
"name": "datum",
"type": "DATE"
},
{
"name": "column",
"type": "STRING"
}
]
}
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pid,datum,column
1,2013-11-10,"A1"
4,2012-11-11,"B2"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pid,datum,column
1,2012-01-01,"A1"
1,2010-07-15,"B2"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FILE IS UNUSED!