@legible-sync/example-eda 1.2.2 → 1.3.1
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/CHANGELOG.md +18 -0
- package/eda_output.txt +3963 -0
- package/package.json +3 -3
- package/src/plugins/analytics/syncs/analytics-events.sync.ts +2 -1
package/eda_output.txt
ADDED
|
@@ -0,0 +1,3963 @@
|
|
|
1
|
+
|
|
2
|
+
> @legible-sync/example-eda@1.2.2 test
|
|
3
|
+
> jest __tests__/integration/syncs.test.ts
|
|
4
|
+
|
|
5
|
+
watchman warning: Recrawled this watch 1 time, most recently because:
|
|
6
|
+
MustScanSubDirs UserDroppedTo resolve, please review the information on
|
|
7
|
+
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
|
|
8
|
+
To clear this warning, run:
|
|
9
|
+
`watchman watch-del '/Users/mastepanoski/projects/web/ai/legible-sync' ; watchman watch-project '/Users/mastepanoski/projects/web/ai/legible-sync'`
|
|
10
|
+
|
|
11
|
+
console.log
|
|
12
|
+
🔌 Loading plugin: users
|
|
13
|
+
|
|
14
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
15
|
+
|
|
16
|
+
console.log
|
|
17
|
+
✓ Registered concept: User
|
|
18
|
+
|
|
19
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
20
|
+
|
|
21
|
+
console.log
|
|
22
|
+
✓ Registered sync: PublishUserRegisteredEvent
|
|
23
|
+
|
|
24
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
25
|
+
|
|
26
|
+
console.log
|
|
27
|
+
✓ Registered sync: PublishUserUpdatedEvent
|
|
28
|
+
|
|
29
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
30
|
+
|
|
31
|
+
console.log
|
|
32
|
+
✓ Registered sync: PublishUserDeactivatedEvent
|
|
33
|
+
|
|
34
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
35
|
+
|
|
36
|
+
console.log
|
|
37
|
+
👤 Users plugin initialized
|
|
38
|
+
|
|
39
|
+
at Object.initialize (src/plugins/users/index.ts:13:13)
|
|
40
|
+
|
|
41
|
+
console.log
|
|
42
|
+
✓ Initialized plugin: users
|
|
43
|
+
|
|
44
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
45
|
+
|
|
46
|
+
console.log
|
|
47
|
+
✅ Plugin users loaded successfully
|
|
48
|
+
|
|
49
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
50
|
+
|
|
51
|
+
console.log
|
|
52
|
+
🔌 Loading plugin: products
|
|
53
|
+
|
|
54
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
55
|
+
|
|
56
|
+
console.log
|
|
57
|
+
✓ Registered concept: Product
|
|
58
|
+
|
|
59
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
60
|
+
|
|
61
|
+
console.log
|
|
62
|
+
✓ Registered sync: PublishProductCreatedEvent
|
|
63
|
+
|
|
64
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
65
|
+
|
|
66
|
+
console.log
|
|
67
|
+
✓ Registered sync: PublishProductUpdatedEvent
|
|
68
|
+
|
|
69
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
70
|
+
|
|
71
|
+
console.log
|
|
72
|
+
✓ Registered sync: PublishProductDeactivatedEvent
|
|
73
|
+
|
|
74
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
75
|
+
|
|
76
|
+
console.log
|
|
77
|
+
📦 Products plugin initialized
|
|
78
|
+
|
|
79
|
+
at Object.initialize (src/plugins/products/index.ts:13:13)
|
|
80
|
+
|
|
81
|
+
console.log
|
|
82
|
+
✓ Initialized plugin: products
|
|
83
|
+
|
|
84
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
85
|
+
|
|
86
|
+
console.log
|
|
87
|
+
✅ Plugin products loaded successfully
|
|
88
|
+
|
|
89
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
90
|
+
|
|
91
|
+
console.log
|
|
92
|
+
🔌 Loading plugin: inventory
|
|
93
|
+
|
|
94
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
95
|
+
|
|
96
|
+
console.log
|
|
97
|
+
✓ Registered concept: Inventory
|
|
98
|
+
|
|
99
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
100
|
+
|
|
101
|
+
console.log
|
|
102
|
+
📊 Inventory plugin initialized
|
|
103
|
+
|
|
104
|
+
at Object.initialize (src/plugins/inventory/index.ts:12:13)
|
|
105
|
+
|
|
106
|
+
console.log
|
|
107
|
+
✓ Initialized plugin: inventory
|
|
108
|
+
|
|
109
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
110
|
+
|
|
111
|
+
console.log
|
|
112
|
+
✅ Plugin inventory loaded successfully
|
|
113
|
+
|
|
114
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
115
|
+
|
|
116
|
+
console.log
|
|
117
|
+
🔌 Loading plugin: orders
|
|
118
|
+
|
|
119
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
120
|
+
|
|
121
|
+
console.log
|
|
122
|
+
✓ Registered concept: Order
|
|
123
|
+
|
|
124
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
125
|
+
|
|
126
|
+
console.log
|
|
127
|
+
✓ Registered sync: CheckInventoryAfterOrderCreation
|
|
128
|
+
|
|
129
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
130
|
+
|
|
131
|
+
console.log
|
|
132
|
+
✓ Registered sync: ConfirmOrderIfInventoryAvailable
|
|
133
|
+
|
|
134
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
135
|
+
|
|
136
|
+
console.log
|
|
137
|
+
✓ Registered sync: GetUserDetailsAfterOrderConfirm
|
|
138
|
+
|
|
139
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
140
|
+
|
|
141
|
+
console.log
|
|
142
|
+
✓ Registered sync: CancelOrderIfInventoryUnavailable
|
|
143
|
+
|
|
144
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
145
|
+
|
|
146
|
+
console.log
|
|
147
|
+
✓ Registered sync: DeductInventoryOnOrderConfirm
|
|
148
|
+
|
|
149
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
150
|
+
|
|
151
|
+
console.log
|
|
152
|
+
✓ Registered sync: SendOrderConfirmationNotification
|
|
153
|
+
|
|
154
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
155
|
+
|
|
156
|
+
console.log
|
|
157
|
+
✓ Registered sync: SendShippingNotification
|
|
158
|
+
|
|
159
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
160
|
+
|
|
161
|
+
console.log
|
|
162
|
+
🛒 Orders plugin initialized
|
|
163
|
+
|
|
164
|
+
at Object.initialize (src/plugins/orders/index.ts:13:13)
|
|
165
|
+
|
|
166
|
+
console.log
|
|
167
|
+
✓ Initialized plugin: orders
|
|
168
|
+
|
|
169
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
170
|
+
|
|
171
|
+
console.log
|
|
172
|
+
✅ Plugin orders loaded successfully
|
|
173
|
+
|
|
174
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
175
|
+
|
|
176
|
+
console.log
|
|
177
|
+
🔌 Loading plugin: payments
|
|
178
|
+
|
|
179
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
180
|
+
|
|
181
|
+
console.log
|
|
182
|
+
✓ Registered concept: Payment
|
|
183
|
+
|
|
184
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
185
|
+
|
|
186
|
+
console.log
|
|
187
|
+
✓ Registered sync: InitiatePaymentOnOrderConfirm
|
|
188
|
+
|
|
189
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
190
|
+
|
|
191
|
+
console.log
|
|
192
|
+
✓ Registered sync: AutoProcessPayment
|
|
193
|
+
|
|
194
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
195
|
+
|
|
196
|
+
console.log
|
|
197
|
+
✓ Registered sync: AutoConfirmPayment
|
|
198
|
+
|
|
199
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
200
|
+
|
|
201
|
+
console.log
|
|
202
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentConfirm
|
|
203
|
+
|
|
204
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
205
|
+
|
|
206
|
+
console.log
|
|
207
|
+
✓ Registered sync: GetUserDetailsAfterPaymentConfirm
|
|
208
|
+
|
|
209
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
210
|
+
|
|
211
|
+
console.log
|
|
212
|
+
✓ Registered sync: SendPaymentSuccessNotification
|
|
213
|
+
|
|
214
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
215
|
+
|
|
216
|
+
console.log
|
|
217
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentFail
|
|
218
|
+
|
|
219
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
220
|
+
|
|
221
|
+
console.log
|
|
222
|
+
✓ Registered sync: GetUserDetailsAfterPaymentFail
|
|
223
|
+
|
|
224
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
225
|
+
|
|
226
|
+
console.log
|
|
227
|
+
✓ Registered sync: SendPaymentFailureNotification
|
|
228
|
+
|
|
229
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
230
|
+
|
|
231
|
+
console.log
|
|
232
|
+
✓ Registered sync: GetOrderDetailsAfterRefund
|
|
233
|
+
|
|
234
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
235
|
+
|
|
236
|
+
console.log
|
|
237
|
+
✓ Registered sync: GetUserDetailsAfterRefund
|
|
238
|
+
|
|
239
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
240
|
+
|
|
241
|
+
console.log
|
|
242
|
+
✓ Registered sync: SendRefundNotification
|
|
243
|
+
|
|
244
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
245
|
+
|
|
246
|
+
console.log
|
|
247
|
+
💳 Payments plugin initialized
|
|
248
|
+
|
|
249
|
+
at Object.initialize (src/plugins/payments/index.ts:13:13)
|
|
250
|
+
|
|
251
|
+
console.log
|
|
252
|
+
✓ Initialized plugin: payments
|
|
253
|
+
|
|
254
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
255
|
+
|
|
256
|
+
console.log
|
|
257
|
+
✅ Plugin payments loaded successfully
|
|
258
|
+
|
|
259
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
260
|
+
|
|
261
|
+
console.log
|
|
262
|
+
🔌 Loading plugin: notifications
|
|
263
|
+
|
|
264
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
265
|
+
|
|
266
|
+
console.log
|
|
267
|
+
✓ Registered concept: Notification
|
|
268
|
+
|
|
269
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
270
|
+
|
|
271
|
+
console.log
|
|
272
|
+
🔔 Notifications plugin initialized
|
|
273
|
+
|
|
274
|
+
at Object.initialize (src/plugins/notifications/index.ts:12:13)
|
|
275
|
+
|
|
276
|
+
console.log
|
|
277
|
+
✓ Initialized plugin: notifications
|
|
278
|
+
|
|
279
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
280
|
+
|
|
281
|
+
console.log
|
|
282
|
+
✅ Plugin notifications loaded successfully
|
|
283
|
+
|
|
284
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
285
|
+
|
|
286
|
+
console.log
|
|
287
|
+
🔌 Loading plugin: analytics
|
|
288
|
+
|
|
289
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
290
|
+
|
|
291
|
+
console.log
|
|
292
|
+
✓ Registered concept: Analytics
|
|
293
|
+
|
|
294
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
295
|
+
|
|
296
|
+
console.log
|
|
297
|
+
✓ Registered sync: TrackUserRegistration
|
|
298
|
+
|
|
299
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
300
|
+
|
|
301
|
+
console.log
|
|
302
|
+
✓ Registered sync: TrackProductCreation
|
|
303
|
+
|
|
304
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
305
|
+
|
|
306
|
+
console.log
|
|
307
|
+
✓ Registered sync: TrackOrderCreation
|
|
308
|
+
|
|
309
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
310
|
+
|
|
311
|
+
console.log
|
|
312
|
+
✓ Registered sync: TrackOrderConfirmation
|
|
313
|
+
|
|
314
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
315
|
+
|
|
316
|
+
console.log
|
|
317
|
+
📈 Analytics plugin initialized
|
|
318
|
+
|
|
319
|
+
at Object.initialize (src/plugins/analytics/index.ts:13:13)
|
|
320
|
+
|
|
321
|
+
console.log
|
|
322
|
+
✓ Initialized plugin: analytics
|
|
323
|
+
|
|
324
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
325
|
+
|
|
326
|
+
console.log
|
|
327
|
+
✅ Plugin analytics loaded successfully
|
|
328
|
+
|
|
329
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
330
|
+
|
|
331
|
+
console.log
|
|
332
|
+
📢 Event: user.registered from system {
|
|
333
|
+
userId: 'cfe6c382-88a1-4d81-a805-f01786824ba1',
|
|
334
|
+
username: 'johndoe',
|
|
335
|
+
email: 'john@example.com'
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
339
|
+
|
|
340
|
+
console.log
|
|
341
|
+
📊 Tracked: user_registered {
|
|
342
|
+
userId: 'cfe6c382-88a1-4d81-a805-f01786824ba1',
|
|
343
|
+
username: 'johndoe',
|
|
344
|
+
email: 'john@example.com'
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
348
|
+
|
|
349
|
+
console.log
|
|
350
|
+
🔌 Loading plugin: users
|
|
351
|
+
|
|
352
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
353
|
+
|
|
354
|
+
console.log
|
|
355
|
+
✓ Registered concept: User
|
|
356
|
+
|
|
357
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
358
|
+
|
|
359
|
+
console.log
|
|
360
|
+
✓ Registered sync: PublishUserRegisteredEvent
|
|
361
|
+
|
|
362
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
363
|
+
|
|
364
|
+
console.log
|
|
365
|
+
✓ Registered sync: PublishUserUpdatedEvent
|
|
366
|
+
|
|
367
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
368
|
+
|
|
369
|
+
console.log
|
|
370
|
+
✓ Registered sync: PublishUserDeactivatedEvent
|
|
371
|
+
|
|
372
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
373
|
+
|
|
374
|
+
console.log
|
|
375
|
+
👤 Users plugin initialized
|
|
376
|
+
|
|
377
|
+
at Object.initialize (src/plugins/users/index.ts:13:13)
|
|
378
|
+
|
|
379
|
+
console.log
|
|
380
|
+
✓ Initialized plugin: users
|
|
381
|
+
|
|
382
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
383
|
+
|
|
384
|
+
console.log
|
|
385
|
+
✅ Plugin users loaded successfully
|
|
386
|
+
|
|
387
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
388
|
+
|
|
389
|
+
console.log
|
|
390
|
+
🔌 Loading plugin: products
|
|
391
|
+
|
|
392
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
393
|
+
|
|
394
|
+
console.log
|
|
395
|
+
✓ Registered concept: Product
|
|
396
|
+
|
|
397
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
398
|
+
|
|
399
|
+
console.log
|
|
400
|
+
✓ Registered sync: PublishProductCreatedEvent
|
|
401
|
+
|
|
402
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
403
|
+
|
|
404
|
+
console.log
|
|
405
|
+
✓ Registered sync: PublishProductUpdatedEvent
|
|
406
|
+
|
|
407
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
408
|
+
|
|
409
|
+
console.log
|
|
410
|
+
✓ Registered sync: PublishProductDeactivatedEvent
|
|
411
|
+
|
|
412
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
413
|
+
|
|
414
|
+
console.log
|
|
415
|
+
📦 Products plugin initialized
|
|
416
|
+
|
|
417
|
+
at Object.initialize (src/plugins/products/index.ts:13:13)
|
|
418
|
+
|
|
419
|
+
console.log
|
|
420
|
+
✓ Initialized plugin: products
|
|
421
|
+
|
|
422
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
423
|
+
|
|
424
|
+
console.log
|
|
425
|
+
✅ Plugin products loaded successfully
|
|
426
|
+
|
|
427
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
428
|
+
|
|
429
|
+
console.log
|
|
430
|
+
🔌 Loading plugin: inventory
|
|
431
|
+
|
|
432
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
433
|
+
|
|
434
|
+
console.log
|
|
435
|
+
✓ Registered concept: Inventory
|
|
436
|
+
|
|
437
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
438
|
+
|
|
439
|
+
console.log
|
|
440
|
+
📊 Inventory plugin initialized
|
|
441
|
+
|
|
442
|
+
at Object.initialize (src/plugins/inventory/index.ts:12:13)
|
|
443
|
+
|
|
444
|
+
console.log
|
|
445
|
+
✓ Initialized plugin: inventory
|
|
446
|
+
|
|
447
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
448
|
+
|
|
449
|
+
console.log
|
|
450
|
+
✅ Plugin inventory loaded successfully
|
|
451
|
+
|
|
452
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
453
|
+
|
|
454
|
+
console.log
|
|
455
|
+
🔌 Loading plugin: orders
|
|
456
|
+
|
|
457
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
458
|
+
|
|
459
|
+
console.log
|
|
460
|
+
✓ Registered concept: Order
|
|
461
|
+
|
|
462
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
463
|
+
|
|
464
|
+
console.log
|
|
465
|
+
✓ Registered sync: CheckInventoryAfterOrderCreation
|
|
466
|
+
|
|
467
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
468
|
+
|
|
469
|
+
console.log
|
|
470
|
+
✓ Registered sync: ConfirmOrderIfInventoryAvailable
|
|
471
|
+
|
|
472
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
473
|
+
|
|
474
|
+
console.log
|
|
475
|
+
✓ Registered sync: GetUserDetailsAfterOrderConfirm
|
|
476
|
+
|
|
477
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
478
|
+
|
|
479
|
+
console.log
|
|
480
|
+
✓ Registered sync: CancelOrderIfInventoryUnavailable
|
|
481
|
+
|
|
482
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
483
|
+
|
|
484
|
+
console.log
|
|
485
|
+
✓ Registered sync: DeductInventoryOnOrderConfirm
|
|
486
|
+
|
|
487
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
488
|
+
|
|
489
|
+
console.log
|
|
490
|
+
✓ Registered sync: SendOrderConfirmationNotification
|
|
491
|
+
|
|
492
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
493
|
+
|
|
494
|
+
console.log
|
|
495
|
+
✓ Registered sync: SendShippingNotification
|
|
496
|
+
|
|
497
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
498
|
+
|
|
499
|
+
console.log
|
|
500
|
+
🛒 Orders plugin initialized
|
|
501
|
+
|
|
502
|
+
at Object.initialize (src/plugins/orders/index.ts:13:13)
|
|
503
|
+
|
|
504
|
+
console.log
|
|
505
|
+
✓ Initialized plugin: orders
|
|
506
|
+
|
|
507
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
508
|
+
|
|
509
|
+
console.log
|
|
510
|
+
✅ Plugin orders loaded successfully
|
|
511
|
+
|
|
512
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
513
|
+
|
|
514
|
+
console.log
|
|
515
|
+
🔌 Loading plugin: payments
|
|
516
|
+
|
|
517
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
518
|
+
|
|
519
|
+
console.log
|
|
520
|
+
✓ Registered concept: Payment
|
|
521
|
+
|
|
522
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
523
|
+
|
|
524
|
+
console.log
|
|
525
|
+
✓ Registered sync: InitiatePaymentOnOrderConfirm
|
|
526
|
+
|
|
527
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
528
|
+
|
|
529
|
+
console.log
|
|
530
|
+
✓ Registered sync: AutoProcessPayment
|
|
531
|
+
|
|
532
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
533
|
+
|
|
534
|
+
console.log
|
|
535
|
+
✓ Registered sync: AutoConfirmPayment
|
|
536
|
+
|
|
537
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
538
|
+
|
|
539
|
+
console.log
|
|
540
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentConfirm
|
|
541
|
+
|
|
542
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
543
|
+
|
|
544
|
+
console.log
|
|
545
|
+
✓ Registered sync: GetUserDetailsAfterPaymentConfirm
|
|
546
|
+
|
|
547
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
548
|
+
|
|
549
|
+
console.log
|
|
550
|
+
✓ Registered sync: SendPaymentSuccessNotification
|
|
551
|
+
|
|
552
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
553
|
+
|
|
554
|
+
console.log
|
|
555
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentFail
|
|
556
|
+
|
|
557
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
558
|
+
|
|
559
|
+
console.log
|
|
560
|
+
✓ Registered sync: GetUserDetailsAfterPaymentFail
|
|
561
|
+
|
|
562
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
563
|
+
|
|
564
|
+
console.log
|
|
565
|
+
✓ Registered sync: SendPaymentFailureNotification
|
|
566
|
+
|
|
567
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
568
|
+
|
|
569
|
+
console.log
|
|
570
|
+
✓ Registered sync: GetOrderDetailsAfterRefund
|
|
571
|
+
|
|
572
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
573
|
+
|
|
574
|
+
console.log
|
|
575
|
+
✓ Registered sync: GetUserDetailsAfterRefund
|
|
576
|
+
|
|
577
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
578
|
+
|
|
579
|
+
console.log
|
|
580
|
+
✓ Registered sync: SendRefundNotification
|
|
581
|
+
|
|
582
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
583
|
+
|
|
584
|
+
console.log
|
|
585
|
+
💳 Payments plugin initialized
|
|
586
|
+
|
|
587
|
+
at Object.initialize (src/plugins/payments/index.ts:13:13)
|
|
588
|
+
|
|
589
|
+
console.log
|
|
590
|
+
✓ Initialized plugin: payments
|
|
591
|
+
|
|
592
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
593
|
+
|
|
594
|
+
console.log
|
|
595
|
+
✅ Plugin payments loaded successfully
|
|
596
|
+
|
|
597
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
598
|
+
|
|
599
|
+
console.log
|
|
600
|
+
🔌 Loading plugin: notifications
|
|
601
|
+
|
|
602
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
603
|
+
|
|
604
|
+
console.log
|
|
605
|
+
✓ Registered concept: Notification
|
|
606
|
+
|
|
607
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
608
|
+
|
|
609
|
+
console.log
|
|
610
|
+
🔔 Notifications plugin initialized
|
|
611
|
+
|
|
612
|
+
at Object.initialize (src/plugins/notifications/index.ts:12:13)
|
|
613
|
+
|
|
614
|
+
console.log
|
|
615
|
+
✓ Initialized plugin: notifications
|
|
616
|
+
|
|
617
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
618
|
+
|
|
619
|
+
console.log
|
|
620
|
+
✅ Plugin notifications loaded successfully
|
|
621
|
+
|
|
622
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
623
|
+
|
|
624
|
+
console.log
|
|
625
|
+
🔌 Loading plugin: analytics
|
|
626
|
+
|
|
627
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
628
|
+
|
|
629
|
+
console.log
|
|
630
|
+
✓ Registered concept: Analytics
|
|
631
|
+
|
|
632
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
633
|
+
|
|
634
|
+
console.log
|
|
635
|
+
✓ Registered sync: TrackUserRegistration
|
|
636
|
+
|
|
637
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
638
|
+
|
|
639
|
+
console.log
|
|
640
|
+
✓ Registered sync: TrackProductCreation
|
|
641
|
+
|
|
642
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
643
|
+
|
|
644
|
+
console.log
|
|
645
|
+
✓ Registered sync: TrackOrderCreation
|
|
646
|
+
|
|
647
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
648
|
+
|
|
649
|
+
console.log
|
|
650
|
+
✓ Registered sync: TrackOrderConfirmation
|
|
651
|
+
|
|
652
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
653
|
+
|
|
654
|
+
console.log
|
|
655
|
+
📈 Analytics plugin initialized
|
|
656
|
+
|
|
657
|
+
at Object.initialize (src/plugins/analytics/index.ts:13:13)
|
|
658
|
+
|
|
659
|
+
console.log
|
|
660
|
+
✓ Initialized plugin: analytics
|
|
661
|
+
|
|
662
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
663
|
+
|
|
664
|
+
console.log
|
|
665
|
+
✅ Plugin analytics loaded successfully
|
|
666
|
+
|
|
667
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
668
|
+
|
|
669
|
+
console.log
|
|
670
|
+
📢 Event: product.created from system {
|
|
671
|
+
productId: 'd35f5989-a9aa-40c3-8800-1818cae62873',
|
|
672
|
+
name: 'Test Product',
|
|
673
|
+
sku: 'TEST-001',
|
|
674
|
+
price: 29.99,
|
|
675
|
+
category: 'test'
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
679
|
+
|
|
680
|
+
console.log
|
|
681
|
+
📊 Tracked: product_created {
|
|
682
|
+
productId: 'd35f5989-a9aa-40c3-8800-1818cae62873',
|
|
683
|
+
name: 'Test Product',
|
|
684
|
+
category: 'test',
|
|
685
|
+
price: 29.99
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
689
|
+
|
|
690
|
+
console.log
|
|
691
|
+
🔌 Loading plugin: users
|
|
692
|
+
|
|
693
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
694
|
+
|
|
695
|
+
console.log
|
|
696
|
+
✓ Registered concept: User
|
|
697
|
+
|
|
698
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
699
|
+
|
|
700
|
+
console.log
|
|
701
|
+
✓ Registered sync: PublishUserRegisteredEvent
|
|
702
|
+
|
|
703
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
704
|
+
|
|
705
|
+
console.log
|
|
706
|
+
✓ Registered sync: PublishUserUpdatedEvent
|
|
707
|
+
|
|
708
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
709
|
+
|
|
710
|
+
console.log
|
|
711
|
+
✓ Registered sync: PublishUserDeactivatedEvent
|
|
712
|
+
|
|
713
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
714
|
+
|
|
715
|
+
console.log
|
|
716
|
+
👤 Users plugin initialized
|
|
717
|
+
|
|
718
|
+
at Object.initialize (src/plugins/users/index.ts:13:13)
|
|
719
|
+
|
|
720
|
+
console.log
|
|
721
|
+
✓ Initialized plugin: users
|
|
722
|
+
|
|
723
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
724
|
+
|
|
725
|
+
console.log
|
|
726
|
+
✅ Plugin users loaded successfully
|
|
727
|
+
|
|
728
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
729
|
+
|
|
730
|
+
console.log
|
|
731
|
+
🔌 Loading plugin: products
|
|
732
|
+
|
|
733
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
734
|
+
|
|
735
|
+
console.log
|
|
736
|
+
✓ Registered concept: Product
|
|
737
|
+
|
|
738
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
739
|
+
|
|
740
|
+
console.log
|
|
741
|
+
✓ Registered sync: PublishProductCreatedEvent
|
|
742
|
+
|
|
743
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
744
|
+
|
|
745
|
+
console.log
|
|
746
|
+
✓ Registered sync: PublishProductUpdatedEvent
|
|
747
|
+
|
|
748
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
749
|
+
|
|
750
|
+
console.log
|
|
751
|
+
✓ Registered sync: PublishProductDeactivatedEvent
|
|
752
|
+
|
|
753
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
754
|
+
|
|
755
|
+
console.log
|
|
756
|
+
📦 Products plugin initialized
|
|
757
|
+
|
|
758
|
+
at Object.initialize (src/plugins/products/index.ts:13:13)
|
|
759
|
+
|
|
760
|
+
console.log
|
|
761
|
+
✓ Initialized plugin: products
|
|
762
|
+
|
|
763
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
764
|
+
|
|
765
|
+
console.log
|
|
766
|
+
✅ Plugin products loaded successfully
|
|
767
|
+
|
|
768
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
769
|
+
|
|
770
|
+
console.log
|
|
771
|
+
🔌 Loading plugin: inventory
|
|
772
|
+
|
|
773
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
774
|
+
|
|
775
|
+
console.log
|
|
776
|
+
✓ Registered concept: Inventory
|
|
777
|
+
|
|
778
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
779
|
+
|
|
780
|
+
console.log
|
|
781
|
+
📊 Inventory plugin initialized
|
|
782
|
+
|
|
783
|
+
at Object.initialize (src/plugins/inventory/index.ts:12:13)
|
|
784
|
+
|
|
785
|
+
console.log
|
|
786
|
+
✓ Initialized plugin: inventory
|
|
787
|
+
|
|
788
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
789
|
+
|
|
790
|
+
console.log
|
|
791
|
+
✅ Plugin inventory loaded successfully
|
|
792
|
+
|
|
793
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
794
|
+
|
|
795
|
+
console.log
|
|
796
|
+
🔌 Loading plugin: orders
|
|
797
|
+
|
|
798
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
799
|
+
|
|
800
|
+
console.log
|
|
801
|
+
✓ Registered concept: Order
|
|
802
|
+
|
|
803
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
804
|
+
|
|
805
|
+
console.log
|
|
806
|
+
✓ Registered sync: CheckInventoryAfterOrderCreation
|
|
807
|
+
|
|
808
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
809
|
+
|
|
810
|
+
console.log
|
|
811
|
+
✓ Registered sync: ConfirmOrderIfInventoryAvailable
|
|
812
|
+
|
|
813
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
814
|
+
|
|
815
|
+
console.log
|
|
816
|
+
✓ Registered sync: GetUserDetailsAfterOrderConfirm
|
|
817
|
+
|
|
818
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
819
|
+
|
|
820
|
+
console.log
|
|
821
|
+
✓ Registered sync: CancelOrderIfInventoryUnavailable
|
|
822
|
+
|
|
823
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
824
|
+
|
|
825
|
+
console.log
|
|
826
|
+
✓ Registered sync: DeductInventoryOnOrderConfirm
|
|
827
|
+
|
|
828
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
829
|
+
|
|
830
|
+
console.log
|
|
831
|
+
✓ Registered sync: SendOrderConfirmationNotification
|
|
832
|
+
|
|
833
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
834
|
+
|
|
835
|
+
console.log
|
|
836
|
+
✓ Registered sync: SendShippingNotification
|
|
837
|
+
|
|
838
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
839
|
+
|
|
840
|
+
console.log
|
|
841
|
+
🛒 Orders plugin initialized
|
|
842
|
+
|
|
843
|
+
at Object.initialize (src/plugins/orders/index.ts:13:13)
|
|
844
|
+
|
|
845
|
+
console.log
|
|
846
|
+
✓ Initialized plugin: orders
|
|
847
|
+
|
|
848
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
849
|
+
|
|
850
|
+
console.log
|
|
851
|
+
✅ Plugin orders loaded successfully
|
|
852
|
+
|
|
853
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
854
|
+
|
|
855
|
+
console.log
|
|
856
|
+
🔌 Loading plugin: payments
|
|
857
|
+
|
|
858
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
859
|
+
|
|
860
|
+
console.log
|
|
861
|
+
✓ Registered concept: Payment
|
|
862
|
+
|
|
863
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
864
|
+
|
|
865
|
+
console.log
|
|
866
|
+
✓ Registered sync: InitiatePaymentOnOrderConfirm
|
|
867
|
+
|
|
868
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
869
|
+
|
|
870
|
+
console.log
|
|
871
|
+
✓ Registered sync: AutoProcessPayment
|
|
872
|
+
|
|
873
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
874
|
+
|
|
875
|
+
console.log
|
|
876
|
+
✓ Registered sync: AutoConfirmPayment
|
|
877
|
+
|
|
878
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
879
|
+
|
|
880
|
+
console.log
|
|
881
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentConfirm
|
|
882
|
+
|
|
883
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
884
|
+
|
|
885
|
+
console.log
|
|
886
|
+
✓ Registered sync: GetUserDetailsAfterPaymentConfirm
|
|
887
|
+
|
|
888
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
889
|
+
|
|
890
|
+
console.log
|
|
891
|
+
✓ Registered sync: SendPaymentSuccessNotification
|
|
892
|
+
|
|
893
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
894
|
+
|
|
895
|
+
console.log
|
|
896
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentFail
|
|
897
|
+
|
|
898
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
899
|
+
|
|
900
|
+
console.log
|
|
901
|
+
✓ Registered sync: GetUserDetailsAfterPaymentFail
|
|
902
|
+
|
|
903
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
904
|
+
|
|
905
|
+
console.log
|
|
906
|
+
✓ Registered sync: SendPaymentFailureNotification
|
|
907
|
+
|
|
908
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
909
|
+
|
|
910
|
+
console.log
|
|
911
|
+
✓ Registered sync: GetOrderDetailsAfterRefund
|
|
912
|
+
|
|
913
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
914
|
+
|
|
915
|
+
console.log
|
|
916
|
+
✓ Registered sync: GetUserDetailsAfterRefund
|
|
917
|
+
|
|
918
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
919
|
+
|
|
920
|
+
console.log
|
|
921
|
+
✓ Registered sync: SendRefundNotification
|
|
922
|
+
|
|
923
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
924
|
+
|
|
925
|
+
console.log
|
|
926
|
+
💳 Payments plugin initialized
|
|
927
|
+
|
|
928
|
+
at Object.initialize (src/plugins/payments/index.ts:13:13)
|
|
929
|
+
|
|
930
|
+
console.log
|
|
931
|
+
✓ Initialized plugin: payments
|
|
932
|
+
|
|
933
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
934
|
+
|
|
935
|
+
console.log
|
|
936
|
+
✅ Plugin payments loaded successfully
|
|
937
|
+
|
|
938
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
939
|
+
|
|
940
|
+
console.log
|
|
941
|
+
🔌 Loading plugin: notifications
|
|
942
|
+
|
|
943
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
944
|
+
|
|
945
|
+
console.log
|
|
946
|
+
✓ Registered concept: Notification
|
|
947
|
+
|
|
948
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
949
|
+
|
|
950
|
+
console.log
|
|
951
|
+
🔔 Notifications plugin initialized
|
|
952
|
+
|
|
953
|
+
at Object.initialize (src/plugins/notifications/index.ts:12:13)
|
|
954
|
+
|
|
955
|
+
console.log
|
|
956
|
+
✓ Initialized plugin: notifications
|
|
957
|
+
|
|
958
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
959
|
+
|
|
960
|
+
console.log
|
|
961
|
+
✅ Plugin notifications loaded successfully
|
|
962
|
+
|
|
963
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
964
|
+
|
|
965
|
+
console.log
|
|
966
|
+
🔌 Loading plugin: analytics
|
|
967
|
+
|
|
968
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
969
|
+
|
|
970
|
+
console.log
|
|
971
|
+
✓ Registered concept: Analytics
|
|
972
|
+
|
|
973
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
974
|
+
|
|
975
|
+
console.log
|
|
976
|
+
✓ Registered sync: TrackUserRegistration
|
|
977
|
+
|
|
978
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
979
|
+
|
|
980
|
+
console.log
|
|
981
|
+
✓ Registered sync: TrackProductCreation
|
|
982
|
+
|
|
983
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
984
|
+
|
|
985
|
+
console.log
|
|
986
|
+
✓ Registered sync: TrackOrderCreation
|
|
987
|
+
|
|
988
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
989
|
+
|
|
990
|
+
console.log
|
|
991
|
+
✓ Registered sync: TrackOrderConfirmation
|
|
992
|
+
|
|
993
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
994
|
+
|
|
995
|
+
console.log
|
|
996
|
+
📈 Analytics plugin initialized
|
|
997
|
+
|
|
998
|
+
at Object.initialize (src/plugins/analytics/index.ts:13:13)
|
|
999
|
+
|
|
1000
|
+
console.log
|
|
1001
|
+
✓ Initialized plugin: analytics
|
|
1002
|
+
|
|
1003
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1004
|
+
|
|
1005
|
+
console.log
|
|
1006
|
+
✅ Plugin analytics loaded successfully
|
|
1007
|
+
|
|
1008
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1009
|
+
|
|
1010
|
+
console.log
|
|
1011
|
+
📢 Event: user.registered from system {
|
|
1012
|
+
userId: 'a863eff2-5f97-49fe-a81c-48d87fc32345',
|
|
1013
|
+
username: 'testuser',
|
|
1014
|
+
email: 'test@example.com'
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
1018
|
+
|
|
1019
|
+
console.log
|
|
1020
|
+
📊 Tracked: user_registered {
|
|
1021
|
+
userId: 'a863eff2-5f97-49fe-a81c-48d87fc32345',
|
|
1022
|
+
username: 'testuser',
|
|
1023
|
+
email: 'test@example.com'
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
1027
|
+
|
|
1028
|
+
console.log
|
|
1029
|
+
📢 Event: product.created from system {
|
|
1030
|
+
productId: '17a18392-c172-4b23-a6b6-094dc7900ddf',
|
|
1031
|
+
name: 'Test Product',
|
|
1032
|
+
sku: 'TEST-001',
|
|
1033
|
+
price: 29.99,
|
|
1034
|
+
category: 'test'
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
1038
|
+
|
|
1039
|
+
console.log
|
|
1040
|
+
📊 Tracked: product_created {
|
|
1041
|
+
productId: '17a18392-c172-4b23-a6b6-094dc7900ddf',
|
|
1042
|
+
name: 'Test Product',
|
|
1043
|
+
category: 'test',
|
|
1044
|
+
price: 29.99
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
1048
|
+
|
|
1049
|
+
console.log
|
|
1050
|
+
[Inventory.checkAvailability] Processing item: productId=17a18392-c172-4b23-a6b6-094dc7900ddf, quantity=2, price=29.99
|
|
1051
|
+
|
|
1052
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:32:19)
|
|
1053
|
+
|
|
1054
|
+
console.log
|
|
1055
|
+
[Inventory.checkAvailability] Parsed quantity: 2
|
|
1056
|
+
|
|
1057
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:34:19)
|
|
1058
|
+
|
|
1059
|
+
console.log
|
|
1060
|
+
[Inventory.checkAvailability] Parsed price: 29.99
|
|
1061
|
+
|
|
1062
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:36:19)
|
|
1063
|
+
|
|
1064
|
+
console.log
|
|
1065
|
+
📧 EMAIL sent to test@example.com: order-confirmation
|
|
1066
|
+
|
|
1067
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1068
|
+
|
|
1069
|
+
console.log
|
|
1070
|
+
📧 EMAIL sent to test@example.com: payment-success
|
|
1071
|
+
|
|
1072
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1073
|
+
|
|
1074
|
+
console.log
|
|
1075
|
+
📧 EMAIL sent to ?user.email: payment-success
|
|
1076
|
+
|
|
1077
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1078
|
+
|
|
1079
|
+
console.log
|
|
1080
|
+
📧 EMAIL sent to test@example.com: payment-failed
|
|
1081
|
+
|
|
1082
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1083
|
+
|
|
1084
|
+
console.log
|
|
1085
|
+
📧 EMAIL sent to ?user.email: payment-failed
|
|
1086
|
+
|
|
1087
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1088
|
+
|
|
1089
|
+
console.log
|
|
1090
|
+
📧 EMAIL sent to test@example.com: payment-refund
|
|
1091
|
+
|
|
1092
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1093
|
+
|
|
1094
|
+
console.log
|
|
1095
|
+
📧 EMAIL sent to ?user.email: payment-refund
|
|
1096
|
+
|
|
1097
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1098
|
+
|
|
1099
|
+
console.log
|
|
1100
|
+
📊 Tracked: order_created {
|
|
1101
|
+
orderId: '2f98006d-ca0d-491d-ba74-d0025994a0ba',
|
|
1102
|
+
userId: 'a863eff2-5f97-49fe-a81c-48d87fc32345',
|
|
1103
|
+
itemCount: 1
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
1107
|
+
|
|
1108
|
+
console.log
|
|
1109
|
+
📊 Tracked: order_confirmed { orderId: '2f98006d-ca0d-491d-ba74-d0025994a0ba', total: 59.98 }
|
|
1110
|
+
|
|
1111
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
1112
|
+
|
|
1113
|
+
console.log
|
|
1114
|
+
🔌 Loading plugin: users
|
|
1115
|
+
|
|
1116
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1117
|
+
|
|
1118
|
+
console.log
|
|
1119
|
+
✓ Registered concept: User
|
|
1120
|
+
|
|
1121
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1122
|
+
|
|
1123
|
+
console.log
|
|
1124
|
+
✓ Registered sync: PublishUserRegisteredEvent
|
|
1125
|
+
|
|
1126
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1127
|
+
|
|
1128
|
+
console.log
|
|
1129
|
+
✓ Registered sync: PublishUserUpdatedEvent
|
|
1130
|
+
|
|
1131
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1132
|
+
|
|
1133
|
+
console.log
|
|
1134
|
+
✓ Registered sync: PublishUserDeactivatedEvent
|
|
1135
|
+
|
|
1136
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1137
|
+
|
|
1138
|
+
console.log
|
|
1139
|
+
👤 Users plugin initialized
|
|
1140
|
+
|
|
1141
|
+
at Object.initialize (src/plugins/users/index.ts:13:13)
|
|
1142
|
+
|
|
1143
|
+
console.log
|
|
1144
|
+
✓ Initialized plugin: users
|
|
1145
|
+
|
|
1146
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1147
|
+
|
|
1148
|
+
console.log
|
|
1149
|
+
✅ Plugin users loaded successfully
|
|
1150
|
+
|
|
1151
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1152
|
+
|
|
1153
|
+
console.log
|
|
1154
|
+
🔌 Loading plugin: products
|
|
1155
|
+
|
|
1156
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1157
|
+
|
|
1158
|
+
console.log
|
|
1159
|
+
✓ Registered concept: Product
|
|
1160
|
+
|
|
1161
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1162
|
+
|
|
1163
|
+
console.log
|
|
1164
|
+
✓ Registered sync: PublishProductCreatedEvent
|
|
1165
|
+
|
|
1166
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1167
|
+
|
|
1168
|
+
console.log
|
|
1169
|
+
✓ Registered sync: PublishProductUpdatedEvent
|
|
1170
|
+
|
|
1171
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1172
|
+
|
|
1173
|
+
console.log
|
|
1174
|
+
✓ Registered sync: PublishProductDeactivatedEvent
|
|
1175
|
+
|
|
1176
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1177
|
+
|
|
1178
|
+
console.log
|
|
1179
|
+
📦 Products plugin initialized
|
|
1180
|
+
|
|
1181
|
+
at Object.initialize (src/plugins/products/index.ts:13:13)
|
|
1182
|
+
|
|
1183
|
+
console.log
|
|
1184
|
+
✓ Initialized plugin: products
|
|
1185
|
+
|
|
1186
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1187
|
+
|
|
1188
|
+
console.log
|
|
1189
|
+
✅ Plugin products loaded successfully
|
|
1190
|
+
|
|
1191
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1192
|
+
|
|
1193
|
+
console.log
|
|
1194
|
+
🔌 Loading plugin: inventory
|
|
1195
|
+
|
|
1196
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1197
|
+
|
|
1198
|
+
console.log
|
|
1199
|
+
✓ Registered concept: Inventory
|
|
1200
|
+
|
|
1201
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1202
|
+
|
|
1203
|
+
console.log
|
|
1204
|
+
📊 Inventory plugin initialized
|
|
1205
|
+
|
|
1206
|
+
at Object.initialize (src/plugins/inventory/index.ts:12:13)
|
|
1207
|
+
|
|
1208
|
+
console.log
|
|
1209
|
+
✓ Initialized plugin: inventory
|
|
1210
|
+
|
|
1211
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1212
|
+
|
|
1213
|
+
console.log
|
|
1214
|
+
✅ Plugin inventory loaded successfully
|
|
1215
|
+
|
|
1216
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1217
|
+
|
|
1218
|
+
console.log
|
|
1219
|
+
🔌 Loading plugin: orders
|
|
1220
|
+
|
|
1221
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1222
|
+
|
|
1223
|
+
console.log
|
|
1224
|
+
✓ Registered concept: Order
|
|
1225
|
+
|
|
1226
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1227
|
+
|
|
1228
|
+
console.log
|
|
1229
|
+
✓ Registered sync: CheckInventoryAfterOrderCreation
|
|
1230
|
+
|
|
1231
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1232
|
+
|
|
1233
|
+
console.log
|
|
1234
|
+
✓ Registered sync: ConfirmOrderIfInventoryAvailable
|
|
1235
|
+
|
|
1236
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1237
|
+
|
|
1238
|
+
console.log
|
|
1239
|
+
✓ Registered sync: GetUserDetailsAfterOrderConfirm
|
|
1240
|
+
|
|
1241
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1242
|
+
|
|
1243
|
+
console.log
|
|
1244
|
+
✓ Registered sync: CancelOrderIfInventoryUnavailable
|
|
1245
|
+
|
|
1246
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1247
|
+
|
|
1248
|
+
console.log
|
|
1249
|
+
✓ Registered sync: DeductInventoryOnOrderConfirm
|
|
1250
|
+
|
|
1251
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1252
|
+
|
|
1253
|
+
console.log
|
|
1254
|
+
✓ Registered sync: SendOrderConfirmationNotification
|
|
1255
|
+
|
|
1256
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1257
|
+
|
|
1258
|
+
console.log
|
|
1259
|
+
✓ Registered sync: SendShippingNotification
|
|
1260
|
+
|
|
1261
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1262
|
+
|
|
1263
|
+
console.log
|
|
1264
|
+
🛒 Orders plugin initialized
|
|
1265
|
+
|
|
1266
|
+
at Object.initialize (src/plugins/orders/index.ts:13:13)
|
|
1267
|
+
|
|
1268
|
+
console.log
|
|
1269
|
+
✓ Initialized plugin: orders
|
|
1270
|
+
|
|
1271
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1272
|
+
|
|
1273
|
+
console.log
|
|
1274
|
+
✅ Plugin orders loaded successfully
|
|
1275
|
+
|
|
1276
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1277
|
+
|
|
1278
|
+
console.log
|
|
1279
|
+
🔌 Loading plugin: payments
|
|
1280
|
+
|
|
1281
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1282
|
+
|
|
1283
|
+
console.log
|
|
1284
|
+
✓ Registered concept: Payment
|
|
1285
|
+
|
|
1286
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1287
|
+
|
|
1288
|
+
console.log
|
|
1289
|
+
✓ Registered sync: InitiatePaymentOnOrderConfirm
|
|
1290
|
+
|
|
1291
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1292
|
+
|
|
1293
|
+
console.log
|
|
1294
|
+
✓ Registered sync: AutoProcessPayment
|
|
1295
|
+
|
|
1296
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1297
|
+
|
|
1298
|
+
console.log
|
|
1299
|
+
✓ Registered sync: AutoConfirmPayment
|
|
1300
|
+
|
|
1301
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1302
|
+
|
|
1303
|
+
console.log
|
|
1304
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentConfirm
|
|
1305
|
+
|
|
1306
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1307
|
+
|
|
1308
|
+
console.log
|
|
1309
|
+
✓ Registered sync: GetUserDetailsAfterPaymentConfirm
|
|
1310
|
+
|
|
1311
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1312
|
+
|
|
1313
|
+
console.log
|
|
1314
|
+
✓ Registered sync: SendPaymentSuccessNotification
|
|
1315
|
+
|
|
1316
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1317
|
+
|
|
1318
|
+
console.log
|
|
1319
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentFail
|
|
1320
|
+
|
|
1321
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1322
|
+
|
|
1323
|
+
console.log
|
|
1324
|
+
✓ Registered sync: GetUserDetailsAfterPaymentFail
|
|
1325
|
+
|
|
1326
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1327
|
+
|
|
1328
|
+
console.log
|
|
1329
|
+
✓ Registered sync: SendPaymentFailureNotification
|
|
1330
|
+
|
|
1331
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1332
|
+
|
|
1333
|
+
console.log
|
|
1334
|
+
✓ Registered sync: GetOrderDetailsAfterRefund
|
|
1335
|
+
|
|
1336
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1337
|
+
|
|
1338
|
+
console.log
|
|
1339
|
+
✓ Registered sync: GetUserDetailsAfterRefund
|
|
1340
|
+
|
|
1341
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1342
|
+
|
|
1343
|
+
console.log
|
|
1344
|
+
✓ Registered sync: SendRefundNotification
|
|
1345
|
+
|
|
1346
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1347
|
+
|
|
1348
|
+
console.log
|
|
1349
|
+
💳 Payments plugin initialized
|
|
1350
|
+
|
|
1351
|
+
at Object.initialize (src/plugins/payments/index.ts:13:13)
|
|
1352
|
+
|
|
1353
|
+
console.log
|
|
1354
|
+
✓ Initialized plugin: payments
|
|
1355
|
+
|
|
1356
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1357
|
+
|
|
1358
|
+
console.log
|
|
1359
|
+
✅ Plugin payments loaded successfully
|
|
1360
|
+
|
|
1361
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1362
|
+
|
|
1363
|
+
console.log
|
|
1364
|
+
🔌 Loading plugin: notifications
|
|
1365
|
+
|
|
1366
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1367
|
+
|
|
1368
|
+
console.log
|
|
1369
|
+
✓ Registered concept: Notification
|
|
1370
|
+
|
|
1371
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1372
|
+
|
|
1373
|
+
console.log
|
|
1374
|
+
🔔 Notifications plugin initialized
|
|
1375
|
+
|
|
1376
|
+
at Object.initialize (src/plugins/notifications/index.ts:12:13)
|
|
1377
|
+
|
|
1378
|
+
console.log
|
|
1379
|
+
✓ Initialized plugin: notifications
|
|
1380
|
+
|
|
1381
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1382
|
+
|
|
1383
|
+
console.log
|
|
1384
|
+
✅ Plugin notifications loaded successfully
|
|
1385
|
+
|
|
1386
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1387
|
+
|
|
1388
|
+
console.log
|
|
1389
|
+
🔌 Loading plugin: analytics
|
|
1390
|
+
|
|
1391
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1392
|
+
|
|
1393
|
+
console.log
|
|
1394
|
+
✓ Registered concept: Analytics
|
|
1395
|
+
|
|
1396
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1397
|
+
|
|
1398
|
+
console.log
|
|
1399
|
+
✓ Registered sync: TrackUserRegistration
|
|
1400
|
+
|
|
1401
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1402
|
+
|
|
1403
|
+
console.log
|
|
1404
|
+
✓ Registered sync: TrackProductCreation
|
|
1405
|
+
|
|
1406
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1407
|
+
|
|
1408
|
+
console.log
|
|
1409
|
+
✓ Registered sync: TrackOrderCreation
|
|
1410
|
+
|
|
1411
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1412
|
+
|
|
1413
|
+
console.log
|
|
1414
|
+
✓ Registered sync: TrackOrderConfirmation
|
|
1415
|
+
|
|
1416
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1417
|
+
|
|
1418
|
+
console.log
|
|
1419
|
+
📈 Analytics plugin initialized
|
|
1420
|
+
|
|
1421
|
+
at Object.initialize (src/plugins/analytics/index.ts:13:13)
|
|
1422
|
+
|
|
1423
|
+
console.log
|
|
1424
|
+
✓ Initialized plugin: analytics
|
|
1425
|
+
|
|
1426
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1427
|
+
|
|
1428
|
+
console.log
|
|
1429
|
+
✅ Plugin analytics loaded successfully
|
|
1430
|
+
|
|
1431
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1432
|
+
|
|
1433
|
+
console.log
|
|
1434
|
+
📢 Event: user.registered from system {
|
|
1435
|
+
userId: '9504015a-bd50-4ea2-90d3-5968b6acddc2',
|
|
1436
|
+
username: 'testuser',
|
|
1437
|
+
email: 'test@example.com'
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
1441
|
+
|
|
1442
|
+
console.log
|
|
1443
|
+
📊 Tracked: user_registered {
|
|
1444
|
+
userId: '9504015a-bd50-4ea2-90d3-5968b6acddc2',
|
|
1445
|
+
username: 'testuser',
|
|
1446
|
+
email: 'test@example.com'
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
1450
|
+
|
|
1451
|
+
console.log
|
|
1452
|
+
📢 Event: product.created from system {
|
|
1453
|
+
productId: '64cd5bc1-d2b0-4c63-bcec-0bce8cdce6ca',
|
|
1454
|
+
name: 'Test Product',
|
|
1455
|
+
sku: 'TEST-001',
|
|
1456
|
+
price: 29.99,
|
|
1457
|
+
category: 'test'
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
1461
|
+
|
|
1462
|
+
console.log
|
|
1463
|
+
📊 Tracked: product_created {
|
|
1464
|
+
productId: '64cd5bc1-d2b0-4c63-bcec-0bce8cdce6ca',
|
|
1465
|
+
name: 'Test Product',
|
|
1466
|
+
category: 'test',
|
|
1467
|
+
price: 29.99
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
1471
|
+
|
|
1472
|
+
console.log
|
|
1473
|
+
[Inventory.checkAvailability] Processing item: productId=64cd5bc1-d2b0-4c63-bcec-0bce8cdce6ca, quantity=1, price=29.99
|
|
1474
|
+
|
|
1475
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:32:19)
|
|
1476
|
+
|
|
1477
|
+
console.log
|
|
1478
|
+
[Inventory.checkAvailability] Parsed quantity: 1
|
|
1479
|
+
|
|
1480
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:34:19)
|
|
1481
|
+
|
|
1482
|
+
console.log
|
|
1483
|
+
[Inventory.checkAvailability] Parsed price: 29.99
|
|
1484
|
+
|
|
1485
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:36:19)
|
|
1486
|
+
|
|
1487
|
+
console.log
|
|
1488
|
+
📧 EMAIL sent to test@example.com: order-confirmation
|
|
1489
|
+
|
|
1490
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1491
|
+
|
|
1492
|
+
console.log
|
|
1493
|
+
📧 EMAIL sent to test@example.com: payment-success
|
|
1494
|
+
|
|
1495
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1496
|
+
|
|
1497
|
+
console.log
|
|
1498
|
+
📧 EMAIL sent to ?user.email: payment-success
|
|
1499
|
+
|
|
1500
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1501
|
+
|
|
1502
|
+
console.log
|
|
1503
|
+
📧 EMAIL sent to test@example.com: payment-failed
|
|
1504
|
+
|
|
1505
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1506
|
+
|
|
1507
|
+
console.log
|
|
1508
|
+
📧 EMAIL sent to ?user.email: payment-failed
|
|
1509
|
+
|
|
1510
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1511
|
+
|
|
1512
|
+
console.log
|
|
1513
|
+
📧 EMAIL sent to test@example.com: payment-refund
|
|
1514
|
+
|
|
1515
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1516
|
+
|
|
1517
|
+
console.log
|
|
1518
|
+
📧 EMAIL sent to ?user.email: payment-refund
|
|
1519
|
+
|
|
1520
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1521
|
+
|
|
1522
|
+
console.log
|
|
1523
|
+
📊 Tracked: order_created {
|
|
1524
|
+
orderId: '4b421c5b-b15d-4dfc-901a-9ef0a113340c',
|
|
1525
|
+
userId: '9504015a-bd50-4ea2-90d3-5968b6acddc2',
|
|
1526
|
+
itemCount: 1
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
1530
|
+
|
|
1531
|
+
console.log
|
|
1532
|
+
📊 Tracked: order_confirmed { orderId: '4b421c5b-b15d-4dfc-901a-9ef0a113340c', total: 29.99 }
|
|
1533
|
+
|
|
1534
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
1535
|
+
|
|
1536
|
+
console.log
|
|
1537
|
+
🔌 Loading plugin: users
|
|
1538
|
+
|
|
1539
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1540
|
+
|
|
1541
|
+
console.log
|
|
1542
|
+
✓ Registered concept: User
|
|
1543
|
+
|
|
1544
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1545
|
+
|
|
1546
|
+
console.log
|
|
1547
|
+
✓ Registered sync: PublishUserRegisteredEvent
|
|
1548
|
+
|
|
1549
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1550
|
+
|
|
1551
|
+
console.log
|
|
1552
|
+
✓ Registered sync: PublishUserUpdatedEvent
|
|
1553
|
+
|
|
1554
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1555
|
+
|
|
1556
|
+
console.log
|
|
1557
|
+
✓ Registered sync: PublishUserDeactivatedEvent
|
|
1558
|
+
|
|
1559
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1560
|
+
|
|
1561
|
+
console.log
|
|
1562
|
+
👤 Users plugin initialized
|
|
1563
|
+
|
|
1564
|
+
at Object.initialize (src/plugins/users/index.ts:13:13)
|
|
1565
|
+
|
|
1566
|
+
console.log
|
|
1567
|
+
✓ Initialized plugin: users
|
|
1568
|
+
|
|
1569
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1570
|
+
|
|
1571
|
+
console.log
|
|
1572
|
+
✅ Plugin users loaded successfully
|
|
1573
|
+
|
|
1574
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1575
|
+
|
|
1576
|
+
console.log
|
|
1577
|
+
🔌 Loading plugin: products
|
|
1578
|
+
|
|
1579
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1580
|
+
|
|
1581
|
+
console.log
|
|
1582
|
+
✓ Registered concept: Product
|
|
1583
|
+
|
|
1584
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1585
|
+
|
|
1586
|
+
console.log
|
|
1587
|
+
✓ Registered sync: PublishProductCreatedEvent
|
|
1588
|
+
|
|
1589
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1590
|
+
|
|
1591
|
+
console.log
|
|
1592
|
+
✓ Registered sync: PublishProductUpdatedEvent
|
|
1593
|
+
|
|
1594
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1595
|
+
|
|
1596
|
+
console.log
|
|
1597
|
+
✓ Registered sync: PublishProductDeactivatedEvent
|
|
1598
|
+
|
|
1599
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1600
|
+
|
|
1601
|
+
console.log
|
|
1602
|
+
📦 Products plugin initialized
|
|
1603
|
+
|
|
1604
|
+
at Object.initialize (src/plugins/products/index.ts:13:13)
|
|
1605
|
+
|
|
1606
|
+
console.log
|
|
1607
|
+
✓ Initialized plugin: products
|
|
1608
|
+
|
|
1609
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1610
|
+
|
|
1611
|
+
console.log
|
|
1612
|
+
✅ Plugin products loaded successfully
|
|
1613
|
+
|
|
1614
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1615
|
+
|
|
1616
|
+
console.log
|
|
1617
|
+
🔌 Loading plugin: inventory
|
|
1618
|
+
|
|
1619
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1620
|
+
|
|
1621
|
+
console.log
|
|
1622
|
+
✓ Registered concept: Inventory
|
|
1623
|
+
|
|
1624
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1625
|
+
|
|
1626
|
+
console.log
|
|
1627
|
+
📊 Inventory plugin initialized
|
|
1628
|
+
|
|
1629
|
+
at Object.initialize (src/plugins/inventory/index.ts:12:13)
|
|
1630
|
+
|
|
1631
|
+
console.log
|
|
1632
|
+
✓ Initialized plugin: inventory
|
|
1633
|
+
|
|
1634
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1635
|
+
|
|
1636
|
+
console.log
|
|
1637
|
+
✅ Plugin inventory loaded successfully
|
|
1638
|
+
|
|
1639
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1640
|
+
|
|
1641
|
+
console.log
|
|
1642
|
+
🔌 Loading plugin: orders
|
|
1643
|
+
|
|
1644
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1645
|
+
|
|
1646
|
+
console.log
|
|
1647
|
+
✓ Registered concept: Order
|
|
1648
|
+
|
|
1649
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1650
|
+
|
|
1651
|
+
console.log
|
|
1652
|
+
✓ Registered sync: CheckInventoryAfterOrderCreation
|
|
1653
|
+
|
|
1654
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1655
|
+
|
|
1656
|
+
console.log
|
|
1657
|
+
✓ Registered sync: ConfirmOrderIfInventoryAvailable
|
|
1658
|
+
|
|
1659
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1660
|
+
|
|
1661
|
+
console.log
|
|
1662
|
+
✓ Registered sync: GetUserDetailsAfterOrderConfirm
|
|
1663
|
+
|
|
1664
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1665
|
+
|
|
1666
|
+
console.log
|
|
1667
|
+
✓ Registered sync: CancelOrderIfInventoryUnavailable
|
|
1668
|
+
|
|
1669
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1670
|
+
|
|
1671
|
+
console.log
|
|
1672
|
+
✓ Registered sync: DeductInventoryOnOrderConfirm
|
|
1673
|
+
|
|
1674
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1675
|
+
|
|
1676
|
+
console.log
|
|
1677
|
+
✓ Registered sync: SendOrderConfirmationNotification
|
|
1678
|
+
|
|
1679
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1680
|
+
|
|
1681
|
+
console.log
|
|
1682
|
+
✓ Registered sync: SendShippingNotification
|
|
1683
|
+
|
|
1684
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1685
|
+
|
|
1686
|
+
console.log
|
|
1687
|
+
🛒 Orders plugin initialized
|
|
1688
|
+
|
|
1689
|
+
at Object.initialize (src/plugins/orders/index.ts:13:13)
|
|
1690
|
+
|
|
1691
|
+
console.log
|
|
1692
|
+
✓ Initialized plugin: orders
|
|
1693
|
+
|
|
1694
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1695
|
+
|
|
1696
|
+
console.log
|
|
1697
|
+
✅ Plugin orders loaded successfully
|
|
1698
|
+
|
|
1699
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1700
|
+
|
|
1701
|
+
console.log
|
|
1702
|
+
🔌 Loading plugin: payments
|
|
1703
|
+
|
|
1704
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1705
|
+
|
|
1706
|
+
console.log
|
|
1707
|
+
✓ Registered concept: Payment
|
|
1708
|
+
|
|
1709
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1710
|
+
|
|
1711
|
+
console.log
|
|
1712
|
+
✓ Registered sync: InitiatePaymentOnOrderConfirm
|
|
1713
|
+
|
|
1714
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1715
|
+
|
|
1716
|
+
console.log
|
|
1717
|
+
✓ Registered sync: AutoProcessPayment
|
|
1718
|
+
|
|
1719
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1720
|
+
|
|
1721
|
+
console.log
|
|
1722
|
+
✓ Registered sync: AutoConfirmPayment
|
|
1723
|
+
|
|
1724
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1725
|
+
|
|
1726
|
+
console.log
|
|
1727
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentConfirm
|
|
1728
|
+
|
|
1729
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1730
|
+
|
|
1731
|
+
console.log
|
|
1732
|
+
✓ Registered sync: GetUserDetailsAfterPaymentConfirm
|
|
1733
|
+
|
|
1734
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1735
|
+
|
|
1736
|
+
console.log
|
|
1737
|
+
✓ Registered sync: SendPaymentSuccessNotification
|
|
1738
|
+
|
|
1739
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1740
|
+
|
|
1741
|
+
console.log
|
|
1742
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentFail
|
|
1743
|
+
|
|
1744
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1745
|
+
|
|
1746
|
+
console.log
|
|
1747
|
+
✓ Registered sync: GetUserDetailsAfterPaymentFail
|
|
1748
|
+
|
|
1749
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1750
|
+
|
|
1751
|
+
console.log
|
|
1752
|
+
✓ Registered sync: SendPaymentFailureNotification
|
|
1753
|
+
|
|
1754
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1755
|
+
|
|
1756
|
+
console.log
|
|
1757
|
+
✓ Registered sync: GetOrderDetailsAfterRefund
|
|
1758
|
+
|
|
1759
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1760
|
+
|
|
1761
|
+
console.log
|
|
1762
|
+
✓ Registered sync: GetUserDetailsAfterRefund
|
|
1763
|
+
|
|
1764
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1765
|
+
|
|
1766
|
+
console.log
|
|
1767
|
+
✓ Registered sync: SendRefundNotification
|
|
1768
|
+
|
|
1769
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1770
|
+
|
|
1771
|
+
console.log
|
|
1772
|
+
💳 Payments plugin initialized
|
|
1773
|
+
|
|
1774
|
+
at Object.initialize (src/plugins/payments/index.ts:13:13)
|
|
1775
|
+
|
|
1776
|
+
console.log
|
|
1777
|
+
✓ Initialized plugin: payments
|
|
1778
|
+
|
|
1779
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1780
|
+
|
|
1781
|
+
console.log
|
|
1782
|
+
✅ Plugin payments loaded successfully
|
|
1783
|
+
|
|
1784
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1785
|
+
|
|
1786
|
+
console.log
|
|
1787
|
+
🔌 Loading plugin: notifications
|
|
1788
|
+
|
|
1789
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1790
|
+
|
|
1791
|
+
console.log
|
|
1792
|
+
✓ Registered concept: Notification
|
|
1793
|
+
|
|
1794
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1795
|
+
|
|
1796
|
+
console.log
|
|
1797
|
+
🔔 Notifications plugin initialized
|
|
1798
|
+
|
|
1799
|
+
at Object.initialize (src/plugins/notifications/index.ts:12:13)
|
|
1800
|
+
|
|
1801
|
+
console.log
|
|
1802
|
+
✓ Initialized plugin: notifications
|
|
1803
|
+
|
|
1804
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1805
|
+
|
|
1806
|
+
console.log
|
|
1807
|
+
✅ Plugin notifications loaded successfully
|
|
1808
|
+
|
|
1809
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1810
|
+
|
|
1811
|
+
console.log
|
|
1812
|
+
🔌 Loading plugin: analytics
|
|
1813
|
+
|
|
1814
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1815
|
+
|
|
1816
|
+
console.log
|
|
1817
|
+
✓ Registered concept: Analytics
|
|
1818
|
+
|
|
1819
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1820
|
+
|
|
1821
|
+
console.log
|
|
1822
|
+
✓ Registered sync: TrackUserRegistration
|
|
1823
|
+
|
|
1824
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1825
|
+
|
|
1826
|
+
console.log
|
|
1827
|
+
✓ Registered sync: TrackProductCreation
|
|
1828
|
+
|
|
1829
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1830
|
+
|
|
1831
|
+
console.log
|
|
1832
|
+
✓ Registered sync: TrackOrderCreation
|
|
1833
|
+
|
|
1834
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1835
|
+
|
|
1836
|
+
console.log
|
|
1837
|
+
✓ Registered sync: TrackOrderConfirmation
|
|
1838
|
+
|
|
1839
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1840
|
+
|
|
1841
|
+
console.log
|
|
1842
|
+
📈 Analytics plugin initialized
|
|
1843
|
+
|
|
1844
|
+
at Object.initialize (src/plugins/analytics/index.ts:13:13)
|
|
1845
|
+
|
|
1846
|
+
console.log
|
|
1847
|
+
✓ Initialized plugin: analytics
|
|
1848
|
+
|
|
1849
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1850
|
+
|
|
1851
|
+
console.log
|
|
1852
|
+
✅ Plugin analytics loaded successfully
|
|
1853
|
+
|
|
1854
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1855
|
+
|
|
1856
|
+
console.log
|
|
1857
|
+
📢 Event: user.registered from system {
|
|
1858
|
+
userId: 'da5eb120-37f3-405f-898c-b2ee24280441',
|
|
1859
|
+
username: 'testuser',
|
|
1860
|
+
email: 'test@example.com'
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
1864
|
+
|
|
1865
|
+
console.log
|
|
1866
|
+
📊 Tracked: user_registered {
|
|
1867
|
+
userId: 'da5eb120-37f3-405f-898c-b2ee24280441',
|
|
1868
|
+
username: 'testuser',
|
|
1869
|
+
email: 'test@example.com'
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
1873
|
+
|
|
1874
|
+
console.log
|
|
1875
|
+
📢 Event: product.created from system {
|
|
1876
|
+
productId: 'c5838d9c-559e-4987-927f-08f2464ecf84',
|
|
1877
|
+
name: 'Test Product',
|
|
1878
|
+
sku: 'TEST-001',
|
|
1879
|
+
price: 29.99,
|
|
1880
|
+
category: 'test'
|
|
1881
|
+
}
|
|
1882
|
+
|
|
1883
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
1884
|
+
|
|
1885
|
+
console.log
|
|
1886
|
+
📊 Tracked: product_created {
|
|
1887
|
+
productId: 'c5838d9c-559e-4987-927f-08f2464ecf84',
|
|
1888
|
+
name: 'Test Product',
|
|
1889
|
+
category: 'test',
|
|
1890
|
+
price: 29.99
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
1894
|
+
|
|
1895
|
+
console.log
|
|
1896
|
+
[Inventory.checkAvailability] Processing item: productId=c5838d9c-559e-4987-927f-08f2464ecf84, quantity=1, price=29.99
|
|
1897
|
+
|
|
1898
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:32:19)
|
|
1899
|
+
|
|
1900
|
+
console.log
|
|
1901
|
+
[Inventory.checkAvailability] Parsed quantity: 1
|
|
1902
|
+
|
|
1903
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:34:19)
|
|
1904
|
+
|
|
1905
|
+
console.log
|
|
1906
|
+
[Inventory.checkAvailability] Parsed price: 29.99
|
|
1907
|
+
|
|
1908
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:36:19)
|
|
1909
|
+
|
|
1910
|
+
console.log
|
|
1911
|
+
📧 EMAIL sent to test@example.com: order-confirmation
|
|
1912
|
+
|
|
1913
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1914
|
+
|
|
1915
|
+
console.log
|
|
1916
|
+
📧 EMAIL sent to test@example.com: payment-success
|
|
1917
|
+
|
|
1918
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1919
|
+
|
|
1920
|
+
console.log
|
|
1921
|
+
📧 EMAIL sent to ?user.email: payment-success
|
|
1922
|
+
|
|
1923
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1924
|
+
|
|
1925
|
+
console.log
|
|
1926
|
+
📧 EMAIL sent to test@example.com: payment-failed
|
|
1927
|
+
|
|
1928
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1929
|
+
|
|
1930
|
+
console.log
|
|
1931
|
+
📧 EMAIL sent to ?user.email: payment-failed
|
|
1932
|
+
|
|
1933
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1934
|
+
|
|
1935
|
+
console.log
|
|
1936
|
+
📧 EMAIL sent to test@example.com: payment-refund
|
|
1937
|
+
|
|
1938
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1939
|
+
|
|
1940
|
+
console.log
|
|
1941
|
+
📧 EMAIL sent to ?user.email: payment-refund
|
|
1942
|
+
|
|
1943
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
1944
|
+
|
|
1945
|
+
console.log
|
|
1946
|
+
📊 Tracked: order_created {
|
|
1947
|
+
orderId: 'a7b888d6-612b-4fe8-84b1-67abf09ea45f',
|
|
1948
|
+
userId: 'da5eb120-37f3-405f-898c-b2ee24280441',
|
|
1949
|
+
itemCount: 1
|
|
1950
|
+
}
|
|
1951
|
+
|
|
1952
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
1953
|
+
|
|
1954
|
+
console.log
|
|
1955
|
+
📊 Tracked: order_confirmed { orderId: 'a7b888d6-612b-4fe8-84b1-67abf09ea45f', total: 29.99 }
|
|
1956
|
+
|
|
1957
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
1958
|
+
|
|
1959
|
+
console.log
|
|
1960
|
+
🔌 Loading plugin: users
|
|
1961
|
+
|
|
1962
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
1963
|
+
|
|
1964
|
+
console.log
|
|
1965
|
+
✓ Registered concept: User
|
|
1966
|
+
|
|
1967
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
1968
|
+
|
|
1969
|
+
console.log
|
|
1970
|
+
✓ Registered sync: PublishUserRegisteredEvent
|
|
1971
|
+
|
|
1972
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1973
|
+
|
|
1974
|
+
console.log
|
|
1975
|
+
✓ Registered sync: PublishUserUpdatedEvent
|
|
1976
|
+
|
|
1977
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1978
|
+
|
|
1979
|
+
console.log
|
|
1980
|
+
✓ Registered sync: PublishUserDeactivatedEvent
|
|
1981
|
+
|
|
1982
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
1983
|
+
|
|
1984
|
+
console.log
|
|
1985
|
+
👤 Users plugin initialized
|
|
1986
|
+
|
|
1987
|
+
at Object.initialize (src/plugins/users/index.ts:13:13)
|
|
1988
|
+
|
|
1989
|
+
console.log
|
|
1990
|
+
✓ Initialized plugin: users
|
|
1991
|
+
|
|
1992
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
1993
|
+
|
|
1994
|
+
console.log
|
|
1995
|
+
✅ Plugin users loaded successfully
|
|
1996
|
+
|
|
1997
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
1998
|
+
|
|
1999
|
+
console.log
|
|
2000
|
+
🔌 Loading plugin: products
|
|
2001
|
+
|
|
2002
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2003
|
+
|
|
2004
|
+
console.log
|
|
2005
|
+
✓ Registered concept: Product
|
|
2006
|
+
|
|
2007
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2008
|
+
|
|
2009
|
+
console.log
|
|
2010
|
+
✓ Registered sync: PublishProductCreatedEvent
|
|
2011
|
+
|
|
2012
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2013
|
+
|
|
2014
|
+
console.log
|
|
2015
|
+
✓ Registered sync: PublishProductUpdatedEvent
|
|
2016
|
+
|
|
2017
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2018
|
+
|
|
2019
|
+
console.log
|
|
2020
|
+
✓ Registered sync: PublishProductDeactivatedEvent
|
|
2021
|
+
|
|
2022
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2023
|
+
|
|
2024
|
+
console.log
|
|
2025
|
+
📦 Products plugin initialized
|
|
2026
|
+
|
|
2027
|
+
at Object.initialize (src/plugins/products/index.ts:13:13)
|
|
2028
|
+
|
|
2029
|
+
console.log
|
|
2030
|
+
✓ Initialized plugin: products
|
|
2031
|
+
|
|
2032
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2033
|
+
|
|
2034
|
+
console.log
|
|
2035
|
+
✅ Plugin products loaded successfully
|
|
2036
|
+
|
|
2037
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2038
|
+
|
|
2039
|
+
console.log
|
|
2040
|
+
🔌 Loading plugin: inventory
|
|
2041
|
+
|
|
2042
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2043
|
+
|
|
2044
|
+
console.log
|
|
2045
|
+
✓ Registered concept: Inventory
|
|
2046
|
+
|
|
2047
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2048
|
+
|
|
2049
|
+
console.log
|
|
2050
|
+
📊 Inventory plugin initialized
|
|
2051
|
+
|
|
2052
|
+
at Object.initialize (src/plugins/inventory/index.ts:12:13)
|
|
2053
|
+
|
|
2054
|
+
console.log
|
|
2055
|
+
✓ Initialized plugin: inventory
|
|
2056
|
+
|
|
2057
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2058
|
+
|
|
2059
|
+
console.log
|
|
2060
|
+
✅ Plugin inventory loaded successfully
|
|
2061
|
+
|
|
2062
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2063
|
+
|
|
2064
|
+
console.log
|
|
2065
|
+
🔌 Loading plugin: orders
|
|
2066
|
+
|
|
2067
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2068
|
+
|
|
2069
|
+
console.log
|
|
2070
|
+
✓ Registered concept: Order
|
|
2071
|
+
|
|
2072
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2073
|
+
|
|
2074
|
+
console.log
|
|
2075
|
+
✓ Registered sync: CheckInventoryAfterOrderCreation
|
|
2076
|
+
|
|
2077
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2078
|
+
|
|
2079
|
+
console.log
|
|
2080
|
+
✓ Registered sync: ConfirmOrderIfInventoryAvailable
|
|
2081
|
+
|
|
2082
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2083
|
+
|
|
2084
|
+
console.log
|
|
2085
|
+
✓ Registered sync: GetUserDetailsAfterOrderConfirm
|
|
2086
|
+
|
|
2087
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2088
|
+
|
|
2089
|
+
console.log
|
|
2090
|
+
✓ Registered sync: CancelOrderIfInventoryUnavailable
|
|
2091
|
+
|
|
2092
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2093
|
+
|
|
2094
|
+
console.log
|
|
2095
|
+
✓ Registered sync: DeductInventoryOnOrderConfirm
|
|
2096
|
+
|
|
2097
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2098
|
+
|
|
2099
|
+
console.log
|
|
2100
|
+
✓ Registered sync: SendOrderConfirmationNotification
|
|
2101
|
+
|
|
2102
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2103
|
+
|
|
2104
|
+
console.log
|
|
2105
|
+
✓ Registered sync: SendShippingNotification
|
|
2106
|
+
|
|
2107
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2108
|
+
|
|
2109
|
+
console.log
|
|
2110
|
+
🛒 Orders plugin initialized
|
|
2111
|
+
|
|
2112
|
+
at Object.initialize (src/plugins/orders/index.ts:13:13)
|
|
2113
|
+
|
|
2114
|
+
console.log
|
|
2115
|
+
✓ Initialized plugin: orders
|
|
2116
|
+
|
|
2117
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2118
|
+
|
|
2119
|
+
console.log
|
|
2120
|
+
✅ Plugin orders loaded successfully
|
|
2121
|
+
|
|
2122
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2123
|
+
|
|
2124
|
+
console.log
|
|
2125
|
+
🔌 Loading plugin: payments
|
|
2126
|
+
|
|
2127
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2128
|
+
|
|
2129
|
+
console.log
|
|
2130
|
+
✓ Registered concept: Payment
|
|
2131
|
+
|
|
2132
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2133
|
+
|
|
2134
|
+
console.log
|
|
2135
|
+
✓ Registered sync: InitiatePaymentOnOrderConfirm
|
|
2136
|
+
|
|
2137
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2138
|
+
|
|
2139
|
+
console.log
|
|
2140
|
+
✓ Registered sync: AutoProcessPayment
|
|
2141
|
+
|
|
2142
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2143
|
+
|
|
2144
|
+
console.log
|
|
2145
|
+
✓ Registered sync: AutoConfirmPayment
|
|
2146
|
+
|
|
2147
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2148
|
+
|
|
2149
|
+
console.log
|
|
2150
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentConfirm
|
|
2151
|
+
|
|
2152
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2153
|
+
|
|
2154
|
+
console.log
|
|
2155
|
+
✓ Registered sync: GetUserDetailsAfterPaymentConfirm
|
|
2156
|
+
|
|
2157
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2158
|
+
|
|
2159
|
+
console.log
|
|
2160
|
+
✓ Registered sync: SendPaymentSuccessNotification
|
|
2161
|
+
|
|
2162
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2163
|
+
|
|
2164
|
+
console.log
|
|
2165
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentFail
|
|
2166
|
+
|
|
2167
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2168
|
+
|
|
2169
|
+
console.log
|
|
2170
|
+
✓ Registered sync: GetUserDetailsAfterPaymentFail
|
|
2171
|
+
|
|
2172
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2173
|
+
|
|
2174
|
+
console.log
|
|
2175
|
+
✓ Registered sync: SendPaymentFailureNotification
|
|
2176
|
+
|
|
2177
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2178
|
+
|
|
2179
|
+
console.log
|
|
2180
|
+
✓ Registered sync: GetOrderDetailsAfterRefund
|
|
2181
|
+
|
|
2182
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2183
|
+
|
|
2184
|
+
console.log
|
|
2185
|
+
✓ Registered sync: GetUserDetailsAfterRefund
|
|
2186
|
+
|
|
2187
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2188
|
+
|
|
2189
|
+
console.log
|
|
2190
|
+
✓ Registered sync: SendRefundNotification
|
|
2191
|
+
|
|
2192
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2193
|
+
|
|
2194
|
+
console.log
|
|
2195
|
+
💳 Payments plugin initialized
|
|
2196
|
+
|
|
2197
|
+
at Object.initialize (src/plugins/payments/index.ts:13:13)
|
|
2198
|
+
|
|
2199
|
+
console.log
|
|
2200
|
+
✓ Initialized plugin: payments
|
|
2201
|
+
|
|
2202
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2203
|
+
|
|
2204
|
+
console.log
|
|
2205
|
+
✅ Plugin payments loaded successfully
|
|
2206
|
+
|
|
2207
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2208
|
+
|
|
2209
|
+
console.log
|
|
2210
|
+
🔌 Loading plugin: notifications
|
|
2211
|
+
|
|
2212
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2213
|
+
|
|
2214
|
+
console.log
|
|
2215
|
+
✓ Registered concept: Notification
|
|
2216
|
+
|
|
2217
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2218
|
+
|
|
2219
|
+
console.log
|
|
2220
|
+
🔔 Notifications plugin initialized
|
|
2221
|
+
|
|
2222
|
+
at Object.initialize (src/plugins/notifications/index.ts:12:13)
|
|
2223
|
+
|
|
2224
|
+
console.log
|
|
2225
|
+
✓ Initialized plugin: notifications
|
|
2226
|
+
|
|
2227
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2228
|
+
|
|
2229
|
+
console.log
|
|
2230
|
+
✅ Plugin notifications loaded successfully
|
|
2231
|
+
|
|
2232
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2233
|
+
|
|
2234
|
+
console.log
|
|
2235
|
+
🔌 Loading plugin: analytics
|
|
2236
|
+
|
|
2237
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2238
|
+
|
|
2239
|
+
console.log
|
|
2240
|
+
✓ Registered concept: Analytics
|
|
2241
|
+
|
|
2242
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2243
|
+
|
|
2244
|
+
console.log
|
|
2245
|
+
✓ Registered sync: TrackUserRegistration
|
|
2246
|
+
|
|
2247
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2248
|
+
|
|
2249
|
+
console.log
|
|
2250
|
+
✓ Registered sync: TrackProductCreation
|
|
2251
|
+
|
|
2252
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2253
|
+
|
|
2254
|
+
console.log
|
|
2255
|
+
✓ Registered sync: TrackOrderCreation
|
|
2256
|
+
|
|
2257
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2258
|
+
|
|
2259
|
+
console.log
|
|
2260
|
+
✓ Registered sync: TrackOrderConfirmation
|
|
2261
|
+
|
|
2262
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2263
|
+
|
|
2264
|
+
console.log
|
|
2265
|
+
📈 Analytics plugin initialized
|
|
2266
|
+
|
|
2267
|
+
at Object.initialize (src/plugins/analytics/index.ts:13:13)
|
|
2268
|
+
|
|
2269
|
+
console.log
|
|
2270
|
+
✓ Initialized plugin: analytics
|
|
2271
|
+
|
|
2272
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2273
|
+
|
|
2274
|
+
console.log
|
|
2275
|
+
✅ Plugin analytics loaded successfully
|
|
2276
|
+
|
|
2277
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2278
|
+
|
|
2279
|
+
console.log
|
|
2280
|
+
📢 Event: user.registered from system {
|
|
2281
|
+
userId: '2de98254-00b8-49f3-96a9-62d6093fb048',
|
|
2282
|
+
username: 'testuser',
|
|
2283
|
+
email: 'test@example.com'
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2286
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
2287
|
+
|
|
2288
|
+
console.log
|
|
2289
|
+
📊 Tracked: user_registered {
|
|
2290
|
+
userId: '2de98254-00b8-49f3-96a9-62d6093fb048',
|
|
2291
|
+
username: 'testuser',
|
|
2292
|
+
email: 'test@example.com'
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2295
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
2296
|
+
|
|
2297
|
+
console.log
|
|
2298
|
+
📢 Event: product.created from system {
|
|
2299
|
+
productId: 'b7df700a-87e5-4666-8b9d-bbd9b2a3b322',
|
|
2300
|
+
name: 'Test Product',
|
|
2301
|
+
sku: 'TEST-001',
|
|
2302
|
+
price: 29.99,
|
|
2303
|
+
category: 'test'
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
2307
|
+
|
|
2308
|
+
console.log
|
|
2309
|
+
📊 Tracked: product_created {
|
|
2310
|
+
productId: 'b7df700a-87e5-4666-8b9d-bbd9b2a3b322',
|
|
2311
|
+
name: 'Test Product',
|
|
2312
|
+
category: 'test',
|
|
2313
|
+
price: 29.99
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
2317
|
+
|
|
2318
|
+
console.log
|
|
2319
|
+
[Inventory.checkAvailability] Processing item: productId=b7df700a-87e5-4666-8b9d-bbd9b2a3b322, quantity=1, price=29.99
|
|
2320
|
+
|
|
2321
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:32:19)
|
|
2322
|
+
|
|
2323
|
+
console.log
|
|
2324
|
+
[Inventory.checkAvailability] Parsed quantity: 1
|
|
2325
|
+
|
|
2326
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:34:19)
|
|
2327
|
+
|
|
2328
|
+
console.log
|
|
2329
|
+
[Inventory.checkAvailability] Parsed price: 29.99
|
|
2330
|
+
|
|
2331
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:36:19)
|
|
2332
|
+
|
|
2333
|
+
console.log
|
|
2334
|
+
📧 EMAIL sent to test@example.com: order-confirmation
|
|
2335
|
+
|
|
2336
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
2337
|
+
|
|
2338
|
+
console.log
|
|
2339
|
+
📧 EMAIL sent to test@example.com: payment-success
|
|
2340
|
+
|
|
2341
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
2342
|
+
|
|
2343
|
+
console.log
|
|
2344
|
+
📧 EMAIL sent to ?user.email: payment-success
|
|
2345
|
+
|
|
2346
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
2347
|
+
|
|
2348
|
+
console.log
|
|
2349
|
+
📧 EMAIL sent to test@example.com: payment-failed
|
|
2350
|
+
|
|
2351
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
2352
|
+
|
|
2353
|
+
console.log
|
|
2354
|
+
📧 EMAIL sent to ?user.email: payment-failed
|
|
2355
|
+
|
|
2356
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
2357
|
+
|
|
2358
|
+
console.log
|
|
2359
|
+
📧 EMAIL sent to test@example.com: payment-refund
|
|
2360
|
+
|
|
2361
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
2362
|
+
|
|
2363
|
+
console.log
|
|
2364
|
+
📧 EMAIL sent to ?user.email: payment-refund
|
|
2365
|
+
|
|
2366
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
2367
|
+
|
|
2368
|
+
console.log
|
|
2369
|
+
📊 Tracked: order_created {
|
|
2370
|
+
orderId: 'b222e0c0-8ae5-4aaa-9fbd-b7d7eb736702',
|
|
2371
|
+
userId: '2de98254-00b8-49f3-96a9-62d6093fb048',
|
|
2372
|
+
itemCount: 1
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
2376
|
+
|
|
2377
|
+
console.log
|
|
2378
|
+
📊 Tracked: order_confirmed { orderId: 'b222e0c0-8ae5-4aaa-9fbd-b7d7eb736702', total: 29.99 }
|
|
2379
|
+
|
|
2380
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
2381
|
+
|
|
2382
|
+
console.log
|
|
2383
|
+
🔌 Loading plugin: users
|
|
2384
|
+
|
|
2385
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2386
|
+
|
|
2387
|
+
console.log
|
|
2388
|
+
✓ Registered concept: User
|
|
2389
|
+
|
|
2390
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2391
|
+
|
|
2392
|
+
console.log
|
|
2393
|
+
✓ Registered sync: PublishUserRegisteredEvent
|
|
2394
|
+
|
|
2395
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2396
|
+
|
|
2397
|
+
console.log
|
|
2398
|
+
✓ Registered sync: PublishUserUpdatedEvent
|
|
2399
|
+
|
|
2400
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2401
|
+
|
|
2402
|
+
console.log
|
|
2403
|
+
✓ Registered sync: PublishUserDeactivatedEvent
|
|
2404
|
+
|
|
2405
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2406
|
+
|
|
2407
|
+
console.log
|
|
2408
|
+
👤 Users plugin initialized
|
|
2409
|
+
|
|
2410
|
+
at Object.initialize (src/plugins/users/index.ts:13:13)
|
|
2411
|
+
|
|
2412
|
+
console.log
|
|
2413
|
+
✓ Initialized plugin: users
|
|
2414
|
+
|
|
2415
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2416
|
+
|
|
2417
|
+
console.log
|
|
2418
|
+
✅ Plugin users loaded successfully
|
|
2419
|
+
|
|
2420
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2421
|
+
|
|
2422
|
+
console.log
|
|
2423
|
+
🔌 Loading plugin: products
|
|
2424
|
+
|
|
2425
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2426
|
+
|
|
2427
|
+
console.log
|
|
2428
|
+
✓ Registered concept: Product
|
|
2429
|
+
|
|
2430
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2431
|
+
|
|
2432
|
+
console.log
|
|
2433
|
+
✓ Registered sync: PublishProductCreatedEvent
|
|
2434
|
+
|
|
2435
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2436
|
+
|
|
2437
|
+
console.log
|
|
2438
|
+
✓ Registered sync: PublishProductUpdatedEvent
|
|
2439
|
+
|
|
2440
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2441
|
+
|
|
2442
|
+
console.log
|
|
2443
|
+
✓ Registered sync: PublishProductDeactivatedEvent
|
|
2444
|
+
|
|
2445
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2446
|
+
|
|
2447
|
+
console.log
|
|
2448
|
+
📦 Products plugin initialized
|
|
2449
|
+
|
|
2450
|
+
at Object.initialize (src/plugins/products/index.ts:13:13)
|
|
2451
|
+
|
|
2452
|
+
console.log
|
|
2453
|
+
✓ Initialized plugin: products
|
|
2454
|
+
|
|
2455
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2456
|
+
|
|
2457
|
+
console.log
|
|
2458
|
+
✅ Plugin products loaded successfully
|
|
2459
|
+
|
|
2460
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2461
|
+
|
|
2462
|
+
console.log
|
|
2463
|
+
🔌 Loading plugin: inventory
|
|
2464
|
+
|
|
2465
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2466
|
+
|
|
2467
|
+
console.log
|
|
2468
|
+
✓ Registered concept: Inventory
|
|
2469
|
+
|
|
2470
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2471
|
+
|
|
2472
|
+
console.log
|
|
2473
|
+
📊 Inventory plugin initialized
|
|
2474
|
+
|
|
2475
|
+
at Object.initialize (src/plugins/inventory/index.ts:12:13)
|
|
2476
|
+
|
|
2477
|
+
console.log
|
|
2478
|
+
✓ Initialized plugin: inventory
|
|
2479
|
+
|
|
2480
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2481
|
+
|
|
2482
|
+
console.log
|
|
2483
|
+
✅ Plugin inventory loaded successfully
|
|
2484
|
+
|
|
2485
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2486
|
+
|
|
2487
|
+
console.log
|
|
2488
|
+
🔌 Loading plugin: orders
|
|
2489
|
+
|
|
2490
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2491
|
+
|
|
2492
|
+
console.log
|
|
2493
|
+
✓ Registered concept: Order
|
|
2494
|
+
|
|
2495
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2496
|
+
|
|
2497
|
+
console.log
|
|
2498
|
+
✓ Registered sync: CheckInventoryAfterOrderCreation
|
|
2499
|
+
|
|
2500
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2501
|
+
|
|
2502
|
+
console.log
|
|
2503
|
+
✓ Registered sync: ConfirmOrderIfInventoryAvailable
|
|
2504
|
+
|
|
2505
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2506
|
+
|
|
2507
|
+
console.log
|
|
2508
|
+
✓ Registered sync: GetUserDetailsAfterOrderConfirm
|
|
2509
|
+
|
|
2510
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2511
|
+
|
|
2512
|
+
console.log
|
|
2513
|
+
✓ Registered sync: CancelOrderIfInventoryUnavailable
|
|
2514
|
+
|
|
2515
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2516
|
+
|
|
2517
|
+
console.log
|
|
2518
|
+
✓ Registered sync: DeductInventoryOnOrderConfirm
|
|
2519
|
+
|
|
2520
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2521
|
+
|
|
2522
|
+
console.log
|
|
2523
|
+
✓ Registered sync: SendOrderConfirmationNotification
|
|
2524
|
+
|
|
2525
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2526
|
+
|
|
2527
|
+
console.log
|
|
2528
|
+
✓ Registered sync: SendShippingNotification
|
|
2529
|
+
|
|
2530
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2531
|
+
|
|
2532
|
+
console.log
|
|
2533
|
+
🛒 Orders plugin initialized
|
|
2534
|
+
|
|
2535
|
+
at Object.initialize (src/plugins/orders/index.ts:13:13)
|
|
2536
|
+
|
|
2537
|
+
console.log
|
|
2538
|
+
✓ Initialized plugin: orders
|
|
2539
|
+
|
|
2540
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2541
|
+
|
|
2542
|
+
console.log
|
|
2543
|
+
✅ Plugin orders loaded successfully
|
|
2544
|
+
|
|
2545
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2546
|
+
|
|
2547
|
+
console.log
|
|
2548
|
+
🔌 Loading plugin: payments
|
|
2549
|
+
|
|
2550
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2551
|
+
|
|
2552
|
+
console.log
|
|
2553
|
+
✓ Registered concept: Payment
|
|
2554
|
+
|
|
2555
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2556
|
+
|
|
2557
|
+
console.log
|
|
2558
|
+
✓ Registered sync: InitiatePaymentOnOrderConfirm
|
|
2559
|
+
|
|
2560
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2561
|
+
|
|
2562
|
+
console.log
|
|
2563
|
+
✓ Registered sync: AutoProcessPayment
|
|
2564
|
+
|
|
2565
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2566
|
+
|
|
2567
|
+
console.log
|
|
2568
|
+
✓ Registered sync: AutoConfirmPayment
|
|
2569
|
+
|
|
2570
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2571
|
+
|
|
2572
|
+
console.log
|
|
2573
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentConfirm
|
|
2574
|
+
|
|
2575
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2576
|
+
|
|
2577
|
+
console.log
|
|
2578
|
+
✓ Registered sync: GetUserDetailsAfterPaymentConfirm
|
|
2579
|
+
|
|
2580
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2581
|
+
|
|
2582
|
+
console.log
|
|
2583
|
+
✓ Registered sync: SendPaymentSuccessNotification
|
|
2584
|
+
|
|
2585
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2586
|
+
|
|
2587
|
+
console.log
|
|
2588
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentFail
|
|
2589
|
+
|
|
2590
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2591
|
+
|
|
2592
|
+
console.log
|
|
2593
|
+
✓ Registered sync: GetUserDetailsAfterPaymentFail
|
|
2594
|
+
|
|
2595
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2596
|
+
|
|
2597
|
+
console.log
|
|
2598
|
+
✓ Registered sync: SendPaymentFailureNotification
|
|
2599
|
+
|
|
2600
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2601
|
+
|
|
2602
|
+
console.log
|
|
2603
|
+
✓ Registered sync: GetOrderDetailsAfterRefund
|
|
2604
|
+
|
|
2605
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2606
|
+
|
|
2607
|
+
console.log
|
|
2608
|
+
✓ Registered sync: GetUserDetailsAfterRefund
|
|
2609
|
+
|
|
2610
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2611
|
+
|
|
2612
|
+
console.log
|
|
2613
|
+
✓ Registered sync: SendRefundNotification
|
|
2614
|
+
|
|
2615
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2616
|
+
|
|
2617
|
+
console.log
|
|
2618
|
+
💳 Payments plugin initialized
|
|
2619
|
+
|
|
2620
|
+
at Object.initialize (src/plugins/payments/index.ts:13:13)
|
|
2621
|
+
|
|
2622
|
+
console.log
|
|
2623
|
+
✓ Initialized plugin: payments
|
|
2624
|
+
|
|
2625
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2626
|
+
|
|
2627
|
+
console.log
|
|
2628
|
+
✅ Plugin payments loaded successfully
|
|
2629
|
+
|
|
2630
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2631
|
+
|
|
2632
|
+
console.log
|
|
2633
|
+
🔌 Loading plugin: notifications
|
|
2634
|
+
|
|
2635
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2636
|
+
|
|
2637
|
+
console.log
|
|
2638
|
+
✓ Registered concept: Notification
|
|
2639
|
+
|
|
2640
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2641
|
+
|
|
2642
|
+
console.log
|
|
2643
|
+
🔔 Notifications plugin initialized
|
|
2644
|
+
|
|
2645
|
+
at Object.initialize (src/plugins/notifications/index.ts:12:13)
|
|
2646
|
+
|
|
2647
|
+
console.log
|
|
2648
|
+
✓ Initialized plugin: notifications
|
|
2649
|
+
|
|
2650
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2651
|
+
|
|
2652
|
+
console.log
|
|
2653
|
+
✅ Plugin notifications loaded successfully
|
|
2654
|
+
|
|
2655
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2656
|
+
|
|
2657
|
+
console.log
|
|
2658
|
+
🔌 Loading plugin: analytics
|
|
2659
|
+
|
|
2660
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2661
|
+
|
|
2662
|
+
console.log
|
|
2663
|
+
✓ Registered concept: Analytics
|
|
2664
|
+
|
|
2665
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2666
|
+
|
|
2667
|
+
console.log
|
|
2668
|
+
✓ Registered sync: TrackUserRegistration
|
|
2669
|
+
|
|
2670
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2671
|
+
|
|
2672
|
+
console.log
|
|
2673
|
+
✓ Registered sync: TrackProductCreation
|
|
2674
|
+
|
|
2675
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2676
|
+
|
|
2677
|
+
console.log
|
|
2678
|
+
✓ Registered sync: TrackOrderCreation
|
|
2679
|
+
|
|
2680
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2681
|
+
|
|
2682
|
+
console.log
|
|
2683
|
+
✓ Registered sync: TrackOrderConfirmation
|
|
2684
|
+
|
|
2685
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2686
|
+
|
|
2687
|
+
console.log
|
|
2688
|
+
📈 Analytics plugin initialized
|
|
2689
|
+
|
|
2690
|
+
at Object.initialize (src/plugins/analytics/index.ts:13:13)
|
|
2691
|
+
|
|
2692
|
+
console.log
|
|
2693
|
+
✓ Initialized plugin: analytics
|
|
2694
|
+
|
|
2695
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2696
|
+
|
|
2697
|
+
console.log
|
|
2698
|
+
✅ Plugin analytics loaded successfully
|
|
2699
|
+
|
|
2700
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2701
|
+
|
|
2702
|
+
console.log
|
|
2703
|
+
📢 Event: user.registered from system {
|
|
2704
|
+
userId: 'ba504553-0c85-4031-b41f-c164ea43ee31',
|
|
2705
|
+
username: 'testuser',
|
|
2706
|
+
email: 'test@example.com'
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
2710
|
+
|
|
2711
|
+
console.log
|
|
2712
|
+
📊 Tracked: user_registered {
|
|
2713
|
+
userId: 'ba504553-0c85-4031-b41f-c164ea43ee31',
|
|
2714
|
+
username: 'testuser',
|
|
2715
|
+
email: 'test@example.com'
|
|
2716
|
+
}
|
|
2717
|
+
|
|
2718
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
2719
|
+
|
|
2720
|
+
console.log
|
|
2721
|
+
📢 Event: product.created from system {
|
|
2722
|
+
productId: '41450453-a041-40b1-b8e6-a0406f7e7af8',
|
|
2723
|
+
name: 'Test Product',
|
|
2724
|
+
sku: 'TEST-001',
|
|
2725
|
+
price: 29.99,
|
|
2726
|
+
category: 'test'
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
2730
|
+
|
|
2731
|
+
console.log
|
|
2732
|
+
📊 Tracked: product_created {
|
|
2733
|
+
productId: '41450453-a041-40b1-b8e6-a0406f7e7af8',
|
|
2734
|
+
name: 'Test Product',
|
|
2735
|
+
category: 'test',
|
|
2736
|
+
price: 29.99
|
|
2737
|
+
}
|
|
2738
|
+
|
|
2739
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
2740
|
+
|
|
2741
|
+
console.log
|
|
2742
|
+
[Inventory.checkAvailability] Processing item: productId=41450453-a041-40b1-b8e6-a0406f7e7af8, quantity=1, price=29.99
|
|
2743
|
+
|
|
2744
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:32:19)
|
|
2745
|
+
|
|
2746
|
+
console.log
|
|
2747
|
+
[Inventory.checkAvailability] Parsed quantity: 1
|
|
2748
|
+
|
|
2749
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:34:19)
|
|
2750
|
+
|
|
2751
|
+
console.log
|
|
2752
|
+
[Inventory.checkAvailability] Parsed price: 29.99
|
|
2753
|
+
|
|
2754
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:36:19)
|
|
2755
|
+
|
|
2756
|
+
console.log
|
|
2757
|
+
📧 EMAIL sent to test@example.com: order-confirmation
|
|
2758
|
+
|
|
2759
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
2760
|
+
|
|
2761
|
+
console.log
|
|
2762
|
+
📧 EMAIL sent to test@example.com: payment-success
|
|
2763
|
+
|
|
2764
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
2765
|
+
|
|
2766
|
+
console.log
|
|
2767
|
+
📧 EMAIL sent to ?user.email: payment-success
|
|
2768
|
+
|
|
2769
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
2770
|
+
|
|
2771
|
+
console.log
|
|
2772
|
+
📧 EMAIL sent to test@example.com: payment-failed
|
|
2773
|
+
|
|
2774
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
2775
|
+
|
|
2776
|
+
console.log
|
|
2777
|
+
📧 EMAIL sent to ?user.email: payment-failed
|
|
2778
|
+
|
|
2779
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
2780
|
+
|
|
2781
|
+
console.log
|
|
2782
|
+
📧 EMAIL sent to test@example.com: payment-refund
|
|
2783
|
+
|
|
2784
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
2785
|
+
|
|
2786
|
+
console.log
|
|
2787
|
+
📧 EMAIL sent to ?user.email: payment-refund
|
|
2788
|
+
|
|
2789
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
2790
|
+
|
|
2791
|
+
console.log
|
|
2792
|
+
📊 Tracked: order_created {
|
|
2793
|
+
orderId: 'a38b9c76-54ed-4f7c-bc64-5a01d8f8cc99',
|
|
2794
|
+
userId: 'ba504553-0c85-4031-b41f-c164ea43ee31',
|
|
2795
|
+
itemCount: 1
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2798
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
2799
|
+
|
|
2800
|
+
console.log
|
|
2801
|
+
📊 Tracked: order_confirmed { orderId: 'a38b9c76-54ed-4f7c-bc64-5a01d8f8cc99', total: 29.99 }
|
|
2802
|
+
|
|
2803
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
2804
|
+
|
|
2805
|
+
console.log
|
|
2806
|
+
🔌 Loading plugin: users
|
|
2807
|
+
|
|
2808
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2809
|
+
|
|
2810
|
+
console.log
|
|
2811
|
+
✓ Registered concept: User
|
|
2812
|
+
|
|
2813
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2814
|
+
|
|
2815
|
+
console.log
|
|
2816
|
+
✓ Registered sync: PublishUserRegisteredEvent
|
|
2817
|
+
|
|
2818
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2819
|
+
|
|
2820
|
+
console.log
|
|
2821
|
+
✓ Registered sync: PublishUserUpdatedEvent
|
|
2822
|
+
|
|
2823
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2824
|
+
|
|
2825
|
+
console.log
|
|
2826
|
+
✓ Registered sync: PublishUserDeactivatedEvent
|
|
2827
|
+
|
|
2828
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2829
|
+
|
|
2830
|
+
console.log
|
|
2831
|
+
👤 Users plugin initialized
|
|
2832
|
+
|
|
2833
|
+
at Object.initialize (src/plugins/users/index.ts:13:13)
|
|
2834
|
+
|
|
2835
|
+
console.log
|
|
2836
|
+
✓ Initialized plugin: users
|
|
2837
|
+
|
|
2838
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2839
|
+
|
|
2840
|
+
console.log
|
|
2841
|
+
✅ Plugin users loaded successfully
|
|
2842
|
+
|
|
2843
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2844
|
+
|
|
2845
|
+
console.log
|
|
2846
|
+
🔌 Loading plugin: products
|
|
2847
|
+
|
|
2848
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2849
|
+
|
|
2850
|
+
console.log
|
|
2851
|
+
✓ Registered concept: Product
|
|
2852
|
+
|
|
2853
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2854
|
+
|
|
2855
|
+
console.log
|
|
2856
|
+
✓ Registered sync: PublishProductCreatedEvent
|
|
2857
|
+
|
|
2858
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2859
|
+
|
|
2860
|
+
console.log
|
|
2861
|
+
✓ Registered sync: PublishProductUpdatedEvent
|
|
2862
|
+
|
|
2863
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2864
|
+
|
|
2865
|
+
console.log
|
|
2866
|
+
✓ Registered sync: PublishProductDeactivatedEvent
|
|
2867
|
+
|
|
2868
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2869
|
+
|
|
2870
|
+
console.log
|
|
2871
|
+
📦 Products plugin initialized
|
|
2872
|
+
|
|
2873
|
+
at Object.initialize (src/plugins/products/index.ts:13:13)
|
|
2874
|
+
|
|
2875
|
+
console.log
|
|
2876
|
+
✓ Initialized plugin: products
|
|
2877
|
+
|
|
2878
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2879
|
+
|
|
2880
|
+
console.log
|
|
2881
|
+
✅ Plugin products loaded successfully
|
|
2882
|
+
|
|
2883
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2884
|
+
|
|
2885
|
+
console.log
|
|
2886
|
+
🔌 Loading plugin: inventory
|
|
2887
|
+
|
|
2888
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2889
|
+
|
|
2890
|
+
console.log
|
|
2891
|
+
✓ Registered concept: Inventory
|
|
2892
|
+
|
|
2893
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2894
|
+
|
|
2895
|
+
console.log
|
|
2896
|
+
📊 Inventory plugin initialized
|
|
2897
|
+
|
|
2898
|
+
at Object.initialize (src/plugins/inventory/index.ts:12:13)
|
|
2899
|
+
|
|
2900
|
+
console.log
|
|
2901
|
+
✓ Initialized plugin: inventory
|
|
2902
|
+
|
|
2903
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2904
|
+
|
|
2905
|
+
console.log
|
|
2906
|
+
✅ Plugin inventory loaded successfully
|
|
2907
|
+
|
|
2908
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2909
|
+
|
|
2910
|
+
console.log
|
|
2911
|
+
🔌 Loading plugin: orders
|
|
2912
|
+
|
|
2913
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2914
|
+
|
|
2915
|
+
console.log
|
|
2916
|
+
✓ Registered concept: Order
|
|
2917
|
+
|
|
2918
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2919
|
+
|
|
2920
|
+
console.log
|
|
2921
|
+
✓ Registered sync: CheckInventoryAfterOrderCreation
|
|
2922
|
+
|
|
2923
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2924
|
+
|
|
2925
|
+
console.log
|
|
2926
|
+
✓ Registered sync: ConfirmOrderIfInventoryAvailable
|
|
2927
|
+
|
|
2928
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2929
|
+
|
|
2930
|
+
console.log
|
|
2931
|
+
✓ Registered sync: GetUserDetailsAfterOrderConfirm
|
|
2932
|
+
|
|
2933
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2934
|
+
|
|
2935
|
+
console.log
|
|
2936
|
+
✓ Registered sync: CancelOrderIfInventoryUnavailable
|
|
2937
|
+
|
|
2938
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2939
|
+
|
|
2940
|
+
console.log
|
|
2941
|
+
✓ Registered sync: DeductInventoryOnOrderConfirm
|
|
2942
|
+
|
|
2943
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2944
|
+
|
|
2945
|
+
console.log
|
|
2946
|
+
✓ Registered sync: SendOrderConfirmationNotification
|
|
2947
|
+
|
|
2948
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2949
|
+
|
|
2950
|
+
console.log
|
|
2951
|
+
✓ Registered sync: SendShippingNotification
|
|
2952
|
+
|
|
2953
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2954
|
+
|
|
2955
|
+
console.log
|
|
2956
|
+
🛒 Orders plugin initialized
|
|
2957
|
+
|
|
2958
|
+
at Object.initialize (src/plugins/orders/index.ts:13:13)
|
|
2959
|
+
|
|
2960
|
+
console.log
|
|
2961
|
+
✓ Initialized plugin: orders
|
|
2962
|
+
|
|
2963
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
2964
|
+
|
|
2965
|
+
console.log
|
|
2966
|
+
✅ Plugin orders loaded successfully
|
|
2967
|
+
|
|
2968
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
2969
|
+
|
|
2970
|
+
console.log
|
|
2971
|
+
🔌 Loading plugin: payments
|
|
2972
|
+
|
|
2973
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
2974
|
+
|
|
2975
|
+
console.log
|
|
2976
|
+
✓ Registered concept: Payment
|
|
2977
|
+
|
|
2978
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
2979
|
+
|
|
2980
|
+
console.log
|
|
2981
|
+
✓ Registered sync: InitiatePaymentOnOrderConfirm
|
|
2982
|
+
|
|
2983
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2984
|
+
|
|
2985
|
+
console.log
|
|
2986
|
+
✓ Registered sync: AutoProcessPayment
|
|
2987
|
+
|
|
2988
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2989
|
+
|
|
2990
|
+
console.log
|
|
2991
|
+
✓ Registered sync: AutoConfirmPayment
|
|
2992
|
+
|
|
2993
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2994
|
+
|
|
2995
|
+
console.log
|
|
2996
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentConfirm
|
|
2997
|
+
|
|
2998
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
2999
|
+
|
|
3000
|
+
console.log
|
|
3001
|
+
✓ Registered sync: GetUserDetailsAfterPaymentConfirm
|
|
3002
|
+
|
|
3003
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3004
|
+
|
|
3005
|
+
console.log
|
|
3006
|
+
✓ Registered sync: SendPaymentSuccessNotification
|
|
3007
|
+
|
|
3008
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3009
|
+
|
|
3010
|
+
console.log
|
|
3011
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentFail
|
|
3012
|
+
|
|
3013
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3014
|
+
|
|
3015
|
+
console.log
|
|
3016
|
+
✓ Registered sync: GetUserDetailsAfterPaymentFail
|
|
3017
|
+
|
|
3018
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3019
|
+
|
|
3020
|
+
console.log
|
|
3021
|
+
✓ Registered sync: SendPaymentFailureNotification
|
|
3022
|
+
|
|
3023
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3024
|
+
|
|
3025
|
+
console.log
|
|
3026
|
+
✓ Registered sync: GetOrderDetailsAfterRefund
|
|
3027
|
+
|
|
3028
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3029
|
+
|
|
3030
|
+
console.log
|
|
3031
|
+
✓ Registered sync: GetUserDetailsAfterRefund
|
|
3032
|
+
|
|
3033
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3034
|
+
|
|
3035
|
+
console.log
|
|
3036
|
+
✓ Registered sync: SendRefundNotification
|
|
3037
|
+
|
|
3038
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3039
|
+
|
|
3040
|
+
console.log
|
|
3041
|
+
💳 Payments plugin initialized
|
|
3042
|
+
|
|
3043
|
+
at Object.initialize (src/plugins/payments/index.ts:13:13)
|
|
3044
|
+
|
|
3045
|
+
console.log
|
|
3046
|
+
✓ Initialized plugin: payments
|
|
3047
|
+
|
|
3048
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3049
|
+
|
|
3050
|
+
console.log
|
|
3051
|
+
✅ Plugin payments loaded successfully
|
|
3052
|
+
|
|
3053
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3054
|
+
|
|
3055
|
+
console.log
|
|
3056
|
+
🔌 Loading plugin: notifications
|
|
3057
|
+
|
|
3058
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3059
|
+
|
|
3060
|
+
console.log
|
|
3061
|
+
✓ Registered concept: Notification
|
|
3062
|
+
|
|
3063
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3064
|
+
|
|
3065
|
+
console.log
|
|
3066
|
+
🔔 Notifications plugin initialized
|
|
3067
|
+
|
|
3068
|
+
at Object.initialize (src/plugins/notifications/index.ts:12:13)
|
|
3069
|
+
|
|
3070
|
+
console.log
|
|
3071
|
+
✓ Initialized plugin: notifications
|
|
3072
|
+
|
|
3073
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3074
|
+
|
|
3075
|
+
console.log
|
|
3076
|
+
✅ Plugin notifications loaded successfully
|
|
3077
|
+
|
|
3078
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3079
|
+
|
|
3080
|
+
console.log
|
|
3081
|
+
🔌 Loading plugin: analytics
|
|
3082
|
+
|
|
3083
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3084
|
+
|
|
3085
|
+
console.log
|
|
3086
|
+
✓ Registered concept: Analytics
|
|
3087
|
+
|
|
3088
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3089
|
+
|
|
3090
|
+
console.log
|
|
3091
|
+
✓ Registered sync: TrackUserRegistration
|
|
3092
|
+
|
|
3093
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3094
|
+
|
|
3095
|
+
console.log
|
|
3096
|
+
✓ Registered sync: TrackProductCreation
|
|
3097
|
+
|
|
3098
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3099
|
+
|
|
3100
|
+
console.log
|
|
3101
|
+
✓ Registered sync: TrackOrderCreation
|
|
3102
|
+
|
|
3103
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3104
|
+
|
|
3105
|
+
console.log
|
|
3106
|
+
✓ Registered sync: TrackOrderConfirmation
|
|
3107
|
+
|
|
3108
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3109
|
+
|
|
3110
|
+
console.log
|
|
3111
|
+
📈 Analytics plugin initialized
|
|
3112
|
+
|
|
3113
|
+
at Object.initialize (src/plugins/analytics/index.ts:13:13)
|
|
3114
|
+
|
|
3115
|
+
console.log
|
|
3116
|
+
✓ Initialized plugin: analytics
|
|
3117
|
+
|
|
3118
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3119
|
+
|
|
3120
|
+
console.log
|
|
3121
|
+
✅ Plugin analytics loaded successfully
|
|
3122
|
+
|
|
3123
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3124
|
+
|
|
3125
|
+
console.log
|
|
3126
|
+
📢 Event: user.registered from system {
|
|
3127
|
+
userId: 'ad68433a-021c-4be0-a039-cddd6428c852',
|
|
3128
|
+
username: 'johndoe',
|
|
3129
|
+
email: 'john@example.com'
|
|
3130
|
+
}
|
|
3131
|
+
|
|
3132
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
3133
|
+
|
|
3134
|
+
console.log
|
|
3135
|
+
📊 Tracked: user_registered {
|
|
3136
|
+
userId: 'ad68433a-021c-4be0-a039-cddd6428c852',
|
|
3137
|
+
username: 'johndoe',
|
|
3138
|
+
email: 'john@example.com'
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3141
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
3142
|
+
|
|
3143
|
+
console.log
|
|
3144
|
+
🔌 Loading plugin: users
|
|
3145
|
+
|
|
3146
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3147
|
+
|
|
3148
|
+
console.log
|
|
3149
|
+
✓ Registered concept: User
|
|
3150
|
+
|
|
3151
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3152
|
+
|
|
3153
|
+
console.log
|
|
3154
|
+
✓ Registered sync: PublishUserRegisteredEvent
|
|
3155
|
+
|
|
3156
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3157
|
+
|
|
3158
|
+
console.log
|
|
3159
|
+
✓ Registered sync: PublishUserUpdatedEvent
|
|
3160
|
+
|
|
3161
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3162
|
+
|
|
3163
|
+
console.log
|
|
3164
|
+
✓ Registered sync: PublishUserDeactivatedEvent
|
|
3165
|
+
|
|
3166
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3167
|
+
|
|
3168
|
+
console.log
|
|
3169
|
+
👤 Users plugin initialized
|
|
3170
|
+
|
|
3171
|
+
at Object.initialize (src/plugins/users/index.ts:13:13)
|
|
3172
|
+
|
|
3173
|
+
console.log
|
|
3174
|
+
✓ Initialized plugin: users
|
|
3175
|
+
|
|
3176
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3177
|
+
|
|
3178
|
+
console.log
|
|
3179
|
+
✅ Plugin users loaded successfully
|
|
3180
|
+
|
|
3181
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3182
|
+
|
|
3183
|
+
console.log
|
|
3184
|
+
🔌 Loading plugin: products
|
|
3185
|
+
|
|
3186
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3187
|
+
|
|
3188
|
+
console.log
|
|
3189
|
+
✓ Registered concept: Product
|
|
3190
|
+
|
|
3191
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3192
|
+
|
|
3193
|
+
console.log
|
|
3194
|
+
✓ Registered sync: PublishProductCreatedEvent
|
|
3195
|
+
|
|
3196
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3197
|
+
|
|
3198
|
+
console.log
|
|
3199
|
+
✓ Registered sync: PublishProductUpdatedEvent
|
|
3200
|
+
|
|
3201
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3202
|
+
|
|
3203
|
+
console.log
|
|
3204
|
+
✓ Registered sync: PublishProductDeactivatedEvent
|
|
3205
|
+
|
|
3206
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3207
|
+
|
|
3208
|
+
console.log
|
|
3209
|
+
📦 Products plugin initialized
|
|
3210
|
+
|
|
3211
|
+
at Object.initialize (src/plugins/products/index.ts:13:13)
|
|
3212
|
+
|
|
3213
|
+
console.log
|
|
3214
|
+
✓ Initialized plugin: products
|
|
3215
|
+
|
|
3216
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3217
|
+
|
|
3218
|
+
console.log
|
|
3219
|
+
✅ Plugin products loaded successfully
|
|
3220
|
+
|
|
3221
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3222
|
+
|
|
3223
|
+
console.log
|
|
3224
|
+
🔌 Loading plugin: inventory
|
|
3225
|
+
|
|
3226
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3227
|
+
|
|
3228
|
+
console.log
|
|
3229
|
+
✓ Registered concept: Inventory
|
|
3230
|
+
|
|
3231
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3232
|
+
|
|
3233
|
+
console.log
|
|
3234
|
+
📊 Inventory plugin initialized
|
|
3235
|
+
|
|
3236
|
+
at Object.initialize (src/plugins/inventory/index.ts:12:13)
|
|
3237
|
+
|
|
3238
|
+
console.log
|
|
3239
|
+
✓ Initialized plugin: inventory
|
|
3240
|
+
|
|
3241
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3242
|
+
|
|
3243
|
+
console.log
|
|
3244
|
+
✅ Plugin inventory loaded successfully
|
|
3245
|
+
|
|
3246
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3247
|
+
|
|
3248
|
+
console.log
|
|
3249
|
+
🔌 Loading plugin: orders
|
|
3250
|
+
|
|
3251
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3252
|
+
|
|
3253
|
+
console.log
|
|
3254
|
+
✓ Registered concept: Order
|
|
3255
|
+
|
|
3256
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3257
|
+
|
|
3258
|
+
console.log
|
|
3259
|
+
✓ Registered sync: CheckInventoryAfterOrderCreation
|
|
3260
|
+
|
|
3261
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3262
|
+
|
|
3263
|
+
console.log
|
|
3264
|
+
✓ Registered sync: ConfirmOrderIfInventoryAvailable
|
|
3265
|
+
|
|
3266
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3267
|
+
|
|
3268
|
+
console.log
|
|
3269
|
+
✓ Registered sync: GetUserDetailsAfterOrderConfirm
|
|
3270
|
+
|
|
3271
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3272
|
+
|
|
3273
|
+
console.log
|
|
3274
|
+
✓ Registered sync: CancelOrderIfInventoryUnavailable
|
|
3275
|
+
|
|
3276
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3277
|
+
|
|
3278
|
+
console.log
|
|
3279
|
+
✓ Registered sync: DeductInventoryOnOrderConfirm
|
|
3280
|
+
|
|
3281
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3282
|
+
|
|
3283
|
+
console.log
|
|
3284
|
+
✓ Registered sync: SendOrderConfirmationNotification
|
|
3285
|
+
|
|
3286
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3287
|
+
|
|
3288
|
+
console.log
|
|
3289
|
+
✓ Registered sync: SendShippingNotification
|
|
3290
|
+
|
|
3291
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3292
|
+
|
|
3293
|
+
console.log
|
|
3294
|
+
🛒 Orders plugin initialized
|
|
3295
|
+
|
|
3296
|
+
at Object.initialize (src/plugins/orders/index.ts:13:13)
|
|
3297
|
+
|
|
3298
|
+
console.log
|
|
3299
|
+
✓ Initialized plugin: orders
|
|
3300
|
+
|
|
3301
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3302
|
+
|
|
3303
|
+
console.log
|
|
3304
|
+
✅ Plugin orders loaded successfully
|
|
3305
|
+
|
|
3306
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3307
|
+
|
|
3308
|
+
console.log
|
|
3309
|
+
🔌 Loading plugin: payments
|
|
3310
|
+
|
|
3311
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3312
|
+
|
|
3313
|
+
console.log
|
|
3314
|
+
✓ Registered concept: Payment
|
|
3315
|
+
|
|
3316
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3317
|
+
|
|
3318
|
+
console.log
|
|
3319
|
+
✓ Registered sync: InitiatePaymentOnOrderConfirm
|
|
3320
|
+
|
|
3321
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3322
|
+
|
|
3323
|
+
console.log
|
|
3324
|
+
✓ Registered sync: AutoProcessPayment
|
|
3325
|
+
|
|
3326
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3327
|
+
|
|
3328
|
+
console.log
|
|
3329
|
+
✓ Registered sync: AutoConfirmPayment
|
|
3330
|
+
|
|
3331
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3332
|
+
|
|
3333
|
+
console.log
|
|
3334
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentConfirm
|
|
3335
|
+
|
|
3336
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3337
|
+
|
|
3338
|
+
console.log
|
|
3339
|
+
✓ Registered sync: GetUserDetailsAfterPaymentConfirm
|
|
3340
|
+
|
|
3341
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3342
|
+
|
|
3343
|
+
console.log
|
|
3344
|
+
✓ Registered sync: SendPaymentSuccessNotification
|
|
3345
|
+
|
|
3346
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3347
|
+
|
|
3348
|
+
console.log
|
|
3349
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentFail
|
|
3350
|
+
|
|
3351
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3352
|
+
|
|
3353
|
+
console.log
|
|
3354
|
+
✓ Registered sync: GetUserDetailsAfterPaymentFail
|
|
3355
|
+
|
|
3356
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3357
|
+
|
|
3358
|
+
console.log
|
|
3359
|
+
✓ Registered sync: SendPaymentFailureNotification
|
|
3360
|
+
|
|
3361
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3362
|
+
|
|
3363
|
+
console.log
|
|
3364
|
+
✓ Registered sync: GetOrderDetailsAfterRefund
|
|
3365
|
+
|
|
3366
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3367
|
+
|
|
3368
|
+
console.log
|
|
3369
|
+
✓ Registered sync: GetUserDetailsAfterRefund
|
|
3370
|
+
|
|
3371
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3372
|
+
|
|
3373
|
+
console.log
|
|
3374
|
+
✓ Registered sync: SendRefundNotification
|
|
3375
|
+
|
|
3376
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3377
|
+
|
|
3378
|
+
console.log
|
|
3379
|
+
💳 Payments plugin initialized
|
|
3380
|
+
|
|
3381
|
+
at Object.initialize (src/plugins/payments/index.ts:13:13)
|
|
3382
|
+
|
|
3383
|
+
console.log
|
|
3384
|
+
✓ Initialized plugin: payments
|
|
3385
|
+
|
|
3386
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3387
|
+
|
|
3388
|
+
console.log
|
|
3389
|
+
✅ Plugin payments loaded successfully
|
|
3390
|
+
|
|
3391
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3392
|
+
|
|
3393
|
+
console.log
|
|
3394
|
+
🔌 Loading plugin: notifications
|
|
3395
|
+
|
|
3396
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3397
|
+
|
|
3398
|
+
console.log
|
|
3399
|
+
✓ Registered concept: Notification
|
|
3400
|
+
|
|
3401
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3402
|
+
|
|
3403
|
+
console.log
|
|
3404
|
+
🔔 Notifications plugin initialized
|
|
3405
|
+
|
|
3406
|
+
at Object.initialize (src/plugins/notifications/index.ts:12:13)
|
|
3407
|
+
|
|
3408
|
+
console.log
|
|
3409
|
+
✓ Initialized plugin: notifications
|
|
3410
|
+
|
|
3411
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3412
|
+
|
|
3413
|
+
console.log
|
|
3414
|
+
✅ Plugin notifications loaded successfully
|
|
3415
|
+
|
|
3416
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3417
|
+
|
|
3418
|
+
console.log
|
|
3419
|
+
🔌 Loading plugin: analytics
|
|
3420
|
+
|
|
3421
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3422
|
+
|
|
3423
|
+
console.log
|
|
3424
|
+
✓ Registered concept: Analytics
|
|
3425
|
+
|
|
3426
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3427
|
+
|
|
3428
|
+
console.log
|
|
3429
|
+
✓ Registered sync: TrackUserRegistration
|
|
3430
|
+
|
|
3431
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3432
|
+
|
|
3433
|
+
console.log
|
|
3434
|
+
✓ Registered sync: TrackProductCreation
|
|
3435
|
+
|
|
3436
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3437
|
+
|
|
3438
|
+
console.log
|
|
3439
|
+
✓ Registered sync: TrackOrderCreation
|
|
3440
|
+
|
|
3441
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3442
|
+
|
|
3443
|
+
console.log
|
|
3444
|
+
✓ Registered sync: TrackOrderConfirmation
|
|
3445
|
+
|
|
3446
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3447
|
+
|
|
3448
|
+
console.log
|
|
3449
|
+
📈 Analytics plugin initialized
|
|
3450
|
+
|
|
3451
|
+
at Object.initialize (src/plugins/analytics/index.ts:13:13)
|
|
3452
|
+
|
|
3453
|
+
console.log
|
|
3454
|
+
✓ Initialized plugin: analytics
|
|
3455
|
+
|
|
3456
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3457
|
+
|
|
3458
|
+
console.log
|
|
3459
|
+
✅ Plugin analytics loaded successfully
|
|
3460
|
+
|
|
3461
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3462
|
+
|
|
3463
|
+
console.log
|
|
3464
|
+
📢 Event: product.created from system {
|
|
3465
|
+
productId: '9822abf4-8e82-4b8c-9f55-db60685bf850',
|
|
3466
|
+
name: 'Test Product',
|
|
3467
|
+
sku: 'TEST-001',
|
|
3468
|
+
price: 29.99,
|
|
3469
|
+
category: 'test'
|
|
3470
|
+
}
|
|
3471
|
+
|
|
3472
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
3473
|
+
|
|
3474
|
+
console.log
|
|
3475
|
+
📊 Tracked: product_created {
|
|
3476
|
+
productId: '9822abf4-8e82-4b8c-9f55-db60685bf850',
|
|
3477
|
+
name: 'Test Product',
|
|
3478
|
+
category: 'test',
|
|
3479
|
+
price: 29.99
|
|
3480
|
+
}
|
|
3481
|
+
|
|
3482
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
3483
|
+
|
|
3484
|
+
console.log
|
|
3485
|
+
🔌 Loading plugin: users
|
|
3486
|
+
|
|
3487
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3488
|
+
|
|
3489
|
+
console.log
|
|
3490
|
+
✓ Registered concept: User
|
|
3491
|
+
|
|
3492
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3493
|
+
|
|
3494
|
+
console.log
|
|
3495
|
+
✓ Registered sync: PublishUserRegisteredEvent
|
|
3496
|
+
|
|
3497
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3498
|
+
|
|
3499
|
+
console.log
|
|
3500
|
+
✓ Registered sync: PublishUserUpdatedEvent
|
|
3501
|
+
|
|
3502
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3503
|
+
|
|
3504
|
+
console.log
|
|
3505
|
+
✓ Registered sync: PublishUserDeactivatedEvent
|
|
3506
|
+
|
|
3507
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3508
|
+
|
|
3509
|
+
console.log
|
|
3510
|
+
👤 Users plugin initialized
|
|
3511
|
+
|
|
3512
|
+
at Object.initialize (src/plugins/users/index.ts:13:13)
|
|
3513
|
+
|
|
3514
|
+
console.log
|
|
3515
|
+
✓ Initialized plugin: users
|
|
3516
|
+
|
|
3517
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3518
|
+
|
|
3519
|
+
console.log
|
|
3520
|
+
✅ Plugin users loaded successfully
|
|
3521
|
+
|
|
3522
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3523
|
+
|
|
3524
|
+
console.log
|
|
3525
|
+
🔌 Loading plugin: products
|
|
3526
|
+
|
|
3527
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3528
|
+
|
|
3529
|
+
console.log
|
|
3530
|
+
✓ Registered concept: Product
|
|
3531
|
+
|
|
3532
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3533
|
+
|
|
3534
|
+
console.log
|
|
3535
|
+
✓ Registered sync: PublishProductCreatedEvent
|
|
3536
|
+
|
|
3537
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3538
|
+
|
|
3539
|
+
console.log
|
|
3540
|
+
✓ Registered sync: PublishProductUpdatedEvent
|
|
3541
|
+
|
|
3542
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3543
|
+
|
|
3544
|
+
console.log
|
|
3545
|
+
✓ Registered sync: PublishProductDeactivatedEvent
|
|
3546
|
+
|
|
3547
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3548
|
+
|
|
3549
|
+
console.log
|
|
3550
|
+
📦 Products plugin initialized
|
|
3551
|
+
|
|
3552
|
+
at Object.initialize (src/plugins/products/index.ts:13:13)
|
|
3553
|
+
|
|
3554
|
+
console.log
|
|
3555
|
+
✓ Initialized plugin: products
|
|
3556
|
+
|
|
3557
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3558
|
+
|
|
3559
|
+
console.log
|
|
3560
|
+
✅ Plugin products loaded successfully
|
|
3561
|
+
|
|
3562
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3563
|
+
|
|
3564
|
+
console.log
|
|
3565
|
+
🔌 Loading plugin: inventory
|
|
3566
|
+
|
|
3567
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3568
|
+
|
|
3569
|
+
console.log
|
|
3570
|
+
✓ Registered concept: Inventory
|
|
3571
|
+
|
|
3572
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3573
|
+
|
|
3574
|
+
console.log
|
|
3575
|
+
📊 Inventory plugin initialized
|
|
3576
|
+
|
|
3577
|
+
at Object.initialize (src/plugins/inventory/index.ts:12:13)
|
|
3578
|
+
|
|
3579
|
+
console.log
|
|
3580
|
+
✓ Initialized plugin: inventory
|
|
3581
|
+
|
|
3582
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3583
|
+
|
|
3584
|
+
console.log
|
|
3585
|
+
✅ Plugin inventory loaded successfully
|
|
3586
|
+
|
|
3587
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3588
|
+
|
|
3589
|
+
console.log
|
|
3590
|
+
🔌 Loading plugin: orders
|
|
3591
|
+
|
|
3592
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3593
|
+
|
|
3594
|
+
console.log
|
|
3595
|
+
✓ Registered concept: Order
|
|
3596
|
+
|
|
3597
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3598
|
+
|
|
3599
|
+
console.log
|
|
3600
|
+
✓ Registered sync: CheckInventoryAfterOrderCreation
|
|
3601
|
+
|
|
3602
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3603
|
+
|
|
3604
|
+
console.log
|
|
3605
|
+
✓ Registered sync: ConfirmOrderIfInventoryAvailable
|
|
3606
|
+
|
|
3607
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3608
|
+
|
|
3609
|
+
console.log
|
|
3610
|
+
✓ Registered sync: GetUserDetailsAfterOrderConfirm
|
|
3611
|
+
|
|
3612
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3613
|
+
|
|
3614
|
+
console.log
|
|
3615
|
+
✓ Registered sync: CancelOrderIfInventoryUnavailable
|
|
3616
|
+
|
|
3617
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3618
|
+
|
|
3619
|
+
console.log
|
|
3620
|
+
✓ Registered sync: DeductInventoryOnOrderConfirm
|
|
3621
|
+
|
|
3622
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3623
|
+
|
|
3624
|
+
console.log
|
|
3625
|
+
✓ Registered sync: SendOrderConfirmationNotification
|
|
3626
|
+
|
|
3627
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3628
|
+
|
|
3629
|
+
console.log
|
|
3630
|
+
✓ Registered sync: SendShippingNotification
|
|
3631
|
+
|
|
3632
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3633
|
+
|
|
3634
|
+
console.log
|
|
3635
|
+
🛒 Orders plugin initialized
|
|
3636
|
+
|
|
3637
|
+
at Object.initialize (src/plugins/orders/index.ts:13:13)
|
|
3638
|
+
|
|
3639
|
+
console.log
|
|
3640
|
+
✓ Initialized plugin: orders
|
|
3641
|
+
|
|
3642
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3643
|
+
|
|
3644
|
+
console.log
|
|
3645
|
+
✅ Plugin orders loaded successfully
|
|
3646
|
+
|
|
3647
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3648
|
+
|
|
3649
|
+
console.log
|
|
3650
|
+
🔌 Loading plugin: payments
|
|
3651
|
+
|
|
3652
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3653
|
+
|
|
3654
|
+
console.log
|
|
3655
|
+
✓ Registered concept: Payment
|
|
3656
|
+
|
|
3657
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3658
|
+
|
|
3659
|
+
console.log
|
|
3660
|
+
✓ Registered sync: InitiatePaymentOnOrderConfirm
|
|
3661
|
+
|
|
3662
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3663
|
+
|
|
3664
|
+
console.log
|
|
3665
|
+
✓ Registered sync: AutoProcessPayment
|
|
3666
|
+
|
|
3667
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3668
|
+
|
|
3669
|
+
console.log
|
|
3670
|
+
✓ Registered sync: AutoConfirmPayment
|
|
3671
|
+
|
|
3672
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3673
|
+
|
|
3674
|
+
console.log
|
|
3675
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentConfirm
|
|
3676
|
+
|
|
3677
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3678
|
+
|
|
3679
|
+
console.log
|
|
3680
|
+
✓ Registered sync: GetUserDetailsAfterPaymentConfirm
|
|
3681
|
+
|
|
3682
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3683
|
+
|
|
3684
|
+
console.log
|
|
3685
|
+
✓ Registered sync: SendPaymentSuccessNotification
|
|
3686
|
+
|
|
3687
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3688
|
+
|
|
3689
|
+
console.log
|
|
3690
|
+
✓ Registered sync: GetOrderDetailsAfterPaymentFail
|
|
3691
|
+
|
|
3692
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3693
|
+
|
|
3694
|
+
console.log
|
|
3695
|
+
✓ Registered sync: GetUserDetailsAfterPaymentFail
|
|
3696
|
+
|
|
3697
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3698
|
+
|
|
3699
|
+
console.log
|
|
3700
|
+
✓ Registered sync: SendPaymentFailureNotification
|
|
3701
|
+
|
|
3702
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3703
|
+
|
|
3704
|
+
console.log
|
|
3705
|
+
✓ Registered sync: GetOrderDetailsAfterRefund
|
|
3706
|
+
|
|
3707
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3708
|
+
|
|
3709
|
+
console.log
|
|
3710
|
+
✓ Registered sync: GetUserDetailsAfterRefund
|
|
3711
|
+
|
|
3712
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3713
|
+
|
|
3714
|
+
console.log
|
|
3715
|
+
✓ Registered sync: SendRefundNotification
|
|
3716
|
+
|
|
3717
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3718
|
+
|
|
3719
|
+
console.log
|
|
3720
|
+
💳 Payments plugin initialized
|
|
3721
|
+
|
|
3722
|
+
at Object.initialize (src/plugins/payments/index.ts:13:13)
|
|
3723
|
+
|
|
3724
|
+
console.log
|
|
3725
|
+
✓ Initialized plugin: payments
|
|
3726
|
+
|
|
3727
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3728
|
+
|
|
3729
|
+
console.log
|
|
3730
|
+
✅ Plugin payments loaded successfully
|
|
3731
|
+
|
|
3732
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3733
|
+
|
|
3734
|
+
console.log
|
|
3735
|
+
🔌 Loading plugin: notifications
|
|
3736
|
+
|
|
3737
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3738
|
+
|
|
3739
|
+
console.log
|
|
3740
|
+
✓ Registered concept: Notification
|
|
3741
|
+
|
|
3742
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3743
|
+
|
|
3744
|
+
console.log
|
|
3745
|
+
🔔 Notifications plugin initialized
|
|
3746
|
+
|
|
3747
|
+
at Object.initialize (src/plugins/notifications/index.ts:12:13)
|
|
3748
|
+
|
|
3749
|
+
console.log
|
|
3750
|
+
✓ Initialized plugin: notifications
|
|
3751
|
+
|
|
3752
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3753
|
+
|
|
3754
|
+
console.log
|
|
3755
|
+
✅ Plugin notifications loaded successfully
|
|
3756
|
+
|
|
3757
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3758
|
+
|
|
3759
|
+
console.log
|
|
3760
|
+
🔌 Loading plugin: analytics
|
|
3761
|
+
|
|
3762
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:20:13)
|
|
3763
|
+
|
|
3764
|
+
console.log
|
|
3765
|
+
✓ Registered concept: Analytics
|
|
3766
|
+
|
|
3767
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:25:15)
|
|
3768
|
+
|
|
3769
|
+
console.log
|
|
3770
|
+
✓ Registered sync: TrackUserRegistration
|
|
3771
|
+
|
|
3772
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3773
|
+
|
|
3774
|
+
console.log
|
|
3775
|
+
✓ Registered sync: TrackProductCreation
|
|
3776
|
+
|
|
3777
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3778
|
+
|
|
3779
|
+
console.log
|
|
3780
|
+
✓ Registered sync: TrackOrderCreation
|
|
3781
|
+
|
|
3782
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3783
|
+
|
|
3784
|
+
console.log
|
|
3785
|
+
✓ Registered sync: TrackOrderConfirmation
|
|
3786
|
+
|
|
3787
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:31:15)
|
|
3788
|
+
|
|
3789
|
+
console.log
|
|
3790
|
+
📈 Analytics plugin initialized
|
|
3791
|
+
|
|
3792
|
+
at Object.initialize (src/plugins/analytics/index.ts:13:13)
|
|
3793
|
+
|
|
3794
|
+
console.log
|
|
3795
|
+
✓ Initialized plugin: analytics
|
|
3796
|
+
|
|
3797
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:37:15)
|
|
3798
|
+
|
|
3799
|
+
console.log
|
|
3800
|
+
✅ Plugin analytics loaded successfully
|
|
3801
|
+
|
|
3802
|
+
at PluginManager.loadPlugin (src/core/PluginManager.ts:41:13)
|
|
3803
|
+
|
|
3804
|
+
console.log
|
|
3805
|
+
📢 Event: user.registered from system {
|
|
3806
|
+
userId: '108cbc6d-e417-4cf3-b9a2-dc6920fda890',
|
|
3807
|
+
username: 'testuser',
|
|
3808
|
+
email: 'test@example.com'
|
|
3809
|
+
}
|
|
3810
|
+
|
|
3811
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
3812
|
+
|
|
3813
|
+
console.log
|
|
3814
|
+
📊 Tracked: user_registered {
|
|
3815
|
+
userId: '108cbc6d-e417-4cf3-b9a2-dc6920fda890',
|
|
3816
|
+
username: 'testuser',
|
|
3817
|
+
email: 'test@example.com'
|
|
3818
|
+
}
|
|
3819
|
+
|
|
3820
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
3821
|
+
|
|
3822
|
+
console.log
|
|
3823
|
+
📢 Event: product.created from system {
|
|
3824
|
+
productId: 'f9c1b124-2350-4b3d-a032-aac4eda2ebd4',
|
|
3825
|
+
name: 'Test Product',
|
|
3826
|
+
sku: 'TEST-001',
|
|
3827
|
+
price: 29.99,
|
|
3828
|
+
category: 'test'
|
|
3829
|
+
}
|
|
3830
|
+
|
|
3831
|
+
at EventBus.publish (src/core/EventBus.ts:33:13)
|
|
3832
|
+
|
|
3833
|
+
console.log
|
|
3834
|
+
📊 Tracked: product_created {
|
|
3835
|
+
productId: 'f9c1b124-2350-4b3d-a032-aac4eda2ebd4',
|
|
3836
|
+
name: 'Test Product',
|
|
3837
|
+
category: 'test',
|
|
3838
|
+
price: 29.99
|
|
3839
|
+
}
|
|
3840
|
+
|
|
3841
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
3842
|
+
|
|
3843
|
+
console.log
|
|
3844
|
+
[Inventory.checkAvailability] Processing item: productId=f9c1b124-2350-4b3d-a032-aac4eda2ebd4, quantity=1, price=29.99
|
|
3845
|
+
|
|
3846
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:32:19)
|
|
3847
|
+
|
|
3848
|
+
console.log
|
|
3849
|
+
[Inventory.checkAvailability] Parsed quantity: 1
|
|
3850
|
+
|
|
3851
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:34:19)
|
|
3852
|
+
|
|
3853
|
+
console.log
|
|
3854
|
+
[Inventory.checkAvailability] Parsed price: 29.99
|
|
3855
|
+
|
|
3856
|
+
at Object.execute (src/plugins/inventory/concepts/Inventory.ts:36:19)
|
|
3857
|
+
|
|
3858
|
+
console.log
|
|
3859
|
+
📧 EMAIL sent to test@example.com: order-confirmation
|
|
3860
|
+
|
|
3861
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
3862
|
+
|
|
3863
|
+
console.log
|
|
3864
|
+
📧 EMAIL sent to test@example.com: payment-success
|
|
3865
|
+
|
|
3866
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
3867
|
+
|
|
3868
|
+
console.log
|
|
3869
|
+
📧 EMAIL sent to ?user.email: payment-success
|
|
3870
|
+
|
|
3871
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
3872
|
+
|
|
3873
|
+
console.log
|
|
3874
|
+
📧 EMAIL sent to test@example.com: payment-failed
|
|
3875
|
+
|
|
3876
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
3877
|
+
|
|
3878
|
+
console.log
|
|
3879
|
+
📧 EMAIL sent to ?user.email: payment-failed
|
|
3880
|
+
|
|
3881
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
3882
|
+
|
|
3883
|
+
console.log
|
|
3884
|
+
📧 EMAIL sent to test@example.com: payment-refund
|
|
3885
|
+
|
|
3886
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
3887
|
+
|
|
3888
|
+
console.log
|
|
3889
|
+
📧 EMAIL sent to ?user.email: payment-refund
|
|
3890
|
+
|
|
3891
|
+
at Object.execute (src/plugins/notifications/concepts/Notification.ts:34:17)
|
|
3892
|
+
|
|
3893
|
+
console.log
|
|
3894
|
+
📊 Tracked: order_created {
|
|
3895
|
+
orderId: '2f02ac17-2d38-464b-9a94-f11b1262070f',
|
|
3896
|
+
userId: '108cbc6d-e417-4cf3-b9a2-dc6920fda890',
|
|
3897
|
+
itemCount: 1
|
|
3898
|
+
}
|
|
3899
|
+
|
|
3900
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
3901
|
+
|
|
3902
|
+
console.log
|
|
3903
|
+
📊 Tracked: order_confirmed { orderId: '2f02ac17-2d38-464b-9a94-f11b1262070f', total: 29.99 }
|
|
3904
|
+
|
|
3905
|
+
at Object.execute (src/plugins/analytics/concepts/Analytics.ts:33:17)
|
|
3906
|
+
|
|
3907
|
+
FAIL __tests__/integration/syncs.test.ts
|
|
3908
|
+
EDA Sync Rules Integration Tests
|
|
3909
|
+
User Event Syncs
|
|
3910
|
+
✓ should call EventBus.publish when User.register succeeds (20 ms)
|
|
3911
|
+
Product Event Syncs
|
|
3912
|
+
✓ should call EventBus.publish when Product.create succeeds (8 ms)
|
|
3913
|
+
Order Workflow Syncs
|
|
3914
|
+
✓ should call Inventory.checkAvailability when Order.create succeeds (62 ms)
|
|
3915
|
+
✓ should call Order.confirm when Inventory.checkAvailability returns available=true (60 ms)
|
|
3916
|
+
✓ should call User.get when Order.confirm succeeds (112 ms)
|
|
3917
|
+
✓ should call Inventory.deduct when Order.confirm succeeds (114 ms)
|
|
3918
|
+
✓ should call Notification.send when Order.confirm and User.get succeed (118 ms)
|
|
3919
|
+
Analytics Event Syncs
|
|
3920
|
+
✓ should call Analytics.track when User.register succeeds (66 ms)
|
|
3921
|
+
✕ should call Analytics.track when Product.create succeeds (72 ms)
|
|
3922
|
+
✓ should call Analytics.track when Order.create succeeds (113 ms)
|
|
3923
|
+
|
|
3924
|
+
● EDA Sync Rules Integration Tests › Analytics Event Syncs › should call Analytics.track when Product.create succeeds
|
|
3925
|
+
|
|
3926
|
+
expect(received).toEqual(expected) // deep equality
|
|
3927
|
+
|
|
3928
|
+
- Expected - 1
|
|
3929
|
+
+ Received + 0
|
|
3930
|
+
|
|
3931
|
+
@@ -2,9 +2,8 @@
|
|
3932
|
+
"data": Object {
|
|
3933
|
+
"category": "test",
|
|
3934
|
+
"name": "Test Product",
|
|
3935
|
+
"price": 29.99,
|
|
3936
|
+
"productId": Any<String>,
|
|
3937
|
+
- "sku": "TEST-001",
|
|
3938
|
+
},
|
|
3939
|
+
"event": "product_created",
|
|
3940
|
+
}
|
|
3941
|
+
|
|
3942
|
+
367 | );
|
|
3943
|
+
368 | expect(analyticsAction).toBeDefined();
|
|
3944
|
+
> 369 | expect(analyticsAction!.input).toEqual({
|
|
3945
|
+
| ^
|
|
3946
|
+
370 | event: 'product_created',
|
|
3947
|
+
371 | data: {
|
|
3948
|
+
372 | productId: expect.any(String),
|
|
3949
|
+
|
|
3950
|
+
at Object.<anonymous> (__tests__/integration/syncs.test.ts:369:38)
|
|
3951
|
+
|
|
3952
|
+
Test Suites: 1 failed, 1 total
|
|
3953
|
+
Tests: 1 failed, 9 passed, 10 total
|
|
3954
|
+
Snapshots: 0 total
|
|
3955
|
+
Time: 1.24 s, estimated 2 s
|
|
3956
|
+
Ran all test suites matching /__tests__\/integration\/syncs.test.ts/i.
|
|
3957
|
+
npm error Lifecycle script `test` failed with error:
|
|
3958
|
+
npm error code 1
|
|
3959
|
+
npm error path /Users/mastepanoski/projects/web/ai/legible-sync/packages/example-eda
|
|
3960
|
+
npm error workspace @legible-sync/example-eda@1.2.2
|
|
3961
|
+
npm error location /Users/mastepanoski/projects/web/ai/legible-sync/packages/example-eda
|
|
3962
|
+
npm error command failed
|
|
3963
|
+
npm error command sh -c jest __tests__/integration/syncs.test.ts
|