@dishantlangayan/sc-plugin-broker 0.1.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/LICENSE.txt +202 -0
- package/README.md +268 -0
- package/bin/dev.cmd +3 -0
- package/bin/dev.js +5 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +5 -0
- package/dist/commands/broker/login/basic.d.ts +54 -0
- package/dist/commands/broker/login/basic.js +293 -0
- package/dist/commands/broker/login/cloud.d.ts +56 -0
- package/dist/commands/broker/login/cloud.js +333 -0
- package/dist/commands/broker/login/list.d.ts +10 -0
- package/dist/commands/broker/login/list.js +36 -0
- package/dist/commands/broker/logout.d.ts +15 -0
- package/dist/commands/broker/logout.js +111 -0
- package/dist/commands/broker/queue/create.d.ts +28 -0
- package/dist/commands/broker/queue/create.js +116 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/lib/broker-utils.d.ts +25 -0
- package/dist/lib/broker-utils.js +62 -0
- package/dist/types/cloud-api.d.ts +102 -0
- package/dist/types/cloud-api.js +5 -0
- package/dist/types/msgvpn-queue.d.ts +49 -0
- package/dist/types/msgvpn-queue.js +4 -0
- package/oclif.manifest.json +475 -0
- package/package.json +75 -0
|
@@ -0,0 +1,475 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commands": {
|
|
3
|
+
"broker:logout": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Logout from authenticated brokers.\n\nRemoves locally stored broker credentials.\nInteractive mode allows selection with arrow keys and spacebar.",
|
|
7
|
+
"examples": [
|
|
8
|
+
"<%= config.bin %> <%= command.id %>",
|
|
9
|
+
"<%= config.bin %> <%= command.id %> --broker-name=dev-broker",
|
|
10
|
+
"<%= config.bin %> <%= command.id %> --all",
|
|
11
|
+
"<%= config.bin %> <%= command.id %> --broker-name=prod --no-prompt"
|
|
12
|
+
],
|
|
13
|
+
"flags": {
|
|
14
|
+
"json": {
|
|
15
|
+
"description": "Format output as json.",
|
|
16
|
+
"helpGroup": "GLOBAL",
|
|
17
|
+
"name": "json",
|
|
18
|
+
"allowNo": false,
|
|
19
|
+
"type": "boolean"
|
|
20
|
+
},
|
|
21
|
+
"log-level": {
|
|
22
|
+
"helpGroup": "GLOBAL",
|
|
23
|
+
"name": "log-level",
|
|
24
|
+
"summary": "Specify level for logging.",
|
|
25
|
+
"default": "info",
|
|
26
|
+
"hasDynamicHelp": false,
|
|
27
|
+
"multiple": false,
|
|
28
|
+
"options": [
|
|
29
|
+
"debug",
|
|
30
|
+
"warn",
|
|
31
|
+
"error",
|
|
32
|
+
"info",
|
|
33
|
+
"trace"
|
|
34
|
+
],
|
|
35
|
+
"type": "option"
|
|
36
|
+
},
|
|
37
|
+
"all": {
|
|
38
|
+
"char": "a",
|
|
39
|
+
"description": "Logout from all brokers",
|
|
40
|
+
"exclusive": [
|
|
41
|
+
"broker-name"
|
|
42
|
+
],
|
|
43
|
+
"name": "all",
|
|
44
|
+
"allowNo": false,
|
|
45
|
+
"type": "boolean"
|
|
46
|
+
},
|
|
47
|
+
"broker-name": {
|
|
48
|
+
"char": "b",
|
|
49
|
+
"description": "Broker name to logout from",
|
|
50
|
+
"exclusive": [
|
|
51
|
+
"all"
|
|
52
|
+
],
|
|
53
|
+
"name": "broker-name",
|
|
54
|
+
"hasDynamicHelp": false,
|
|
55
|
+
"multiple": false,
|
|
56
|
+
"type": "option"
|
|
57
|
+
},
|
|
58
|
+
"no-prompt": {
|
|
59
|
+
"description": "Skip confirmation prompt and assume Yes",
|
|
60
|
+
"name": "no-prompt",
|
|
61
|
+
"allowNo": false,
|
|
62
|
+
"type": "boolean"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"hasDynamicHelp": false,
|
|
66
|
+
"hiddenAliases": [],
|
|
67
|
+
"id": "broker:logout",
|
|
68
|
+
"pluginAlias": "@dishantlangayan/sc-plugin-broker",
|
|
69
|
+
"pluginName": "@dishantlangayan/sc-plugin-broker",
|
|
70
|
+
"pluginType": "core",
|
|
71
|
+
"strict": true,
|
|
72
|
+
"enableJsonFlag": true,
|
|
73
|
+
"isESM": true,
|
|
74
|
+
"relativePath": [
|
|
75
|
+
"dist",
|
|
76
|
+
"commands",
|
|
77
|
+
"broker",
|
|
78
|
+
"logout.js"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"broker:login:basic": {
|
|
82
|
+
"aliases": [],
|
|
83
|
+
"args": {},
|
|
84
|
+
"description": "Login to a Solace Event Broker using Basic authentication.\n\nStores broker credentials securely using encrypted local storage.\nCredentials are base64-encoded and encrypted before storage.\n\nIf a broker with the same name already exists, you'll be prompted to overwrite.\n\nRequired SEMP permissions: Varies by operations you intend to perform",
|
|
85
|
+
"examples": [
|
|
86
|
+
"<%= config.bin %> <%= command.id %> --broker-name=dev-broker --semp-url=https://localhost --semp-port=8080",
|
|
87
|
+
"<%= config.bin %> <%= command.id %> --broker-name=ci-broker --semp-url=http://192.168.1.100 --semp-port=8080 --no-prompt",
|
|
88
|
+
"<%= config.bin %> <%= command.id %> --broker-name=default-broker --semp-url=https://broker.example.com --semp-port=943 --set-default"
|
|
89
|
+
],
|
|
90
|
+
"flags": {
|
|
91
|
+
"json": {
|
|
92
|
+
"description": "Format output as json.",
|
|
93
|
+
"helpGroup": "GLOBAL",
|
|
94
|
+
"name": "json",
|
|
95
|
+
"allowNo": false,
|
|
96
|
+
"type": "boolean"
|
|
97
|
+
},
|
|
98
|
+
"log-level": {
|
|
99
|
+
"helpGroup": "GLOBAL",
|
|
100
|
+
"name": "log-level",
|
|
101
|
+
"summary": "Specify level for logging.",
|
|
102
|
+
"default": "info",
|
|
103
|
+
"hasDynamicHelp": false,
|
|
104
|
+
"multiple": false,
|
|
105
|
+
"options": [
|
|
106
|
+
"debug",
|
|
107
|
+
"warn",
|
|
108
|
+
"error",
|
|
109
|
+
"info",
|
|
110
|
+
"trace"
|
|
111
|
+
],
|
|
112
|
+
"type": "option"
|
|
113
|
+
},
|
|
114
|
+
"broker-name": {
|
|
115
|
+
"char": "b",
|
|
116
|
+
"description": "Name/identifier for the broker",
|
|
117
|
+
"name": "broker-name",
|
|
118
|
+
"required": true,
|
|
119
|
+
"hasDynamicHelp": false,
|
|
120
|
+
"multiple": false,
|
|
121
|
+
"type": "option"
|
|
122
|
+
},
|
|
123
|
+
"no-prompt": {
|
|
124
|
+
"description": "Read credentials from SC_SEMP_USERNAME and SC_SEMP_PASSWORD environment variables",
|
|
125
|
+
"name": "no-prompt",
|
|
126
|
+
"allowNo": false,
|
|
127
|
+
"type": "boolean"
|
|
128
|
+
},
|
|
129
|
+
"semp-port": {
|
|
130
|
+
"char": "p",
|
|
131
|
+
"description": "SEMP port number (1-65535)",
|
|
132
|
+
"name": "semp-port",
|
|
133
|
+
"required": true,
|
|
134
|
+
"hasDynamicHelp": false,
|
|
135
|
+
"multiple": false,
|
|
136
|
+
"type": "option"
|
|
137
|
+
},
|
|
138
|
+
"semp-url": {
|
|
139
|
+
"char": "u",
|
|
140
|
+
"description": "SEMP endpoint URL (must start with http:// or https://)",
|
|
141
|
+
"name": "semp-url",
|
|
142
|
+
"required": true,
|
|
143
|
+
"hasDynamicHelp": false,
|
|
144
|
+
"multiple": false,
|
|
145
|
+
"type": "option"
|
|
146
|
+
},
|
|
147
|
+
"set-default": {
|
|
148
|
+
"char": "d",
|
|
149
|
+
"description": "Set this broker as the default",
|
|
150
|
+
"name": "set-default",
|
|
151
|
+
"allowNo": false,
|
|
152
|
+
"type": "boolean"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"hasDynamicHelp": false,
|
|
156
|
+
"hiddenAliases": [],
|
|
157
|
+
"id": "broker:login:basic",
|
|
158
|
+
"pluginAlias": "@dishantlangayan/sc-plugin-broker",
|
|
159
|
+
"pluginName": "@dishantlangayan/sc-plugin-broker",
|
|
160
|
+
"pluginType": "core",
|
|
161
|
+
"strict": true,
|
|
162
|
+
"enableJsonFlag": true,
|
|
163
|
+
"isESM": true,
|
|
164
|
+
"relativePath": [
|
|
165
|
+
"dist",
|
|
166
|
+
"commands",
|
|
167
|
+
"broker",
|
|
168
|
+
"login",
|
|
169
|
+
"basic.js"
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
"broker:login:cloud": {
|
|
173
|
+
"aliases": [],
|
|
174
|
+
"args": {},
|
|
175
|
+
"description": "Login to a Solace Cloud Event Broker using Cloud API credentials.\n\nRetrieves SEMP credentials automatically from Solace Cloud REST API.\nRequires prior authentication to Solace Cloud (org:login).\n\nThe command will:\n1. Look up the broker by name in your Solace Cloud organization\n2. Retrieve SEMP endpoint details and credentials from Cloud API\n3. Store encrypted broker credentials locally for future use\n\nRequired Cloud API permissions: Read access to Event Broker Services",
|
|
176
|
+
"examples": [
|
|
177
|
+
"<%= config.bin %> <%= command.id %> --broker-name=production-broker",
|
|
178
|
+
"<%= config.bin %> <%= command.id %> --broker-name=dev-broker --set-default",
|
|
179
|
+
"<%= config.bin %> <%= command.id %> --broker-name=staging-broker --org-name=my-org",
|
|
180
|
+
"<%= config.bin %> <%= command.id %> --broker-name=prod --no-prompt"
|
|
181
|
+
],
|
|
182
|
+
"flags": {
|
|
183
|
+
"json": {
|
|
184
|
+
"description": "Format output as json.",
|
|
185
|
+
"helpGroup": "GLOBAL",
|
|
186
|
+
"name": "json",
|
|
187
|
+
"allowNo": false,
|
|
188
|
+
"type": "boolean"
|
|
189
|
+
},
|
|
190
|
+
"log-level": {
|
|
191
|
+
"helpGroup": "GLOBAL",
|
|
192
|
+
"name": "log-level",
|
|
193
|
+
"summary": "Specify level for logging.",
|
|
194
|
+
"default": "info",
|
|
195
|
+
"hasDynamicHelp": false,
|
|
196
|
+
"multiple": false,
|
|
197
|
+
"options": [
|
|
198
|
+
"debug",
|
|
199
|
+
"warn",
|
|
200
|
+
"error",
|
|
201
|
+
"info",
|
|
202
|
+
"trace"
|
|
203
|
+
],
|
|
204
|
+
"type": "option"
|
|
205
|
+
},
|
|
206
|
+
"broker-name": {
|
|
207
|
+
"char": "b",
|
|
208
|
+
"description": "Name of the broker in Solace Cloud",
|
|
209
|
+
"name": "broker-name",
|
|
210
|
+
"required": true,
|
|
211
|
+
"hasDynamicHelp": false,
|
|
212
|
+
"multiple": false,
|
|
213
|
+
"type": "option"
|
|
214
|
+
},
|
|
215
|
+
"no-prompt": {
|
|
216
|
+
"description": "Skip confirmation prompts for overwriting existing broker",
|
|
217
|
+
"name": "no-prompt",
|
|
218
|
+
"allowNo": false,
|
|
219
|
+
"type": "boolean"
|
|
220
|
+
},
|
|
221
|
+
"org-name": {
|
|
222
|
+
"char": "o",
|
|
223
|
+
"description": "Solace Cloud organization name (uses default org if not specified)",
|
|
224
|
+
"name": "org-name",
|
|
225
|
+
"hasDynamicHelp": false,
|
|
226
|
+
"multiple": false,
|
|
227
|
+
"type": "option"
|
|
228
|
+
},
|
|
229
|
+
"set-default": {
|
|
230
|
+
"char": "d",
|
|
231
|
+
"description": "Set this broker as the default",
|
|
232
|
+
"name": "set-default",
|
|
233
|
+
"allowNo": false,
|
|
234
|
+
"type": "boolean"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"hasDynamicHelp": false,
|
|
238
|
+
"hiddenAliases": [],
|
|
239
|
+
"id": "broker:login:cloud",
|
|
240
|
+
"pluginAlias": "@dishantlangayan/sc-plugin-broker",
|
|
241
|
+
"pluginName": "@dishantlangayan/sc-plugin-broker",
|
|
242
|
+
"pluginType": "core",
|
|
243
|
+
"strict": true,
|
|
244
|
+
"enableJsonFlag": true,
|
|
245
|
+
"isESM": true,
|
|
246
|
+
"relativePath": [
|
|
247
|
+
"dist",
|
|
248
|
+
"commands",
|
|
249
|
+
"broker",
|
|
250
|
+
"login",
|
|
251
|
+
"cloud.js"
|
|
252
|
+
]
|
|
253
|
+
},
|
|
254
|
+
"broker:login:list": {
|
|
255
|
+
"aliases": [],
|
|
256
|
+
"args": {},
|
|
257
|
+
"description": "List all authenticated brokers.\n\nDisplays brokers you have logged into, including their authentication type, SEMP endpoints, and which one is set as default.",
|
|
258
|
+
"examples": [
|
|
259
|
+
"<%= config.bin %> <%= command.id %>"
|
|
260
|
+
],
|
|
261
|
+
"flags": {
|
|
262
|
+
"json": {
|
|
263
|
+
"description": "Format output as json.",
|
|
264
|
+
"helpGroup": "GLOBAL",
|
|
265
|
+
"name": "json",
|
|
266
|
+
"allowNo": false,
|
|
267
|
+
"type": "boolean"
|
|
268
|
+
},
|
|
269
|
+
"log-level": {
|
|
270
|
+
"helpGroup": "GLOBAL",
|
|
271
|
+
"name": "log-level",
|
|
272
|
+
"summary": "Specify level for logging.",
|
|
273
|
+
"default": "info",
|
|
274
|
+
"hasDynamicHelp": false,
|
|
275
|
+
"multiple": false,
|
|
276
|
+
"options": [
|
|
277
|
+
"debug",
|
|
278
|
+
"warn",
|
|
279
|
+
"error",
|
|
280
|
+
"info",
|
|
281
|
+
"trace"
|
|
282
|
+
],
|
|
283
|
+
"type": "option"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"hasDynamicHelp": false,
|
|
287
|
+
"hiddenAliases": [],
|
|
288
|
+
"id": "broker:login:list",
|
|
289
|
+
"pluginAlias": "@dishantlangayan/sc-plugin-broker",
|
|
290
|
+
"pluginName": "@dishantlangayan/sc-plugin-broker",
|
|
291
|
+
"pluginType": "core",
|
|
292
|
+
"strict": true,
|
|
293
|
+
"enableJsonFlag": true,
|
|
294
|
+
"isESM": true,
|
|
295
|
+
"relativePath": [
|
|
296
|
+
"dist",
|
|
297
|
+
"commands",
|
|
298
|
+
"broker",
|
|
299
|
+
"login",
|
|
300
|
+
"list.js"
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
"broker:queue:create": {
|
|
304
|
+
"aliases": [],
|
|
305
|
+
"args": {},
|
|
306
|
+
"description": "Create a Queue on a Solace Event Broker.\n\nAny attribute missing from the request will be set to its default value. The creation of instances of this object are synchronized to HA mates and replication sites via config-sync.",
|
|
307
|
+
"examples": [
|
|
308
|
+
"<%= config.bin %> <%= command.id %> --broker-name=dev-broker --queue-name=myQueue --msg-vpn-name=default",
|
|
309
|
+
"<%= config.bin %> <%= command.id %> --broker-id=dev-broker --queue-name=myQueue --msg-vpn-name=default --access-type=non-exclusive",
|
|
310
|
+
"<%= config.bin %> <%= command.id %> --broker-name=dev-broker --queue-name=myQueue --msg-vpn-name=default --owner=user1 --permission=consume",
|
|
311
|
+
"<%= config.bin %> <%= command.id %> --broker-name=dev-broker --queue-name=myQueue --msg-vpn-name=default --max-msg-spool-usage=1024 --egress-enabled --ingress-enabled",
|
|
312
|
+
"<%= config.bin %> <%= command.id %> --broker-name=dev-broker --queue-name=myQueue --msg-vpn-name=default --dead-msg-queue=#DEAD_MSG_QUEUE --max-redelivery-count=3"
|
|
313
|
+
],
|
|
314
|
+
"flags": {
|
|
315
|
+
"json": {
|
|
316
|
+
"description": "Format output as json.",
|
|
317
|
+
"helpGroup": "GLOBAL",
|
|
318
|
+
"name": "json",
|
|
319
|
+
"allowNo": false,
|
|
320
|
+
"type": "boolean"
|
|
321
|
+
},
|
|
322
|
+
"log-level": {
|
|
323
|
+
"helpGroup": "GLOBAL",
|
|
324
|
+
"name": "log-level",
|
|
325
|
+
"summary": "Specify level for logging.",
|
|
326
|
+
"default": "info",
|
|
327
|
+
"hasDynamicHelp": false,
|
|
328
|
+
"multiple": false,
|
|
329
|
+
"options": [
|
|
330
|
+
"debug",
|
|
331
|
+
"warn",
|
|
332
|
+
"error",
|
|
333
|
+
"info",
|
|
334
|
+
"trace"
|
|
335
|
+
],
|
|
336
|
+
"type": "option"
|
|
337
|
+
},
|
|
338
|
+
"access-type": {
|
|
339
|
+
"char": "a",
|
|
340
|
+
"description": "The access type for the queue.",
|
|
341
|
+
"name": "access-type",
|
|
342
|
+
"hasDynamicHelp": false,
|
|
343
|
+
"multiple": false,
|
|
344
|
+
"options": [
|
|
345
|
+
"exclusive",
|
|
346
|
+
"non-exclusive"
|
|
347
|
+
],
|
|
348
|
+
"type": "option"
|
|
349
|
+
},
|
|
350
|
+
"broker-id": {
|
|
351
|
+
"char": "b",
|
|
352
|
+
"description": "Stored broker identifier.",
|
|
353
|
+
"name": "broker-id",
|
|
354
|
+
"hasDynamicHelp": false,
|
|
355
|
+
"multiple": false,
|
|
356
|
+
"type": "option"
|
|
357
|
+
},
|
|
358
|
+
"broker-name": {
|
|
359
|
+
"char": "n",
|
|
360
|
+
"description": "Stored broker name.",
|
|
361
|
+
"name": "broker-name",
|
|
362
|
+
"hasDynamicHelp": false,
|
|
363
|
+
"multiple": false,
|
|
364
|
+
"type": "option"
|
|
365
|
+
},
|
|
366
|
+
"dead-msg-queue": {
|
|
367
|
+
"description": "The name of the Dead Message Queue.",
|
|
368
|
+
"name": "dead-msg-queue",
|
|
369
|
+
"hasDynamicHelp": false,
|
|
370
|
+
"multiple": false,
|
|
371
|
+
"type": "option"
|
|
372
|
+
},
|
|
373
|
+
"egress-enabled": {
|
|
374
|
+
"description": "Enable or disable egress (message consumption) from the queue.",
|
|
375
|
+
"name": "egress-enabled",
|
|
376
|
+
"allowNo": true,
|
|
377
|
+
"type": "boolean"
|
|
378
|
+
},
|
|
379
|
+
"ingress-enabled": {
|
|
380
|
+
"description": "Enable or disable ingress (message reception) to the queue.",
|
|
381
|
+
"name": "ingress-enabled",
|
|
382
|
+
"allowNo": true,
|
|
383
|
+
"type": "boolean"
|
|
384
|
+
},
|
|
385
|
+
"max-msg-spool-usage": {
|
|
386
|
+
"char": "s",
|
|
387
|
+
"description": "The maximum message spool usage allowed by the queue, in megabytes (MB).",
|
|
388
|
+
"name": "max-msg-spool-usage",
|
|
389
|
+
"hasDynamicHelp": false,
|
|
390
|
+
"multiple": false,
|
|
391
|
+
"type": "option"
|
|
392
|
+
},
|
|
393
|
+
"max-redelivery-count": {
|
|
394
|
+
"description": "The maximum number of times a message will be redelivered before it is discarded or moved to the DMQ.",
|
|
395
|
+
"name": "max-redelivery-count",
|
|
396
|
+
"hasDynamicHelp": false,
|
|
397
|
+
"multiple": false,
|
|
398
|
+
"type": "option"
|
|
399
|
+
},
|
|
400
|
+
"max-ttl": {
|
|
401
|
+
"description": "The maximum time in seconds a message can stay in the queue when respect-ttl-enabled is true.",
|
|
402
|
+
"name": "max-ttl",
|
|
403
|
+
"hasDynamicHelp": false,
|
|
404
|
+
"multiple": false,
|
|
405
|
+
"type": "option"
|
|
406
|
+
},
|
|
407
|
+
"msg-vpn-name": {
|
|
408
|
+
"char": "v",
|
|
409
|
+
"description": "The name of the Message VPN.",
|
|
410
|
+
"name": "msg-vpn-name",
|
|
411
|
+
"required": true,
|
|
412
|
+
"hasDynamicHelp": false,
|
|
413
|
+
"multiple": false,
|
|
414
|
+
"type": "option"
|
|
415
|
+
},
|
|
416
|
+
"owner": {
|
|
417
|
+
"char": "o",
|
|
418
|
+
"description": "The client username that owns the queue and has permission equivalent to delete.",
|
|
419
|
+
"name": "owner",
|
|
420
|
+
"hasDynamicHelp": false,
|
|
421
|
+
"multiple": false,
|
|
422
|
+
"type": "option"
|
|
423
|
+
},
|
|
424
|
+
"permission": {
|
|
425
|
+
"char": "p",
|
|
426
|
+
"description": "The permission level for all consumers of the queue, excluding the owner.",
|
|
427
|
+
"name": "permission",
|
|
428
|
+
"default": "consume",
|
|
429
|
+
"hasDynamicHelp": false,
|
|
430
|
+
"multiple": false,
|
|
431
|
+
"options": [
|
|
432
|
+
"consume",
|
|
433
|
+
"delete",
|
|
434
|
+
"modify-topic",
|
|
435
|
+
"no-access",
|
|
436
|
+
"read-only"
|
|
437
|
+
],
|
|
438
|
+
"type": "option"
|
|
439
|
+
},
|
|
440
|
+
"queue-name": {
|
|
441
|
+
"char": "q",
|
|
442
|
+
"description": "The name of the queue to create.",
|
|
443
|
+
"name": "queue-name",
|
|
444
|
+
"required": true,
|
|
445
|
+
"hasDynamicHelp": false,
|
|
446
|
+
"multiple": false,
|
|
447
|
+
"type": "option"
|
|
448
|
+
},
|
|
449
|
+
"respect-ttl-enabled": {
|
|
450
|
+
"description": "Enable or disable the respecting of the time-to-live (TTL) for messages.",
|
|
451
|
+
"name": "respect-ttl-enabled",
|
|
452
|
+
"allowNo": true,
|
|
453
|
+
"type": "boolean"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
"hasDynamicHelp": false,
|
|
457
|
+
"hiddenAliases": [],
|
|
458
|
+
"id": "broker:queue:create",
|
|
459
|
+
"pluginAlias": "@dishantlangayan/sc-plugin-broker",
|
|
460
|
+
"pluginName": "@dishantlangayan/sc-plugin-broker",
|
|
461
|
+
"pluginType": "core",
|
|
462
|
+
"strict": true,
|
|
463
|
+
"enableJsonFlag": true,
|
|
464
|
+
"isESM": true,
|
|
465
|
+
"relativePath": [
|
|
466
|
+
"dist",
|
|
467
|
+
"commands",
|
|
468
|
+
"broker",
|
|
469
|
+
"queue",
|
|
470
|
+
"create.js"
|
|
471
|
+
]
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
"version": "0.1.0"
|
|
475
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dishantlangayan/sc-plugin-broker",
|
|
3
|
+
"description": "Commands to interact with Solace Event Broker.",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"author": "Dishant Langayan",
|
|
6
|
+
"bin": {
|
|
7
|
+
"sc": "./bin/run.js"
|
|
8
|
+
},
|
|
9
|
+
"bugs": "https://github.com/dishantlangayan/sc-plugin-broker/issues",
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@dishantlangayan/sc-cli-core": "^0.7.3",
|
|
12
|
+
"@inquirer/prompts": "^8.3.0",
|
|
13
|
+
"@oclif/core": "^4",
|
|
14
|
+
"@oclif/plugin-help": "^6",
|
|
15
|
+
"@oclif/plugin-plugins": "^5"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@eslint/compat": "^1",
|
|
19
|
+
"@oclif/prettier-config": "^0.2.1",
|
|
20
|
+
"@oclif/test": "^4",
|
|
21
|
+
"@types/chai": "^4",
|
|
22
|
+
"@types/mocha": "^10",
|
|
23
|
+
"@types/node": "^18",
|
|
24
|
+
"@types/sinon": "^21.0.0",
|
|
25
|
+
"chai": "^4",
|
|
26
|
+
"eslint": "^9",
|
|
27
|
+
"eslint-config-oclif": "^6",
|
|
28
|
+
"eslint-config-prettier": "^10",
|
|
29
|
+
"mocha": "^10",
|
|
30
|
+
"oclif": "^4",
|
|
31
|
+
"shx": "^0.3.3",
|
|
32
|
+
"sinon": "^21.0.3",
|
|
33
|
+
"ts-node": "^10",
|
|
34
|
+
"typescript": "^5"
|
|
35
|
+
},
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=18.0.0"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"./bin",
|
|
41
|
+
"./dist",
|
|
42
|
+
"./oclif.manifest.json"
|
|
43
|
+
],
|
|
44
|
+
"homepage": "https://github.com/dishantlangayan/sc-plugin-broker",
|
|
45
|
+
"keywords": [
|
|
46
|
+
"oclif",
|
|
47
|
+
"solace",
|
|
48
|
+
"cli",
|
|
49
|
+
"sc",
|
|
50
|
+
"sc-plugin"
|
|
51
|
+
],
|
|
52
|
+
"license": "Apache-2.0",
|
|
53
|
+
"main": "dist/index.js",
|
|
54
|
+
"type": "module",
|
|
55
|
+
"oclif": {
|
|
56
|
+
"bin": "sc",
|
|
57
|
+
"dirname": "sc",
|
|
58
|
+
"commands": "./dist/commands",
|
|
59
|
+
"devPlugins": [
|
|
60
|
+
"@oclif/plugin-help"
|
|
61
|
+
],
|
|
62
|
+
"topicSeparator": " "
|
|
63
|
+
},
|
|
64
|
+
"repository": "dishantlangayan/sc-plugin-broker",
|
|
65
|
+
"scripts": {
|
|
66
|
+
"build": "shx rm -rf dist && tsc -b",
|
|
67
|
+
"lint": "eslint",
|
|
68
|
+
"postpack": "shx rm -f oclif.manifest.json",
|
|
69
|
+
"posttest": "npm run lint",
|
|
70
|
+
"prepack": "oclif manifest && oclif readme",
|
|
71
|
+
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
72
|
+
"version": "oclif readme && git add README.md"
|
|
73
|
+
},
|
|
74
|
+
"types": "dist/index.d.ts"
|
|
75
|
+
}
|