Skip to content
Merged
Show file tree
Hide file tree
Changes from 65 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
855a17e
Introduced infra for the mod. events pipeline
vladsha-dev Oct 21, 2024
d18c3cd
Updated clear_opensearch.sh.tpl file
vladsha-dev Oct 21, 2024
ab7e818
Create index mapping and SQL script for the moderation events pipeline
vladsha-dev Oct 25, 2024
af8c7ad
Create empty contributor_name Ruby filter
vladsha-dev Oct 28, 2024
2b66ba6
Merge branch 'main' into OSDEV-1335-deploy-new-moderation-events-logs…
vladsha-dev Oct 28, 2024
43d2105
Create Ruby filters for particular fields, update mapping
vladsha-dev Oct 29, 2024
b867ed8
Delete mock generator
vladsha-dev Oct 29, 2024
6ee98cf
Add moderation-event GET endpoint
VadimKovalenkoSNF Oct 25, 2024
e91fd51
Change moderation_status to status
VadimKovalenkoSNF Oct 25, 2024
78c0b55
Create index mapping and SQL script for the moderation events pipeline
vladsha-dev Oct 25, 2024
3c386a2
Connect moderation-event logstash pipeline
VadimKovalenkoSNF Oct 28, 2024
8a67860
Add moderation-events fixture
VadimKovalenkoSNF Oct 30, 2024
89ec4d2
Merge branch 'main' into OSDEV-1346-implement-get-moderation-events
VadimKovalenkoSNF Oct 30, 2024
868118f
Remove redundant code
VadimKovalenkoSNF Oct 30, 2024
03a4970
Temp commit message
VadimKovalenkoSNF Oct 30, 2024
9837cc8
Add boilerplate for moderation events and production locations query …
VadimKovalenkoSNF Nov 1, 2024
7cccd84
Make query builder methods as protected
VadimKovalenkoSNF Nov 1, 2024
be6e624
Refactor modration-event and producion-locations query builder
VadimKovalenkoSNF Nov 1, 2024
89f0090
Merge branch 'main' into OSDEV-1346-implement-get-moderation-events
VadimKovalenkoSNF Nov 1, 2024
648aa82
add interim changes
VadimKovalenkoSNF Nov 2, 2024
16533fb
Add sorting
VadimKovalenkoSNF Nov 4, 2024
f10eb81
Add pagination using from property
VadimKovalenkoSNF Nov 5, 2024
7f393c0
Update moderation status
VadimKovalenkoSNF Nov 5, 2024
0f9f500
More refactoring of moderation status
VadimKovalenkoSNF Nov 5, 2024
fca9271
Update fixture for moderation events
VadimKovalenkoSNF Nov 5, 2024
e809df4
Inherit _add_terms method to production locations and moderation-events
VadimKovalenkoSNF Nov 5, 2024
8995a5b
Refactor validators, update index mapping
VadimKovalenkoSNF Nov 6, 2024
bf76754
Merge branch 'main' into OSDEV-1346-implement-get-moderation-events
VadimKovalenkoSNF Nov 6, 2024
b630f47
Add sorting for cleaned name, address and country
VadimKovalenkoSNF Nov 6, 2024
5bb2ab7
Minor fix
VadimKovalenkoSNF Nov 6, 2024
aeda7aa
Merge branch 'main' into OSDEV-1346-implement-get-moderation-events
VadimKovalenkoSNF Nov 7, 2024
cf7f528
Minor lint fixes
VadimKovalenkoSNF Nov 8, 2024
f8e52b8
Remove serializers for os_id and contributor_id
VadimKovalenkoSNF Nov 8, 2024
ae4f0f6
Add integration tests (partial impl)
VadimKovalenkoSNF Nov 11, 2024
0b60f49
Add base integration tests
VadimKovalenkoSNF Nov 11, 2024
2034e0c
Add integration tests and auth check
VadimKovalenkoSNF Nov 12, 2024
d1d63d9
Merge branch 'main' into OSDEV-1346-implement-get-moderation-events
VadimKovalenkoSNF Nov 12, 2024
3e6a83f
Update release notes
VadimKovalenkoSNF Nov 12, 2024
69301d0
Create new migration for moderation event table
VadimKovalenkoSNF Nov 12, 2024
b93efc6
Update release notes
VadimKovalenkoSNF Nov 12, 2024
227aa5f
Fix minor reivew issues
VadimKovalenkoSNF Nov 12, 2024
0c63b0f
Minor lint fix
VadimKovalenkoSNF Nov 12, 2024
66ff008
Update types
VadimKovalenkoSNF Nov 12, 2024
40a3023
Minor lint fixes
VadimKovalenkoSNF Nov 12, 2024
86bc01c
Integration test fix
VadimKovalenkoSNF Nov 12, 2024
4cbd2c2
Minor fix of integration test
VadimKovalenkoSNF Nov 12, 2024
11129de
Remove TODOs and link them to OSDEV-1441
VadimKovalenkoSNF Nov 12, 2024
150e988
Revert recent changes
VadimKovalenkoSNF Nov 12, 2024
e42a443
Minor fixes to check pipeline
VadimKovalenkoSNF Nov 12, 2024
86c01ca
Rename test for opensearch query builder
VadimKovalenkoSNF Nov 12, 2024
bf896a6
Fix django import
VadimKovalenkoSNF Nov 12, 2024
ffdeeca
Remove django model import from integrational test
VadimKovalenkoSNF Nov 12, 2024
69c9474
Merge branch 'main' into OSDEV-1346-implement-get-moderation-events
VadimKovalenkoSNF Nov 12, 2024
a5d6963
Rename TestOpenSearchQueryBuilder to TestProductionLocationsQueryBuilder
VadimKovalenkoSNF Nov 12, 2024
b46ae8a
Add unit tests for moderation-events query builder
VadimKovalenkoSNF Nov 13, 2024
ca99fda
Refactor track_total_hits property
VadimKovalenkoSNF Nov 13, 2024
2f92ac3
Update moderation_id validation
VadimKovalenkoSNF Nov 13, 2024
0aeaab3
Fix lint issues
VadimKovalenkoSNF Nov 13, 2024
ad2e941
Update error msg for moderation ids validation
VadimKovalenkoSNF Nov 13, 2024
1f057e2
Minor fix for integration test
VadimKovalenkoSNF Nov 13, 2024
aa8203b
Minor improve for integration test
VadimKovalenkoSNF Nov 13, 2024
d48b8b6
Fix version in release notes
VadimKovalenkoSNF Nov 14, 2024
17ff064
Refactor _build_date_range method
VadimKovalenkoSNF Nov 14, 2024
87da165
Make __build_number_of_workers as private in ProductionLocationsQuery…
VadimKovalenkoSNF Nov 14, 2024
9adb9c9
Refactor OpenSearch query builder inheritance
VadimKovalenkoSNF Nov 14, 2024
c22e1fb
Inherit OpenSearchValidationInterface fron ABC
VadimKovalenkoSNF Nov 14, 2024
bd9b907
Remove protected method signatures
VadimKovalenkoSNF Nov 14, 2024
a8b5fe3
Make build_os_id as protected method
VadimKovalenkoSNF Nov 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions doc/release/RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,36 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). The format is based on the `RELEASE-NOTES-TEMPLATE.md` file.


