Download the PHP package keboola/job-queue-internal-api-php-client without Composer
On this page you can find all versions of the php package keboola/job-queue-internal-api-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package job-queue-internal-api-php-client
Job Queue Internal API PHP Client 
PHP client for the Internal Job Queue API (API docs).
Usage
Atomic job result updates
patchJobResultAtomically() performs an optimistic-locking read-modify-write of a job's
result document. It reads the current result and its resultVersion, runs your mutator,
and writes it back guarded by that version. The versioned write merges the returned keys
into the current server-side result (the same array_merge semantics as the non-versioned
write), only made atomic by the version check. On a version conflict (HTTP 409, i.e. a
concurrent writer changed the result in between) it automatically re-reads and retries a
bounded number of times; if the conflict still cannot be resolved within the retry budget it
throws a ResultVersionConflictException rather than overwriting the concurrent change.
The mutator receives the current result array and must return a \JsonSerializable whose
jsonSerialize() yields an array. The returned keys are merged into the current result — it is
not a full replace, so keys you omit are preserved (you cannot delete a key this way):
GenericJobResult is a trivial \JsonSerializable wrapper for callers that do not have their
own result value object.
Development
Prerequisites:
- configured
azandawsCLI tools (runaz loginandaws configure --profile keboola-dev-platform-services) - installed GCP CLI
gcloud(and rungcloud auth loginorgcloud auth application-default login) - installed
terraform(https://www.terraform.io) andjq(https://stedolan.github.io/jq) to setup local env - intalled
dockeranddocker composeto run & develop the app
TL;DR:
License
MIT licensed, see LICENSE file.
All versions of job-queue-internal-api-php-client with dependencies
ext-json Version *
guzzlehttp/guzzle Version ^7.8
keboola/job-queue-artifacts Version ^4.0.3|*@dev
keboola/kbc-manage-api-php-client Version ^5.2|^6.0|^7.0|^8.0|^9.0|^10.0
keboola/object-encryptor Version ^2.12
keboola/permission-checker Version ^2.0|^3.0
keboola/php-api-client-base Version ^1.0
keboola/retry Version ^0.5.1
keboola/storage-api-client Version ^15.2|^16.0|^17.0|^18.0
keboola/storage-api-php-client-branch-wrapper Version ^7.0
monolog/monolog Version ^2.6|^3.0
psr/log Version ^1.1|^2.0|^3.0
symfony/config Version ^5.4|^6.0|^7.0
symfony/uid Version ^5.4|^6.2|^7.0
symfony/validator Version ^5.4|^6.0|^7.0
webmozart/assert Version ^1.11