Skip to content

feat: probeOnly setting for importer and import database - #1401

Merged
lvca merged 1 commit into
ArcadeData:mainfrom
gramian:probe
Dec 26, 2023
Merged

feat: probeOnly setting for importer and import database#1401
lvca merged 1 commit into
ArcadeData:mainfrom
gramian:probe

Conversation

@gramian

@gramian gramian commented Dec 25, 2023

Copy link
Copy Markdown
Collaborator

What does this PR do?

These changes add a probeOnly setting to the Importer and the IMPORT DATABASE command

A (failed) import result is forwarded from the Importer via an IllegalArgumentException instead of the otherwise ImportException, so the IMPORT DATABASE command can distinguish and communicate failure instead of fire a server exception.

@lvca

  • Is this mechanism OK?
  • Is the naming probeOnly OK?

Motivation

Dry-run testing sources and imports.

Related issues

#1396

Additional Notes

This small change makes the IMPORT DATABASE command a lot more powerful, because now this command can also be used to access a GET or bodyless POST HTTP endpoint, still being a non-idempotent command and without altering a database.

Checklist

  • I have run the build using mvn clean package command
  • My unit tests cover both failure and success scenarios

@lvca
lvca merged commit 3936cd4 into ArcadeData:main Dec 26, 2023
@lvca

lvca commented Dec 26, 2023

Copy link
Copy Markdown
Member

That's good to me, thanks

@lvca
lvca self-requested a review December 26, 2023 17:20
@lvca lvca added this to the 23.12.1 milestone Dec 26, 2023
@lvca lvca added the enhancement New feature or request label Dec 26, 2023
tae898 pushed a commit to humemai/arcadedb-embedded-python that referenced this pull request Jun 28, 2026
mergify Bot added a commit that referenced this pull request Aug 9, 2026
… in the e2e-js-deps group [skip ci]

