@simplysf/simply 6.2.2 → 6.3.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 +94 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -32,6 +32,8 @@ 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 list`](#sf-simply-aep-at4dx-platform-event-subscription-list)
|
|
36
|
+
- [`sf simply aep at4dx platform-event-subscription validate`](#sf-simply-aep-at4dx-platform-event-subscription-validate)
|
|
35
37
|
- [`sf simply apex execute`](#sf-simply-apex-execute)
|
|
36
38
|
- [`sf simply apex logs purge`](#sf-simply-apex-logs-purge)
|
|
37
39
|
- [`sf simply apex test-suite generate`](#sf-simply-apex-test-suite-generate)
|
|
@@ -782,6 +784,93 @@ EXAMPLES
|
|
|
782
784
|
|
|
783
785
|
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.11.3/packages/simply-aep/lib/commands/simply/aep/at4dx/field-set-inclusion/validate.js)_
|
|
784
786
|
|
|
787
|
+
## `sf simply aep at4dx platform-event-subscription list`
|
|
788
|
+
|
|
789
|
+
List the AT4DX Platform Event Distributor subscriptions configured in an org or local source.
|
|
790
|
+
|
|
791
|
+
```
|
|
792
|
+
USAGE
|
|
793
|
+
$ sf simply aep at4dx platform-event-subscription list [--json] [--flags-dir <value>] [-o <value>] [--api-version
|
|
794
|
+
<value>] [-d <value>...]
|
|
795
|
+
|
|
796
|
+
FLAGS
|
|
797
|
+
-d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
|
|
798
|
+
local-source discovery.
|
|
799
|
+
-o, --target-org=<value> Username or alias of the org to read platform event subscriptions from. Use this for
|
|
800
|
+
live-org discovery.
|
|
801
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
802
|
+
|
|
803
|
+
GLOBAL FLAGS
|
|
804
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
805
|
+
--json Format output as json.
|
|
806
|
+
|
|
807
|
+
DESCRIPTION
|
|
808
|
+
List the AT4DX Platform Event Distributor subscriptions configured in an org or local source.
|
|
809
|
+
|
|
810
|
+
Reads `PlatformEvents_Subscription__mdt` — either from a live org or from local Salesforce DX source — and lists every
|
|
811
|
+
record found, grouped by event bus then category. Unlike `simply aep at4dx binding list`, there's no priority/winner
|
|
812
|
+
concept: every `IsActive__c: true` subscription for a matching event is invoked by the distributor, so this is a flat
|
|
813
|
+
table, not a resolved one. Exactly one of `--target-org` or `--source-dir` must be specified.
|
|
814
|
+
|
|
815
|
+
EXAMPLES
|
|
816
|
+
$ sf simply aep at4dx platform-event-subscription list --target-org myOrg
|
|
817
|
+
|
|
818
|
+
$ sf simply aep at4dx platform-event-subscription list --source-dir sfdx-source/core --source-dir sfdx-source/app
|
|
819
|
+
|
|
820
|
+
$ sf simply aep at4dx platform-event-subscription list --target-org myOrg --json
|
|
821
|
+
```
|
|
822
|
+
|
|
823
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.11.3/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/list.js)_
|
|
824
|
+
|
|
825
|
+
## `sf simply aep at4dx platform-event-subscription validate`
|
|
826
|
+
|
|
827
|
+
Validate the AT4DX Platform Event Distributor subscriptions configured in an org or local source, failing when a wiring problem is found.
|
|
828
|
+
|
|
829
|
+
```
|
|
830
|
+
USAGE
|
|
831
|
+
$ sf simply aep at4dx platform-event-subscription validate [--json] [--flags-dir <value>] [-o <value>] [--api-version
|
|
832
|
+
<value>] [-d <value>...]
|
|
833
|
+
|
|
834
|
+
FLAGS
|
|
835
|
+
-d, --source-dir=<value>... One or more paths to directories containing Salesforce DX source. Use this for
|
|
836
|
+
local-source discovery.
|
|
837
|
+
-o, --target-org=<value> Username or alias of the org to read platform event subscriptions from. Use this for
|
|
838
|
+
live-org discovery.
|
|
839
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
840
|
+
|
|
841
|
+
GLOBAL FLAGS
|
|
842
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
843
|
+
--json Format output as json.
|
|
844
|
+
|
|
845
|
+
DESCRIPTION
|
|
846
|
+
Validate the AT4DX Platform Event Distributor subscriptions configured in an org or local source, failing when a
|
|
847
|
+
wiring problem is found.
|
|
848
|
+
|
|
849
|
+
Reads `PlatformEvents_Subscription__mdt` — either from a live org or from local Salesforce DX source — and checks them
|
|
850
|
+
for problems `simply aep at4dx platform-event-subscription list` doesn't fail on: a blank or unrecognized
|
|
851
|
+
EventBus__c/Consumer__c/MatcherRule__c, a matcher rule that dereferences a blank match field (a real
|
|
852
|
+
NullPointerException risk at runtime), a MatchEventBus record the distributor's own pre-filter can never admit, an
|
|
853
|
+
event bus missing fields the distributor reads (only checked for a bus this command can see the field list of), two
|
|
854
|
+
records sharing a Consumer__c value (unique org-wide), and the same DeveloperName defined more than once. Exactly one
|
|
855
|
+
of `--target-org` or `--source-dir` must be specified.
|
|
856
|
+
|
|
857
|
+
Several of these problems fail silently at runtime in a real org — PlatformEventDistributor's consumer construction
|
|
858
|
+
only logs to System.debug on failure, and one malformed record can take down every subscription's DI module. Catching
|
|
859
|
+
them here, before deploy, is the whole point of this command.
|
|
860
|
+
|
|
861
|
+
Prints a table of every issue found. Exits non-zero when any issue is an error (a warning alone doesn't fail the
|
|
862
|
+
command) — use this in CI to gate on AT4DX platform event subscription wiring problems before they reach an org.
|
|
863
|
+
|
|
864
|
+
EXAMPLES
|
|
865
|
+
$ sf simply aep at4dx platform-event-subscription validate --target-org myOrg
|
|
866
|
+
|
|
867
|
+
$ sf simply aep at4dx platform-event-subscription validate --source-dir sfdx-source/core --source-dir sfdx-source/app
|
|
868
|
+
|
|
869
|
+
$ sf simply aep at4dx platform-event-subscription validate --target-org myOrg --json
|
|
870
|
+
```
|
|
871
|
+
|
|
872
|
+
_See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-aep@0.11.3/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/validate.js)_
|
|
873
|
+
|
|
785
874
|
## `sf simply apex execute`
|
|
786
875
|
|
|
787
876
|
Execute anonymous Apex code.
|
|
@@ -815,7 +904,7 @@ FLAG DESCRIPTIONS
|
|
|
815
904
|
The path to the local .apex file containing the anonymous Apex code to execute.
|
|
816
905
|
```
|
|
817
906
|
|
|
818
|
-
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.
|
|
907
|
+
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.0/packages/simply-apex/lib/commands/simply/apex/execute.js)_
|
|
819
908
|
|
|
820
909
|
## `sf simply apex logs purge`
|
|
821
910
|
|
|
@@ -871,7 +960,7 @@ FLAG DESCRIPTIONS
|
|
|
871
960
|
elapses, then throws.
|
|
872
961
|
```
|
|
873
962
|
|
|
874
|
-
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.
|
|
963
|
+
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.0/packages/simply-apex/lib/commands/simply/apex/logs/purge.js)_
|
|
875
964
|
|
|
876
965
|
## `sf simply apex test-suite generate`
|
|
877
966
|
|
|
@@ -919,7 +1008,7 @@ FLAG DESCRIPTIONS
|
|
|
919
1008
|
pass that directory explicitly, e.g. force-app/main/default/testSuites.
|
|
920
1009
|
```
|
|
921
1010
|
|
|
922
|
-
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.
|
|
1011
|
+
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.0/packages/simply-apex/lib/commands/simply/apex/test-suite/generate.js)_
|
|
923
1012
|
|
|
924
1013
|
## `sf simply apex trace setup`
|
|
925
1014
|
|
|
@@ -979,7 +1068,7 @@ FLAG DESCRIPTIONS
|
|
|
979
1068
|
Defaults to the current date/time.
|
|
980
1069
|
```
|
|
981
1070
|
|
|
982
|
-
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.
|
|
1071
|
+
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.0/packages/simply-apex/lib/commands/simply/apex/trace/setup.js)_
|
|
983
1072
|
|
|
984
1073
|
## `sf simply apex trace silence`
|
|
985
1074
|
|
|
@@ -1043,7 +1132,7 @@ FLAG DESCRIPTIONS
|
|
|
1043
1132
|
Adds di_Binding, di_Module, di_PlatformCache, and di_Injector to the classes to silence.
|
|
1044
1133
|
```
|
|
1045
1134
|
|
|
1046
|
-
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.
|
|
1135
|
+
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.8.0/packages/simply-apex/lib/commands/simply/apex/trace/silence.js)_
|
|
1047
1136
|
|
|
1048
1137
|
## `sf simply community publish`
|
|
1049
1138
|
|
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.3.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.12.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": "35ce5dcb8e289fe36a5deb87cfd0d4f19d2e3374"
|
|
178
178
|
}
|