@salesforce/plugin-orchestrator 1.0.18 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,141 @@
1
+ # summary
2
+
3
+ Upgrade an orchestrated app.
4
+
5
+ # description
6
+
7
+ Upgrade an existing orchestrated app by running its template's upgrade chains. This command allows you to apply template upgrades, reconfigure the app with new template values, and modify runtime settings while staying within the same template.
8
+
9
+ You can identify the app by either its unique ID or its name. App IDs are guaranteed to be unique, while names should be unique within an org.
10
+
11
+ Use this command to run template-defined upgrade workflows that can update app configurations, apply new template versions, or reconfigure template values. This is different from the update command which only changes basic metadata like label and description.
12
+
13
+ You must have Data Cloud and Tableau Next enabled in your org and the AppFrameworkManageApp user permission to modify apps. The template ID must match the app's current template - you cannot change the underlying template an app is based on.
14
+
15
+ # flags.target-org.summary
16
+
17
+ Login username or alias for the target org.
18
+
19
+ # flags.target-org.description
20
+
21
+ The target org to connect to for upgrading the app.
22
+
23
+ # flags.api-version.summary
24
+
25
+ Override the API version used for API requests.
26
+
27
+ # flags.api-version.description
28
+
29
+ Override the API version used for orchestrator API requests. Use this flag to specify a particular API version when the default version doesn't work with your org's configuration.
30
+
31
+ # flags.app-id.summary
32
+
33
+ ID of the app to upgrade.
34
+
35
+ # flags.app-id.description
36
+
37
+ The unique identifier of the app to upgrade.
38
+
39
+ # flags.app-name.summary
40
+
41
+ Name of the app to upgrade.
42
+
43
+ # flags.app-name.description
44
+
45
+ The name of the app to upgrade.
46
+
47
+ # flags.template-id.summary
48
+
49
+ ID of the template to use for the upgrade.
50
+
51
+ # flags.template-id.description
52
+
53
+ The unique identifier of the template to use for upgrading the app. This must match the app's current template ID. Template upgrades run the template's defined upgrade chains to reconfigure or update the app. Use "sf orchestrator template list" to find available template IDs.
54
+
55
+ # flags.template-values.summary
56
+
57
+ Template-specific configuration values as JSON.
58
+
59
+ # flags.template-values.description
60
+
61
+ A JSON object containing template-specific configuration values to pass to the upgrade chain. The available values depend on the template's variable definitions. For example: '{"dataSource":"mySource","refreshInterval":30}'. These values customize how the template upgrade chain configures the app.
62
+
63
+ # flags.runtime-method.summary
64
+
65
+ Runtime method for the upgrade execution.
66
+
67
+ # flags.runtime-method.description
68
+
69
+ Specifies how the upgrade chain should be executed. Use 'sync' for synchronous execution (wait for completion) or 'async' for asynchronous execution (run in background). This affects how long the command takes to complete and how errors are handled.
70
+
71
+ # flags.log-level.summary
72
+
73
+ Log level for the upgrade execution.
74
+
75
+ # flags.log-level.description
76
+
77
+ Sets the logging level for the upgrade chain execution. Higher levels provide more diagnostic information: 'debug' (most verbose), 'info' (normal), 'warn' (warnings only), or 'error' (errors only). Use 'debug' when troubleshooting upgrade issues.
78
+
79
+ # flags.chain-name.summary
80
+
81
+ Specific chain name to execute for the upgrade.
82
+
83
+ # flags.chain-name.description
84
+
85
+ The name of the specific upgrade chain to execute. If not specified, the template's default upgrade chain will be used. Different chains may perform different types of upgrades or configurations within the same template.
86
+
87
+ # noAppSpecified
88
+
89
+ No app specified for upgrade. You must specify either an app ID with --app-id or an app name with --app-name.
90
+
91
+ # noAppFound
92
+
93
+ No app found with the specified ID or name.
94
+
95
+ # invalidTemplateValues
96
+
97
+ Invalid template values JSON. Please provide a valid JSON object for --template-values.
98
+
99
+ # fetchingApp
100
+
101
+ Fetching app details...
102
+
103
+ # upgradingApp
104
+
105
+ Upgrading app...
106
+
107
+ # upgradeSuccess
108
+
109
+ Successfully upgraded app: %s
110
+
111
+ # error.UpgradeError
112
+
113
+ Failed to upgrade app: %s
114
+
115
+ # error.UpgradeError.Actions
116
+
117
+ - Verify that you have permission to modify apps in the target org
118
+ - Check that the app exists and is accessible
119
+ - Ensure the template ID matches the app's current template
120
+ - Verify the template values are valid JSON and match expected variables
121
+ - Check that Data Cloud and Tableau Next are enabled in your org
122
+ - Try using a different API version with --api-version
123
+ - Verify your authentication and org connection are valid
124
+
125
+ # examples
126
+
127
+ - Upgrade an app with its current template:
128
+
129
+ <%= config.bin %> <%= command.id %> --target-org myOrg --app-id 1zAxx000000000123 --template-id 1zDxx000000001EAA
130
+
131
+ - Upgrade an app with new template values:
132
+
133
+ <%= config.bin %> <%= command.id %> --target-org myOrg --app-name "My App" --template-id 1zDxx000000001EAA --template-values '{"dataSource":"newSource","refreshInterval":60}'
134
+
135
+ - Upgrade an app with async execution:
136
+
137
+ <%= config.bin %> <%= command.id %> --target-org myOrg --app-id 1zAxx000000000123 --template-id 1zDxx000000001EAA --runtime-method async --log-level debug
138
+
139
+ - Upgrade an app using a specific chain:
140
+
141
+ <%= config.bin %> <%= command.id %> --target-org myOrg --app-id 1zAxx000000000123 --template-id 1zDxx000000001EAA --chain-name "UpdateConfiguration"
@@ -0,0 +1,55 @@
1
+ # summary
2
+
3
+ Test JSON transformation rules using the jsonxform/transformation endpoint.
4
+
5
+ # description
6
+
7
+ Preview how transformation rules will modify JSON documents before deploying templates. This command uses a sample transformation to test the jsonxform/transformation endpoint with built-in User and Org context variables.
8
+
9
+ # flags.target-org.summary
10
+
11
+ Username or alias for the target org; overrides default target org.
12
+
13
+ # flags.target-org.description
14
+
15
+ The username or alias of the target org where the jsonxform/transformation endpoint will be called. This org provides the User and Org context variables used in the transformation.
16
+
17
+ # flags.api-version.summary
18
+
19
+ Override the api version used for api requests made by this command.
20
+
21
+ # flags.api-version.description
22
+
23
+ API version to use for the transformation request. Defaults to the org's configured API version.
24
+
25
+ # flags.template-info.summary
26
+
27
+ Path to Analytics template-info.json file.
28
+
29
+ # flags.template-info.description
30
+
31
+ Path to the template-info.json file containing the base JSON document structure that will be transformed.
32
+
33
+ # flags.variables.summary
34
+
35
+ Path to Analytics variables.json file.
36
+
37
+ # flags.variables.description
38
+
39
+ Path to the variables.json file containing variable definitions used in transformations.
40
+
41
+ # flags.rules.summary
42
+
43
+ Path to Analytics rules.json file.
44
+
45
+ # flags.rules.description
46
+
47
+ Path to the rules.json file containing transformation rules and macro definitions.
48
+
49
+ # examples
50
+
51
+ - Test JSON transformation with Analytics template files:
52
+ <%= config.bin %> <%= command.id %> --template-info ./template-info.json --variables ./variables.json --rules ./rules.json --target-org myorg
53
+
54
+ - Test with specific API version:
55
+ <%= config.bin %> <%= command.id %> --template-info ./template-info.json --variables ./variables.json --rules ./rules.json --target-org myorg --api-version 60.0