fibe_spec Pub

account logic

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

Product: fibe package

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

Service: inventory

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

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

Was this useful?    

By: Razie | 2016-08-24 .. 2017-05-01 | Tags: spec , dsl , fibe

Viewed 114 times ( | Print ) this page.

You need to log in to post a comment!

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