All of the functionality in this repository has been ported to contentlake-shared
Shared libraries for extractors
$ npm install @adobe/content-lake-extractors-shared
See the API documentation.
This library provides mocks. Mocks can be imported and used as follows:
import { mocks } from '@adobe/content-lake-extractors-shared';
[...]
const mockSettingsStore = new mocks.MockSettingsStore();
$ npm install
$ npm test
The integration tests require the following environment variables which can be set via a .env file:
AWS_REGION=
AWS_ACCESS_KEY_ID=
AWS_ACCESS_SECRET_KEY=
QUEUE_URL=
QUEUE_STORAGE_BUCKET=
$ npm run test:integration
$ npm run lint
Optionally you can use Make to run all the local build commands:
$ make
Make is available on most *nix environments can be installed on Mac via homebrew