sample-fibe-story Pub

Let's expect two messages, to create a sub and activate fib100 product

send::  msg account.create  (name="Jane", address ="12 Greenbriar, Aurora"...)

expect::  subDb.create (name, address)
expect::  (subId ~= "sub[0-9]*")
expect::  billing.notifyNewAccount (name, address)

Now a separate message adds the product

send::  msg fibe100.activate  (actId:Number=123, name="Jane", address ="12 Greenbriar, Aurora"...)

expect::  modem.configure (qos == "100m")
expect::  email.create (email == "", size == "10m")
expect::  billing.notifyAddProduct (actId, rateCode == "fibe100")

Was this useful?    

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

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

You need to log in to post a comment!

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