@simplysf/simply 6.3.0 → 6.5.0
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.
- package/README.md +216 -19
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -32,7 +32,10 @@ This package is part of the [`@simplysf/simply`](https://github.com/SimplySF/sim
|
|
|
32
32
|
- [`sf simply aep at4dx field-set-inclusion list`](#sf-simply-aep-at4dx-field-set-inclusion-list)
|
|
33
33
|
- [`sf simply aep at4dx field-set-inclusion update`](#sf-simply-aep-at4dx-field-set-inclusion-update)
|
|
34
34
|
- [`sf simply aep at4dx field-set-inclusion validate`](#sf-simply-aep-at4dx-field-set-inclusion-validate)
|
|
35
|
+
- [`sf simply aep at4dx platform-event-subscription create`](#sf-simply-aep-at4dx-platform-event-subscription-create)
|
|
35
36
|
- [`sf simply aep at4dx platform-event-subscription list`](#sf-simply-aep-at4dx-platform-event-subscription-list)
|
|
37
|
+
- [`sf simply aep at4dx platform-event-subscription simulate`](#sf-simply-aep-at4dx-platform-event-subscription-simulate)
|
|
38
|
+
- [`sf simply aep at4dx platform-event-subscription update`](#sf-simply-aep-at4dx-platform-event-subscription-update)
|
|
36
39
|
- [`sf simply aep at4dx platform-event-subscription validate`](#sf-simply-aep-at4dx-platform-event-subscription-validate)
|
|
37
40
|
- [`sf simply apex execute`](#sf-simply-apex-execute)
|
|
38
41
|
- [`sf simply apex logs purge`](#sf-simply-apex-logs-purge)
|
|
@@ -141,7 +144,7 @@ EXAMPLES
|
|
|
141
144
|
$ sf simply aep at4dx binding create --source-dir sfdx-source/core --type unit-of-work --developer-name Account_UOW --sobject Account --sequence 10
|
|
142
145
|
```
|
|
143
146
|
|
|
144
|
-
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.
|
|
147
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/create.js)_
|
|
145
148
|
|
|
146
149
|
## `sf simply aep at4dx binding list`
|
|
147
150
|
|
|
@@ -197,7 +200,7 @@ FLAG DESCRIPTIONS
|
|
|
197
200
|
Comma-separated list of binding types to include. If not specified, all four are included.
|
|
198
201
|
```
|
|
199
202
|
|
|
200
|
-
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.
|
|
203
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/list.js)_
|
|
201
204
|
|
|
202
205
|
## `sf simply aep at4dx binding update`
|
|
203
206
|
|
|
@@ -270,7 +273,7 @@ EXAMPLES
|
|
|
270
273
|
$ sf simply aep at4dx binding update --target-org myOrg --type unit-of-work --developer-name Account_UOW --sequence 20
|
|
271
274
|
```
|
|
272
275
|
|
|
273
|
-
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.
|
|
276
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/update.js)_
|
|
274
277
|
|
|
275
278
|
## `sf simply aep at4dx binding validate`
|
|
276
279
|
|
|
@@ -326,7 +329,7 @@ FLAG DESCRIPTIONS
|
|
|
326
329
|
Comma-separated list of binding types to include. If not specified, all four are included.
|
|
327
330
|
```
|
|
328
331
|
|
|
329
|
-
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.
|
|
332
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/validate.js)_
|
|
330
333
|
|
|
331
334
|
## `sf simply aep at4dx domain-process-binding create`
|
|
332
335
|
|
|
@@ -407,7 +410,7 @@ EXAMPLES
|
|
|
407
410
|
$ sf simply aep at4dx domain-process-binding create --source-dir sfdx-source/core --developer-name ServiceResource_Before_Update_Sync --sobject ServiceResource --sobject-alternate --process-context TriggerExecution --trigger-operation Before_Update --type Action --class-to-inject ServiceResourceSyncAction --order 10
|
|
408
411
|
```
|
|
409
412
|
|
|
410
|
-
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.
|
|
413
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/create.js)_
|
|
411
414
|
|
|
412
415
|
## `sf simply aep at4dx domain-process-binding list`
|
|
413
416
|
|
|
@@ -453,7 +456,7 @@ EXAMPLES
|
|
|
453
456
|
$ sf simply aep at4dx domain-process-binding list --target-org myOrg --active-only --json
|
|
454
457
|
```
|
|
455
458
|
|
|
456
|
-
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.
|
|
459
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/list.js)_
|
|
457
460
|
|
|
458
461
|
## `sf simply aep at4dx domain-process-binding update`
|
|
459
462
|
|
|
@@ -532,7 +535,7 @@ EXAMPLES
|
|
|
532
535
|
$ sf simply aep at4dx domain-process-binding update --target-org myOrg --developer-name Account_Before_Insert_Assign_Owner --class-to-inject AccountAssignOwnerActionV2
|
|
533
536
|
```
|
|
534
537
|
|
|
535
|
-
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.
|
|
538
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/update.js)_
|
|
536
539
|
|
|
537
540
|
## `sf simply aep at4dx domain-process-binding validate`
|
|
538
541
|
|
|
@@ -585,7 +588,7 @@ EXAMPLES
|
|
|
585
588
|
$ sf simply aep at4dx domain-process-binding validate --target-org myOrg --json
|
|
586
589
|
```
|
|
587
590
|
|
|
588
|
-
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.
|
|
591
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/validate.js)_
|
|
589
592
|
|
|
590
593
|
## `sf simply aep at4dx field-set-inclusion create`
|
|
591
594
|
|
|
@@ -643,7 +646,7 @@ EXAMPLES
|
|
|
643
646
|
$ sf simply aep at4dx field-set-inclusion create --target-org myOrg --developer-name ServiceResource_Skills --sobject ServiceResource --sobject-alternate --fieldset-name SkillFields
|
|
644
647
|
```
|
|
645
648
|
|
|
646
|
-
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.
|
|
649
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/field-set-inclusion/create.js)_
|
|
647
650
|
|
|
648
651
|
## `sf simply aep at4dx field-set-inclusion list`
|
|
649
652
|
|
|
@@ -681,7 +684,7 @@ EXAMPLES
|
|
|
681
684
|
$ sf simply aep at4dx field-set-inclusion list --target-org myOrg --json
|
|
682
685
|
```
|
|
683
686
|
|
|
684
|
-
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.
|
|
687
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/field-set-inclusion/list.js)_
|
|
685
688
|
|
|
686
689
|
## `sf simply aep at4dx field-set-inclusion update`
|
|
687
690
|
|
|
@@ -738,7 +741,7 @@ EXAMPLES
|
|
|
738
741
|
$ sf simply aep at4dx field-set-inclusion update --target-org myOrg --developer-name Account_Contact_Fields --fieldset-name ContactRelatedFieldsV2
|
|
739
742
|
```
|
|
740
743
|
|
|
741
|
-
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.
|
|
744
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/field-set-inclusion/update.js)_
|
|
742
745
|
|
|
743
746
|
## `sf simply aep at4dx field-set-inclusion validate`
|
|
744
747
|
|
|
@@ -782,7 +785,77 @@ EXAMPLES
|
|
|
782
785
|
$ sf simply aep at4dx field-set-inclusion validate --target-org myOrg --json
|
|
783
786
|
```
|
|
784
787
|
|
|
785
|
-
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.
|
|
788
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/field-set-inclusion/validate.js)_
|
|
789
|
+
|
|
790
|
+
## `sf simply aep at4dx platform-event-subscription create`
|
|
791
|
+
|
|
792
|
+
Create a new AT4DX Platform Event Distributor subscription (PlatformEvents_Subscription__mdt) in local source and/or a connected org.
|
|
793
|
+
|
|
794
|
+
```
|
|
795
|
+
USAGE
|
|
796
|
+
$ sf simply aep at4dx platform-event-subscription create -n <value> --event-bus <value> --consumer <value> --matcher-rule
|
|
797
|
+
MatchEventBus|MatchCategory|MatchEvent|MatchCategoryAndEvent [--json] [--flags-dir <value>] [-d <value>] [-o
|
|
798
|
+
<value>] [--api-version <value>] [--wait <value>] [--label <value>] [--event-category <value>] [--event-name
|
|
799
|
+
<value>] [--active] [--synchronous] [--force]
|
|
800
|
+
|
|
801
|
+
FLAGS
|
|
802
|
+
-d, --source-dir=<value> The package directory to create the platform event subscription's .md-meta.xml under.
|
|
803
|
+
Created if the customMetadata folder doesn't exist yet.
|
|
804
|
+
-n, --developer-name=<value> (required) The record's DeveloperName. Must start with a letter, contain only letters,
|
|
805
|
+
numbers, and single underscores, not end with an underscore, and be 40 characters or
|
|
806
|
+
fewer.
|
|
807
|
+
-o, --target-org=<value> Deploy the generated platform event subscription to this org after writing it.
|
|
808
|
+
--[no-]active IsActive__c. Defaults to true, matching the Custom Metadata Type's own default. Pass
|
|
809
|
+
--no-active to create it inactive.
|
|
810
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
811
|
+
--consumer=<value> (required) Consumer__c — the IEventsConsumer-implementing Apex class name. Unique
|
|
812
|
+
org-wide across every subscription.
|
|
813
|
+
--event-bus=<value> (required) EventBus__c — the platform event object API name this subscription registers
|
|
814
|
+
against, e.g. My_Event__e.
|
|
815
|
+
--event-category=<value> EventCategory__c. Required when --matcher-rule is MatchCategory or MatchCategoryAndEvent
|
|
816
|
+
— leaving it blank for those raises matcher-rule-missing-field.
|
|
817
|
+
--event-name=<value> Event__c. Required when --matcher-rule is MatchEvent or MatchCategoryAndEvent — leaving
|
|
818
|
+
it blank for those raises matcher-rule-missing-field.
|
|
819
|
+
--force Write (and deploy) even if validation finds an error-severity issue. Validation still
|
|
820
|
+
runs and its issues are still printed and returned.
|
|
821
|
+
--label=<value> The record's label. Defaults to --developer-name. Must be 40 characters or fewer.
|
|
822
|
+
--matcher-rule=<option> (required) MatcherRule__c — which of --event-category/--event-name the distributor's
|
|
823
|
+
matcher dereferences for this subscription. One of MatchEventBus, MatchCategory,
|
|
824
|
+
MatchEvent, MatchCategoryAndEvent.
|
|
825
|
+
<options: MatchEventBus|MatchCategory|MatchEvent|MatchCategoryAndEvent>
|
|
826
|
+
--[no-]synchronous Execute_Synchronous__c. Defaults to false. Pass --synchronous to have the distributor
|
|
827
|
+
invoke this consumer synchronously.
|
|
828
|
+
--wait=<value> [default: 33] Deploy poll timeout, in minutes. Only meaningful with --target-org.
|
|
829
|
+
|
|
830
|
+
GLOBAL FLAGS
|
|
831
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
832
|
+
--json Format output as json.
|
|
833
|
+
|
|
834
|
+
DESCRIPTION
|
|
835
|
+
Create a new AT4DX Platform Event Distributor subscription (PlatformEvents_Subscription__mdt) in local source and/or a
|
|
836
|
+
connected org.
|
|
837
|
+
|
|
838
|
+
Generates a `PlatformEvents_Subscription.<DeveloperName>.md-meta.xml` file from the given flags and writes it under
|
|
839
|
+
--source-dir, deploys it to --target-org, or both. Validates the resulting record — alongside everything else already
|
|
840
|
+
in scope — with the same rules `simply aep at4dx platform-event-subscription validate` uses, and refuses to write if
|
|
841
|
+
that introduces an error-severity issue unless --force is passed. At least one of --source-dir/--target-org is
|
|
842
|
+
required; both may be given at once (write to source and deploy it live in the same run). Given --target-org alone,
|
|
843
|
+
the file is written to a temporary directory, deployed, and discarded — no working-tree footprint.
|
|
844
|
+
|
|
845
|
+
--matcher-rule controls which of --event-category/--event-name the distributor's matcher dereferences for this
|
|
846
|
+
subscription: MatchEventBus dereferences neither (the whole bus matches, once a category or event name gets it past
|
|
847
|
+
the distributor's pre-filter — see `simply aep at4dx platform-event-subscription validate`'s unreachable-subscription
|
|
848
|
+
rule for why at least one should usually be set anyway), MatchCategory requires --event-category, MatchEvent requires
|
|
849
|
+
--event-name, and MatchCategoryAndEvent requires both. Leaving the field a MatcherRule needs blank is exactly the
|
|
850
|
+
matcher-rule-missing-field hazard validation catches — see that command's description for why it matters at runtime.
|
|
851
|
+
|
|
852
|
+
EXAMPLES
|
|
853
|
+
$ sf simply aep at4dx platform-event-subscription create --source-dir sfdx-source/core --developer-name Account_Change_Subscriber --event-bus Account_Change__e --consumer AccountChangeConsumer --matcher-rule MatchCategory --event-category Finance
|
|
854
|
+
|
|
855
|
+
$ sf simply aep at4dx platform-event-subscription create --target-org myOrg --developer-name Account_Change_Subscriber --event-bus Account_Change__e --consumer AccountChangeConsumer --matcher-rule MatchCategoryAndEvent --event-category Finance --event-name AccountUpdated
|
|
856
|
+
```
|
|
857
|
+
|
|
858
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/create.js)_
|
|
786
859
|
|
|
787
860
|
## `sf simply aep at4dx platform-event-subscription list`
|
|
788
861
|
|
|
@@ -820,7 +893,131 @@ EXAMPLES
|
|
|
820
893
|
$ sf simply aep at4dx platform-event-subscription list --target-org myOrg --json
|
|
821
894
|
```
|
|
822
895
|
|
|
823
|
-
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.
|
|
896
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/list.js)_
|
|
897
|
+
|
|
898
|
+
## `sf simply aep at4dx platform-event-subscription simulate`
|
|
899
|
+
|
|
900
|
+
Simulate the AT4DX Platform Event Distributor's consumer resolution for a hypothetical event, and show which subscriptions would receive it and why the rest wouldn't.
|
|
901
|
+
|
|
902
|
+
```
|
|
903
|
+
USAGE
|
|
904
|
+
$ sf simply aep at4dx platform-event-subscription simulate --event-bus <value> [--json] [--flags-dir <value>] [-o <value>] [--api-version <value>] [-d
|
|
905
|
+
<value>...] [--category <value>] [--event-name <value>]
|
|
906
|
+
|
|
907
|
+
FLAGS
|
|
908
|
+
-d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
|
|
909
|
+
local-source discovery.
|
|
910
|
+
-o, --target-org=<value> Username or alias of the org to read platform event subscriptions from. Use this for
|
|
911
|
+
live-org discovery.
|
|
912
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
913
|
+
--category=<value> The hypothetical event's Category__c value. Omit to simulate an event with no category.
|
|
914
|
+
--event-bus=<value> (required) The platform event object API name (EventBus__c) of the hypothetical event to
|
|
915
|
+
simulate, e.g. My_Event__e.
|
|
916
|
+
--event-name=<value> The hypothetical event's EventName__c value. Omit to simulate an event with no event
|
|
917
|
+
name.
|
|
918
|
+
|
|
919
|
+
GLOBAL FLAGS
|
|
920
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
921
|
+
--json Format output as json.
|
|
922
|
+
|
|
923
|
+
DESCRIPTION
|
|
924
|
+
Simulate the AT4DX Platform Event Distributor's consumer resolution for a hypothetical event, and show which
|
|
925
|
+
subscriptions would receive it and why the rest wouldn't.
|
|
926
|
+
|
|
927
|
+
Reads `PlatformEvents_Subscription__mdt` — either from a live org or from local Salesforce DX source — and
|
|
928
|
+
reimplements `PlatformEventDistributor`'s decision sequence against a hypothetical event you describe with
|
|
929
|
+
`--event-bus`, `--category`, and `--event-name`: restrict to subscriptions on that bus, drop inactive records the
|
|
930
|
+
distributor's own query never loads, apply `triggerHandler`'s pre-filter, then each record's `MatcherRule__c` branch.
|
|
931
|
+
Exactly one of `--target-org` or `--source-dir` must be specified.
|
|
932
|
+
|
|
933
|
+
Prints the exact consumer set the distributor would build, in order, tagged synchronous or asynchronous from
|
|
934
|
+
`Execute_Synchronous__c`, plus every subscription on that bus that would _not_ receive the event and the structured
|
|
935
|
+
reason why: `inactive`, `prefiltered` (the pre-filter rejected it before any matcher rule ran),
|
|
936
|
+
`matcher-rule-missing-field` (the matcher rule dereferences a blank match field — a real NullPointerException in the
|
|
937
|
+
org), or `no-match` (every field the matcher rule needs is present, but the values don't match this event).
|
|
938
|
+
|
|
939
|
+
This is the same evaluation `simply aep at4dx platform-event-subscription validate` uses to derive
|
|
940
|
+
`matcher-rule-missing-field` and `unreachable-subscription` — running it here against a concrete hypothetical event is
|
|
941
|
+
how you confirm a subscription actually receives what you expect it to, beyond what `validate`'s static checks can
|
|
942
|
+
tell you.
|
|
943
|
+
|
|
944
|
+
EXAMPLES
|
|
945
|
+
$ sf simply aep at4dx platform-event-subscription simulate --target-org myOrg --event-bus Account_Change__e --category Finance --event-name AccountUpdated
|
|
946
|
+
|
|
947
|
+
$ sf simply aep at4dx platform-event-subscription simulate --source-dir sfdx-source/core --event-bus Account_Change__e --event-name AccountUpdated
|
|
948
|
+
|
|
949
|
+
$ sf simply aep at4dx platform-event-subscription simulate --target-org myOrg --event-bus Account_Change__e --json
|
|
950
|
+
```
|
|
951
|
+
|
|
952
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/simulate.js)_
|
|
953
|
+
|
|
954
|
+
## `sf simply aep at4dx platform-event-subscription update`
|
|
955
|
+
|
|
956
|
+
Update an existing AT4DX Platform Event Distributor subscription (PlatformEvents_Subscription__mdt) in local source and/or a connected org.
|
|
957
|
+
|
|
958
|
+
```
|
|
959
|
+
USAGE
|
|
960
|
+
$ sf simply aep at4dx platform-event-subscription update -n <value> [--json] [--flags-dir <value>] [-d <value>...] [-o <value>] [--api-version <value>]
|
|
961
|
+
[--wait <value>] [--label <value>] [--event-bus <value>] [--consumer <value>] [--matcher-rule
|
|
962
|
+
MatchEventBus|MatchCategory|MatchEvent|MatchCategoryAndEvent] [--event-category <value>] [--event-name <value>]
|
|
963
|
+
[--active] [--synchronous] [--force]
|
|
964
|
+
|
|
965
|
+
FLAGS
|
|
966
|
+
-d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source, searched for the
|
|
967
|
+
record to update.
|
|
968
|
+
-n, --developer-name=<value> (required) The DeveloperName of the record to update.
|
|
969
|
+
-o, --target-org=<value> Locate (when --source-dir isn't given) and/or deploy the record to this org.
|
|
970
|
+
--[no-]active IsActive__c. If not given, the existing value is kept. Pass --no-active to deactivate.
|
|
971
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
972
|
+
--consumer=<value> Consumer__c. If not given, the existing value is kept. Unique org-wide across every
|
|
973
|
+
subscription.
|
|
974
|
+
--event-bus=<value> EventBus__c. If not given, the existing value is kept.
|
|
975
|
+
--event-category=<value> EventCategory__c. If not given, the existing value is kept. Required when the record's
|
|
976
|
+
MatcherRule__c is MatchCategory or MatchCategoryAndEvent — leaving it blank for those
|
|
977
|
+
raises matcher-rule-missing-field.
|
|
978
|
+
--event-name=<value> Event__c. If not given, the existing value is kept. Required when the record's
|
|
979
|
+
MatcherRule__c is MatchEvent or MatchCategoryAndEvent — leaving it blank for those
|
|
980
|
+
raises matcher-rule-missing-field.
|
|
981
|
+
--force Write (and deploy) even if validation finds an error-severity issue. Validation still
|
|
982
|
+
runs and its issues are still printed and returned.
|
|
983
|
+
--label=<value> The record's label. If not given, the existing label is kept.
|
|
984
|
+
--matcher-rule=<option> MatcherRule__c — which of --event-category/--event-name the distributor's matcher
|
|
985
|
+
dereferences for this subscription. If not given, the existing value is kept.
|
|
986
|
+
<options: MatchEventBus|MatchCategory|MatchEvent|MatchCategoryAndEvent>
|
|
987
|
+
--[no-]synchronous Execute_Synchronous__c. If not given, the existing value is kept. Pass --no-synchronous
|
|
988
|
+
to have the distributor invoke this consumer asynchronously.
|
|
989
|
+
--wait=<value> [default: 33] Deploy poll timeout, in minutes. Only meaningful with --target-org.
|
|
990
|
+
|
|
991
|
+
GLOBAL FLAGS
|
|
992
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
993
|
+
--json Format output as json.
|
|
994
|
+
|
|
995
|
+
DESCRIPTION
|
|
996
|
+
Update an existing AT4DX Platform Event Distributor subscription (PlatformEvents_Subscription__mdt) in local source
|
|
997
|
+
and/or a connected org.
|
|
998
|
+
|
|
999
|
+
Finds the platform event subscription named --developer-name in local source and/or a connected org, applies only the
|
|
1000
|
+
fields given as flags — everything else is preserved from the found record — and rewrites its `.md-meta.xml` file.
|
|
1001
|
+
Validates the resulting record — alongside everything else already in scope — with the same rules `simply aep at4dx
|
|
1002
|
+
platform-event-subscription validate` uses, and refuses to write if that introduces an error-severity issue unless
|
|
1003
|
+
--force is passed.
|
|
1004
|
+
|
|
1005
|
+
When --source-dir is given, the record is located there (searched across every directory given, same as
|
|
1006
|
+
`list`/`validate`) and that exact file is rewritten; the found file is also deployed if --target-org is given. When
|
|
1007
|
+
only --target-org is given, the record is located and updated directly in the org via a temporary file, deployed, then
|
|
1008
|
+
discarded — no working-tree footprint.
|
|
1009
|
+
|
|
1010
|
+
--developer-name identifies the record to update and can't itself be changed by this command. --consumer, unlike
|
|
1011
|
+
--developer-name, is an ordinary field on this record — changing it is a plain value update, not a
|
|
1012
|
+
delete-and-recreate, even though it reads as the subscription's identity in most tooling.
|
|
1013
|
+
|
|
1014
|
+
EXAMPLES
|
|
1015
|
+
$ sf simply aep at4dx platform-event-subscription update --source-dir sfdx-source/core --developer-name Account_Change_Subscriber --no-active
|
|
1016
|
+
|
|
1017
|
+
$ sf simply aep at4dx platform-event-subscription update --target-org myOrg --developer-name Account_Change_Subscriber --consumer AccountChangeConsumerV2
|
|
1018
|
+
```
|
|
1019
|
+
|
|
1020
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/update.js)_
|
|
824
1021
|
|
|
825
1022
|
## `sf simply aep at4dx platform-event-subscription validate`
|
|
826
1023
|
|
|
@@ -869,7 +1066,7 @@ EXAMPLES
|
|
|
869
1066
|
$ sf simply aep at4dx platform-event-subscription validate --target-org myOrg --json
|
|
870
1067
|
```
|
|
871
1068
|
|
|
872
|
-
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.
|
|
1069
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.12.0/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/validate.js)_
|
|
873
1070
|
|
|
874
1071
|
## `sf simply apex execute`
|
|
875
1072
|
|
|
@@ -904,7 +1101,7 @@ FLAG DESCRIPTIONS
|
|
|
904
1101
|
The path to the local .apex file containing the anonymous Apex code to execute.
|
|
905
1102
|
```
|
|
906
1103
|
|
|
907
|
-
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.
|
|
1104
|
+
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.2/packages/simply-apex/lib/commands/simply/apex/execute.js)_
|
|
908
1105
|
|
|
909
1106
|
## `sf simply apex logs purge`
|
|
910
1107
|
|
|
@@ -960,7 +1157,7 @@ FLAG DESCRIPTIONS
|
|
|
960
1157
|
elapses, then throws.
|
|
961
1158
|
```
|
|
962
1159
|
|
|
963
|
-
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.
|
|
1160
|
+
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.2/packages/simply-apex/lib/commands/simply/apex/logs/purge.js)_
|
|
964
1161
|
|
|
965
1162
|
## `sf simply apex test-suite generate`
|
|
966
1163
|
|
|
@@ -1008,7 +1205,7 @@ FLAG DESCRIPTIONS
|
|
|
1008
1205
|
pass that directory explicitly, e.g. force-app/main/default/testSuites.
|
|
1009
1206
|
```
|
|
1010
1207
|
|
|
1011
|
-
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.
|
|
1208
|
+
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.2/packages/simply-apex/lib/commands/simply/apex/test-suite/generate.js)_
|
|
1012
1209
|
|
|
1013
1210
|
## `sf simply apex trace setup`
|
|
1014
1211
|
|
|
@@ -1068,7 +1265,7 @@ FLAG DESCRIPTIONS
|
|
|
1068
1265
|
Defaults to the current date/time.
|
|
1069
1266
|
```
|
|
1070
1267
|
|
|
1071
|
-
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.
|
|
1268
|
+
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.2/packages/simply-apex/lib/commands/simply/apex/trace/setup.js)_
|
|
1072
1269
|
|
|
1073
1270
|
## `sf simply apex trace silence`
|
|
1074
1271
|
|
|
@@ -1132,7 +1329,7 @@ FLAG DESCRIPTIONS
|
|
|
1132
1329
|
Adds di_Binding, di_Module, di_PlatformCache, and di_Injector to the classes to silence.
|
|
1133
1330
|
```
|
|
1134
1331
|
|
|
1135
|
-
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.
|
|
1332
|
+
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.2/packages/simply-apex/lib/commands/simply/apex/trace/silence.js)_
|
|
1136
1333
|
|
|
1137
1334
|
## `sf simply community publish`
|
|
1138
1335
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply",
|
|
3
3
|
"description": "Salesforce CLI Plugins created by @SimplySF",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.0",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
6
|
"homepage": "https://github.com/SimplySF/simply-node",
|
|
7
7
|
"bugs": "https://github.com/SimplySF/simply-node/issues",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@oclif/core": "^4.11.2",
|
|
78
|
-
"@simplysf/simply-aep": "^0.
|
|
78
|
+
"@simplysf/simply-aep": "^0.14.0",
|
|
79
79
|
"@simplysf/simply-apex": "^1.8.2",
|
|
80
80
|
"@simplysf/simply-community": "^0.6.5",
|
|
81
81
|
"@simplysf/simply-data": "^2.4.4",
|
|
@@ -174,5 +174,5 @@
|
|
|
174
174
|
"output": []
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
|
-
"gitHead": "
|
|
177
|
+
"gitHead": "3f3f4ccb39cef4e5ca2748d823305dd099de8a4d"
|
|
178
178
|
}
|