Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into feature/ticket-1007 #1503

Open
wants to merge 59 commits into
base: feature/ticket-1007
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 46 commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
894241e
High Ratio Custom Object for Rollup Testing
acrosman Feb 7, 2024
7c450d2
Rename Custom object file
acrosman Feb 7, 2024
0e8219c
Add Standard Object High Ratio Test File
acrosman Feb 7, 2024
f868181
Merge 7b0a0c919a9d04a53df27223316a49cbb14a017d into feature/qa-high-r…
github-actions[bot] Feb 13, 2024
3d0a274
Merge a49b6177b137795b0ae1a0b21ea201b25466582c into feature/qa-high-r…
github-actions[bot] Mar 23, 2024
c9cae2b
Merge aa0544e66d13adf252f40634be6c591b8d718e0b into feature/qa-high-r…
github-actions[bot] Apr 1, 2024
d445f5a
Merge 3afd487a8bd6e929e8de1d813348468ac06fe580 into feature/qa-high-r…
github-actions[bot] Apr 1, 2024
679b567
Merge 39d592d7540f81f2908ad39d1f3e83328d6627e9 into feature/qa-high-r…
github-actions[bot] Apr 7, 2024
d155049
Merge 1e2ade25f214deab991597ebc4e39281ea20a852 into feature/qa-high-r…
github-actions[bot] Apr 13, 2024
a5adb27
Merge 72769f1efe4c171fb81a4a8245c204202f6519d6 into feature/qa-high-r…
github-actions[bot] Apr 13, 2024
1899396
Merge a099af29d5c14695aa8ea9512f00eb30915961a7 into feature/qa-high-r…
github-actions[bot] May 15, 2024
54c36b8
Merge 5122ae3e0577ee0fe1f6372b425492e82f15e0a8 into feature/qa-high-r…
github-actions[bot] May 27, 2024
144c409
Merge 0f242a70e002a6f0800fac635811dba3c37b89ca into feature/qa-high-r…
github-actions[bot] Jul 15, 2024
a4a84ad
Merge 427d112c64a0fd94cf95fc2aea649fa3fb8c16ff into feature/qa-high-r…
github-actions[bot] Jul 22, 2024
a3ef997
Merge ce162ed479bf694c606c015cab44115585ae84a1 into feature/qa-high-r…
github-actions[bot] Sep 2, 2024
39304c0
Merge 3f372480e204252ad79d8aad177e764997ac71d9 into feature/qa-high-r…
github-actions[bot] Sep 12, 2024
1c1c788
Create snowfakeryschema
Nickers3 Feb 6, 2024
5896288
Delete datasets/qa/snowfakeryschema
Nickers3 Feb 6, 2024
0024c37
Add files via upload
Nickers3 Feb 6, 2024
55b40a9
Delete datasets/qa/SampleStandardObjectLowRatio.txt
Nickers3 Feb 7, 2024
33cbc8f
Create snowfakerylowratio
Nickers3 Feb 7, 2024
2412f25
Rename snowfakerylowratio to snowfakerylowratio.yml
Nickers3 Feb 7, 2024
1bd48d9
Remove extra friends headers
acrosman Feb 7, 2024
af3b744
Adding 1 big opp
acrosman Feb 7, 2024
f09f073
Added Fields used to Test DLRS QA Rollups
Nickers3 Feb 7, 2024
3f87d4f
Test for adding DLRS Rollups into QA repo.
Nickers3 Feb 7, 2024
642d0ac
Pulling DLRS QA Rollups into QA unpackaged portion of repo to allow f…
Nickers3 Feb 7, 2024
9ff6ed1
Adding Object Based DLRS Apex Class and Apex Triggers into QA Unpacka…
Nickers3 Feb 7, 2024
c4a1f4e
Pull DLRS Updates post testing
Nickers3 Feb 7, 2024
46ff729
Add Page Layout changes with new fields and splitting out DRLS Test F…
Nickers3 Feb 7, 2024
2e2bfad
Ignore Layout and Profile changes
Nickers3 Feb 7, 2024
1a02ab1
Snowfakery Add
NickersUMN Feb 7, 2024
3ae5420
Update snowfakerylowratio.yml
NickersUMN Feb 7, 2024
fc40dfd
Added field description and help text to reference DLRS rollups that …
Nickers3 Feb 7, 2024
ef5816a
Update API versions to v61.0
aheber Sep 27, 2024
eaff249
Massage and convert MDAPI format to DX format
aheber Sep 27, 2024
1611afb
update cumulusci to correct structure
aheber Sep 27, 2024
a8fd4a3
Merge pull request #1426 from SFDO-Community/feature/nw/rollup-lwc__f…
aheber Sep 27, 2024
fa3c92a
Merge branch 'main' into feature/qa-high-ratio-data
aheber Sep 27, 2024
e5d83de
Merge pull request #1428 from SFDO-Community/feature/qa-high-ratio-data
aheber Sep 27, 2024
9c87884
Update cumulusci.yml
NickersUMN Sep 28, 2024
db5117b
Update cumulusci.yml
NickersUMN Sep 28, 2024
65c8e97
Merge pull request #1500 from SFDO-Community/feature/september-2024-s…
aheber Oct 8, 2024
41e5aa2
Created a new branch and added the the DMLOptioons instance again
chininchu Oct 5, 2024
66910f7
Fixed ticket 1007
chininchu Oct 8, 2024
6db4cee
Merge pull request #1502 from SFDO-Community/feature/1007
aheber Oct 8, 2024
43993c8
Update API version to v62.0
aheber Oct 16, 2024
e9f9de6
Merge pull request #1504 from SFDO-Community/feature/1499-api-62
aheber Oct 23, 2024
45cd658
Enable rollup bypass via Custom Setting, Dev API, or per-rollup Cust …
aheber Sep 1, 2024
eb0967c
Make background jobs respect new disablement features
aheber Nov 24, 2024
2ed442e
Merge pull request #1494 from SFDO-Community/feature/786-add-global-b…
aheber Nov 24, 2024
2630f7b
Change check permission strategy
aheber Nov 25, 2024
71aa434
Make test namespace aware
aheber Nov 25, 2024
b340d9f
Correct tests for namespace
aheber Nov 25, 2024
9961585
Add field to test queries
aheber Nov 25, 2024
7a40051
Merge pull request #1508 from SFDO-Community/feature/1507-change-cust…
aheber Nov 25, 2024
a866534
Correcting tests for permissions
aheber Nov 26, 2024
d33aa47
Simplify tests
aheber Nov 27, 2024
5e9c7dd
Merge pull request #1509 from SFDO-Community/feature/1507-change-cust…
aheber Nov 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 24 additions & 11 deletions cumulusci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,24 @@ tasks:
options:
path: unpackaged/config/qa

