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

Merge Release #3682

Merged
merged 97 commits into from
Mar 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
8f25433
use caffeine in CachedStore and adapt ManagedInternalForm for state p…
thoniTUB Oct 21, 2024
0b96b94
Fix serdes problem in LocalAuthenticationRealm
thoniTUB Oct 22, 2024
07e810d
adds test for CachedStore
thoniTUB Oct 22, 2024
bcf05f6
fix race condition in ManagedQuery#lastResultCount
thoniTUB Oct 22, 2024
e283fcd
adds documentation
thoniTUB Oct 22, 2024
16c4cbb
pass config on construction not on init
thoniTUB Oct 22, 2024
0ca6358
fix cache invalidation on value update
thoniTUB Oct 24, 2024
313ed5c
review changes and fixing the add behaviour
thoniTUB Oct 24, 2024
8425e58
adds metrics
thoniTUB Oct 24, 2024
db7a03f
fix double metrics recorder
thoniTUB Oct 24, 2024
26cb189
limit sending of RegisterColumnValues jobs with semaphore
thoniTUB Oct 24, 2024
4037f5c
makes storages load on start configurable
thoniTUB Nov 7, 2024
c161294
adds task to load specific storages
thoniTUB Nov 8, 2024
5532a0a
Merge branch 'develop' into feature/use-caffeine-cache
thoniTUB Nov 8, 2024
ad52330
fix serdes issue with NonPersistentStoreFactory
thoniTUB Nov 13, 2024
75276ab
Merge branch 'refs/heads/develop' into feature/use-caffeine-cache
thoniTUB Nov 13, 2024
efdd9ac
Merge remote-tracking branch 'origin/develop' into feature/use-caffei…
thoniTUB Dec 2, 2024
1631fdf
adds logging for evicted entries
thoniTUB Dec 2, 2024
c2227d4
Merge branch 'develop' into feature/use-caffeine-cache
thoniTUB Dec 4, 2024
53e8d35
use parallel deserialization in BucketManager
thoniTUB Dec 10, 2024
5e6ade9
switch back to serial registration of buckets and cblocks
thoniTUB Dec 10, 2024
aad87d9
fix missing Owner relation to ManagedExecutionId and FormConfigId
thoniTUB Dec 10, 2024
a541b79
move direct storage access out of loop
thoniTUB Dec 10, 2024
553e954
revert using id in delÃete path because it is missing the meta storage
thoniTUB Dec 10, 2024
2d32249
revert using id in delete path because it is missing the meta storage
thoniTUB Dec 10, 2024
6a8e16b
adds logs
thoniTUB Dec 11, 2024
21cfd8e
improve performance for consistency
thoniTUB Dec 11, 2024
77af16d
adds logging for cache misses
thoniTUB Dec 13, 2024
64244ea
improve query plan creation by not resolving buckets
thoniTUB Dec 13, 2024
3a7f482
improve BucketManager creation time by only loading CBlocks
thoniTUB Dec 13, 2024
d674c77
allow caching of xodus blobs
thoniTUB Dec 16, 2024
a7f8f7a
Merge branch 'develop' into feature/use-caffeine-cache
thoniTUB Dec 16, 2024
067bb73
fix default option and log
thoniTUB Dec 17, 2024
9dd290e
fix unfinished transaction finish
thoniTUB Dec 17, 2024
5190da1
renew transactions
thoniTUB Dec 17, 2024
d0508c4
Merge remote-tracking branch 'origin/develop' into feature/use-caffei…
thoniTUB Dec 19, 2024
046f917
defines invalidateCache method on store interface
thoniTUB Jan 7, 2025
cb16fae
extends load storage task by cache invalidation
thoniTUB Jan 8, 2025
a62661b
review changes
thoniTUB Jan 15, 2025
0a5c550
cache no binary store by default
thoniTUB Jan 17, 2025
f46f757
don't deserialize every bucket upon adding a cblock
thoniTUB Jan 23, 2025
7f501fd
wrap adding Bucket in Job
thoniTUB Jan 23, 2025
ab2f2fb
Merge branch 'develop' into feature/use-caffeine-cache
thoniTUB Jan 23, 2025
6e2e06b
review changes
thoniTUB Jan 24, 2025
6f502cf
Merge remote-tracking branch 'origin/develop' into feature/use-caffei…
thoniTUB Feb 3, 2025
f8ca20e
e2e clear query editor
thoniTUB Feb 3, 2025
e00266c
don't serialize all buckets for collect column values job
thoniTUB Feb 3, 2025
564fa3b
e2e reorder upload sequence of test data
thoniTUB Feb 3, 2025
86439d8
Merge branch 'develop' into feature/use-caffeine-cache
thoniTUB Feb 3, 2025
6f52be4
remove double serdes for worker messages
thoniTUB Feb 6, 2025
7a2903f
enhance jackson debug to fall back to hex dump if debug deserializati…
thoniTUB Feb 7, 2025
d4dc983
improve logging around network filter and message toString
thoniTUB Feb 7, 2025
2b79e54
adds helm templates
thoniTUB Feb 11, 2025
7bfff05
fix service port mapping
thoniTUB Feb 11, 2025
73bee00
adds workflow to lint helm chart
thoniTUB Feb 11, 2025
5dbca29
fix config structure
thoniTUB Feb 11, 2025
1fe84c8
remove unsued port declaration for frontend
thoniTUB Feb 11, 2025
63d08e1
adds readme
thoniTUB Feb 11, 2025
ffe734f
Merge branch 'develop' into reintegrate-main
thoniTUB Feb 12, 2025
9cab011
Merge pull request #3664 from ingef/reintegrate-main
awildturtok Feb 12, 2025
6329618
Merge remote-tracking branch 'origin/develop' into feature/use-caffei…
thoniTUB Feb 12, 2025
3448881
lint chart
thoniTUB Feb 12, 2025
b56610c
adds push job for helm chart
thoniTUB Feb 12, 2025
8bcdfcc
update workflow name
thoniTUB Feb 12, 2025
692582f
Merge branch 'develop' into feature/helm-chart
thoniTUB Feb 12, 2025
05a3544
Bump prometheus-metrics.version from 1.2.1 to 1.3.5
dependabot[bot] Feb 14, 2025
a4f77ad
Merge branch 'develop' into reintegrate-main
thoniTUB Feb 20, 2025
3e0aeae
Merge pull request #3661 from ingef/dependabot/maven/prometheus-metri…
thoniTUB Feb 20, 2025
816008d
adds exception mapper for IllegalArgumentExceptions
thoniTUB Feb 20, 2025
8e14cea
return 404 on unresolvable ids
thoniTUB Feb 21, 2025
cbd449b
close client on failure to unregister metrics and clean up
thoniTUB Feb 24, 2025
f58f1a7
Merge branch 'develop' into fix/close-client-on-failure
thoniTUB Feb 24, 2025
192c11a
Merge branch 'develop' into reintegrate-main
thoniTUB Feb 24, 2025
795e0d9
close client on failure to unregister metrics and clean up
thoniTUB Feb 24, 2025
f4ef43f
drop softvalue restriction on caffeine cache spec
thoniTUB Feb 24, 2025
0d06054
fix typo in spec
thoniTUB Feb 24, 2025
c34b070
drop NotEmpty validation on spec
thoniTUB Feb 24, 2025
56779d3
Merge pull request #3672 from ingef/reintegrate-main
thoniTUB Feb 25, 2025
923b4cf
Merge branch 'develop' into feature/use-caffeine-cache
thoniTUB Feb 25, 2025
41a0c1d
Merge pull request #3607 from ingef/feature/use-caffeine-cache
thoniTUB Feb 25, 2025
67a4de2
fix missing argument adoption
thoniTUB Feb 25, 2025
c583d18
Merge branch 'develop' into fix/http-status
thoniTUB Feb 26, 2025
309f91d
Merge branch 'develop' into fix/close-client-on-failure
thoniTUB Feb 26, 2025
f4b6a01
Merge branch 'develop' into feature/helm-chart
thoniTUB Feb 26, 2025
5695145
Merge pull request #3665 from ingef/feature/helm-chart
thoniTUB Feb 26, 2025
dd14460
Merge branch 'develop' into fix/http-status
thoniTUB Feb 26, 2025
2fc68a5
Merge branch 'develop' into fix/close-client-on-failure
thoniTUB Feb 26, 2025
e856223
refine logs
thoniTUB Feb 20, 2025
2cb1c68
Update backend/src/main/java/com/bakdata/conquery/models/messages/nam…
thoniTUB Feb 26, 2025
2153067
Merge pull request #3675 from ingef/fix/http-status
thoniTUB Feb 26, 2025
9a73be2
Merge branch 'develop' into feature/improve-log-messages
thoniTUB Feb 26, 2025
3dc9838
Merge branch 'develop' into fix/close-client-on-failure
thoniTUB Feb 26, 2025
ed60a1a
Merge pull request #3673 from ingef/feature/improve-log-messages
thoniTUB Feb 26, 2025
d2a0b16
Merge branch 'develop' into fix/close-client-on-failure
thoniTUB Feb 27, 2025
c747a20
Merge pull request #3677 from ingef/fix/close-client-on-failure
thoniTUB Feb 27, 2025
4ab203a
Implements asynchronous jackson parser in MinaStack (#3669)
awildturtok Feb 27, 2025
5f26333
swallow+log exceptions when getting all values (#3685)
thoniTUB Mar 4, 2025
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
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v4
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/helm_chart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Helm

on:
pull_request:
push:
branches:
- master
- develop

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Helm
uses: azure/setup-helm@v3
with:
version: v3.12.0

- name: Lint Helm Chart
run: helm lint charts/conquery

- name: Validate Helm Templates
run: helm template conquery charts/conquery --debug

push-to-ghcr:
name: Push Helm Chart to GHCR (OCI)
runs-on: ubuntu-latest
needs: [lint]
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Helm
uses: azure/setup-helm@v3

- name: Login to GitHub Container Registry (GHCR)
run: echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io --username $GITHUB_ACTOR --password-stdin

- name: Package Helm Chart
run: helm package charts/conquery

- name: Push Helm Chart to GHCR
run: |
helm push conquery-*.tgz oci://ghcr.io/${{ github.repository_owner }}/helm-charts
2 changes: 1 addition & 1 deletion .github/workflows/lint_openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
container: dshanley/vacuum
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: "Lint OpenApi spec for /api"
run: vacuum lint --details ./openapi.yaml
- name: "Lint OpenApi spec for external form backends"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-merge-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: pull-request
uses: repo-sync/pull-request@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true
# This should be deep enough to fetch at least one light weight tag
Expand All @@ -25,7 +25,7 @@ jobs:
java-version: '21'
overwrite-settings: false
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run_autodoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
timeout-minutes: 10
steps:
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
submodules: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
timeout-minutes: 20
steps:
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up JDK
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,3 @@ tutorial/mimic_iii_demo/data/**
/node_modules
cypress/screenshots/
cypress/videos/
/cypress/support/test_data/table.cqpp
2 changes: 1 addition & 1 deletion backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<apache-poi.version>5.2.2</apache-poi.version>
<apache-arrow.version>16.0.0</apache-arrow.version>
<apache-parquet.version>1.12.3</apache-parquet.version>
<prometheus-metrics.version>1.2.1</prometheus-metrics.version>
<prometheus-metrics.version>1.3.5</prometheus-metrics.version>
<openapi-generator.version>7.9.0</openapi-generator.version>
</properties>

Expand Down
19 changes: 11 additions & 8 deletions backend/src/main/java/com/bakdata/conquery/Conquery.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import com.bakdata.conquery.mode.cluster.ClusterManagerProvider;
import com.bakdata.conquery.mode.local.LocalManagerProvider;
import com.bakdata.conquery.models.config.ConqueryConfig;
import com.codahale.metrics.MetricRegistry;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.dropwizard.configuration.JsonConfigurationFactory;
import io.dropwizard.configuration.SubstitutingSourceProvider;
Expand Down Expand Up @@ -59,12 +60,21 @@ public void initialize(Bootstrap<ConqueryConfig> bootstrap) {
bootstrap.addCommand(new RecodeStoreCommand());
bootstrap.addCommand(new MigrateCommand());

((MutableInjectableValues) confMapper.getInjectableValues()).add(Validator.class, bootstrap.getValidatorFactory().getValidator());
MutableInjectableValues injectableValues = (MutableInjectableValues) confMapper.getInjectableValues();
injectableValues.add(Validator.class, bootstrap.getValidatorFactory().getValidator());
injectableValues.add(MetricRegistry.class, bootstrap.getMetricRegistry());

// do some setup in other classes after initialization but before running a
// command
bootstrap.addBundle(new ConfiguredBundle<>() {

@Override
public void initialize(Bootstrap<?> bootstrap) {
// Allow overriding of config from environment variables.
bootstrap.setConfigurationSourceProvider(new SubstitutingSourceProvider(
bootstrap.getConfigurationSourceProvider(), StringSubstitutor.createInterpolator()));
}

@Override
public void run(ConqueryConfig configuration, Environment environment) {
configuration.configureObjectMapper(environment.getObjectMapper());
Expand All @@ -77,13 +87,6 @@ protected void configure() {
}
});
}

@Override
public void initialize(Bootstrap<?> bootstrap) {
// Allow overriding of config from environment variables.
bootstrap.setConfigurationSourceProvider(new SubstitutingSourceProvider(
bootstrap.getConfigurationSourceProvider(), StringSubstitutor.createInterpolator()));
}
});

bootstrap.addBundle(new PrometheusBundle());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ public class QueryProcessor {
private Validator validator;


public Stream<? extends ExecutionStatus> getAllQueries(Dataset dataset, HttpServletRequest req, Subject subject, boolean allProviders) {
final Stream<ManagedExecution> allQueries = storage.getAllExecutions();

return getQueriesFiltered(dataset.getId(), RequestAwareUriBuilder.fromRequest(req), subject, allQueries, allProviders);
public List<? extends ExecutionStatus> getAllQueries(Dataset dataset, HttpServletRequest req, Subject subject, boolean allProviders) {
try(Stream<ManagedExecution> allQueries = storage.getAllExecutions()) {
return getQueriesFiltered(dataset.getId(), RequestAwareUriBuilder.fromRequest(req), subject, allQueries, allProviders).toList();
}
}

public Stream<? extends ExecutionStatus> getQueriesFiltered(DatasetId datasetId, UriBuilder uriBuilder, Subject subject, Stream<ManagedExecution> allQueries, boolean allProviders) {
Expand Down Expand Up @@ -216,7 +216,7 @@ public void cancel(Subject subject, ManagedExecution query) {

log.info("User[{}] cancelled Query[{}]", subject.getId(), query.getId());

executionManager.cancelQuery(query);
executionManager.cancelExecution(query);
}

public void patchQuery(Subject subject, ManagedExecution execution, MetaDataPatch patch) {
Expand Down Expand Up @@ -269,18 +269,18 @@ public void reexecute(Subject subject, ManagedExecution query) {
if (!query.getState().equals(ExecutionState.RUNNING)) {
final Namespace namespace = query.getNamespace();

namespace.getExecutionManager().execute(query, config);
namespace.getExecutionManager().execute(query);
}
}

public void deleteQuery(Subject subject, ManagedExecution execution) {
log.info("User[{}] deleted Query[{}]", subject.getId(), execution.getId());
public void deleteQuery(Subject subject, ManagedExecutionId execution) {
log.info("User[{}] deleted Query[{}]", subject.getId(), execution);

datasetRegistry.get(execution.getDataset())
.getExecutionManager() // Don't go over execution#getExecutionManager() as that's only set when query is initialized
.clearQueryResults(execution);

storage.removeExecution(execution.getId());
storage.removeExecution(execution);
}

public ExecutionState awaitDone(ManagedExecution query, int time, TimeUnit unit) {
Expand All @@ -291,7 +291,7 @@ public ExecutionState awaitDone(ManagedExecution query, int time, TimeUnit unit)
public FullExecutionStatus getQueryFullStatus(ManagedExecution query, Subject subject, UriBuilder url, Boolean allProviders) {
final Namespace namespace = datasetRegistry.get(query.getDataset());

query.initExecutable(config);
query.initExecutable();

final FullExecutionStatus status = query.buildStatusFull(subject, namespace);

Expand Down Expand Up @@ -338,7 +338,7 @@ public ExternalUploadResult uploadEntities(Subject subject, Dataset dataset, Ext
execution.setLabel(upload.getLabel());
}

execution.initExecutable(config);
execution.initExecutable();

return new ExternalUploadResult(execution.getId(), statistic.getResolved().size(), statistic.getUnresolvedId(), statistic.getUnreadableDate());
}
Expand Down Expand Up @@ -375,9 +375,12 @@ public FullExecutionStatus getSingleEntityExport(Subject subject, UriBuilder uri
throw new ConqueryError.ExecutionProcessingError();
}

// Workaround update our execution as the lastresultcount was set in the background
final EntityPreviewExecution executionFinished = (EntityPreviewExecution) execution.getId().resolve();
executionFinished.initExecutable();

final FullExecutionStatus status = execution.buildStatusFull(subject, namespace);
status.setResultUrls(getResultAssets(config.getResultProviders(), execution, uriBuilder, false));
status.setResultUrls(getResultAssets(config.getResultProviders(), executionFinished, uriBuilder, false));
return status;
}

Expand Down Expand Up @@ -434,21 +437,21 @@ public ManagedExecution postQuery(Dataset dataset, QueryDescription query, Subje

final Optional<ManagedExecution>
execution =
executionId.map(id -> tryReuse(query, id, namespace, config, executionManager, subject.getUser()));
executionId.map(id -> tryReuse(query, id, namespace, executionManager, subject.getUser()));

if (execution.isPresent()) {
return execution.get();
}
}

// Execute the query
return executionManager.runQuery(namespace, query, subject.getId(), config, system);
return executionManager.runQuery(namespace, query, subject.getId(), system);
}

/**
* Determine if the submitted query does reuse ONLY another query and restart that instead of creating another one.
*/
private ManagedExecution tryReuse(QueryDescription query, ManagedExecutionId executionId, Namespace namespace, ConqueryConfig config, ExecutionManager executionManager, User user) {
private ManagedExecution tryReuse(QueryDescription query, ManagedExecutionId executionId, Namespace namespace, ExecutionManager executionManager, User user) {

ManagedExecution execution = storage.getExecution(executionId);

Expand Down Expand Up @@ -491,7 +494,7 @@ private ManagedExecution tryReuse(QueryDescription query, ManagedExecutionId exe

log.trace("Re-executing Query {}", execution);

executionManager.execute(execution, config);
executionManager.execute(execution);

return execution;

Expand Down Expand Up @@ -577,7 +580,7 @@ public Stream<Map<String, String>> resolveEntities(Subject subject, List<FilterV
.filter(Predicate.not(Map::isEmpty));
}

public ResultStatistics getResultStatistics(SingleTableResult managedQuery) {
public <E extends ManagedExecution & SingleTableResult> ResultStatistics getResultStatistics(E managedQuery) {

final Locale locale = I18n.LOCALE.get();
final NumberFormat decimalFormat = NumberFormat.getNumberInstance(locale);
Expand All @@ -590,6 +593,8 @@ public ResultStatistics getResultStatistics(SingleTableResult managedQuery) {
new PrintSettings(true, locale, managedQuery.getNamespace(), config, null, null, decimalFormat, integerFormat);
final UniqueNamer uniqueNamer = new UniqueNamer(printSettings);

managedQuery.initExecutable();

final List<ResultInfo> resultInfos = managedQuery.getResultInfos();

final Optional<ResultInfo>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import com.bakdata.conquery.io.cps.CPSTypeIdResolver;
import com.bakdata.conquery.io.cps.SubTyped;
import com.bakdata.conquery.io.storage.MetaStorage;
import com.bakdata.conquery.models.config.ConqueryConfig;
import com.bakdata.conquery.models.execution.ManagedExecution;
import com.bakdata.conquery.models.forms.frontendconfiguration.FormScanner;
import com.bakdata.conquery.models.forms.frontendconfiguration.FormType;
Expand Down Expand Up @@ -133,8 +134,8 @@ public String getFormType() {
}

@Override
public ManagedExecution toManagedExecution(UserId user, DatasetId submittedDataset, MetaStorage storage, DatasetRegistry<?> datasetRegistry) {
return new ExternalExecution(this, user, submittedDataset, storage, datasetRegistry);
public ManagedExecution toManagedExecution(UserId user, DatasetId submittedDataset, MetaStorage storage, DatasetRegistry<?> datasetRegistry, ConqueryConfig config) {
return new ExternalExecution(this, user, submittedDataset, storage, datasetRegistry, config);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import com.bakdata.conquery.internationalization.ExportFormC10n;
import com.bakdata.conquery.io.cps.CPSType;
import com.bakdata.conquery.io.storage.MetaStorage;
import com.bakdata.conquery.models.config.ConqueryConfig;
import com.bakdata.conquery.models.forms.managed.ManagedInternalForm;
import com.bakdata.conquery.models.forms.util.Alignment;
import com.bakdata.conquery.models.forms.util.Resolution;
Expand Down Expand Up @@ -136,8 +137,9 @@ public String getLocalizedTypeLabel() {
}

@Override
public ManagedInternalForm<ExportForm> toManagedExecution(UserId user, DatasetId submittedDataset, MetaStorage storage, DatasetRegistry<?> datasetRegistry) {
return new ManagedInternalForm<>(this, user, submittedDataset, storage, datasetRegistry);
public ManagedInternalForm<ExportForm> toManagedExecution(UserId user, DatasetId submittedDataset, MetaStorage storage, DatasetRegistry<?> datasetRegistry,
ConqueryConfig config) {
return new ManagedInternalForm<>(this, user, submittedDataset, storage, datasetRegistry, config);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import com.bakdata.conquery.io.cps.CPSType;
import com.bakdata.conquery.io.storage.MetaStorage;
import com.bakdata.conquery.models.common.Range;
import com.bakdata.conquery.models.config.ConqueryConfig;
import com.bakdata.conquery.models.forms.managed.ManagedInternalForm;
import com.bakdata.conquery.models.i18n.I18n;
import com.bakdata.conquery.models.identifiable.ids.specific.DatasetId;
Expand Down Expand Up @@ -126,7 +127,8 @@ public String getLocalizedTypeLabel() {


@Override
public ManagedInternalForm<FullExportForm> toManagedExecution(UserId user, DatasetId submittedDataset, MetaStorage storage, DatasetRegistry<?> datasetRegistry) {
return new ManagedInternalForm<>(this, user, submittedDataset, storage, datasetRegistry);
public ManagedInternalForm<FullExportForm> toManagedExecution(UserId user, DatasetId submittedDataset, MetaStorage storage, DatasetRegistry<?> datasetRegistry,
ConqueryConfig config) {
return new ManagedInternalForm<>(this, user, submittedDataset, storage, datasetRegistry, config);
}
}
Loading
Loading