Back to clone-army

SalesCandy Git archive

clone-army

Generates synthetic leads for testing.

README

This repository contains the Lead Faker tool, designed to generate synthetic data for rigorous testing purposes. It allows developers to simulate realistic lead inputs without using actual customer information.

The tool accepts configuration parameters defining the desired volume and characteristics of the fake leads. It outputs structured, synthetic lead records suitable for populating test databases or running integration tests.

Selected files and folders

  • README.md
  • package.json
  • serverless.yml

Reconstructed issues

Summaries inferred from the archive. Original issue records are unavailable here.

Incorrect random assignment logic

The previous implementation for random assignment within the synthetic lead generation process was flawed. This change corrects the logic to ensure assignments are distributed randomly and correctly across available options.

f182998de886

Fixing assignment mode handling

The mechanism for handling assignment modes was incorrectly targeting `body.projects` instead of the intended `body.assignmentMode.projects`. This revision corrects the path to ensure proper configuration reading.

3859630d72f3

Validation for repeat chances

The system lacked proper validation for repeat chances and multi-project scenarios. This update adds necessary checks to ensure data integrity when generating leads across multiple projects or repeat attempts.

2e1793a99379

Selected commits

  1. clone army v3.4.7

    Wahidiatul Firni ·

    4a4b5e80837ae01476f02127dcd3769072597234

  2. Fix random assignmentMode

    Ele ·

    f182998de886f16558213ed9296c2ccb319fdf87

  3. Add renovate.json

    Renovate Bot ·

    3ec743e66b427c684b91d0f88c852a0e56bd851b

  4. Pass full SQS url from environment.

    Ele ·

    4517449bee9f7062512fc710d8c1970adc74ff23

  5. Wrong fix. Should be body.assignmentMode.projects not body.projects

    Ele ·

    3859630d72f377630cb329df82197ff1f4bf7d7b

  6. remove limit from 10 to 1 remove worker, where we fix 1 worker process 50 leads. maximum 100 workers.

    Ele ·

    40f07f72ce3027f4c8bba04072c1eabaaff508b3

  7. CloneArmy change ti Synthetics

    Ele ·

    359607e53727b66d4f783356975fbebbb77502c6

  8. Update api

    Ele ·

    921bbd6668c8fc34d1b3a71c0d26bd12013572e0

  9. forget to commit

    Wahidiatul Firni ·

    3efa4bf7251d3d557d9ad7fc0256389a40ece0e7

  10. fixing forget commit

    Wahidiatul Firni ·

    083b53d41a1f4ad496e3116bb432370cf28075e7

  11. add validation for repeat chances and multi project chance

    Ele ·

    2e1793a99379941ebd6c2f2545837a9182de99f0

  12. Limit the value to send only 100.

    Ele ·

    fc129b9abd85ca4a6b6d15dac10b3b6f6813c8ad

  13. Deploy to production.

    Ele ·

    9480e7c7987502b164232e206b17f8c86282e341

  14. reduce duplication

    Ele ·

    d599306a10c3229facdb93f53ab81c3702fc5c34

  15. missed js

    Ele ·

    61f56c438b04217295d0a436d68e9c5ce9a11ff2

  16. Add css and js to local

    Ele ·

    01171700b1f6f52b06329dd2143bc7d2f01490e2

  17. Add sc-form function to dynamically load the input-field

    Ele ·

    604d1c8d35f4e1748d07ec7d93b272070e933cf0

  18. Bugfix

    Reza Rosli ·

    d78fb7198a9497009d06a5e47d95e967c807c37b

  19. Added an option to test an invalid project ID

    Reza Rosli ·

    d3f95cb18878bec2d4310927141cca2256386056

  20. Handle creation of test leads with project group round robin

    Reza Rosli ·

    715fe8cddebad03873cbcacf62b25aafbc45e299

  21. Handle creation of test leads with project group round robin

    Reza Rosli ·

    2a564d552af0a16e42f0e5ff6be857fb26f5f867

  22. Use decoupled workers so that the lambdas can be better scaled

    Reza Rosli ·

    2f6202888da22ba17fe37cb2b09f442cc7c3b6fc

  23. Create leads in bulk

    Reza Rosli ·

    1f6e8745ca690b0f08b5c83fdd9f5188ee174ea7

  24. implement duplicate lead with web APP

    Muhammad Anwaar ·

    7c9206feb2735478149cebc6e67595a7349104f8

  25. web page for lead creation

    Muhammad Anwaar ·

    eb8cc4d23bef4b9baa18d882cb35054154cd58af

  26. Encapsulate

    Reza Rosli ·

    b8ad29ff2bdac91ecc792bbe494b43277eda0c12

  27. Initial commit

    Reza Rosli ·

    93a40b8bad1c20caf18f55f72d7443d3e2a27424

  28. Add .gitignore

    Reza Rosli ·

    2230b71528fbd5df8e1d22aa17f98876c77db6b0

  29. copy files from candymuncher into this project

    Reza Rosli ·

    1c980415de53def34fb663db62932db8ada786c0