snowfakery_highratio_custom:
description: Create a sample dataset for main objects in CSOM EDA org
class_path: cumulusci.tasks.bulkdata.snowfakery.Snowfakery
options:
recipe: datasets/qa/high-ratio-tests-custom-object.yml

snowfakery_highratio_standard:
description: Create a sample dataset for main objects in CSOM EDA org
class_path: cumulusci.tasks.bulkdata.snowfakery.Snowfakery
options:
recipe: datasets/qa/high-ratio-tests-stand-object.yml

snowfakery_lowratio:
description: Create a sample dataset for main objects in CSOM EDA org
class_path: cumulusci.tasks.bulkdata.snowfakery.Snowfakery
options:
recipe: datasets/qa/snowfakerylowratio.yml

robot:
options:
suites: robot/DLRS/tests
Expand Down Expand Up @@ -79,10 +97,11 @@ flows:
options:
apex: QAHelper.updateAppMenuOrdering();
7:
task: load_dataset
options:
mapping: datasets/qa/mapping.yml
sql_path: datasets/qa/qa_data.sql
task: snowfakery_lowratio
8:
task: snowfakery_highratio_standard
9:
task: snowfakery_highratio_custom

customer_org:
steps:
Expand All @@ -109,13 +128,6 @@ flows:
options:
extra: "--sourcepath ./dlrs/libs/fflib-apexmocks,./dlrs/libs/fflib-common,./dlrs/libs/lrengine,./dlrs/libs/metadataservice,./dlrs/main"

