@simplysf/simply 6.5.0 → 6.5.3
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 +14 -14
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -794,7 +794,7 @@ Create a new AT4DX Platform Event Distributor subscription (PlatformEvents_Subsc
|
|
|
794
794
|
```
|
|
795
795
|
USAGE
|
|
796
796
|
$ sf simply aep at4dx platform-event-subscription create -n <value> --event-bus <value> --consumer <value> --matcher-rule
|
|
797
|
-
MatchEventBus|
|
|
797
|
+
MatchEventBus|MatchEventBusAndCategory|MatchEventBusAndEventName|MatchEventBusAndCategoryAndEventName [--json] [--flags-dir <value>] [-d <value>] [-o
|
|
798
798
|
<value>] [--api-version <value>] [--wait <value>] [--label <value>] [--event-category <value>] [--event-name
|
|
799
799
|
<value>] [--active] [--synchronous] [--force]
|
|
800
800
|
|
|
@@ -812,17 +812,17 @@ FLAGS
|
|
|
812
812
|
org-wide across every subscription.
|
|
813
813
|
--event-bus=<value> (required) EventBus__c — the platform event object API name this subscription registers
|
|
814
814
|
against, e.g. My_Event__e.
|
|
815
|
-
--event-category=<value> EventCategory__c. Required when --matcher-rule is
|
|
815
|
+
--event-category=<value> EventCategory__c. Required when --matcher-rule is MatchEventBusAndCategory or MatchEventBusAndCategoryAndEventName
|
|
816
816
|
— leaving it blank for those raises matcher-rule-missing-field.
|
|
817
|
-
--event-name=<value> Event__c. Required when --matcher-rule is
|
|
817
|
+
--event-name=<value> Event__c. Required when --matcher-rule is MatchEventBusAndEventName or MatchEventBusAndCategoryAndEventName — leaving
|
|
818
818
|
it blank for those raises matcher-rule-missing-field.
|
|
819
819
|
--force Write (and deploy) even if validation finds an error-severity issue. Validation still
|
|
820
820
|
runs and its issues are still printed and returned.
|
|
821
821
|
--label=<value> The record's label. Defaults to --developer-name. Must be 40 characters or fewer.
|
|
822
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,
|
|
824
|
-
|
|
825
|
-
<options: MatchEventBus|
|
|
823
|
+
matcher dereferences for this subscription. One of MatchEventBus, MatchEventBusAndCategory,
|
|
824
|
+
MatchEventBusAndEventName, MatchEventBusAndCategoryAndEventName.
|
|
825
|
+
<options: MatchEventBus|MatchEventBusAndCategory|MatchEventBusAndEventName|MatchEventBusAndCategoryAndEventName>
|
|
826
826
|
--[no-]synchronous Execute_Synchronous__c. Defaults to false. Pass --synchronous to have the distributor
|
|
827
827
|
invoke this consumer synchronously.
|
|
828
828
|
--wait=<value> [default: 33] Deploy poll timeout, in minutes. Only meaningful with --target-org.
|
|
@@ -845,14 +845,14 @@ DESCRIPTION
|
|
|
845
845
|
--matcher-rule controls which of --event-category/--event-name the distributor's matcher dereferences for this
|
|
846
846
|
subscription: MatchEventBus dereferences neither (the whole bus matches, once a category or event name gets it past
|
|
847
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),
|
|
849
|
-
--event-name, and
|
|
848
|
+
rule for why at least one should usually be set anyway), MatchEventBusAndCategory requires --event-category, MatchEventBusAndEventName requires
|
|
849
|
+
--event-name, and MatchEventBusAndCategoryAndEventName requires both. Leaving the field a MatcherRule needs blank is exactly the
|
|
850
850
|
matcher-rule-missing-field hazard validation catches — see that command's description for why it matters at runtime.
|
|
851
851
|
|
|
852
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
|
|
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 MatchEventBusAndCategory --event-category Finance
|
|
854
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
|
|
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 MatchEventBusAndCategoryAndEventName --event-category Finance --event-name AccountUpdated
|
|
856
856
|
```
|
|
857
857
|
|
|
858
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)_
|
|
@@ -959,7 +959,7 @@ Update an existing AT4DX Platform Event Distributor subscription (PlatformEvents
|
|
|
959
959
|
USAGE
|
|
960
960
|
$ sf simply aep at4dx platform-event-subscription update -n <value> [--json] [--flags-dir <value>] [-d <value>...] [-o <value>] [--api-version <value>]
|
|
961
961
|
[--wait <value>] [--label <value>] [--event-bus <value>] [--consumer <value>] [--matcher-rule
|
|
962
|
-
MatchEventBus|
|
|
962
|
+
MatchEventBus|MatchEventBusAndCategory|MatchEventBusAndEventName|MatchEventBusAndCategoryAndEventName] [--event-category <value>] [--event-name <value>]
|
|
963
963
|
[--active] [--synchronous] [--force]
|
|
964
964
|
|
|
965
965
|
FLAGS
|
|
@@ -973,17 +973,17 @@ FLAGS
|
|
|
973
973
|
subscription.
|
|
974
974
|
--event-bus=<value> EventBus__c. If not given, the existing value is kept.
|
|
975
975
|
--event-category=<value> EventCategory__c. If not given, the existing value is kept. Required when the record's
|
|
976
|
-
MatcherRule__c is
|
|
976
|
+
MatcherRule__c is MatchEventBusAndCategory or MatchEventBusAndCategoryAndEventName — leaving it blank for those
|
|
977
977
|
raises matcher-rule-missing-field.
|
|
978
978
|
--event-name=<value> Event__c. If not given, the existing value is kept. Required when the record's
|
|
979
|
-
MatcherRule__c is
|
|
979
|
+
MatcherRule__c is MatchEventBusAndEventName or MatchEventBusAndCategoryAndEventName — leaving it blank for those
|
|
980
980
|
raises matcher-rule-missing-field.
|
|
981
981
|
--force Write (and deploy) even if validation finds an error-severity issue. Validation still
|
|
982
982
|
runs and its issues are still printed and returned.
|
|
983
983
|
--label=<value> The record's label. If not given, the existing label is kept.
|
|
984
984
|
--matcher-rule=<option> MatcherRule__c — which of --event-category/--event-name the distributor's matcher
|
|
985
985
|
dereferences for this subscription. If not given, the existing value is kept.
|
|
986
|
-
<options: MatchEventBus|
|
|
986
|
+
<options: MatchEventBus|MatchEventBusAndCategory|MatchEventBusAndEventName|MatchEventBusAndCategoryAndEventName>
|
|
987
987
|
--[no-]synchronous Execute_Synchronous__c. If not given, the existing value is kept. Pass --no-synchronous
|
|
988
988
|
to have the distributor invoke this consumer asynchronously.
|
|
989
989
|
--wait=<value> [default: 33] Deploy poll timeout, in minutes. Only meaningful with --target-org.
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply",
|
|
3
3
|
"description": "Salesforce CLI Plugins created by @SimplySF",
|
|
4
|
-
"version": "6.5.
|
|
4
|
+
"version": "6.5.3",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
|
-
"homepage": "https://github.com/SimplySF/simply-
|
|
7
|
-
"bugs": "https://github.com/SimplySF/simply-
|
|
6
|
+
"homepage": "https://github.com/SimplySF/simply-plugins",
|
|
7
|
+
"bugs": "https://github.com/SimplySF/simply-plugins/issues",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/SimplySF/simply-
|
|
10
|
+
"url": "https://github.com/SimplySF/simply-plugins",
|
|
11
11
|
"directory": "packages/simply"
|
|
12
12
|
},
|
|
13
13
|
"engines": {
|
|
@@ -75,17 +75,17 @@
|
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@oclif/core": "^4.11.2",
|
|
78
|
-
"@simplysf/simply-aep": "^0.14.
|
|
79
|
-
"@simplysf/simply-apex": "^1.8.
|
|
80
|
-
"@simplysf/simply-community": "^0.6.
|
|
81
|
-
"@simplysf/simply-data": "^2.4.
|
|
82
|
-
"@simplysf/simply-document": "^0.4.
|
|
83
|
-
"@simplysf/simply-flow": "^0.4.
|
|
84
|
-
"@simplysf/simply-package": "^3.0.
|
|
85
|
-
"@simplysf/simply-permissions": "^1.3.
|
|
86
|
-
"@simplysf/simply-project": "^1.2.
|
|
87
|
-
"@simplysf/simply-schema": "^0.3.
|
|
88
|
-
"@simplysf/simply-sobject": "^1.6.
|
|
78
|
+
"@simplysf/simply-aep": "^0.14.3",
|
|
79
|
+
"@simplysf/simply-apex": "^1.8.4",
|
|
80
|
+
"@simplysf/simply-community": "^0.6.7",
|
|
81
|
+
"@simplysf/simply-data": "^2.4.6",
|
|
82
|
+
"@simplysf/simply-document": "^0.4.3",
|
|
83
|
+
"@simplysf/simply-flow": "^0.4.5",
|
|
84
|
+
"@simplysf/simply-package": "^3.0.2",
|
|
85
|
+
"@simplysf/simply-permissions": "^1.3.5",
|
|
86
|
+
"@simplysf/simply-project": "^1.2.21",
|
|
87
|
+
"@simplysf/simply-schema": "^0.3.23",
|
|
88
|
+
"@simplysf/simply-sobject": "^1.6.11",
|
|
89
89
|
"debug": "^4.4.3"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
@@ -174,5 +174,5 @@
|
|
|
174
174
|
"output": []
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
|
-
"gitHead": "
|
|
177
|
+
"gitHead": "5bbe406ea2cb1a4123440ada47d8e728e60f46b6"
|
|
178
178
|
}
|