-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflow operation and minor ui improvements (#13)
- Loading branch information
1 parent
2ef5eef
commit 6b58679
Showing
17 changed files
with
216 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
server/src/main/java/io/flexwork/modules/teams/domain/TeamRequestPriority.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package io.flexwork.modules.teams.domain; | ||
|
||
public enum TeamRequestPriority { | ||
Critical, | ||
High, | ||
Medium, | ||
Low, | ||
Trivial | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 53 additions & 7 deletions
60
.../liquibase/src/main/resources/config/liquibase/tenant/data/fw_team_workflow_selection.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,54 @@ | ||
id;team_id;workflow_id | ||
1;1;1 | ||
2;2;2 | ||
3;3;1 | ||
4;4;2 | ||
5;5;4 | ||
6;10;5 | ||
7;15;6 | ||
1;1;3 | ||
2;1;1 | ||
3;2;3 | ||
4;2;2 | ||
5;2;4 | ||
6;2;1 | ||
7;3;1 | ||
8;3;3 | ||
9;3;4 | ||
10;3;2 | ||
11;4;2 | ||
12;4;4 | ||
13;4;3 | ||
14;4;1 | ||
15;5;3 | ||
16;5;4 | ||
17;5;2 | ||
18;5;1 | ||
19;6;2 | ||
20;6;3 | ||
21;7;2 | ||
22;7;1 | ||
23;7;4 | ||
24;7;3 | ||
25;8;1 | ||
26;8;4 | ||
27;9;3 | ||
28;9;1 | ||
29;10;1 | ||
30;10;4 | ||
31;11;2 | ||
32;11;4 | ||
33;12;1 | ||
34;12;3 | ||
35;13;2 | ||
36;13;3 | ||
37;13;1 | ||
38;13;4 | ||
39;14;1 | ||
40;14;4 | ||
41;15;2 | ||
42;15;1 | ||
43;16;4 | ||
44;16;2 | ||
45;17;2 | ||
46;17;4 | ||
47;17;3 | ||
48;18;3 | ||
49;18;2 | ||
50;19;2 | ||
51;19;1 | ||
52;20;3 | ||
53;20;2 |
12 changes: 5 additions & 7 deletions
12
tools/liquibase/src/main/resources/config/liquibase/tenant/data/fw_workflow.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
id;name;description;owner_id;visibility | ||
1;Global Workflow 1;A global workflow available to all teams.;NULL;PUBLIC | ||
2;Global Workflow 2;Another global workflow for all teams.;NULL;PUBLIC | ||
3;Team Workflow 1;A private workflow for Team 1.;1;PRIVATE | ||
4;Team Workflow 2;A workflow discoverable by other teams.;5;TEAM | ||
5;Team Workflow 3;A private workflow for Team 10.;10;PRIVATE | ||
6;Team Workflow 4;A global workflow with team-specific use.;NULL;PUBLIC | ||
id;name;description;owner_id;visibility;request_name | ||
1;Refund Process Workflow;Handles customer refund requests.;;PUBLIC;Refund | ||
2;Bug Fix Workflow;Tracks the lifecycle of software bug fixes.;;PUBLIC;Bug | ||
3;New Hardware Request;Manages team-specific hardware requests.;1.0;PRIVATE;Hardware Request | ||
4;Software Approval Workflow;Tracks software license or tool requests.;1.0;PRIVATE;License Request |
18 changes: 18 additions & 0 deletions
18
tools/liquibase/src/main/resources/config/liquibase/tenant/data/fw_workflow_actions.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
id;transition_id;action_type;action_data | ||
1;1;NOTIFY;"{""message"":""Please provide additional evidence for your refund request.""}" | ||
2;3;NOTIFY;"{""message"":""Refund has been approved.""}" | ||
3;4;NOTIFY;"{""message"":""Refund request has been denied.""}" | ||
4;5;NOTIFY;"{""message"":""Refund has been successfully completed.""}" | ||
5;6;NOTIFY;"{""message"":""Bug has been assigned to a user.""}" | ||
6;7;NOTIFY;"{""message"":""Bug work has started by the assignee.""}" | ||
7;8;NOTIFY;"{""message"":""Bug has been marked as Not an Issue.""}" | ||
8;9;NOTIFY;"{""message"":""Bug has been resolved by the assignee.""}" | ||
9;10;NOTIFY;"{""message"":""Bug fix has been verified successfully.""}" | ||
10;12;NOTIFY;"{""message"":""Hardware request has been submitted for manager approval.""}" | ||
11;13;NOTIFY;"{""message"":""Hardware request approved by the manager. Awaiting IT approval.""}" | ||
12;15;NOTIFY;"{""message"":""Hardware request approved by IT. Proceeding with procurement.""}" | ||
13;17;NOTIFY;"{""message"":""Hardware has been successfully delivered to the requester.""}" | ||
14;18;NOTIFY;"{""message"":""Software request submitted for manager approval.""}" | ||
15;19;NOTIFY;"{""message"":""Software request approved by the manager. Awaiting IT approval.""}" | ||
16;21;NOTIFY;"{""message"":""Software request approved by IT. Proceeding with procurement.""}" | ||
17;23;NOTIFY;"{""message"":""Software has been successfully delivered to the requester.""}" |
41 changes: 24 additions & 17 deletions
41
tools/liquibase/src/main/resources/config/liquibase/tenant/data/fw_workflow_state.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,25 @@ | ||
id;workflow_id;state_name;is_initial;is_final | ||
1;1;Requested;true;false | ||
2;1;In Progress;false;false | ||
3;1;Completed;false;true | ||
4;2;Open;true;false | ||
5;2;In Review;false;false | ||
6;2;Closed;false;true | ||
7;3;Draft;true;false | ||
8;3;Submitted;false;false | ||
9;3;Approved;false;true | ||
10;4;Initiated;true;false | ||
11;4;Processing;false;false | ||
12;4;Finalized;false;true | ||
13;5;Pending Review;true;false | ||
14;5;Reviewed;false;true | ||
15;6;Not Started;true;false | ||
16;6;In Execution;false;false | ||
17;6;Completed;false;true | ||
1;1;New;True;False | ||
2;1;Request Evidence;False;False | ||
3;1;Evidence Provided;False;False | ||
4;1;Refund Approved;False;False | ||
5;1;Refund Denied;False;True | ||
6;1;Refund Completed;False;True | ||
7;2;New;True;False | ||
8;2;Assigned;False;False | ||
9;2;In Progress;False;False | ||
10;2;Not an Issue;False;True | ||
11;2;Fixed;False;False | ||
12;2;Verified;False;True | ||
13;3;New;True;False | ||
14;3;Manager Approval;False;False | ||
15;3;IT Approval;False;False | ||
16;3;Vendor Procurement;False;False | ||
17;3;Delivered;False;True | ||
18;3;Rejected;False;True | ||
19;4;New;True;False | ||
20;4;Manager Approval;False;False | ||
21;4;IT Approval;False;False | ||
22;4;Procurement;False;False | ||
23;4;Delivered;False;True | ||
24;4;Rejected;False;True |
Oops, something went wrong.