-
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.
Feature/refactor legacy data models and update mapping strategies for…
… improved clarity #deploy-test-dolly-search-service #deploy-dolly-search-service
- Loading branch information
Showing
8 changed files
with
106 additions
and
185 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
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
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
166 changes: 0 additions & 166 deletions
166
...ch-objects/src/main/java/no/nav/testnav/libs/data/dollysearchservice/v1/PersonSearch.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...data/dollysearchservice/v1/PersonDTO.java → ...llysearchservice/v1/legacy/PersonDTO.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
72 changes: 72 additions & 0 deletions
72
...cts/src/main/java/no/nav/testnav/libs/data/dollysearchservice/v1/legacy/PersonSearch.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,72 @@ | ||
package no.nav.testnav.libs.data.dollysearchservice.v1.legacy; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Data | ||
@Builder | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public class PersonSearch { | ||
|
||
private Integer page; | ||
private Integer pageSize; | ||
private String kjoenn; | ||
private Integer randomSeed; | ||
private Boolean kunLevende; | ||
private NasjonalitetSearch nasjonalitet; | ||
private AlderSearch alder; | ||
private RelasjonSearch relasjoner; | ||
private PersonstatusSearch personstatus; | ||
private AdresserSearch adresser; | ||
|
||
@Data | ||
@Builder | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public static class AlderSearch { | ||
|
||
private Integer fra; | ||
private Integer til; | ||
} | ||
|
||
@Data | ||
@Builder | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public static class NasjonalitetSearch { | ||
|
||
private String statsborgerskap; | ||
} | ||
|
||
@Data | ||
@Builder | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public static class PersonstatusSearch { | ||
|
||
private String status; | ||
} | ||
|
||
@Data | ||
@Builder | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public static class AdresserSearch { | ||
|
||
private Boolean harUtenlandskAdresse; | ||
private Boolean harKontaktadresse; | ||
private Boolean harOppholdsadresse; | ||
} | ||
|
||
@Data | ||
@Builder | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public static class RelasjonSearch { | ||
|
||
private Boolean harBarn; | ||
} | ||
} |