Skip to content

Commit

Permalink
Merge branch 'fix-roles-refresh' of 'https://github.com/jjmerchante/g…
Browse files Browse the repository at this point in the history
…rimoirelab-elk'

Merges #1163
Closes #1163
Fixes #1161
  • Loading branch information
sduenas authored Aug 9, 2024
2 parents a46cbe2 + 5d44caf commit c2822b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion grimoire_elk/elk.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def refresh_identities(enrich_backend, author_fields=None, individuals=None):
def create_filter_authors(authors, to_refresh):
filter_authors = []
for author in authors:
author_name = author if author == 'author_uuid' else author + '_uuids'
author_name = author if author.endswith('_uuid') else author + '_uuids'
field_author = {
"name": author_name,
"value": to_refresh
Expand Down
9 changes: 9 additions & 0 deletions releases/unreleased/identity-refresh-bug-for-some-items.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: Identity refresh bug for some items
category: fixed
author: Jose Javier Merchante <[email protected]>
issue: 1161
notes: >
Update the filter construction to correctly match UUIDs in
OpenSearch, addressing a bug in Mordred that prevented role
identities from being refreshed.

0 comments on commit c2822b5

Please sign in to comment.