Skip to content

Commit 3c1218b

Browse files
Thierry Habarthabarthierry-hue
authored andcommitted
Ticket #13 : Support CMIS CaseFileItem
Ticket #14 : Properly stop a case instance
1 parent 9e8b177 commit 3c1218b

133 files changed

Lines changed: 3165 additions & 745 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CaseManagement.sln

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "05. Benchmark", "05. Benchm
3333
EndProject
3434
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CaseManagement.CMMN.Benchmark", "src\CaseManagement.CMMN.Benchmark\CaseManagement.CMMN.Benchmark.csproj", "{3DFF3970-7721-4087-8E41-F478D39C2095}"
3535
EndProject
36+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CaseManagement.CMMN.CMIS", "src\CaseManagement.CMMN.CMIS\CaseManagement.CMMN.CMIS.csproj", "{2B86EDF0-DA2D-4FFE-9877-4CBA2999B0A5}"
37+
EndProject
38+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CaseManagement.CMMN.CMIS.Tests", "tests\CaseManagement.CMMN.CMIS.Tests\CaseManagement.CMMN.CMIS.Tests.csproj", "{162D547F-D8E8-4B2F-A86C-3F74BF7F4F45}"
39+
EndProject
3640
Global
3741
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3842
Debug|Any CPU = Debug|Any CPU
@@ -75,6 +79,14 @@ Global
7579
{3DFF3970-7721-4087-8E41-F478D39C2095}.Debug|Any CPU.Build.0 = Debug|Any CPU
7680
{3DFF3970-7721-4087-8E41-F478D39C2095}.Release|Any CPU.ActiveCfg = Release|Any CPU
7781
{3DFF3970-7721-4087-8E41-F478D39C2095}.Release|Any CPU.Build.0 = Release|Any CPU
82+
{2B86EDF0-DA2D-4FFE-9877-4CBA2999B0A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
83+
{2B86EDF0-DA2D-4FFE-9877-4CBA2999B0A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
84+
{2B86EDF0-DA2D-4FFE-9877-4CBA2999B0A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
85+
{2B86EDF0-DA2D-4FFE-9877-4CBA2999B0A5}.Release|Any CPU.Build.0 = Release|Any CPU
86+
{162D547F-D8E8-4B2F-A86C-3F74BF7F4F45}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
87+
{162D547F-D8E8-4B2F-A86C-3F74BF7F4F45}.Debug|Any CPU.Build.0 = Debug|Any CPU
88+
{162D547F-D8E8-4B2F-A86C-3F74BF7F4F45}.Release|Any CPU.ActiveCfg = Release|Any CPU
89+
{162D547F-D8E8-4B2F-A86C-3F74BF7F4F45}.Release|Any CPU.Build.0 = Release|Any CPU
7890
EndGlobalSection
7991
GlobalSection(SolutionProperties) = preSolution
8092
HideSolutionNode = FALSE
@@ -86,9 +98,11 @@ Global
8698
{2D288182-CD6B-46AF-B420-F2038875F6BC} = {A632EFC3-730B-46D7-B669-91962DFA8947}
8799
{1A146C2E-708E-4B50-AE46-37B415CEAFC1} = {D16A3E6D-32B6-44CF-9941-A9BDB9DFC6A7}
88100
{E4C5F767-299D-4D26-916B-59EC7C93CE90} = {CD2E7CFE-4E9C-4308-A0D3-41CD5AD90FD8}
89-
{77FF9E1D-A705-4E04-84CA-FF42D3563F77} = {A632EFC3-730B-46D7-B669-91962DFA8947}
101+
{77FF9E1D-A705-4E04-84CA-FF42D3563F77} = {73DCE7A3-F336-4E72-B36C-9D88860BC897}
90102
{F005FA4D-312C-428C-93A7-4F02C01136A8} = {A632EFC3-730B-46D7-B669-91962DFA8947}
91-
{3DFF3970-7721-4087-8E41-F478D39C2095} = {73DCE7A3-F336-4E72-B36C-9D88860BC897}
103+
{3DFF3970-7721-4087-8E41-F478D39C2095} = {A632EFC3-730B-46D7-B669-91962DFA8947}
104+
{2B86EDF0-DA2D-4FFE-9877-4CBA2999B0A5} = {CD2E7CFE-4E9C-4308-A0D3-41CD5AD90FD8}
105+
{162D547F-D8E8-4B2F-A86C-3F74BF7F4F45} = {A632EFC3-730B-46D7-B669-91962DFA8947}
92106
EndGlobalSection
93107
GlobalSection(ExtensibilityGlobals) = postSolution
94108
SolutionGuid = {D2CFBF2E-D493-42F7-B339-01A3070C2B5E}

Doc.docx

227 KB
Binary file not shown.

src/CaseManagement.BPMN/Domains/BPMNEndEvent.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,22 @@ public class BPMNEndEvent : ProcessFlowInstanceElement
77
public BPMNEndEvent(string id, string name) : base(id, name)
88
{
99
}
10+
11+
public override string ElementType => throw new System.NotImplementedException();
12+
13+
public override object Clone()
14+
{
15+
throw new System.NotImplementedException();
16+
}
17+
18+
public override void HandleEvent(string state)
19+
{
20+
throw new System.NotImplementedException();
21+
}
22+
23+
public override void HandleLaunch()
24+
{
25+
throw new System.NotImplementedException();
26+
}
1027
}
1128
}

src/CaseManagement.BPMN/Domains/BPMNExecutiveGateway.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,22 @@ namespace CaseManagement.BPMN.Domains
55
public class BPMNExecutiveGateway : ProcessFlowInstanceElement
66
{
77
public BPMNExecutiveGateway(string id, string name) : base(id, name) { }
8+
9+
public override string ElementType => throw new System.NotImplementedException();
10+
11+
public override object Clone()
12+
{
13+
throw new System.NotImplementedException();
14+
}
15+
16+
public override void HandleEvent(string state)
17+
{
18+
throw new System.NotImplementedException();
19+
}
20+
21+
public override void HandleLaunch()
22+
{
23+
throw new System.NotImplementedException();
24+
}
825
}
926
}

