Skip to content

Commit

Permalink
fixed reindexing twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Newatia authored and Newatia committed Sep 24, 2021
1 parent b3bba2a commit 467126b
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package gov.hhs.gsrs.application.application.exporters;

import com.fasterxml.jackson.databind.JsonNode;
import gov.hhs.gsrs.application.application.controllers.ApplicationController;
import gov.hhs.gsrs.application.application.models.*;

import ix.ginas.exporters.*;

import com.fasterxml.jackson.databind.JsonNode;

import java.io.IOException;
import java.util.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import java.util.Date;
import java.util.List;

@EntityListeners({AuditingEntityListener.class, GsrsEntityProcessorListener.class, IndexerEntityListener.class, BackupEntityProcessorListener.class})
@IndexableRoot
@Backup
@Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import javax.persistence.*;

@IndexableRoot
@Data
@Entity
@Table(name="SRSCID_APP_INDICATION_ALL_MV")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@

import com.fasterxml.jackson.annotation.JsonIgnore;
import gsrs.model.AbstractGsrsEntity;
import ix.core.models.Backup;
import ix.core.models.Indexable;
import ix.core.models.IndexableRoot;
import lombok.Data;

import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;

@IndexableRoot
@Backup
@Data
@Entity
@Table(name="SRSCID_APPLICATION_ALL_MV")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
package gov.hhs.gsrs.application.applicationdarrts.models;

import gsrs.model.AbstractGsrsEntity;
import ix.core.models.Backup;
import ix.core.models.IndexableRoot;
import lombok.Data;

import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;

@IndexableRoot
@Backup
@Data
@Entity
@IdClass(ApplicationDarrtsCompositePrimaryKeyId.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@

import gsrs.model.AbstractGsrsEntity;

import ix.core.models.Backup;
import ix.core.models.IndexableRoot;
import lombok.Data;

import javax.persistence.*;

@IndexableRoot
@Backup
@Data
@Entity
@IdClass(SearchCountCompositePrimaryKeyId.class)
Expand Down

0 comments on commit 467126b

Please sign in to comment.