Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dc9cc64

Browse filesBrowse files
committed
WFE 14.1.0 (autocommit)
1 parent 83a44e2 commit dc9cc64
Copy full SHA for dc9cc64

131 files changed

+827-311Lines changed: 827 additions & 311 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Designer/workflowdesigner.min.js‎

Copy file name to clipboardExpand all lines: Designer/workflowdesigner.min.js
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎Directory.Build.props‎

Copy file name to clipboardExpand all lines: Directory.Build.props
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project>
22
<!-- Version -->
33
<PropertyGroup>
4-
<Version>13.3.1</Version>
5-
<AssemblyVersion>13.3.0</AssemblyVersion>
6-
<FileVersion>13.3.0</FileVersion>
4+
<Version>14.1.0</Version>
5+
<AssemblyVersion>14.1.0</AssemblyVersion>
6+
<FileVersion>14.1.0</FileVersion>
77
</PropertyGroup>
88
<!-- Build -->
99
<PropertyGroup>
Collapse file

‎Directory.Packages.props‎

Copy file name to clipboardExpand all lines: Directory.Packages.props
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<ItemGroup>
77
<PackageVersion Include="ConfigureAwait.Fody" Version="3.3.1" />
88
<PackageVersion Include="Fody" Version="6.6.3" />
9-
<PackageVersion Include="WorkflowEngine.NETCore-Core" Version="13.3.1" />
10-
<PackageVersion Include="WorkflowEngine.NETCore-Migrator" Version="13.3.1" />
9+
<PackageVersion Include="WorkflowEngine.NETCore-Core" Version="14.1.0" />
10+
<PackageVersion Include="WorkflowEngine.NETCore-Migrator" Version="14.1.0" />
1111
</ItemGroup>
1212
<!-- Plugins -->
1313
<ItemGroup>
Collapse file

‎Providers/OptimaJet.Workflow.DbPersistence/OptimaJet.Workflow.MSSQL.deps.json‎

