Skip to content

Commit 62fd8ed

Browse files
committed
Add braintree example in plugin management doc
1 parent 4fa1916 commit 62fd8ed

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

userguide/tutorials/plugin_management.adoc

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The installation of a plugin occurs through the KPM plugin (which itself relies
5454
* Set that latest downloaded version as being the default one to start (`isSelectedForStart`)
5555
* Notify Kill Bill core to update its view of the existing plugins
5656

57-
Example of installing the `paypal` plugin with a specified version of `4.0.0`:
57+
Example of installing the `braintree` plugin with a specified version of `1.0.2`:
5858
[source,bash]
5959
----
6060
curl -v \
@@ -66,11 +66,11 @@ curl -v \
6666
"nodeCommandProperties": [
6767
{
6868
"key": "pluginKey",
69-
"value": "paypal"
69+
"value": "braintree"
7070
},
7171
{
7272
"key": "pluginVersion",
73-
"value": "4.0.0"
73+
"value": "1.0.2"
7474
}
7575
],
7676
"nodeCommandType": "INSTALL_PLUGIN",
@@ -120,7 +120,7 @@ Starting a plugin occurs purely through Kill Bill (independent of the KPM plugin
120120
* Start the plugin
121121
* Update its view of the existing plugins
122122

123-
Example of starting the default installed version for the `paypal` plugin:
123+
Example of starting the default installed version for the `braintree` plugin:
124124

125125
[source,bash]
126126
----
@@ -133,7 +133,7 @@ curl -v \
133133
"nodeCommandProperties": [
134134
{
135135
"key": "pluginKey",
136-
"value": "paypal"
136+
"value": "braintree"
137137
}
138138
],
139139
"nodeCommandType": "START_PLUGIN",
@@ -150,7 +150,7 @@ Stopping a plugin occurs purely through Kill Bill (independent of the KPM plugin
150150
* Unload the classes through the OSGI mechanism
151151
* Update its view of the existing plugins
152152

153-
Example of stopping the running version of the `paypal` plugin:
153+
Example of stopping the running version of the `braintree` plugin:
154154

155155
[source,bash]
156156
----
@@ -163,7 +163,7 @@ curl -v \
163163
"nodeCommandProperties": [
164164
{
165165
"key": "pluginKey",
166-
"value": "paypal"
166+
"value": "braintree"
167167
}
168168
],
169169
"nodeCommandType": "STOP_PLUGIN",
@@ -176,7 +176,7 @@ curl -v \
176176

177177
Restarting a plugin consists of first stopping the plugin and then restarting the plugin (therefore unloading previous classes and reloading new ones with a potentially different version).
178178

179-
Example of restarting the running version of the `paypal` plugin:
179+
Example of restarting the running version of the `braintree` plugin:
180180

181181
[source,bash]
182182
----
@@ -189,7 +189,7 @@ curl -v \
189189
"nodeCommandProperties": [
190190
{
191191
"key": "pluginKey",
192-
"value": "paypal"
192+
"value": "braintree"
193193
}
194194
],
195195
"nodeCommandType": "RESTART_PLUGIN",
@@ -202,7 +202,7 @@ curl -v \
202202

203203
Uninstalling a plugin consists of marking that plugin as being `disabled`. The code remains on the filesystem but Kill Bill will ignore it.
204204

205-
Example of uninstalling the `paypal` plugin:
205+
Example of uninstalling version `1.0.2` of the `braintree` plugin:
206206

207207
[source,bash]
208208
----
@@ -215,7 +215,11 @@ curl -v \
215215
"nodeCommandProperties": [
216216
{
217217
"key": "pluginKey",
218-
"value": "paypal"
218+
"value": "braintree"
219+
},
220+
{
221+
"key": "pluginVersion",
222+
"value": "1.0.2"
219223
}
220224
],
221225
"nodeCommandType": "UNINSTALL_PLUGIN",

0 commit comments

Comments
 (0)