send::
msg etrieve.status
expect:: (errcode is 0
)
Need to test that the logic for finding the response template works
/$send wiki.content(wpath="AnAuthXmlReq", result="request") /$send snakk.text(url="/diesel/mock/tempus.pspapi", verb="POST", body=request) /$expect (payload contains "TRANRESP")
// $send ctx.set(objsample = snakk.json (url = "/diesel/mock/etrieve.status")) // $send ctx.set(expectedStatus = {
val expectedStatus:JSON={
"buildTimestamp": "2019-04-17T14:57:42-04:00",
"serverIp": "10.111.0.39",
"source": "ESB.dev",
"buildNumber": "1.47",
"appDistName": "transprt-1.47",
"timestamp": "2019-04-18T20:32:10.854Z",
"status": "S"
}
/$send snakk.text(url="/diesel/mock/tempus.pspapi", verb="POST", body=request)
=> diesel.db.col.upsert(collection="Cron", document={ name : "device-", schedule : "600 seconds", singleton : "yes", collect: 5, max: max, cronMsg: "$msg blinq.cron.tick(deviceId="${deviceId}", deviceType="${deviceType}", url="${urlToPost}")", count=2 })
x?.y?.z doesn't blow up with null if one is undefined -> just results in undefined.
OR should the behavior of aexprident be controlled by a setting and be "strict" vs "lax"?
d.repeat(msg=a.b(x?,y?, z=3))
obiects
x = new Test1{}
x.msg1
x.arrt1
x / ref1 / ref2 / attr1
x / ref1 map (x => haha)
i ve tory
Test1.find x.uodate
Test1.update(this=x)
You need to log in to post a comment!