-
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.
feat(be:FSADT1-1575): Create read-only Client Summary (BE) (#1331)
* feat(be:FSADT1-1575): First draft * no message * Added missing field in dto * Added missing field in dto * feat(be:feat/be/FSADT1-1575): Populated good standing indicator * Added descriptions * no message * feat(be:FSADT1-1575): Passed groups to legacy * feat(be:FSADT1-1575): Passed groups to legacy * Updated query * Added missing dto * Removed unneeded field * Added new field as per requested * feat(be:FSADT1-1575): Changes done after code review * Added javadoc * Added test * Fixed test * Improved test * feat(be:FSADT1-1575): Added more tests * Fixed test * feat(be:FSADT1-1575): Added more tests * Added javadoc * Made code reviews * Added more javadocs * Made more code reviews * Made changes after code reviews * SonaCloud fixes * SonarCloud fixes * Added more tests * chore: simplifying boolean check --------- Co-authored-by: Paulo Gomes da Cruz Junior <[email protected]>
- Loading branch information
1 parent
f96b918
commit eeb04d4
Showing
23 changed files
with
878 additions
and
119 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
17 changes: 17 additions & 0 deletions
17
backend/src/main/java/ca/bc/gov/app/dto/legacy/ForestClientContactDto.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 ca.bc.gov.app.dto.legacy; | ||
|
||
public record ForestClientContactDto( | ||
String clientNumber, | ||
String clientLocnCode, | ||
String contactCode, | ||
String contactName, | ||
String businessPhone, | ||
String secondaryPhone, | ||
String faxNumber, | ||
String emailAddress, | ||
String createdBy, | ||
String updatedBy, | ||
Long orgUnit | ||
) { | ||
|
||
} |
35 changes: 35 additions & 0 deletions
35
backend/src/main/java/ca/bc/gov/app/dto/legacy/ForestClientDetailsDto.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,35 @@ | ||
package ca.bc.gov.app.dto.legacy; | ||
|
||
import java.time.LocalDate; | ||
import java.util.List; | ||
import lombok.With; | ||
|
||
@With | ||
public record ForestClientDetailsDto( | ||
String clientNumber, | ||
String clientName, | ||
String legalFirstName, | ||
String legalMiddleName, | ||
String clientStatusCode, | ||
String clientStatusDesc, | ||
String clientTypeCode, | ||
String clientTypeDesc, | ||
String clientIdTypeCode, | ||
String clientIdTypeDesc, | ||
String clientIdentification, | ||
String registryCompanyTypeCode, | ||
String corpRegnNmbr, | ||
String clientAcronym, | ||
String wcbFirmNumber, | ||
String clientComment, | ||
LocalDate clientCommentUpdateDate, | ||
String clientCommentUpdateUser, | ||
String goodStandingInd, | ||
LocalDate birthdate, | ||
|
||
List<ForestClientLocationDto> addresses, | ||
List<ForestClientContactDto> contacts, | ||
List<ForestClientDoingBusinessAsDto> doingBusinessAs | ||
) { | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
backend/src/main/java/ca/bc/gov/app/dto/legacy/ForestClientDoingBusinessAsDto.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,14 @@ | ||
package ca.bc.gov.app.dto.legacy; | ||
|
||
import lombok.With; | ||
|
||
@With | ||
public record ForestClientDoingBusinessAsDto( | ||
String clientNumber, | ||
String doingBusinessAsName, | ||
String createdBy, | ||
String updatedBy, | ||
Long orgUnit | ||
) { | ||
|
||
} |
33 changes: 33 additions & 0 deletions
33
backend/src/main/java/ca/bc/gov/app/dto/legacy/ForestClientLocationDto.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,33 @@ | ||
package ca.bc.gov.app.dto.legacy; | ||
|
||
import java.time.LocalDate; | ||
import lombok.With; | ||
|
||
@With | ||
public record ForestClientLocationDto( | ||
String clientNumber, | ||
String clientLocnCode, | ||
String clientLocnName, | ||
String addressOne, | ||
String addressTwo, | ||
String addressThree, | ||
String city, | ||
String province, | ||
String postalCode, | ||
String country, | ||
String businessPhone, | ||
String homePhone, | ||
String cellPhone, | ||
String faxNumber, | ||
String emailAddress, | ||
String locnExpiredInd, | ||
LocalDate returnedMailDate, | ||
String trustLocationInd, | ||
String cliLocnComment, | ||
String createdBy, | ||
String updatedBy, | ||
Long orgUnit | ||
) { | ||
|
||
} | ||
|
Oops, something went wrong.