Download the PHP package keboola/job-queue-api-php-client without Composer
On this page you can find all versions of the php package keboola/job-queue-api-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package job-queue-api-php-client
Job Queue API PHP Client
PHP client for the Job Queue API (API docs).
Usage
Development
-
Create a service principal to download the required images and login:
-
Login and check that you can pull the image:
-
Add the credentials to the k8s cluster:
-
Set the following environment variables in
set-env.sh
file (useset-env.template.sh
as sample):test_storage_api_url
- Keboola Connection URL.test_storage_api_token
- Token to a test project.
- Set one of Azure or AWS resources (or both, but only one is needed).
AWS Setup
- Create a user (
JobQueueApiPhpClient
) for local development using theprovisioning/aws.json
CF template.- Create AWS key for the created user.
- Set the following environment variables in
set-env.sh
file (useset-env.template.sh
as sample):test_aws_access_key_id
- The created security credentials for theJobQueueApiPhpClient
user.test_aws_secret_access_key
- The created security credentials for theJobQueueApiPhpClient
user.test_kms_region
-Region
output of the above stack.test_kms_key_id
-KmsKey
output of the above stack.
Azure Setup
-
Create a resource group:
-
Create a service principal:
-
Use the response to set values
test_azure_client_id
,test_azure_client_secret
andtest_azure_tenant_id
in theset-env.sh
file: -
Get ID of the service principal:
-
Deploy the key vault, provide tenant ID, service principal ID and group ID from the previous commands:
- Show Key Vault URL
returns e.g. https://test-job-queue-client.vault.azure.net/
, use this to set values in set-env.sh
file:
test_azure_key_vault_url
- https://test-job-queue-client.vault.azure.net/
Generate environment configuration
Store the result queue_public_api_ip
in set-env.sh
.
Run tests
-
With the above setup, you can run tests:
- To run tests with local code use:
License
MIT licensed, see LICENSE file.
All versions of job-queue-api-php-client with dependencies
ext-curl Version *
ext-json Version *
guzzlehttp/guzzle Version ^6.3|^7.2
psr/log Version ^1.1|^2.0|^3.0
symfony/config Version ^4.4|^5.2|^6.0
symfony/validator Version ^4.4|^5.2 !=4.4.33 !=4.4.34 !=5.3.10 !=5.3.11|^6.0