sample-fibe-spec Pub Share

account logic

$when:: account.create (name, address)
   subDb.create
0 $mock:: subDb.create (name, address)
   . (subId="sub123")
$when:: account.create
   billing.notifyNewAccount

Product: fibe package

$when:: fibe100.activate
   modem.activate (actId)
$when:: fibe100.activate
   billing.notifyAddProduct (actId, rateCode="fibe100"="fibe100")
$when:: fibe100.activate
   email.create (email=(name + "@..., size="10m"="10m")

Service: inventory

$when:: modem.activate
   inventory.find (what="modem"="modem")
$when:: inventory.find
   inventory.found (itemId="item1234"="item1234", what="modem"="modem")
$when:: inventory.found (itemId, what == "modem")
   ops.sendTruck (modemId=itemId, address)

$when:: ops.sendTruck
   modem.activated
$when:: modem.activated
   modem.configure (modemId, qos="100m"="100m")


Was this useful?    

By: Razie | 2016-08-24 .. 2022-06-21 | Tags: spec , dsl , fibe , private


Viewed 888 times ( | History | Print ) this page.

You need to log in to post a comment!

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