OP-3680: changelog + readme edits

This commit is contained in:
Damon
2025-12-08 16:01:45 +01:00
parent 9a0e8bfa4b
commit a7d14d42af
2 changed files with 27 additions and 0 deletions

View File

@@ -11,6 +11,8 @@
```
drc restart migrations
drc restart delta-producer-publication-graph-maintainer resource
drc pull vendor-management-consumer; drc up -d vendor-management-consumer
drc restart db resource
```
## 1.37.3 (2025-11-14)

View File

@@ -177,6 +177,31 @@ drc up -d
sh scripts/reset-elastic.sh
```
#### Setup vendors sync
Note: this is assuming you have never ran this before.
```
drc down;
```
Update `docker-compose.override.yml` to:
```
vendor-management-consumer:
environment:
DCR_SYNC_BASE_URL: "https://dev.loket.lblod.info/" # or another endpoint
DCR_DISABLE_INITIAL_SYNC: "true"
BATCH_SIZE: "500"
DCR_SECRET_KEY: "<key>>" # fill in key for selected endpoint
DCR_SYNC_LOGIN_ENDPOINT: "https://dev.loket.lblod.info/sync/vendor-management/login" # login for selected endpoint
```
Then:
```
drc up -d migrations
drc up -d db vendor-management-consumer
```
Finally, put the stack back up.
```
drc up -d
```
### Setting up the delta-producers related services
To make sure the app can share data, producers need to be set up. There is an intial sync, that is potentially very expensive, and must be started manually