config_dev:
steps:
1.1:
task: deploy
options:
path: unpackaged/config/qa

orgs:
scratch:
dev_prerelease:
Expand All @@ -128,6 +140,7 @@ orgs:
config_file: orgs/dev.json
namespaced: True
days: 7

plans:
install:
slug: install
Expand Down
43 changes: 43 additions & 0 deletions datasets/qa/high-ratio-tests-custom-object.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Section uses the QA Lookup Parent object to create high ratio data.
# There is one parent, with 25,000 sub-parents each with 1 child.
# There is a second top level parent with all 25,000 children attached.
#QA Lookup Parent Record to be referenced later for Second Lookup on Child
- object: QALookupParent__c
nickname: TopLevelParent
count: 1
fields:
Name: Top Level Parent High Ratio
#QA Lookup Parent Record that will have child QA Lookup Parent
- object: QALookupParent__c
nickname: TopHierarchyParent
count: 1
fields:
Name: Top Level of a wide hierarchy
friends:
- object: QALookupParent__c
nickname: CustomParentwithChild
count: 25000
fields:
Name: QALookupParentwithChild
Self_Relationship__c:
reference: TopHierarchyParent
friends:
- object: QALookupChild__c
nickname: CustomChild
count: 1
fields:
Name: ${{fake.Text(max_nb_chars = 25)}}
Amount__c: 1000
Color__c:
random_choice:
- Red
- Yellow
- Green
- Blue
Description__c: ${{fake.Text(max_nb_chars = 200)}}
Description2__c: ${{fake.Text(max_nb_chars = 200)}}
LookupParent__c:
reference: CustomParentwithChild

LookupParent2__c:
reference: TopLevelParent
110 changes: 110 additions & 0 deletions datasets/qa/high-ratio-tests-stand-objects.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# Macros to reduce duplicate field definitions. All non-reference fields for
# each object type should be listed here. We don't bother with Account since
# we just set the Name field.

# Fields to use on all Contacts
- macro: contact_base
fields:
Firstname:
fake: first_name
Lastname:
fake: last_name

# Fields to use on Cases
- macro: case_base
fields:
Subject: ${{fake.Text(max_nb_chars = 20)}}
Description: ${{fake.Paragraph(nb_sentences=5)}}

# Fields to use on Opportunities
- macro: opp_base
fields:
Name: ${{fake.Word}} Opportunity
Stagename:
random_choice:
Prospecting: 5%
Qualification: 5%
Closed Won: 80%
Closed Lost: 10%
CloseDate:
date_between:
start_date: -1y
end_date: today
Amount:
random_number:
min: 1000
max: 10000
step: 50

- object: Account
count: 1
nickname: TopLevelAccount
fields:
Name:
fake: Company
friends:
- object: Account
nickname: ChildAccount
fields:
Name:
fake: Company
friends:
- object: Contact # Contacts for the child account
count: 50
include: contact_base
fields:
AccountId:
reference: ChildAccount
- object: Case # Case for child Account
count: 500
include: case_base
fields:
AccountId:
reference: ChildAccount
ContactId:
random_reference:
to: Contact
unique: False
- object: Contact # Contacts for the top level account.
count: 50
include: contact_base
fields:
AccountId:
reference: TopLevelAccount
- object: Case # Case for Parent Account
count: 500
include: case_base
fields:
AccountId:
reference: TopLevelAccount
ContactId:
random_reference:
to: Contact
unique: False
- object: Opportunity
count: 500
include: opp_base
fields:
AccountId:
reference: TopLevelAccount
ContactId:
random_reference:
to: Contact
unique: False
friends:
- object: OpportunityContactRole
count: 2
fields:
OpportunityId:
reference: Opportunity
ContactId:
random_reference:
to: Contact
unique: False
Role:
random_choice:
Business User: 20%
Decision Maker: 20%
Economic Buyer: 20%
Economic Decision Maker: 20%
Evaluator: 20%
Loading
Loading