src/CaseManagement.BPMN/Domains/BPMNReceiveTask.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,22 @@ public BPMNReceiveTask(string id, string name, string operationId) : base(id, na
1010
}
1111

1212
public string OperationId { get; set; }
13+
14+
public override string ElementType => throw new System.NotImplementedException();
15+
16+
public override object Clone()
17+
{
18+
throw new System.NotImplementedException();
19+
}
20+
21+
public override void HandleEvent(string state)
22+
{
23+
throw new System.NotImplementedException();
24+
}
25+
26+
public override void HandleLaunch()
27+
{
28+
throw new System.NotImplementedException();
29+
}
1330
}
1431
}

src/CaseManagement.BPMN/Domains/BPMNSendTask.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,22 @@ namespace CaseManagement.BPMN.Domains
55
public class BPMNSendTask : ProcessFlowInstanceElement
66
{
77
public BPMNSendTask(string id, string name): base(id, name) { }
8+
9+
public override string ElementType => throw new System.NotImplementedException();
10+
11+
public override object Clone()
12+
{
13+
throw new System.NotImplementedException();
14+
}
15+
16+
public override void HandleEvent(string state)
17+
{
18+
throw new System.NotImplementedException();
19+
}
20+
21+
public override void HandleLaunch()
22+
{
23+
throw new System.NotImplementedException();
24+
}
825
}
926
}

src/CaseManagement.BPMN/Domains/BPMNServiceTask.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,22 @@ public BPMNServiceTask(string id, string name) : base(id, name)
99
}
1010

1111
public string FullQualifiedName { get; set; }
12+
13+
public override string ElementType => throw new System.NotImplementedException();
14+
15+
public override object Clone()
16+
{
17+
throw new System.NotImplementedException();
18+
}
19+
20+
public override void HandleEvent(string state)
21+
{
22+
throw new System.NotImplementedException();
23+
}
24+
25+
public override void HandleLaunch()
26+
{
27+
throw new System.NotImplementedException();
28+
}
1229
}
1330
}

src/CaseManagement.BPMN/Domains/BPMNStartEvent.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,22 @@ public class BPMNStartEvent : ProcessFlowInstanceElement
77
public BPMNStartEvent(string id, string name) : base(id, name)
88
{
99
}
10+
11+
public override string ElementType => throw new System.NotImplementedException();
12+
13+
public override object Clone()
14+
{
15+
throw new System.NotImplementedException();
16+
}
17+
18+
public override void HandleEvent(string state)
19+
{
20+
throw new System.NotImplementedException();
21+
}
22+
23+
public override void HandleLaunch()
24+
{
25+
throw new System.NotImplementedException();
26+
}
1027
}
1128
}

src/CaseManagement.BPMN/Domains/BPMNTask.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,22 @@ public class BPMNTask : ProcessFlowInstanceElement
77
public BPMNTask(string id, string name) : base(id, name)
88
{
99
}
10+
11+
public override string ElementType => throw new System.NotImplementedException();
12+
13+
public override object Clone()
14+
{
15+
throw new System.NotImplementedException();
16+
}
17+
18+
public override void HandleEvent(string state)
19+
{
20+
throw new System.NotImplementedException();
21+
}
22+
23+
public override void HandleLaunch()
24+
{
25+
throw new System.NotImplementedException();
26+
}
1027
}
1128
}

src/CaseManagement.BPMN/ProcessInstance/Processors/BPMNEndEventProcessor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class BPMNEndEventProcessor : IProcessFlowElementProcessor
1313

1414
public Task Handle(WorkflowHandlerContext context, CancellationToken token)
1515
{
16-
context.Start();
16+
context.Start(token);
1717
context.Complete(token);
1818
return Task.FromResult(0);
1919
}

0 commit comments

Comments
 (0)