Added params.json files for latedeliveryandpenalty template, used during testing.
Flags
You have to send all the arguments as JSON field inside request.body
Documentation will be added later with Swagger UI PR.
Maybe we can change params to request directly, comments are welcome.
Demo
Sample request.body:
{
"sample":"## Late Delivery and Penalty.\n\n In case of delayed delivery except for Force Majeure cases,\n\"Dan\" (the Seller) shall pay to \"Steve\" (the Buyer) for every 2 days\nof delay penalty amounting to 10.5% of the total value of the Equipment\nwhose delivery has been delayed. Any fractional part of a days is to be\nconsidered a full days. The total amount of penalty shall not however,\nexceed 55% of the total value of the Equipment involved in late delivery.\nIf the delay is more than 15 days, the Buyer is entitled to terminate this Contract.",
"params": {
"request" : {
"$class": "org.accordproject.latedeliveryandpenalty.LateDeliveryAndPenaltyRequest",
"forceMajeure": false,
"agreedDelivery": "2017-12-17T03:24:00Z",
"deliveredAt": null,
"goodsValue": 200.00
}
},
"state": {
"$class": "org.accordproject.runtime.State"
},
"currentTime": "2017-12-18T16:59:04.321-03:00",
"clauseName": "latedeliveryandpenalty"
}
Coverage decreased (-0.3%) to 93.623% when pulling 397e35c5c22bc747e3e657c665d1392e4dc1127d on mehmettokgoz:invoke into b6f6598d2941aeffa2f560ec9b19afa7843161b3 on accordproject:master.
Changes
params.json
files forlatedeliveryandpenalty
template, used during testing.Flags
request.body
params
torequest
directly, comments are welcome.Demo
Sample request.body:
Response to sample request:
Author Checklist
--signoff
option of git commit.master
fromfork:branchname