Change affects 2 files: handlers.clj & polaris.clj Bugfix = no outside changes to API No changes to values passed or return types Specific testing was to ensure function resolves in same manner but returns correct data via Postman Non-specifc testing was to ensure validation in dev/production via smoke test.
sequenceDiagram
Transfersafe -->> Baboon: Please retrieve loan data!
Baboon-->>Encompass: Please send full loan data
Encompass ->> Baboon: Here is full loan data
Baboon --> Employee Service: Locate LO data by EncompassUsername
Employee Service --x Baboon: 404: not found: Unable to locate
Baboon -->> Baboon: Compiles info w/o LO data
Baboon-->>Transfersafe: Here is the loan data
Note right of Transfersafe: TS Displays invalid LO message
sequenceDiagram
Transfersafe -->> Baboon: Please retrieve loan data!
Baboon -->> Encompass: Please send full loan data
Encompass ->> Baboon: Here is full loan data
Baboon -->> Employee Service: Locate LO data by EncompassUsername
Employee Service -x Baboon: 404: not found
Baboon -->> Employee Service: Locate LO by Employee ID
Employee Service ->> Baboon: 200: OK
Baboon -->> Baboon: Compiles info w/ LO data
Baboon ->>Transfersafe: Here is the loan data
Missing fields: LOemail, LOtitle, LOshortName, LOimage, LOemployeeID, LOofficePhoneNumber, LOdisplayName, and LOusername
{
"AppraisalReceivedDate": null,
"ApplicationSentDate": "2021-02-26T06:00:00",
"BorrowerMilitaryStatus": null,
"BorrowerBonusIncome": null,
"BorrowerOtherIncomeSectionTotal": "3548.17",
"TransferSafeProgress": "Final Review",
"CoBorrowerId": 8815517930,
"BorrowerId": 9117277578,
"SubjectPropertyCity": "DIAMOND BAR",
"AppraisalDueDate": null,
"LoanNumber": "213586021",
"CoBorrowerFirstName": "MINA",
"Payment": null,
"BorrowerOvertimeIncome": null,
"CondoContactName": null,
"CoBorrowerMilitaryStatus": null,
"SellerCredit": false,
"BorrowerEmployerCompanyName": "RETIRED",
"EscrowImpoundWaived": "Waived",
"BorrowerSelfEmploymentIndicator": false,
"RequestStatus": "Locked",
"ConformingJumboIndicator": "Conforming",
"BorrowerPhone": "9095788943",
"BorrowerLastName": "MUNOZ"
"PurchaseDate": null,
"CoBorrowerEmail": "[email protected]",
"CoBorrowerPhone": "9095788943",
"IsDmxLoan": false,
"CoBorrowerEmployerPhoneNumber": "2136127800",
"LoanPurpose": "NoCash-Out Refinance",
"NetTangible": {
"NTB_X40": false,
"NTB_X38": true,
"NTB_X41": false,
"NTB_X46": false,
"NTB_X37": true,
"NTB_X42": false,
"NTB_X50": false,
"NTB_X44": false,
"NTB_X47": false,
"NTB_X39": false,
"NTB_X43": false,
"NTB_X48": false,
"NTB_X23": false,
"NTB_X45": false
},
"SubjectPropertyStreet": "834 BRIDLE DR",
"InsuranceCompanyName": "PACIFIC SPECIALTY",
"ApplicationCompletedDate": "2021-03-09T06:00:00",
"CoBorrowerLastName": "MUNOZ",
"LockedDate": null,
"BorrowerNetRentalIncome": null,
"CoBorrowerEmployerContactName": null,
"ClearToCloseDate": null,
"LoanProgram": "Freddie Mac Conforming 15 Year Fixed",
"LoanType": "Conventional",
"BorrowerCommissionIncome": null,
"CondoPhoneNumber": null,
"LoanGuid": "33eee256-a3cd-435d-856d-7586c99dfa33",
"SubjectPropertyZip": "91765",
"CoBorrowerEmployerCompanyName": "Nossaman LLP",
"ApprovedWithConditionsDate": "2021-03-15T05:00:00",
"IsOnline": null,
"Folder": "owning",
"SubjectPropertyCounty": "Los Angeles",
"BorrowerFirstName": "RICHARD",
"BorrowerEmployerContactName": null,
"LipId": null,
"LoanOfficerName": "Phoebe Tran",
"CoBorrowerSelfEmploymentIndicator": false,
"IntentToProceedGiven": true,
"InsurancePhoneNumber": "9517365343",
"IsDigitalMortgage": false,
"BorrowerDividendsInterestIncome": null,
"BorrowerSSN": "569826727",
"SubjectPropertyType": "Detached",
"CondoEmailAddress": null,
"LoanOfficerUserId": "vatran",
"BorrowerBaseIncome": null,
"Created": "2021-02-23T06:00:00",
"InsuranceAgentName": "ORTIZ INSURANCE",
"BorrowerOtherIncome": null,
"LoanEstimateApplicationDate": "2021-02-23T06:00:00",
"SubjectPropertyState": "CA",
"CoBorrowerSSN": "550966747",
"AppraisalOrderedDate": null,
"BorrowerEmail": "[email protected]",
"BorrowerEmployerPhoneNumber": null
}
{
"AppraisalReceivedDate": null,
"ApplicationSentDate": "2021-02-26T06:00:00",
"BorrowerMilitaryStatus": null,
"BorrowerBonusIncome": null,
"BorrowerOtherIncomeSectionTotal": "3548.17",
"TransferSafeProgress": "Final Review",
"CoBorrowerId": 8815517930,
"BorrowerId": 9117277578,
"MCOfficePhoneNumber": "(424) 325-0081",
"SubjectPropertyCity": "DIAMOND BAR",
"AppraisalDueDate": null,
"LoanNumber": "213586021",
"CoBorrowerFirstName": "MINA",
"Payment": null,
"BorrowerOvertimeIncome": null,
"CondoContactName": null,
"LCUsername": "acoleman",
"CoBorrowerMilitaryStatus": null,
"SellerCredit": false,
"BorrowerEmployerCompanyName": "RETIRED",
"MCEmployeeId": 25077,
"EscrowImpoundWaived": "Waived",
"BorrowerSelfEmploymentIndicator": false,
"MCImage": null,
"RequestStatus": "Locked",
"ConformingJumboIndicator": "Conforming",
"BorrowerPhone": "9095788943",
"LOShortName": null,
"BorrowerLastName": "MUNOZ",
"PurchaseDate": null,
"CoBorrowerEmail": "[email protected]",
"LOUsername": "vanpht",
"CoBorrowerPhone": "9095788943",
"LOEmail": "[email protected]",
"IsDmxLoan": false,
"LCShortName": null,
"CoBorrowerEmployerPhoneNumber": "2136127800",
"LCDisplayName": "Alishia Coleman",
"LoanPurpose": "NoCash-Out Refinance",
"MCEmail": "[email protected]",
"NetTangible": {
"NTB_X40": false,
"NTB_X38": true,
"NTB_X41": false,
"NTB_X46": false,
"NTB_X37": true,
"NTB_X42": false,
"NTB_X50": false,
"NTB_X44": false,
"NTB_X47": false,
"NTB_X39": false,
"NTB_X43": false,
"NTB_X48": false,
"NTB_X23": false,
"NTB_X45": false
},
"SubjectPropertyStreet": "834 BRIDLE DR",
"LOTitle": "Loan Officer",
"InsuranceCompanyName": "PACIFIC SPECIALTY",
"LOImage": null,
"ApplicationCompletedDate": "2021-03-09T06:00:00",
"CoBorrowerLastName": "MUNOZ",
"LockedDate": null,
"BorrowerNetRentalIncome": null,
"CoBorrowerEmployerContactName": null,
"LOEmployeeId": 25029,
"ClearToCloseDate": null,
"LoanProgram": "Freddie Mac Conforming 15 Year Fixed",
"LoanType": "Conventional",
"BorrowerCommissionIncome": null,
"CondoPhoneNumber": null,
"MCTitle": null,
"LoanGuid": "33eee256-a3cd-435d-856d-7586c99dfa33",
"LCImage": null,
"SubjectPropertyZip": "91765",
"CoBorrowerEmployerCompanyName": "Nossaman LLP",
"ApprovedWithConditionsDate": "2021-03-15T05:00:00",
"MCDisplayName": "Michelle Huynh",
"IsOnline": null,
"Folder": "owning",
"SubjectPropertyCounty": "Los Angeles",
"BorrowerFirstName": "RICHARD",
"BorrowerEmployerContactName": null,
"LCEmployeeId": 23760,
"LipId": null,
"LoanOfficerName": "Phoebe Tran",
"CoBorrowerSelfEmploymentIndicator": false,
"IntentToProceedGiven": true,
"MCUsername": "mihuynh",
"LCOfficePhoneNumber": "(702) 832-1307",
"InsurancePhoneNumber": "9517365343",
"IsDigitalMortgage": false,
"BorrowerDividendsInterestIncome": null,
"BorrowerSSN": "569826727",
"SubjectPropertyType": "Detached",
"CondoEmailAddress": null,
"LoanOfficerUserId": "vatran",
"BorrowerBaseIncome": null,
"LODisplayName": "Phoebe Tran",
"Created": "2021-02-23T06:00:00",
"InsuranceAgentName": "ORTIZ INSURANCE",
"BorrowerOtherIncome": null,
"LoanEstimateApplicationDate": "2021-02-23T06:00:00",
"SubjectPropertyState": "CA",
"LOOfficePhoneNumber": "(949) 423-3197",
"CoBorrowerSSN": "550966747",
"AppraisalOrderedDate": null,
"LCEmail": "[email protected]",
"MCShortName": null,
"LCTitle": null,
"BorrowerEmail": "[email protected]",
"LOSlug": "vanpht",
"BorrowerEmployerPhoneNumber": null
}