@reventlessdev/online-shop-dcb-ordering 1.0.0-alpha.272 → 1.0.0-alpha.273
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 +7 -0
- package/lib/bs/.compiler.log +2 -2
- package/lib/bs/compiler-info.json +1 -1
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/CatalogProduct/StateView/AvailableProducts-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateView/AvailableProducts-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/CatalogProduct/StateView/AvailableProducts_Projection-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/CatalogProduct/StateView/AvailableProducts_Projection-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeAddress_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/ChangeEmail_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/DeactivateCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateChange/RegisterCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateView/Customers-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateView/Customers-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Customer/StateView/Customers_Projection-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Customer/StateView/Customers_Projection-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Extension/Products_Extension-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Extension/Products_Extension-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/ExtensionPoint/Orders_ExtensionPointMapping-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder_Automation-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/Automation/AutoShipOrder_Automation-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/CancelOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/PlaceOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateChange/ShipOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateView/Orders-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateView/Orders-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Order/StateView/Orders_Projection-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Order/StateView/Orders_Projection-OrderingPlugin.cmt +0 -0
- package/lib/bs/src/Plugin-OrderingPlugin.cmi +0 -0
- package/lib/bs/src/Plugin-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/CatalogProduct/StateChange/SyncCatalogProduct_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/CatalogProduct/StateChange/SyncCatalogProduct_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/CatalogProduct/StateView/AvailableProducts_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/CatalogProduct/StateView/AvailableProducts_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeAddress_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeAddress_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeEmail_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChange/ChangeEmail_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChange/DeactivateCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChange/DeactivateCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateChange/RegisterCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateChange/RegisterCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Customer/StateView/Customers_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Customer/StateView/Customers_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Extension/Products_Extension_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Extension/Products_Extension_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/ExtensionPoint/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT.ast +0 -0
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT.res +2 -22
- package/lib/bs/tests/Order/Automation/AutoShipOrder_GWT.res.mjs +47 -51
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT-OrderingPlugin.cmj +0 -0
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.ast +0 -0
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res +4 -13
- package/lib/bs/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res.mjs +45 -18
- package/lib/bs/tests/Order/StateChange/CancelOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateChange/CancelOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/StateChange/PlaceOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateChange/PlaceOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/StateChange/ShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateChange/ShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/bs/tests/Order/StateView/Orders_GWT-OrderingPlugin.cmi +0 -0
- package/lib/bs/tests/Order/StateView/Orders_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/.compiler.log +2 -2
- package/lib/ocaml/AutoShipOrder-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AutoShipOrder-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AutoShipOrder_Automation-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AutoShipOrder_Automation-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AutoShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AutoShipOrder_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/AutoShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AutoShipOrder_GWT.ast +0 -0
- package/lib/ocaml/AutoShipOrder_GWT.res +2 -22
- package/lib/ocaml/AvailableProducts-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AvailableProducts-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AvailableProducts_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/AvailableProducts_Projection-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/AvailableProducts_Projection-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/CancelOrder-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/CancelOrder-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/CancelOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/CancelOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/CancelOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/CancelOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeAddress-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeAddress-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeAddress_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeAddress_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeAddress_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeAddress_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeEmail-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeEmail-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeEmail_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeEmail_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ChangeEmail_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ChangeEmail_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Customers-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Customers-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Customers_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Customers_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Customers_Projection-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Customers_Projection-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/DeactivateCustomer-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/DeactivateCustomer-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/DeactivateCustomer_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/DeactivateCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/DeactivateCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/DeactivateCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_ExtensionPointMapping_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Orders_Projection-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Orders_Projection-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/PlaceOrder-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/PlaceOrder-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/PlaceOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/PlaceOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/PlaceOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/PlaceOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Plugin-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Plugin-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Products_Extension-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Products_Extension-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/Products_Extension_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/RegisterCustomer-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/RegisterCustomer-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/RegisterCustomer_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/RegisterCustomer_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/RegisterCustomer_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/RegisterCustomer_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT-OrderingPlugin.cmj +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT.ast +0 -0
- package/lib/ocaml/SendOrderConfirmation_GWT.res +4 -13
- package/lib/ocaml/ShipOrder-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ShipOrder-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ShipOrder_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ShipOrder_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/ShipOrder_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/ShipOrder_GWT-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SyncCatalogProduct-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SyncCatalogProduct-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SyncCatalogProduct_Behavior-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SyncCatalogProduct_Behavior-OrderingPlugin.cmt +0 -0
- package/lib/ocaml/SyncCatalogProduct_GWT-OrderingPlugin.cmi +0 -0
- package/lib/ocaml/SyncCatalogProduct_GWT-OrderingPlugin.cmt +0 -0
- package/package.json +7 -7
- package/tests/Order/Automation/AutoShipOrder_GWT.res +2 -22
- package/tests/Order/Automation/AutoShipOrder_GWT.res.mjs +47 -51
- package/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res +4 -13
- package/tests/Order/OutboundTranslation/SendOrderConfirmation_GWT.res.mjs +45 -18
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 1.0.0-alpha.273 (2026-10-10)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **gwt:** automation and translation tests take the slice as written, and the sidecars read them ([93a0919](https://github.com/ReventlessDev/reventless-core/commit/93a0919a0d66730cf9bf89144ad8fba3cb025332))
|
|
11
|
+
|
|
12
|
+
|
|
6
13
|
# 1.0.0-alpha.272 (2026-10-08)
|
|
7
14
|
|
|
8
15
|
**Note:** Version bump only for package @reventlessdev/online-shop-dcb-ordering
|
package/lib/bs/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1791641990336)
|
|
2
|
+
#Done(1791641993221)
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
"bsc_hash": "1006241435e8d5052329c523202a7fe6359a37e1e1688c023d37d6a7ebb5fb6d",
|
|
5
5
|
"rescript_config_hash": "2b45634c4ef9d26c69e2cd8282eb5d077ce9cf087ded0065001d0f0d889e241c",
|
|
6
6
|
"runtime_path": "/home/runner/work/reventless-core/reventless-core/node_modules/@rescript/runtime",
|
|
7
|
-
"generated_at": "
|
|
7
|
+
"generated_at": "1791641993225"
|
|
8
8
|
}
|
|
Binary file
|
|
Binary file
|
package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct_Behavior-OrderingPlugin.cmi
CHANGED
|
Binary file
|
package/lib/bs/src/CatalogProduct/StateChange/SyncCatalogProduct_Behavior-OrderingPlugin.cmt
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,27 +1,7 @@
|
|
|
1
|
-
// `Automation_GWT.Make` expects a single SliceSpec with `collect`, `resolve`
|
|
2
|
-
// and `process` as top-level bindings. The split-form production layout puts
|
|
3
|
-
// `collect`/`resolve` inside the per-source `FromOrderingDcb` mapping, so we
|
|
4
|
-
// compose the pieces locally before handing the result to the DSL.
|
|
5
|
-
|
|
6
|
-
let testContext: Reventless.AutomationSlice.context = {
|
|
7
|
-
environment: "test",
|
|
8
|
-
platformName: "test",
|
|
9
|
-
pluginName: "ordering",
|
|
10
|
-
sliceName: "AutoShipOrder",
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
module AutoShipOrderSlice = {
|
|
14
|
-
include AutoShipOrder
|
|
15
|
-
type consumedEvent = AutoShipOrder_Automation.FromOrderingDcb.sourceEvent
|
|
16
|
-
let consumedEventSchema = AutoShipOrder_Automation.FromOrderingDcb.sourceEventSchema
|
|
17
|
-
|
|
18
|
-
let collect = e => AutoShipOrder_Automation.FromOrderingDcb.collect(e, ~sourceId="", testContext)
|
|
19
|
-
let resolve = AutoShipOrder_Automation.FromOrderingDcb.resolve
|
|
20
|
-
let process = AutoShipOrder_Automation.process
|
|
21
|
-
}
|
|
22
|
-
|
|
23
1
|
@@reventless.gwt
|
|
24
2
|
|
|
3
|
+
include Mapping(FromOrderingDcb)
|
|
4
|
+
|
|
25
5
|
open Ordering_Examples
|
|
26
6
|
|
|
27
7
|
describe("AutoShipOrder AutomationSlice", () => {
|
|
@@ -5,74 +5,50 @@ import * as Automation_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src
|
|
|
5
5
|
import * as Ordering_Examples$OrderingPlugin from "../../Ordering_Examples.res.mjs";
|
|
6
6
|
import * as AutoShipOrder_Automation$OrderingPlugin from "../../../src/Order/Automation/AutoShipOrder_Automation.res.mjs";
|
|
7
7
|
|
|
8
|
-
let
|
|
9
|
-
environment: "test",
|
|
10
|
-
platformName: "test",
|
|
11
|
-
pluginName: "ordering",
|
|
12
|
-
sliceName: "AutoShipOrder"
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
let consumedEventSchema = AutoShipOrder_Automation$OrderingPlugin.FromOrderingDcb.sourceEventSchema;
|
|
16
|
-
|
|
17
|
-
function collect(e) {
|
|
18
|
-
return AutoShipOrder_Automation$OrderingPlugin.FromOrderingDcb.collect(e, "", testContext);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
let resolve = AutoShipOrder_Automation$OrderingPlugin.FromOrderingDcb.resolve;
|
|
22
|
-
|
|
23
|
-
let AutoShipOrderSlice = {
|
|
8
|
+
let include = Automation_GWT$ReventlessGwt.FromSlice({
|
|
24
9
|
name: AutoShipOrder$OrderingPlugin.name,
|
|
25
|
-
|
|
10
|
+
moduleUrl: AutoShipOrder$OrderingPlugin.moduleUrl,
|
|
26
11
|
todoItemSchema: AutoShipOrder$OrderingPlugin.todoItemSchema,
|
|
27
12
|
commandSchema: AutoShipOrder$OrderingPlugin.commandSchema,
|
|
28
13
|
maxRetries: AutoShipOrder$OrderingPlugin.maxRetries,
|
|
29
14
|
heartbeatInterval: AutoShipOrder$OrderingPlugin.heartbeatInterval,
|
|
30
|
-
targetName: AutoShipOrder$OrderingPlugin.targetName
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
collect: collect,
|
|
37
|
-
resolve: resolve,
|
|
38
|
-
process: AutoShipOrder_Automation$OrderingPlugin.process
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
let include = Automation_GWT$ReventlessGwt.Make({
|
|
42
|
-
name: AutoShipOrder$OrderingPlugin.name,
|
|
43
|
-
consumedEventSchema: consumedEventSchema,
|
|
44
|
-
todoItemSchema: AutoShipOrder$OrderingPlugin.todoItemSchema,
|
|
45
|
-
commandSchema: AutoShipOrder$OrderingPlugin.commandSchema,
|
|
46
|
-
collect: collect,
|
|
47
|
-
resolve: resolve,
|
|
48
|
-
process: AutoShipOrder_Automation$OrderingPlugin.process
|
|
15
|
+
targetName: AutoShipOrder$OrderingPlugin.targetName
|
|
16
|
+
})({
|
|
17
|
+
process: AutoShipOrder_Automation$OrderingPlugin.process,
|
|
18
|
+
onExhausted: AutoShipOrder_Automation$OrderingPlugin.onExhausted,
|
|
19
|
+
moduleUrl: AutoShipOrder_Automation$OrderingPlugin.moduleUrl,
|
|
20
|
+
mappings: AutoShipOrder_Automation$OrderingPlugin.mappings
|
|
49
21
|
});
|
|
50
22
|
|
|
51
23
|
let describe = include.describe;
|
|
52
24
|
|
|
53
25
|
let test = include.test;
|
|
54
26
|
|
|
55
|
-
let givenEvent = include.givenEvent;
|
|
56
|
-
|
|
57
|
-
let whenCollect = include.whenCollect;
|
|
58
|
-
|
|
59
27
|
let thenTodos = include.thenTodos;
|
|
60
28
|
|
|
61
|
-
let whenResolve = include.whenResolve;
|
|
62
|
-
|
|
63
29
|
let thenResolved = include.thenResolved;
|
|
64
30
|
|
|
31
|
+
let Mapping = include.Mapping;
|
|
32
|
+
|
|
65
33
|
let givenTodo = include.givenTodo;
|
|
66
34
|
|
|
67
35
|
let whenProcess = include.whenProcess;
|
|
68
36
|
|
|
69
37
|
let thenCommand = include.thenCommand;
|
|
70
38
|
|
|
39
|
+
let include$1 = Mapping(AutoShipOrder_Automation$OrderingPlugin.FromOrderingDcb);
|
|
40
|
+
|
|
41
|
+
let givenEvent = include$1.givenEvent;
|
|
42
|
+
|
|
43
|
+
let whenCollect = include$1.whenCollect;
|
|
44
|
+
|
|
45
|
+
let whenResolve = include$1.whenResolve;
|
|
46
|
+
|
|
71
47
|
describe("AutoShipOrder AutomationSlice", () => {
|
|
72
48
|
test("collect: OrderPlaced creates a pending TODO", () => thenTodos(whenCollect(givenEvent({
|
|
73
49
|
TAG: "OrderPlaced",
|
|
74
50
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
75
|
-
})), [[
|
|
51
|
+
}), undefined, undefined), [[
|
|
76
52
|
"o1",
|
|
77
53
|
{
|
|
78
54
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
@@ -81,7 +57,7 @@ describe("AutoShipOrder AutomationSlice", () => {
|
|
|
81
57
|
test("collect: OrderShipped is ignored (no TODO)", () => thenTodos(whenCollect(givenEvent({
|
|
82
58
|
TAG: "OrderShipped",
|
|
83
59
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
84
|
-
})), []));
|
|
60
|
+
}), undefined, undefined), []));
|
|
85
61
|
test("resolve: OrderShipped marks the TODO done", () => thenResolved(whenResolve(givenEvent({
|
|
86
62
|
TAG: "OrderShipped",
|
|
87
63
|
orderId: Ordering_Examples$OrderingPlugin.o1
|
|
@@ -98,12 +74,24 @@ describe("AutoShipOrder AutomationSlice", () => {
|
|
|
98
74
|
}));
|
|
99
75
|
});
|
|
100
76
|
|
|
101
|
-
let
|
|
77
|
+
let Route = include.Route;
|
|
78
|
+
|
|
79
|
+
let testContext = include.testContext;
|
|
80
|
+
|
|
81
|
+
let encTodos = include.encTodos;
|
|
82
|
+
|
|
83
|
+
let encPair = include.encPair;
|
|
84
|
+
|
|
85
|
+
let whenExhausted = include.whenExhausted;
|
|
102
86
|
|
|
103
87
|
let thenNoCommand = include.thenNoCommand;
|
|
104
88
|
|
|
105
89
|
let givenEvents = include.givenEvents;
|
|
106
90
|
|
|
91
|
+
let routeAll = include.routeAll;
|
|
92
|
+
|
|
93
|
+
let sweep = include.sweep;
|
|
94
|
+
|
|
107
95
|
let whenSweep = include.whenSweep;
|
|
108
96
|
|
|
109
97
|
let thenCommands = include.thenCommands;
|
|
@@ -112,25 +100,33 @@ let andThenEvents = include.andThenEvents;
|
|
|
112
100
|
|
|
113
101
|
let thenScenarioTodos = include.thenScenarioTodos;
|
|
114
102
|
|
|
103
|
+
let event = include$1.event;
|
|
104
|
+
|
|
115
105
|
export {
|
|
116
|
-
|
|
117
|
-
AutoShipOrderSlice,
|
|
118
|
-
Spec,
|
|
106
|
+
Route,
|
|
119
107
|
describe,
|
|
120
108
|
test,
|
|
121
|
-
|
|
122
|
-
|
|
109
|
+
testContext,
|
|
110
|
+
encTodos,
|
|
111
|
+
encPair,
|
|
123
112
|
thenTodos,
|
|
124
|
-
whenResolve,
|
|
125
113
|
thenResolved,
|
|
114
|
+
Mapping,
|
|
126
115
|
givenTodo,
|
|
127
116
|
whenProcess,
|
|
117
|
+
whenExhausted,
|
|
128
118
|
thenCommand,
|
|
129
119
|
thenNoCommand,
|
|
130
120
|
givenEvents,
|
|
121
|
+
routeAll,
|
|
122
|
+
sweep,
|
|
131
123
|
whenSweep,
|
|
132
124
|
thenCommands,
|
|
133
125
|
andThenEvents,
|
|
134
126
|
thenScenarioTodos,
|
|
127
|
+
event,
|
|
128
|
+
givenEvent,
|
|
129
|
+
whenCollect,
|
|
130
|
+
whenResolve,
|
|
135
131
|
}
|
|
136
132
|
/* include Not a pure module */
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
// `
|
|
2
|
-
//
|
|
3
|
-
// translation body file, so we compose it onto the spec module locally.
|
|
4
|
-
//
|
|
5
|
-
// `translate` is supplied at test time via `whenTranslateMocked`; the real
|
|
6
|
-
// `translate` (which calls `EmailService`) is exercised in component tests.
|
|
7
|
-
|
|
8
|
-
module SendOrderConfirmationSlice = {
|
|
9
|
-
include SendOrderConfirmation
|
|
10
|
-
let collect = SendOrderConfirmation_Translation.collect
|
|
11
|
-
}
|
|
1
|
+
// `translate` calls a mailer the framework does not broker, so these scenarios
|
|
2
|
+
// answer for it with `whenTranslateMocked`.
|
|
12
3
|
|
|
13
4
|
@@reventless.gwt
|
|
14
5
|
|
|
@@ -29,9 +20,9 @@ describe("SendOrderConfirmation OutboundTranslationSlice", () => {
|
|
|
29
20
|
)
|
|
30
21
|
|
|
31
22
|
// scenario-id: a4563058-8777-4756-8e12-983fcd0e8f20
|
|
32
|
-
test("translate failure leaves the TODO
|
|
23
|
+
test("translate failure leaves the TODO Failed for retry", () =>
|
|
33
24
|
givenTodo("o1", {orderId: o1, customerId: c1})
|
|
34
25
|
->whenTranslateMocked((_id, _item) => Promise.resolve(Error("smtp down")))
|
|
35
|
-
->thenTodoStatus("o1", #
|
|
26
|
+
->thenTodoStatus("o1", #Failed)
|
|
36
27
|
)
|
|
37
28
|
})
|
|
@@ -5,9 +5,9 @@ import * as SendOrderConfirmation$OrderingPlugin from "../../../src/Order/Outbou
|
|
|
5
5
|
import * as OutboundTranslation_GWT$ReventlessGwt from "@reventlessdev/reventless-gwt/src/OutboundTranslation_GWT.res.mjs";
|
|
6
6
|
import * as SendOrderConfirmation_Translation$OrderingPlugin from "../../../src/Order/OutboundTranslation/SendOrderConfirmation_Translation.res.mjs";
|
|
7
7
|
|
|
8
|
-
let
|
|
8
|
+
let include = OutboundTranslation_GWT$ReventlessGwt.FromSlice({
|
|
9
9
|
name: SendOrderConfirmation$OrderingPlugin.name,
|
|
10
|
-
|
|
10
|
+
moduleUrl: SendOrderConfirmation$OrderingPlugin.moduleUrl,
|
|
11
11
|
consumedEventSchema: SendOrderConfirmation$OrderingPlugin.consumedEventSchema,
|
|
12
12
|
outboundItemSchema: SendOrderConfirmation$OrderingPlugin.outboundItemSchema,
|
|
13
13
|
inboundCommandSchema: SendOrderConfirmation$OrderingPlugin.inboundCommandSchema,
|
|
@@ -17,17 +17,12 @@ let SendOrderConfirmationSlice = {
|
|
|
17
17
|
sourceNames: SendOrderConfirmation$OrderingPlugin.sourceNames,
|
|
18
18
|
externalSystem: SendOrderConfirmation$OrderingPlugin.externalSystem,
|
|
19
19
|
capabilityNeeds: SendOrderConfirmation$OrderingPlugin.capabilityNeeds,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
collect: SendOrderConfirmation_Translation$OrderingPlugin.collect
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
name: SendOrderConfirmation$OrderingPlugin.name,
|
|
27
|
-
consumedEventSchema: SendOrderConfirmation$OrderingPlugin.consumedEventSchema,
|
|
28
|
-
outboundItemSchema: SendOrderConfirmation$OrderingPlugin.outboundItemSchema,
|
|
29
|
-
inboundCommandSchema: SendOrderConfirmation$OrderingPlugin.inboundCommandSchema,
|
|
30
|
-
collect: SendOrderConfirmation_Translation$OrderingPlugin.collect
|
|
20
|
+
traits: SendOrderConfirmation$OrderingPlugin.traits
|
|
21
|
+
})({
|
|
22
|
+
collect: SendOrderConfirmation_Translation$OrderingPlugin.collect,
|
|
23
|
+
translate: SendOrderConfirmation_Translation$OrderingPlugin.translate,
|
|
24
|
+
onExhausted: SendOrderConfirmation_Translation$OrderingPlugin.onExhausted,
|
|
25
|
+
moduleUrl: SendOrderConfirmation_Translation$OrderingPlugin.moduleUrl
|
|
31
26
|
});
|
|
32
27
|
|
|
33
28
|
let describe = include.describe;
|
|
@@ -67,40 +62,72 @@ describe("SendOrderConfirmation OutboundTranslationSlice", () => {
|
|
|
67
62
|
TAG: "Ok",
|
|
68
63
|
_0: undefined
|
|
69
64
|
})), "o1", "Completed"));
|
|
70
|
-
test("translate failure leaves the TODO
|
|
65
|
+
test("translate failure leaves the TODO Failed for retry", undefined, () => thenTodoStatus(whenTranslateMocked(givenTodo("o1", {
|
|
71
66
|
orderId: Ordering_Examples$OrderingPlugin.o1,
|
|
72
67
|
customerId: Ordering_Examples$OrderingPlugin.c1
|
|
73
68
|
}), (_id, _item) => Promise.resolve({
|
|
74
69
|
TAG: "Error",
|
|
75
70
|
_0: "smtp down"
|
|
76
|
-
})), "o1", "
|
|
71
|
+
})), "o1", "Failed"));
|
|
77
72
|
});
|
|
78
73
|
|
|
79
|
-
let
|
|
74
|
+
let encItems = include.encItems;
|
|
75
|
+
|
|
76
|
+
let commandPairJson = include.commandPairJson;
|
|
77
|
+
|
|
78
|
+
let errorOf = include.errorOf;
|
|
79
|
+
|
|
80
|
+
let fakes = include.fakes;
|
|
81
|
+
|
|
82
|
+
let givenCapabilities = include.givenCapabilities;
|
|
83
|
+
|
|
84
|
+
let attemptWith = include.attemptWith;
|
|
85
|
+
|
|
86
|
+
let attempts = include.attempts;
|
|
87
|
+
|
|
88
|
+
let whenTranslated = include.whenTranslated;
|
|
80
89
|
|
|
81
90
|
let whenTranslateRetrying = include.whenTranslateRetrying;
|
|
82
91
|
|
|
92
|
+
let whenExhausted = include.whenExhausted;
|
|
93
|
+
|
|
83
94
|
let thenCommand = include.thenCommand;
|
|
84
95
|
|
|
85
96
|
let thenNoCommand = include.thenNoCommand;
|
|
86
97
|
|
|
98
|
+
let thenSent = include.thenSent;
|
|
99
|
+
|
|
100
|
+
let thenNothingSent = include.thenNothingSent;
|
|
101
|
+
|
|
87
102
|
let thenRetryRecorded = include.thenRetryRecorded;
|
|
88
103
|
|
|
104
|
+
let statusName = include.statusName;
|
|
105
|
+
|
|
89
106
|
export {
|
|
90
|
-
SendOrderConfirmationSlice,
|
|
91
|
-
Spec,
|
|
92
107
|
describe,
|
|
93
108
|
test,
|
|
94
109
|
testSync,
|
|
110
|
+
encItems,
|
|
111
|
+
commandPairJson,
|
|
112
|
+
errorOf,
|
|
95
113
|
givenEvent,
|
|
96
114
|
whenCollect,
|
|
97
115
|
thenTodos,
|
|
98
116
|
givenTodo,
|
|
117
|
+
fakes,
|
|
118
|
+
givenCapabilities,
|
|
119
|
+
attemptWith,
|
|
120
|
+
attempts,
|
|
121
|
+
whenTranslated,
|
|
99
122
|
whenTranslateMocked,
|
|
100
123
|
whenTranslateRetrying,
|
|
124
|
+
whenExhausted,
|
|
101
125
|
thenCommand,
|
|
102
126
|
thenNoCommand,
|
|
127
|
+
thenSent,
|
|
128
|
+
thenNothingSent,
|
|
103
129
|
thenRetryRecorded,
|
|
130
|
+
statusName,
|
|
104
131
|
thenTodoStatus,
|
|
105
132
|
}
|
|
106
133
|
/* include Not a pure module */
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/ocaml/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1791641990336)
|
|
2
|
+
#Done(1791641993221)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|