generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CNDE-1849: Refactor Investigation Service to use Kafka updates for Pa…
…ge Case Answers (#66)
- Loading branch information
Showing
21 changed files
with
819 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 0 additions & 77 deletions
77
...vice/src/main/java/gov/cdc/etldatapipeline/investigation/config/OdseDataSourceConfig.java
This file was deleted.
Oops, something went wrong.
77 changes: 0 additions & 77 deletions
77
...rvice/src/main/java/gov/cdc/etldatapipeline/investigation/config/RdbDataSourceConfig.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ository/odse/InvestigationRepository.java → ...n/repository/InvestigationRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...pository/odse/NotificationRepository.java → ...on/repository/NotificationRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
104 changes: 0 additions & 104 deletions
104
...a/gov/cdc/etldatapipeline/investigation/repository/model/dto/InvestigationCaseAnswer.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.../dto/InvestigationConfirmationMethod.java → ...ting/InvestigationConfirmationMethod.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...eline/investigation/repository/model/reporting/InvestigationConfirmationMethodUidKey.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package gov.cdc.etldatapipeline.investigation.repository.model.reporting; | ||
|
||
import com.fasterxml.jackson.databind.PropertyNamingStrategies; | ||
import com.fasterxml.jackson.databind.annotation.JsonNaming; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
|
||
@Data | ||
@AllArgsConstructor | ||
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) | ||
public class InvestigationConfirmationMethodUidKey { | ||
private Long publicHealthCaseUid; | ||
} |
2 changes: 1 addition & 1 deletion
2
...y/model/dto/InvestigationObservation.java → ...l/reporting/InvestigationObservation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
...java/gov/cdc/etldatapipeline/investigation/repository/model/reporting/PageCaseAnswer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package gov.cdc.etldatapipeline.investigation.repository.model.reporting; | ||
|
||
import com.fasterxml.jackson.databind.PropertyNamingStrategies; | ||
import com.fasterxml.jackson.databind.annotation.JsonNaming; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
import lombok.NonNull; | ||
|
||
@Data | ||
@NoArgsConstructor | ||
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) | ||
public class PageCaseAnswer { | ||
private @NonNull Long actUid; | ||
private @NonNull Long nbsCaseAnswerUid; | ||
private @NonNull Long nbsUiMetadataUid; | ||
private @NonNull Long nbsRdbMetadataUid; | ||
private @NonNull Long nbsQuestionUid; | ||
|
||
private String rdbTableNm; | ||
private String rdbColumnNm; | ||
private String answerTxt; | ||
private String answerGroupSeqNbr; | ||
private String investigationFormCd; | ||
private String unitValue; | ||
private String questionIdentifier; | ||
private String dataLocation; | ||
private String questionLabel; | ||
private String otherValueIndCd; | ||
private String unitTypeCd; | ||
private String mask; | ||
private String dataType; | ||
private String questionGroupSeqNbr; | ||
private Long codeSetGroupId; | ||
private String blockNm; | ||
private String lastChgTime; | ||
private String recordStatusCd; | ||
} |
17 changes: 17 additions & 0 deletions
17
...a/gov/cdc/etldatapipeline/investigation/repository/model/reporting/PageCaseAnswerKey.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package gov.cdc.etldatapipeline.investigation.repository.model.reporting; | ||
|
||
import com.fasterxml.jackson.databind.PropertyNamingStrategies; | ||
import com.fasterxml.jackson.databind.annotation.JsonNaming; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
import lombok.NonNull; | ||
|
||
|
||
@Data | ||
@NoArgsConstructor | ||
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class) | ||
public class PageCaseAnswerKey { | ||
@NonNull | ||
private Long actUid; | ||
private Long nbsCaseAnswerUid; | ||
} |
Oops, something went wrong.