Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Shared libraries for Content Lake extractors

License

Notifications You must be signed in to change notification settings

adobe/content-lake-extractors-shared

Archived!

All of the functionality in this repository has been ported to contentlake-shared

Content Lake - Extractors Shared

Shared libraries for extractors

Status

codecov CircleCI GitHub license GitHub issues semantic-release

Installation

$ npm install @adobe/content-lake-extractors-shared

Usage

See the API documentation.

Mocks

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(); 

Development

Build

$ npm install

Test

$ npm test

Integration 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

Lint

$ npm run lint

Run all

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