1 | .. _label-uc-service-remove: |
---|
2 | |
---|
3 | Use-Case: Remove a Service |
---|
4 | *********************************************************************** |
---|
5 | |
---|
6 | Short Description |
---|
7 | ----------------------------------------------------------------------- |
---|
8 | |
---|
9 | A service is removed from system. |
---|
10 | |
---|
11 | Actor(s) |
---|
12 | ----------------------------------------------------------------------- |
---|
13 | |
---|
14 | Officer |
---|
15 | |
---|
16 | |
---|
17 | Trigger(s) |
---|
18 | ----------------------------------------------------------------------- |
---|
19 | |
---|
20 | - Imports (removing existing data) |
---|
21 | - Web form(s) submitted by authorized user |
---|
22 | |
---|
23 | |
---|
24 | Result(s) |
---|
25 | ----------------------------------------------------------------------- |
---|
26 | |
---|
27 | - The given service and all connected data (contracts, etc.) were |
---|
28 | removed from the system. |
---|
29 | - All removed data is archived. |
---|
30 | |
---|
31 | |
---|
32 | Incoming Data |
---|
33 | ----------------------------------------------------------------------- |
---|
34 | |
---|
35 | - Service ID |
---|
36 | |
---|
37 | Outgoing Data |
---|
38 | ----------------------------------------------------------------------- |
---|
39 | |
---|
40 | - Message about service removal |
---|
41 | - Log message |
---|
42 | - Archive entry |
---|
43 | |
---|
44 | |
---|
45 | Precondition(s) |
---|
46 | ----------------------------------------------------------------------- |
---|
47 | |
---|
48 | - Service ID must exist. |
---|
49 | - Submitting user must be authorized to perform the operation. |
---|
50 | |
---|
51 | |
---|
52 | Postcondition(s) |
---|
53 | ----------------------------------------------------------------------- |
---|
54 | |
---|
55 | |
---|
56 | Invariant(s) |
---|
57 | ----------------------------------------------------------------------- |
---|
58 | |
---|
59 | A service cannot be removed from the system while still contracts |
---|
60 | connected to it exist in the system. |
---|
61 | |
---|
62 | |
---|
63 | Essential Steps |
---|
64 | ----------------------------------------------------------------------- |
---|
65 | |
---|
66 | - System checks service ID validity. |
---|
67 | - System checks whether any contracts created by the requested service |
---|
68 | are still in use in the system and cancels operation if so. |
---|
69 | - Removed data is archived. |
---|
70 | - System removes the given service. |
---|
71 | |
---|
72 | |
---|
73 | Open Issues |
---|
74 | ----------------------------------------------------------------------- |
---|
75 | |
---|
76 | |
---|
77 | |
---|
78 | Remarks |
---|
79 | ----------------------------------------------------------------------- |
---|
80 | |
---|
81 | |
---|
82 | |
---|
83 | .. raw:: latex |
---|
84 | |
---|
85 | \pagebreak[4] |
---|