Link Search Menu Expand Document

grid GitHub

PR #941 Fix Client `ROLES_ENDPOINT` const
This change updates the `ROLES_ENDPOINT` const, defined for the `ReqwestPikeClient`, to `ROLE_ENDPOINT` and updates the value from "roles" to "role". The role endpoint is singular. Signed-off-by: Shannyn Telander <telander@bitwise.io>
Created At 2021-09-17 21:54:32 +0000 UTC
PR #939 Hookup PO SDE
This sets up the state delta export for purchase order events. This PR also adds the conversion methods to `EventError` for the purchase order store errors.
Created At 2021-09-17 18:40:51 +0000 UTC
PR #936 Update PO version protos
This updates the PO version proto to reflect that a version can have multiple revisions.
Created At 2021-09-16 18:34:46 +0000 UTC
PR #935 BACKPORT 0-2: Disable Jenkins CI builds
GitHub Actions will be used going forward instead. Signed-off-by: Ryan Beck-Buysse <rbuysse@bitwise.io>
Created At 2021-09-16 14:10:00 +0000 UTC
PR #934 Disable Jenkins CI builds
GitHub Actions will be used going forward instead. Signed-off-by: Ryan Beck-Buysse <rbuysse@bitwise.io>
Created At 2021-09-16 13:58:35 +0000 UTC
PR #933 Implement data validation module and PO validation
This PR implements a new data validation module. It includes new functionality to validate purchase orders with the GS1 Order XML 3.4 specification. The GDSN validation functionality was also moved here. To test: - navigate to CLI and `$ cargo build --features=experimental` - Navigate to root grid directory - `$ export PATH=$PATH:$(pwd)/target/debug` - Copy the following xml into a file called `test-po.xml`: ``` 1.0 John Doe John_Doe@purchasing.XYZretailer.com +1-212-555-2122 Buyer Mary Smith Mary_Smith@widgets.com +1-312-555-2125 Seller GS1 3.4 100002 false asdf 2021-07-14T12:00:00.000-01:00 ORIGINAL PO3352 5412345000013 5412345000013 4098765000010 4098765000010 5412345000037 4098765000010 2011-03-11 2011-03-11 1 10 100.00 10.00 40987650000345 2 24 4659 194.125 40987650000346 ``` - `$ grid po version create test-po --org myorg --order-xml test-po.xml` The PO name and org aren't used since we arent actually creating anything. You should see a log message: "Purchase order is valid" - Try changing some values in the PO XML to make it invalid. After running the validation command you should see the validation errors and a dump of the XML.
Created At 2021-09-14 20:10:37 +0000 UTC
PR #932 Update PO store for updated protos
This updates the PO store to account for the changes to the PO protobuf messages. This updates the schemas, DB models, Grid structs, DB operations, and REST API to account for the different fields in the updated messages.
Created At 2021-09-13 19:36:20 +0000 UTC