-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathdemo-recipe.json
140 lines (140 loc) · 4.75 KB
/
demo-recipe.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"recipeName": "FSC Demo Pack",
"description": "A Recipe for building Financial Service Cloud (FSC) demo orgs",
"recipeType": "appx:demo-recipe",
"recipeVersion": "1.0.2",
"schemaVersion": "0.1.2",
"options": {
"haltOnError": true,
"noCustomInstall": false,
"skipGroups": [],
"skipActions": ["import-data-tree"],
"targetOrgs": [
{
"orgName": "Scratch Org Demo",
"alias": "sfdx-isv_fsc-demo-pack_scratch-demo",
"description": "Installs the FSC Demo Pack in a Scratch Org",
"isScratchOrg": true,
"scratchDefJson": "demo-scratch-def.json"
}
]
},
"recipeStepGroups": [
{
"stepGroupName": "Install Packages",
"alias": "install-packages",
"description": "Installs all managed and unmanged packages required by the demo",
"recipeSteps": [
{
"stepName": "Install FSC Managed Package",
"description": "Installs version 220.6 of the FSC managed package",
"action": "install-package",
"options": {
"packageName": "Financial Services Cloud (Managed Package), Version 220.6",
"packageVersionId": "04t1E000000y9ew"
}
},
{
"stepName": "Install FSC Extension Package (unmanaged)",
"description": "Installs version 218.1 of the unmanaged FSC Extension Package",
"action": "install-package",
"options": {
"packageName": "Financial Services Cloud (Unmanaged Package), Version 218.1",
"packageVersionId": "04t1E000001Iql5"
}
}
]
},
{
"stepGroupName": "Deploy Metadata",
"alias": "deploy-metadata",
"description": "Deploys code from the mdapi-source directory",
"recipeSteps": [
{
"stepName": "Deploy App Config",
"description": "Deploys metadata found in mdapi-source/app-config",
"action": "deploy-metadata",
"options": {
"mdapiSource": "app-config"
}
},
{
"stepName": "Deploy Data Config",
"description": "Deploys metadata found in mdapi-source/data-config",
"action": "deploy-metadata",
"options": {
"mdapiSource": "data-config"
}
},
{
"stepName": "Deploy Org Config",
"description": "Deploys metadata found in mdapi-source/org-config",
"action": "deploy-metadata",
"options": {
"mdapiSource": "org-config"
}
}
]
},
{
"stepGroupName": "Create and Configure Users",
"alias": "create-users",
"description": "Configure the Admin User and create primary and secondary demo users",
"recipeSteps": [
{
"stepName": "Configure Admin User",
"description": "Configures the Admin User based on demo-user-admin.json",
"action": "configure-admin-user",
"options": {
"definitionFile": "demo-user-admin.json"
}
},
{
"stepName": "Create Primary Demo User",
"description": "Creates a demo user based on demo-user-primary.json",
"action": "create-user",
"options": {
"definitionFile": "demo-user-primary.json",
"sfdxUserAlias": "sfdx-isv_primary-demo-user"
}
},
{
"stepName": "Create Secondary Demo User",
"description": "Creates a demo user based on demo-user-secondary.json",
"action": "create-user",
"options": {
"definitionFile": "demo-user-secondary.json",
"sfdxUserAlias": "sfdx-isv_secondary-demo-user"
}
}
]
},
{
"stepGroupName": "Import/Create Data",
"alias": "import-data",
"description": "Imports or creates data in the demo org",
"recipeSteps": [
{
"stepName": "Import FSC App Config Data",
"description": "Data tree import of simple config data used by FSC to control how the app behaves",
"action": "import-data-tree",
"options": {
"plan": "data-import-plan.json"
}
},
{
"stepName": "Create FSC Demo Data",
"description": "Uses anonymous Apex to call FscDemoPack_DataSetup.createAllDemoData(), which creates FSC test data in the org.",
"action": "execute-apex",
"options": {
"apexCodeFile": "create-demo-data.apex"
}
}
]
}
],
"handlers": [
{},
{}
]
}