## Release 1.25.0

## Introduction
* Product name: Open Supply Hub
* Release date: November 30, 2024

### Database changes
#### Migrations:
* 0159_alter_status_of_moderation_events_table.py - This migration alters status of api_moderationevent table.

#### Scheme changes
* [OSDEV-1346](https://opensupplyhub.atlassian.net/browse/OSDEV-1346) - Alter status options for api_moderationevent table.

### Code/API changes
* [OSDEV-1346](https://opensupplyhub.atlassian.net/browse/OSDEV-1346) - Create GET request for `v1/moderation-events` endpoint.

### Architecture/Environment changes
* *Describe architecture/environment changes here.*

### Bugfix
* *Describe bugfix here.*

### What's new
* *Describe what's new here. The changes that can impact user experience should be listed in this section.*

### Release instructions:
* Ensure that the following commands are included in the `post_deployment` command:
* `migrate`


## Release 1.24.0

## Introduction
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ services:
environment:
- OPENSEARCH_HOST=opensearch-single-node
- OPENSEARCH_PORT=9200
- OPENSEARCH_INDEX_NAME=production-locations
- OPENSEARCH_MODERATION_EVENTS_INDEX=moderation-events
- OPENSEARCH_PRODUCTION_LOCATIONS_INDEX=production-locations
- REACT_HOST=react
- REACT_PORT=6543
- USER_API_TOKEN=1d18b962d6f976b0b7e8fcf9fcc39b56cf278051
Expand Down
Loading