https://github.com/oada/oada-ensure
Ensures that things happen in other documents in response to document changes (i.e. re-indexing, copying, linking, etc.)
https://github.com/oada/oada-ensure
Last synced: 10 months ago
JSON representation
Ensures that things happen in other documents in response to document changes (i.e. re-indexing, copying, linking, etc.)
- Host: GitHub
- URL: https://github.com/oada/oada-ensure
- Owner: OADA
- Created: 2020-03-17T18:44:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-15T20:01:08.000Z (about 4 years ago)
- Last Synced: 2025-02-22T22:42:42.862Z (over 1 year ago)
- Language: JavaScript
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# oada-ensure #
A microservice to ensure that things happen in other documents in response to document changes (i.e. re-indexing, copying, linking, etc.). It currently uses oada-jobs as the means by which it gets its directions.
The only current task it performs is to create a link in any children linked from a virtual document
at /bookmarks/trellisfw/documents back to the main virtual document parent. It stores the link in the child at `_meta/vdoc`
## Installation
```bash
cd /path/to/your/oada-srvc-docker
cd services-available
git clone git@github.com:OADA/oada-ensure.git
cd ../services-enabled
ln -s ../services-available/oada-ensure .
```
## Overriding defaults for production
`z_tokens` docker-compose.yml entry:
```docker-compose
oada-ensure:
environment:
- token=atokentouseinproduction
- domain=https://your.oada.domain
```