Skip to content

Instantly share code, notes, and snippets.

View victorighalo's full-sized avatar
🤔
Digging Deeper into the science of computers daily.

Victor Osas Ighalo victorighalo

🤔
Digging Deeper into the science of computers daily.
  • Lagos, Nigeria
View GitHub Profile
# Template React Deploy
# This template allows you to deploy your React app to an AWS S3 bucket and invalidate the old AWS Cloudfront distribution.
# The workflow allows running tests, code linting and security scans on feature branches (as well as master).
# The react app will be validated, deployed to S3 and trigger an AWS Cloudfront distribution invalidation to refresh the CDN caches after the code is merged to master.
# Prerequisites: $AWS_ACCESS_KEY_ID, $AWS_SECRET_ACCESS_KEY setup in the Deployment variables.
# For advanced cases, please, follow examples from the pipe's:
# README https://bitbucket.org/atlassian/aws-s3-deploy/src/master/README.md
# README https://bitbucket.org/atlassian/aws-cloudfront-invalidate/src/master/README.md
{"payload":[{"role":{"id":48,"name":"basic_management","role_code":"basic_management","description":"local users and country team","is_custom":true,"permissions":null,"hibernateLazyInitializer":{}},"business":{"business_name":"British Council Tanzania","business_industry":"education-26829894","website_url":"www.britishcouncil.or.tz","rc_number":null,"phone_number":"255 (0) 686 888 000","business_email":"info@britishcouncil.or.tz","merchant_email":"information@britishcouncil.or.ke","number":"00002475","transLink":"l7nwY0wi","productLink":null,"live_private_key":"SBSECK_YLPDBUBS3U6MNNSQLAUWMWVAOEMH7S9TYHFUT0DW","live_public_key":"SBPUBK_POLJDOONZLJB2DQWS6MBEWBSJ7ACW0RB","test_private_key":"SBTESTSECK_aEkhlK7pHJNHd8SMtQYMYGCehWS26LtpPqZubd5F","test_public_key":"SBTESTPUBK_KZUTzIWU8ydSN3TaMhCEZ1mt2O7Q79Ac","address":{"street":"Corner Samora Machel Avenue & Ohio Street PO Box 9100 Dar es Salaam Tanzania","city":"Dar es Salaam","state":"Dar es Salaam","country":"TZ"},"cardFee":{"mc":"1.5","verve":"1.5","visa":"1.
{"enums":{"availableTo":[{"id":0,"name":"Customers","description":"Customers"},{"id":1,"name":"Groups","description":"Groups"},{"id":2,"name":"Group Solidarity","description":"Group_Solidarity"},{"id":3,"name":"All Branches","description":"All_Branches"}],"idType":[{"id":0,"name":"Incremental Number","description":"Incremental_Number"},{"id":1,"name":"Random Pattern","description":"Random_Pattern"}],"initialAccountState":[{"id":0,"name":"Pending Approval","description":"Pending_Approval"},{"id":1,"name":"Partial Application","description":"Partial_Application"}],"accountManagedUnderCreditArrangement":[{"id":2,"name":"No","description":"No"}],"interestCalculationMethod":[{"id":0,"name":"Flat","description":"Flat"},{"id":1,"name":"Declining Balance","description":"Declining_Balance"},{"id":2,"name":"Declining Balance Equal Installments","description":"Declining_Balance_Equal_instalments"}],"howIsTheInterestRateCharged":[{"id":0,"name":"% Per Year","description":"Per_Year"},{"id":1,"name":"% Per Month","descript
{"confirm":true,"showInactiveFees":true,"process":true,"closeDormantAccounts":false,"LockArrearsAccounts":false,"CapCharges":false,"loanProductKey":"c81105a829b4418c9734423c443252fc","accountingMethod":"1","adminPredefinedFees":[],"accountInitialState":"0","accountLinkagEnabled":false,"accrueLateInterest":false,"activated":true,"allowArbitrayFees":false,"allowCustomRepaymentAllocation":false,"amortizationMethod":"NA","applyInterestOnRepaymentMethod":"NA","branchList":[{"branchKey":"4d740a96129448ba909a753c6b95f3c0","branchId":"104","branchName":"ZEDVANCE LEKKI","branchEmailaddress":"lekkibranch@gmail.com","branchPhonenumber":"0703876546","branchNotes":"New branch","branchState":"Active","createdBy":"30f21222540b4204970c7f7799c9e5ce","creationDate":"2021-07-08T19:41:10.77","lastModifiedDate":"2021-07-13T21:22:46.123"},{"branchKey":"8864028349254011b12f1ff703fc7d2c","branchId":"102","branchName":"Zedvance Agege","branchEmailaddress":"agegezedvance@qa.team","branchPhonenumber":"08188652345","branchNotes":"","bra
{
"availableTo": [
{
"id": 0,
"name": "Customers",
"description": "Customers"
},
{
"id": 1,
"name": "Groups",
{"confirm":true,"showInactiveFees":true,"process":true,"closeDormantAccounts":false,"LockArrearsAccounts":false,"CapCharges":false,"loanProductKey":"c81105a829b4418c9734423c443252fc","accountingMethod":"1","adminPredefinedFees":[],"accountInitialState":"0","accountLinkagEnabled":false,"accrueLateInterest":false,"activated":true,"allowArbitrayFees":false,"allowCustomRepaymentAllocation":false,"amortizationMethod":"NA","applyInterestOnRepaymentMethod":"NA","branchList":[{"branchKey":"4d740a96129448ba909a753c6b95f3c0","branchId":"104","branchName":"ZEDVANCE LEKKI","branchEmailaddress":"lekkibranch@gmail.com","branchPhonenumber":"0703876546","branchNotes":"New branch","branchState":"Active","createdBy":"30f21222540b4204970c7f7799c9e5ce","creationDate":"2021-07-08T19:41:10.77","lastModifiedDate":"2021-07-13T21:22:46.123"},{"branchKey":"8864028349254011b12f1ff703fc7d2c","branchId":"102","branchName":"Zedvance Agege","branchEmailaddress":"agegezedvance@qa.team","branchPhonenumber":"08188652345","branchNotes":"","bra
{"accountHolderKey":"d30597aa1c044521ae8481c9dab9e9a7","accountHolderType":"Customers","accountType":"Saving Plan","assignedBranchKey":"5f5556527e8545189b811277e14e7085","assignedCenterKey":"846814163bb74ff193ed252aa3327920","assignedUserKey":"2376c9169fdd49d5a08be6ac4890608f","currencyCode":"001","interestSettingsKey":null,"savingsAccountName":"new_product","savingsAccountNotes":"Testing","savingsProductKey":"2cbbb396724a45698495d5d58e6918a6","interestRate":"","maxWithdrawalAmount":"10","defaultDepositAmount":"10000000","savingsGoalTarget":100000}
{"assignedBranchKey":"8864028349254011b12f1ff703fc7d2c","arrearsTolerancePeriod":"3","arrearsToleranceAmount":"4","repaymentInstallments":3,"repaymentPeriodCount":"2","repaymentPeriodUnit":0,"productTypeKey":"22c016fc27e8415bb9da85c1b19a19c0","accountHolderKey":null,"disbursementDetails":{"anticipatedDisbursementDate":"2021-07-22","firstRepaymentDate":"2021-07-31"},"accountArrearsSettings":{"dateCalculationMethod":"","monthlyToleranceDay":0,"nonWorkingDaysMethod":"","toleranceCalculationMethod":"","toleranceFloorAmount":0,"tolerancePercentageOfOutstandingPrincipal":"4","tolerancePeriod":0},"guarantees":[],"assets":[],"defaultFirstRepaymentDueDateOffset":null,"gracePeriod":0,"gracePeriodType":"0","interestCalculationMethod":"0","interestRate":0,"interestChargeFrequency":"NA","loanAmount":"400000","loanName":"Zedvance MicroMoni","notes":"Ok","accountState":"PENDING_APPROVAL","accountHolderType":"CLIENT","customInformation":[],"id":"30fcc42015a64ab193de3208c77622bd"}
{"assignedBranchKey":"edd24026bad2465d8ef8468036f07784","arrearsTolerancePeriod":"3","arrearsToleranceAmount":"3","repaymentInstallments":"3","repaymentPeriodCount":"1","repaymentPeriodUnit":0,"productTypeKey":"8f638a0f02e44aacbd2c776897c4c365","accountHolderKey":null,"disbursementDetails":null,"accountArrearsSettings":{"dateCalculationMethod":"","monthlyToleranceDay":0,"nonWorkingDaysMethod":"","toleranceCalculationMethod":"","toleranceFloorAmount":0,"tolerancePercentageOfOutstandingPrincipal":"3","tolerancePeriod":0},"guarantees":[{"customerKey":"47b7d50852ca4d72b63edc6edc61e531","customerName":"Basuoj Shade","assignedBranchKey":"b3ded4505d9048d79f3d38598fbcec87","assignedCentreKey":"7321315044ae467f8ba4f70e5711251f","guarantorType":"GUARANTOR","amount":"1000","depositAccountKey":"1ab985c9a1f64e5abf47b38e806bc8","type":"GUARANTOR"},{"description":"Camry 2012","guarantorType":"ASSET","amount":"1000","depositAccountKey":"string","savingsAccountKey":"string","type":"ASSET"}],"assets":[{"description":"Camry 201
{"assets":[],"assignedBranchKey":"edd24026bad2465d8ef8468036f07784","arrearsTolerancePeriod":"4","arrearsToleranceAmount":"4","repaymentInstallments":"3","repaymentPeriodCount":"1","repaymentPeriodUnit":0,"productTypeKey":"8f638a0f02e44aacbd2c776897c4c365","accountHolderKey":"f2bd261c51f54249b62abb5c89e8a141","disbursementDetails":{"anticipatedDisbursementDate":"2021-06-03","firstRepaymentDate":"2021-06-03"},"accountArrearsSettings":{"dateCalculationMethod":"","monthlyToleranceDay":0,"nonWorkingDaysMethod":"","toleranceCalculationMethod":"","toleranceFloorAmount":0,"tolerancePercentageOfOutstandingPrincipal":"4","tolerancePeriod":0},"guarantees":[{"guarantorKey":{"customerKey":"1219d02521fb41f0bd1a98971306848f","customerName":"John Dasher","assignedBranchKey":"6b4bcdad5ea94ec5906188fa9179562b","assignedCentreKey":"d601fa32be8847e580557df5bd1cf669"},"guarantorType":"CLIENT","amount":"4000","savingsAccountKey":null,"type":"GUARANTOR"},{"guarantorKey":{"customerKey":"5832d7ac1f4d4f4db5260e93ec408218","customerNa