source: main/eko-disco-specs/trunk/use-cases/service-add.rst @ 10750

Last change on this file since 10750 was 10749, checked in by uli, 11 years ago

Some use-cases, etc.

File size: 2.3 KB
Line 
1.. _label-uc-service-add:
2
3Use-Case: Add a service
4***********************************************************************
5
6.. Description of a use case
7.. The description must be formulated as seen from system (not: actors)
8.. Describes those changes an (outside) actor can notice
9.. Short and abstract as possible, as long as necessary.
10.. Each use case must have at least one actor involved
11.. Each use case must have a trigger and a result
12
13
14Short Description
15-----------------------------------------------------------------------
16
17A service is added.
18
19Actor(s)
20-----------------------------------------------------------------------
21
22Staff
23
24
25Trigger(s)
26-----------------------------------------------------------------------
27
28- Imports (adding existing data)
29- Web form(s) submitted by authorized user.
30
31
32Result(s)
33-----------------------------------------------------------------------
34
35- A new service is available for customers/staff.
36
37- Contracts can be created from the new service.
38
39
40Incoming Data
41-----------------------------------------------------------------------
42
43- Title
44- Description
45- Service terms (various data about what special options the new
46  service provides, constraints, etc.).
47
48
49Outgoing Data
50-----------------------------------------------------------------------
51
52- Message about service creation.
53- Log message
54
55
56Precondition(s)
57-----------------------------------------------------------------------
58
59- Submitting user must be authorized to perform the operation.
60
61
62Postcondition(s)
63-----------------------------------------------------------------------
64
65- The new service is able to create contracts.
66
67
68Invariant(s)
69-----------------------------------------------------------------------
70
71
72Essential Steps
73-----------------------------------------------------------------------
74
75- System receives customer ID, service ID and any optional parameters
76  specifying the contract to create.
77- System creates a unique service ID.
78- Passed in terms, title, and description are validated.
79- If passed-in parameters are invalid, user is offered a possibility
80  to fix the invalid data.
81- System creates the new service.
82
83
84Open Issues
85-----------------------------------------------------------------------
86
87
88
89Remarks
90-----------------------------------------------------------------------
91
92
93.. raw:: latex
94
95      \pagebreak[4]
Note: See TracBrowser for help on using the repository browser.