Copy file name to clipboardExpand all lines: Providers/OptimaJet.Workflow.DbPersistence/OptimaJet.Workflow.MSSQL.deps.json
+19-19Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
"targets": {
88
".NETStandard,Version=v2.0": {},
99
".NETStandard,Version=v2.0/": {
10-
"OptimaJet.Workflow.MSSQL/13.3.1": {
10+
"OptimaJet.Workflow.MSSQL/14.1.0": {
1111
"dependencies": {
1212
"Microsoft.Data.SqlClient": "5.2.0",
1313
"NETStandard.Library": "2.0.3",
14-
"WorkflowEngine.NETCore-Core": "13.3.1",
15-
"WorkflowEngine.NETCore-Migrator": "13.3.1",
16-
"OptimaJet.Workflow.Core": "13.3.0.0",
17-
"OptimaJet.Workflow.Migrator": "13.3.0.0"
14+
"WorkflowEngine.NETCore-Core": "14.1.0",
15+
"WorkflowEngine.NETCore-Migrator": "14.1.0",
16+
"OptimaJet.Workflow.Core": "14.1.0.0",
17+
"OptimaJet.Workflow.Migrator": "14.1.0.0"
1818
},
1919
"runtime": {
2020
"OptimaJet.Workflow.MSSQL.dll": {}
@@ -1683,7 +1683,7 @@
16831683
}
16841684
}
16851685
},
1686-
"WorkflowEngine.NETCore-Core/13.3.1": {
1686+
"WorkflowEngine.NETCore-Core/14.1.0": {
16871687
"dependencies": {
16881688
"Microsoft.CodeAnalysis.CSharp": "4.1.0",
16891689
"Microsoft.CodeAnalysis.CSharp.Scripting": "4.1.0",
@@ -1698,37 +1698,37 @@
16981698
"OptimaJet.Workflow.Core.dll": {}
16991699
}
17001700
},
1701-
"WorkflowEngine.NETCore-Migrator/13.3.1": {
1701+
"WorkflowEngine.NETCore-Migrator/14.1.0": {
17021702
"dependencies": {
17031703
"FluentMigrator": "5.2.0",
17041704
"FluentMigrator.Runner": "5.2.0",
17051705
"Microsoft.Extensions.DependencyInjection": "8.0.0",
1706-
"WorkflowEngine.NETCore-Core": "13.3.1"
1706+
"WorkflowEngine.NETCore-Core": "14.1.0"
17071707
},
17081708
"runtime": {
17091709
"OptimaJet.Workflow.Migrator.dll": {}
17101710
}
17111711
},
1712-
"OptimaJet.Workflow.Core/13.3.0.0": {
1712+
"OptimaJet.Workflow.Core/14.1.0.0": {
17131713
"runtime": {
17141714
"OptimaJet.Workflow.Core.dll": {
1715-
"assemblyVersion": "13.3.0.0",
1716-
"fileVersion": "13.3.0.0"
1715+
"assemblyVersion": "14.1.0.0",
1716+
"fileVersion": "14.1.0.0"
17171717
}
17181718
}
17191719
},
1720-
"OptimaJet.Workflow.Migrator/13.3.0.0": {
1720+
"OptimaJet.Workflow.Migrator/14.1.0.0": {
17211721
"runtime": {
17221722
"OptimaJet.Workflow.Migrator.dll": {
1723-
"assemblyVersion": "13.3.0.0",
1724-
"fileVersion": "13.3.0.0"
1723+
"assemblyVersion": "14.1.0.0",
1724+
"fileVersion": "14.1.0.0"
17251725
}
17261726
}
17271727
}
17281728
}
17291729
},
17301730
"libraries": {
1731-
"OptimaJet.Workflow.MSSQL/13.3.1": {
1731+
"OptimaJet.Workflow.MSSQL/14.1.0": {
17321732
"type": "project",
17331733
"serviceable": false,
17341734
"sha512": ""
@@ -2671,22 +2671,22 @@
26712671
"path": "thomaslevesque.weakevent/4.1.0",
26722672
"hashPath": "thomaslevesque.weakevent.4.1.0.nupkg.sha512"
26732673
},
2674-
"WorkflowEngine.NETCore-Core/13.3.1": {
2674+
"WorkflowEngine.NETCore-Core/14.1.0": {
26752675
"type": "project",
26762676
"serviceable": false,
26772677
"sha512": ""
26782678
},
2679-
"WorkflowEngine.NETCore-Migrator/13.3.1": {
2679+
"WorkflowEngine.NETCore-Migrator/14.1.0": {
26802680
"type": "project",
26812681
"serviceable": false,
26822682
"sha512": ""
26832683
},
2684-
"OptimaJet.Workflow.Core/13.3.0.0": {
2684+
"OptimaJet.Workflow.Core/14.1.0.0": {
26852685
"type": "reference",
26862686
"serviceable": false,
26872687
"sha512": ""
26882688
},
2689-
"OptimaJet.Workflow.Migrator/13.3.0.0": {
2689+
"OptimaJet.Workflow.Migrator/14.1.0.0": {
26902690
"type": "reference",
26912691
"serviceable": false,
26922692
"sha512": ""
Binary file not shown.
Collapse file

‎Providers/OptimaJet.Workflow.DbPersistence/SQL/CreatePersistenceObjects.sql‎

Copy file name to clipboardExpand all lines: Providers/OptimaJet.Workflow.DbPersistence/SQL/CreatePersistenceObjects.sql
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
Company: OptimaJet
33
Project: WorkflowEngine.NET Provider for MSSQL and Azure SQL
4-
Version: 13.3
4+
Version: 14.1
55
File: CreatePersistenceObjects.sql
66
77
*/
Collapse file
+61Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
IF NOT EXISTS(SELECT DISTINCT 1
2+
FROM WorkflowProcessInstancePersistence
3+
WHERE LEN(ParameterName) > 900)
4+
BEGIN
5+
IF NOT EXISTS(SELECT DISTINCT 1 FROM WorkflowProcessTimer WHERE LEN(Name) > 900)
6+
BEGIN
7+
PRINT 'OK: No breaking changes detected'
8+
END
9+
ELSE
10+
BEGIN
11+
RAISERROR ('BREAKING CHANGES DETECTED: Some rows in the Name column in WorkflowProcessTimer table is too long. Please contact support support@optimajet.com.', 16, 1)
12+
END
13+
END
14+
ELSE
15+
BEGIN
16+
RAISERROR ('BREAKING CHANGES DETECTED: Some rows in the ParameterName column in WorkflowProcessInstancePersistence table is too long. Please contact support support@optimajet.com.', 16, 1)
17+
END
18+
19+
IF NOT EXISTS(SELECT max_length
20+
FROM sys.columns
21+
WHERE columns.object_id = OBJECT_ID('WorkflowProcessInstancePersistence')
22+
AND columns.name = 'ParameterName'
23+
AND columns.max_length = 1800)
24+
BEGIN
25+
ALTER TABLE WorkflowProcessInstancePersistence
26+
ALTER COLUMN ParameterName NVARCHAR(900) NOT NULL;
27+
END
28+
29+
IF NOT EXISTS(SELECT *
30+
FROM sys.indexes
31+
WHERE name = 'IX_ProcessId_ParameterName'
32+
AND object_id = OBJECT_ID('WorkflowProcessInstancePersistence'))
33+
BEGIN
34+
CREATE UNIQUE INDEX IX_ProcessId_ParameterName ON WorkflowProcessInstancePersistence (ProcessId, ParameterName);
35+
END
36+
37+
IF NOT EXISTS(SELECT *
38+
FROM sys.indexes
39+
WHERE name = 'IX_ProcessId_IdentityId'
40+
AND object_id = OBJECT_ID('WorkflowInbox'))
41+
BEGIN
42+
CREATE UNIQUE INDEX IX_ProcessId_IdentityId ON WorkflowInbox (ProcessId, IdentityId);
43+
END
44+
45+
IF NOT EXISTS(SELECT max_length
46+
FROM sys.columns
47+
WHERE columns.object_id = OBJECT_ID('WorkflowProcessTimer')
48+
AND columns.name = 'Name'
49+
AND columns.max_length = 1800)
50+
BEGIN
51+
ALTER TABLE WorkflowProcessTimer
52+
ALTER COLUMN Name NVARCHAR(900) NOT NULL;
53+
END
54+
55+
IF NOT EXISTS(SELECT *
56+
FROM sys.indexes
57+
WHERE name = 'IX_ProcessId_Name'
58+
AND object_id = OBJECT_ID('WorkflowProcessTimer'))
59+
BEGIN
60+
CREATE UNIQUE INDEX IX_ProcessId_Name ON WorkflowProcessTimer (ProcessId, Name);
61+
END
Collapse file

‎Providers/OptimaJet.Workflow.DbPersistence/SQL/DropPersistenceObjects.sql‎

Copy file name to clipboardExpand all lines: Providers/OptimaJet.Workflow.DbPersistence/SQL/DropPersistenceObjects.sql
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
Company: OptimaJet
33
Project: WorkflowEngine.NET Provider for MSSQL
4-
Version: 13.3
4+
Version: 14.1
55
File: DropPersistenceObjects.sql
66
*/
77

Collapse file

‎Providers/OptimaJet.Workflow.DbPersistence/SQL/InitialWorkflowEngineSchema.sql‎

Copy file name to clipboardExpand all lines: Providers/OptimaJet.Workflow.DbPersistence/SQL/InitialWorkflowEngineSchema.sql
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
Company: OptimaJet
33
Project: WorkflowEngine.NET Provider for MSSQL and Azure SQL
4-
Version: 13.3
4+
Version: 14.1
55
File: CreatePersistenceObjects.sql
66
*/
77

Collapse file

‎Providers/OptimaJet.Workflow.DbPersistence/Source/MSSQLProvider.cs‎

Copy file name to clipboardExpand all lines: Providers/OptimaJet.Workflow.DbPersistence/Source/MSSQLProvider.cs
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public async Task<List<SchemeItem>> GetSchemesAsync(List<(string parameterName,S
294294
Scheme = sc.Scheme,
295295
CanBeInlined = sc.CanBeInlined,
296296
InlinedSchemes = sc.GetInlinedSchemes(),
297-
Tags = TagHelper.FromTagString(sc.Tags),
297+
Tags = TagHelper.FromTagStringForDatabase(sc.Tags)
298298
}).ToList();
299299
}
300300

@@ -1062,6 +1062,11 @@ public virtual async Task<int> SetTimerIgnoreAsync(Guid timerId)
10621062

10631063
public virtual async Task<List<Core.Model.WorkflowTimer>> GetTopTimersToExecuteAsync(int top)
10641064
{
1065+
if (top <= 0)
1066+
{
1067+
throw new ArgumentException(ArgumentExceptionMessages.ArgumentMustBePositive(nameof(top), top));
1068+
}
1069+
10651070
DateTime now = _runtime.RuntimeDateTimeNow;
10661071

10671072
using var connection = OpenConnection();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.