Skip to content
Extrik808Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Ebury technical test

SFDX deployment guide

Prerequisites:

  • Access to Salesforce DevHub org.
  • Access to Fixer.io account which provide token.

  • Steps:
    1. Run openTest.sh
    1.1 Open Terminal and go to the openTest.sh file
    1.2 chmod 755 openTest.sh
    1.3 ./openTest.sh
    1.4 Authorization on DevHub
    1.5 Write scratch org name
    1.6 After executing the script will open your scratch org
    2. Create Default Organization Level Value in "Chatter Setting" custom setting with the "Queue Name" label filled in with the value "Trade reviewers"


    3. Create Default Organization Level Value in "Fixer IO" custom setting with the "Endpoint" label filled in with the value "https://api.apilayer.com" and "Token" field filled in with the value security token whith provide Fixer IO.



    Overview

    REQ1

  • Sell Currency and Buy Currency are both picklist fields which reference Global Value Set "Currency"


  • Where ID is Auto Number with format "TR" + 7 numbers.

  • REQ2

  • We have Trade list view which show us all Trades and sorted by booking date


  • We have New Trade button which open modal window. The create button is inactive until the fields are filled "Sell Currency", "Buy Currency" and "Sell Amount".


  • When we choose Sell Currency and Buy Currency we got latest rate.


  • When we fill incorrect value in "Sell Amount" field we can see validation


  • When we fill Sell Amount, Buy Amount show us result


  • When we click on create. The Trade record will created and our list view updated


  • REQ3

  • After creating Trade record we send information in chatter for queue named "Trade reviewers"


  • REQ4

  • Fixer IO bring us the latest currency rates

  • The Endpoint and Token we store in protected custom settings

  • REQ5

  • We have script "openTest.sh" for deployment automation

  • Code Coverage

    About

    No description, website, or topics provided.

    Resources

    Stars

    0 stars

    Watchers

    1 watching

    Forks

    Releases

    Packages

    Contributors

    Languages