# AR Release Filter Lambda

## Description

Art Relations (AR) Release filter lambda.
Consumes messages from cdc.artRelations.release Kafka topic and creates or updates NrProduct nodes accordingly.

Will check that the release is `in_content` and that we have rights for ownership collection before continuing. Will drop messages not relevant to ownership neighbouring rights.

## Installing

```
cd lambda ar-release-filter
nvm use
yarn install
```

## Running Lint checks and Unit tests

```
yarn format && yarn lint && yarn test:unit
```

## Notion Documentation

[ar-release-filter](https://www.notion.so/Orchard-Data-Sync-c650067e4afc4b05b0a984b4d662367a#27754b573c6a40f4b93f19713c2711ed)