Bumps the e2e-js-deps group in /e2e-js with 1 update: [testcontainers](https://github.com/testcontainers/testcontainers-node).
Updates `testcontainers` from 12.0.4 to 12.1.0
Release notes

*Sourced from [testcontainers's releases](https://github.com/testcontainers/testcontainers-node/releases).*

> v12.1.0
> -------
>
> Changes
> -------
>
> 🚀 Features
> ----------
>
> * Add MongoDB Atlas Local support [`@​jbl428`](https://github.com/jbl428) ([#1396](https://redirect.github.com/testcontainers/testcontainers-node/issues/1396))
> * Add Mosquitto module [`@​ChxGuillaume`](https://github.com/ChxGuillaume) ([#1390](https://redirect.github.com/testcontainers/testcontainers-node/issues/1390))
>
> 📖 Documentation
> ---------------
>
> * Document review-comment style and approval gate in AGENTS.md [`@​cristianrgreco`](https://github.com/cristianrgreco) ([#1397](https://redirect.github.com/testcontainers/testcontainers-node/issues/1397))
>
> 🧹 Maintenance
> -------------
>
> * Declare the supported Node.js version [`@​gameroman`](https://github.com/gameroman) ([#1414](https://redirect.github.com/testcontainers/testcontainers-node/issues/1414))
> * Use default stale issue timings [`@​cristianrgreco`](https://github.com/cristianrgreco) ([#1420](https://redirect.github.com/testcontainers/testcontainers-node/issues/1420))
>
> 📦 Dependency Updates
> --------------------
>
> * Bump undici @[dependabot[bot]](https://github.com/apps/dependabot) ([#1424](https://redirect.github.com/testcontainers/testcontainers-node/issues/1424))
> * Bump ip-address from 10.2.0 to 10.4.0 @[dependabot[bot]](https://github.com/apps/dependabot) ([#1426](https://redirect.github.com/testcontainers/testcontainers-node/issues/1426))
> * Bump brace-expansion from 2.1.2 to 2.1.4 @[dependabot[bot]](https://github.com/apps/dependabot) ([#1423](https://redirect.github.com/testcontainers/testcontainers-node/issues/1423))
> * Bump fast-uri from 3.1.4 to 3.1.5 @[dependabot[bot]](https://github.com/apps/dependabot) ([#1422](https://redirect.github.com/testcontainers/testcontainers-node/issues/1422))
> * Apply npm audit fixes [`@​cristianrgreco`](https://github.com/cristianrgreco) ([#1421](https://redirect.github.com/testcontainers/testcontainers-node/issues/1421))
> * Bump the actions group across 1 directory with 2 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1415](https://redirect.github.com/testcontainers/testcontainers-node/issues/1415))
> * Bump the dependencies group across 11 directories with 10 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1416](https://redirect.github.com/testcontainers/testcontainers-node/issues/1416))
> * Bump the dependencies group across 1 directory with 15 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1417](https://redirect.github.com/testcontainers/testcontainers-node/issues/1417))
> * Bump mkdocs-material from 9.7.6 to 9.7.7 in the dependencies group @[dependabot[bot]](https://github.com/apps/dependabot) ([#1403](https://redirect.github.com/testcontainers/testcontainers-node/issues/1403))
> * Bump the dependencies group across 10 directories with 10 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1404](https://redirect.github.com/testcontainers/testcontainers-node/issues/1404))
> * Bump the dependencies group with 14 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1405](https://redirect.github.com/testcontainers/testcontainers-node/issues/1405))
> * Bump the dependencies group across 7 directories with 6 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1400](https://redirect.github.com/testcontainers/testcontainers-node/issues/1400))
> * Bump the dependencies group with 14 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1401](https://redirect.github.com/testcontainers/testcontainers-node/issues/1401))
> * Bump the dependencies group across 14 directories with 13 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1398](https://redirect.github.com/testcontainers/testcontainers-node/issues/1398))
> * Bump the dependencies group with 16 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1399](https://redirect.github.com/testcontainers/testcontainers-node/issues/1399))


Commits

* [`cdd8c89`](testcontainers/testcontainers-node@cdd8c89) Bump undici ([#1424](https://redirect.github.com/testcontainers/testcontainers-node/issues/1424))
* [`b73d94e`](testcontainers/testcontainers-node@b73d94e) Bump ip-address from 10.2.0 to 10.4.0 ([#1426](https://redirect.github.com/testcontainers/testcontainers-node/issues/1426))
* [`e340783`](testcontainers/testcontainers-node@e340783) Bump brace-expansion from 2.1.2 to 2.1.4 ([#1423](https://redirect.github.com/testcontainers/testcontainers-node/issues/1423))
* [`ab4b485`](testcontainers/testcontainers-node@ab4b485) Bump fast-uri from 3.1.4 to 3.1.5 ([#1422](https://redirect.github.com/testcontainers/testcontainers-node/issues/1422))
* [`2e065ac`](testcontainers/testcontainers-node@2e065ac) Declare the supported Node.js version ([#1414](https://redirect.github.com/testcontainers/testcontainers-node/issues/1414))
* [`7662b16`](testcontainers/testcontainers-node@7662b16) Apply npm audit fixes ([#1421](https://redirect.github.com/testcontainers/testcontainers-node/issues/1421))
* [`2b4094d`](testcontainers/testcontainers-node@2b4094d) Use default stale issue timings ([#1420](https://redirect.github.com/testcontainers/testcontainers-node/issues/1420))
* [`9566a1d`](testcontainers/testcontainers-node@9566a1d) Bump the actions group across 1 directory with 2 updates ([#1415](https://redirect.github.com/testcontainers/testcontainers-node/issues/1415))
* [`9e072ec`](testcontainers/testcontainers-node@9e072ec) Bump the dependencies group across 11 directories with 10 updates ([#1416](https://redirect.github.com/testcontainers/testcontainers-node/issues/1416))
* [`f314a3e`](testcontainers/testcontainers-node@f314a3e) Bump the dependencies group across 1 directory with 15 updates ([#1417](https://redirect.github.com/testcontainers/testcontainers-node/issues/1417))
* Additional commits viewable in [compare view](testcontainers/testcontainers-node@v12.0.4...v12.1.0)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=testcontainers&package-manager=npm\_and\_yarn&previous-version=12.0.4&new-version=12.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore  major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore  minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore  ` will remove the ignore condition of the specified dependency and ignore conditions
mergify Bot added a commit that referenced this pull request Aug 9, 2026
…udio in the e2e-studio-deps group [skip ci]

Bumps the e2e-studio-deps group in /e2e-studio with 1 update: [testcontainers](https://github.com/testcontainers/testcontainers-node).
Updates `testcontainers` from 12.0.4 to 12.1.0
Release notes

*Sourced from [testcontainers's releases](https://github.com/testcontainers/testcontainers-node/releases).*

> v12.1.0
> -------
>
> Changes
> -------
>
> 🚀 Features
> ----------
>
> * Add MongoDB Atlas Local support [`@​jbl428`](https://github.com/jbl428) ([#1396](https://redirect.github.com/testcontainers/testcontainers-node/issues/1396))
> * Add Mosquitto module [`@​ChxGuillaume`](https://github.com/ChxGuillaume) ([#1390](https://redirect.github.com/testcontainers/testcontainers-node/issues/1390))
>
> 📖 Documentation
> ---------------
>
> * Document review-comment style and approval gate in AGENTS.md [`@​cristianrgreco`](https://github.com/cristianrgreco) ([#1397](https://redirect.github.com/testcontainers/testcontainers-node/issues/1397))
>
> 🧹 Maintenance
> -------------
>
> * Declare the supported Node.js version [`@​gameroman`](https://github.com/gameroman) ([#1414](https://redirect.github.com/testcontainers/testcontainers-node/issues/1414))
> * Use default stale issue timings [`@​cristianrgreco`](https://github.com/cristianrgreco) ([#1420](https://redirect.github.com/testcontainers/testcontainers-node/issues/1420))
>
> 📦 Dependency Updates
> --------------------
>
> * Bump undici @[dependabot[bot]](https://github.com/apps/dependabot) ([#1424](https://redirect.github.com/testcontainers/testcontainers-node/issues/1424))
> * Bump ip-address from 10.2.0 to 10.4.0 @[dependabot[bot]](https://github.com/apps/dependabot) ([#1426](https://redirect.github.com/testcontainers/testcontainers-node/issues/1426))
> * Bump brace-expansion from 2.1.2 to 2.1.4 @[dependabot[bot]](https://github.com/apps/dependabot) ([#1423](https://redirect.github.com/testcontainers/testcontainers-node/issues/1423))
> * Bump fast-uri from 3.1.4 to 3.1.5 @[dependabot[bot]](https://github.com/apps/dependabot) ([#1422](https://redirect.github.com/testcontainers/testcontainers-node/issues/1422))
> * Apply npm audit fixes [`@​cristianrgreco`](https://github.com/cristianrgreco) ([#1421](https://redirect.github.com/testcontainers/testcontainers-node/issues/1421))
> * Bump the actions group across 1 directory with 2 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1415](https://redirect.github.com/testcontainers/testcontainers-node/issues/1415))
> * Bump the dependencies group across 11 directories with 10 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1416](https://redirect.github.com/testcontainers/testcontainers-node/issues/1416))
> * Bump the dependencies group across 1 directory with 15 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1417](https://redirect.github.com/testcontainers/testcontainers-node/issues/1417))
> * Bump mkdocs-material from 9.7.6 to 9.7.7 in the dependencies group @[dependabot[bot]](https://github.com/apps/dependabot) ([#1403](https://redirect.github.com/testcontainers/testcontainers-node/issues/1403))
> * Bump the dependencies group across 10 directories with 10 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1404](https://redirect.github.com/testcontainers/testcontainers-node/issues/1404))
> * Bump the dependencies group with 14 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1405](https://redirect.github.com/testcontainers/testcontainers-node/issues/1405))
> * Bump the dependencies group across 7 directories with 6 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1400](https://redirect.github.com/testcontainers/testcontainers-node/issues/1400))
> * Bump the dependencies group with 14 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1401](https://redirect.github.com/testcontainers/testcontainers-node/issues/1401))
> * Bump the dependencies group across 14 directories with 13 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1398](https://redirect.github.com/testcontainers/testcontainers-node/issues/1398))
> * Bump the dependencies group with 16 updates @[dependabot[bot]](https://github.com/apps/dependabot) ([#1399](https://redirect.github.com/testcontainers/testcontainers-node/issues/1399))


Commits

* [`cdd8c89`](testcontainers/testcontainers-node@cdd8c89) Bump undici ([#1424](https://redirect.github.com/testcontainers/testcontainers-node/issues/1424))
* [`b73d94e`](testcontainers/testcontainers-node@b73d94e) Bump ip-address from 10.2.0 to 10.4.0 ([#1426](https://redirect.github.com/testcontainers/testcontainers-node/issues/1426))
* [`e340783`](testcontainers/testcontainers-node@e340783) Bump brace-expansion from 2.1.2 to 2.1.4 ([#1423](https://redirect.github.com/testcontainers/testcontainers-node/issues/1423))
* [`ab4b485`](testcontainers/testcontainers-node@ab4b485) Bump fast-uri from 3.1.4 to 3.1.5 ([#1422](https://redirect.github.com/testcontainers/testcontainers-node/issues/1422))
* [`2e065ac`](testcontainers/testcontainers-node@2e065ac) Declare the supported Node.js version ([#1414](https://redirect.github.com/testcontainers/testcontainers-node/issues/1414))
* [`7662b16`](testcontainers/testcontainers-node@7662b16) Apply npm audit fixes ([#1421](https://redirect.github.com/testcontainers/testcontainers-node/issues/1421))
* [`2b4094d`](testcontainers/testcontainers-node@2b4094d) Use default stale issue timings ([#1420](https://redirect.github.com/testcontainers/testcontainers-node/issues/1420))
* [`9566a1d`](testcontainers/testcontainers-node@9566a1d) Bump the actions group across 1 directory with 2 updates ([#1415](https://redirect.github.com/testcontainers/testcontainers-node/issues/1415))
* [`9e072ec`](testcontainers/testcontainers-node@9e072ec) Bump the dependencies group across 11 directories with 10 updates ([#1416](https://redirect.github.com/testcontainers/testcontainers-node/issues/1416))
* [`f314a3e`](testcontainers/testcontainers-node@f314a3e) Bump the dependencies group across 1 directory with 15 updates ([#1417](https://redirect.github.com/testcontainers/testcontainers-node/issues/1417))
* Additional commits viewable in [compare view](testcontainers/testcontainers-node@v12.0.4...v12.1.0)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=testcontainers&package-manager=npm\_and\_yarn&previous-version=12.0.4&new-version=12.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore  major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore  minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore  ` will remove the ignore condition of the specified dependency and ignore conditions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants