COP 4331 Class Exercise: Online Auction System Analysis

Problem Description

Design a simple online auction system (think Ebay) where:

Use Cases

A. List an Item

  1. The seller requests the auction application to list an item.
    The listing request includes seller, item attributes, the starting price, and time limit.
  2. The application validates the auction listing.
  3. The new item auction listing is inserted in the active list.

B. Browse Items

  1. The user requests the list of items on the active list.
  2. The system returns the list of elements corresponding to the listings on the active list.
    Each listing includes the item, seller, title, auction end time, current highest bid.

C. Expand an Item

  1. The user carries out Browse Items.
  2. The user selects an auction listing.
  3. The user requests the full description and bid history for the listing.
  4. The system returns the item description and the bid history.

D. Bid For an Item

  1. The buyer carries out Expand an Item.
  2. The buyer submits a bid for an item that includes buyer ID and bid price.
  3. The application validates the bid.
  4. The application updates the item bid history.

E. Complete an Auction

When the bidding end time for an item is reached:
  1. The application completes the bidding process for the item.
  2. The application removes the auction listing from the active item list.
  3. The application archives the listing, including bid history.
  4. The application determines the highest bid.
  5. The application signals the auction result (seller, item and price) to the highest bidder (buyer).
  6. The application signals the auction result (buyer, item and price) to the seller.
  7. The seller performs the sell transaction with the buyer.

Variation #1. Cancel Failed Auction

  1. Start at step E.3.
  2. The application determines there is no valid bid for the item.
  3. The application signals the seller that the auction failed (item and start price).

Last modified: Wed Sep 21 18:48:46 EDT 2005