0.3.0 • Published 6 years ago
@sat-utils/api-lib v0.3.0
@sat-utils/api-lib
Unit Tests
$ yarn
$ yarn testIntegration Tests
Navigate to the integration directory
$ cd ./tests/integrationUse the environment variable DOCKER_NAME to set your Docker host name.
Normally localhost.
$ export DOCKER_NAME=localhostThe AWS-SDK library also requires fake key fields to create a connection so set.
$ export AWS_ACCESS_KEY_ID=none$ export AWS_SECRET_ACCESS_KEY=noneTo run the tests
$ ./runIntegration.shEnvironment variables
AWS_REGION
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
ES_HOST
ES_BATCH_SIZE
STAC_ID
STAC_TITLE
STAC_DESCRIPTION
STAC_VERSION
STAC_DOCS_URL
SATAPI_URL
About
sat-api was created by Development Seed and is part of a collection of tools called sat-utils.