Skip to content

Commit

Permalink
MAINT-2366 Delete alternate identifier indecies when running the appl…
Browse files Browse the repository at this point in the history
…ication with the delete-indices flag
  • Loading branch information
QuyenLy87 authored and CoderMChu committed Oct 17, 2023
1 parent afa2667 commit 3aaebe0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public class DomainEntityConfiguration {
@Autowired
private RelationshipRepository relationshipRepository;

@Autowired
private IdentifierRepository identifierRepository;

@Autowired
private ReferenceSetMemberRepository referenceSetMemberRepository;

Expand All @@ -42,6 +45,7 @@ public void init() {
componentTypeRepositoryMap = new LinkedHashMap<>();
componentTypeRepositoryMap.put(Concept.class, conceptRepository);
componentTypeRepositoryMap.put(Description.class, descriptionRepository);
componentTypeRepositoryMap.put(Identifier.class, identifierRepository);
componentTypeRepositoryMap.put(Relationship.class, relationshipRepository);
componentTypeRepositoryMap.put(ReferenceSetMember.class, referenceSetMemberRepository);
componentTypeRepositoryMap = Collections.unmodifiableMap(componentTypeRepositoryMap);
Expand Down

0 comments on commit 3aaebe0

Please sign in to comment.