issues-story Pub

n/a

send::  msg ctx.set  (x=a123[="b"])

expect::  (x is undefined)
// // . // // x df.api.create (actionRef, deviceQuery, dailyWindow) // // x => ems.bulk.start (wfRef=actionRef) // // //=============== TODO // // // $mock a.b // // // => diesel.map(payload=[1,2]) // // // |=> ctx.echo(p=payload) // // // => ctx.echo(m="done") // // // $send a.b // // // => diesel.map(payload=devices) // // // |=> dctx.echo(xpayload=new BulkItem { // // // deviceActionRef:wfHeader.deviceActionRef, // // // deviceRef:payload, // // // state:"created.initial" // // // })

TODO this not work => if (countDone >= groupLimit and countNext < 0) (groupDone=true)

\=> $if (countDone >= groupLimit and countNext <= 0) (groupDone=true)

this not compile

$when a.b.c => $if (countGroup >= group.groupLimit and d yy 5) (groupCont=false) d => $if (countGroup >= group.groupLimit or wfHeader.doneItems >= wfHeader.totalItems) (groupCont=false)

== not working but is does, for bools in this case?

send::  msg ctx.set  (deleteArray:Array=[{xpath:"management:mgmt/syslog/server=1",isDelete:true}])

=> (deletes = deleteArray filter (x => x.isDelete == true)) => (deletes = deleteArray filter (x => x.isDelete is true))

these are not working:

send::  msg diesel.realm.set  (DEV_MODE:Boolean=true)

send::  msg bulk.init.actions2 

0 $mock:: bulk.init.actions2
   . (notInit=false)
=> $if (false == notInit) a.b8 => $if (true == dieselRealm.DEV_MODE) a.b9 => $if (notInit) a.b0 => $if (notInit or dieselRealm.DEV_MODE == true) c.d1 => $if (notInit == true or dieselRealm.DEV_MODE) c.d2

these work:

// => $if (dieselRealm.DEV_MODE) a.b6 // => $if (notInit == false) a.b7 // => $if (not notInit) a.b7a


Was this useful?    

By: Razie | 2021-03-28 | Tags: story , dsl


Viewed 25 times ( | Print ) this page.

You need to log in to post a comment!

© Copyright DieselApps, 2012-2021, all rights reserved.