[10749] | 1 | .. _label-uc-service-remove: |
---|
| 2 | |
---|
[10781] | 3 | Remove a Service |
---|
[10749] | 4 | *********************************************************************** |
---|
| 5 | |
---|
| 6 | Short Description |
---|
| 7 | ----------------------------------------------------------------------- |
---|
| 8 | |
---|
| 9 | A service is removed from system. |
---|
| 10 | |
---|
| 11 | Actor(s) |
---|
| 12 | ----------------------------------------------------------------------- |
---|
| 13 | |
---|
[10753] | 14 | Officer |
---|
[10749] | 15 | |
---|
| 16 | |
---|
| 17 | Trigger(s) |
---|
| 18 | ----------------------------------------------------------------------- |
---|
| 19 | |
---|
| 20 | - Imports (removing existing data) |
---|
[10753] | 21 | - Web form(s) submitted by authorized user |
---|
[10749] | 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 | |
---|
[10753] | 40 | - Message about service removal |
---|
[10749] | 41 | - Log message |
---|
[10753] | 42 | - Archive entry |
---|
[10749] | 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 | |
---|
[10780] | 85 | \ |
---|