Skip to content

Commit 53f4525

Browse files
Ticket ## : Update migration files + readme + fix default.ps1
1 parent ec4ab14 commit 53f4525

13 files changed

Lines changed: 1399 additions & 155 deletions

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,18 @@ For project documentation, please visit [readthedocs](https://casemanagement.rea
1616

1717
| | | | |
1818
| --------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
19-
| `CaseManagement.CMMN` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/CaseManagement.CMMN.svg)](https://www.myget.org/feed/advance-ict/package/nuget/CaseManagement.CMMN) | [![NuGet](https://img.shields.io/nuget/v/CaseManagement.CMMN.svg)](https://nuget.org/packages/CaseManagement.CMMN) | [![NuGet](https://img.shields.io/nuget/dt/CaseManagement.CMMN.svg)](https://nuget.org/packages/CaseManagement.CMMN) |
19+
| `CaseManagement.BPMN` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/CaseManagement.BPMN.svg)](https://www.myget.org/feed/advance-ict/package/nuget/CaseManagement.BPMN) | [![NuGet](https://img.shields.io/nuget/v/CaseManagement.BPMN.svg)](https://nuget.org/packages/CaseManagement.BPMN) | [![NuGet](https://img.shields.io/nuget/dt/CaseManagement.BPMN.svg)](https://nuget.org/packages/CaseManagement.BPMN) |
20+
| `CaseManagement.BPMN.AspNetCore` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/CaseManagement.BPMN.AspNetCore.svg)](https://www.myget.org/feed/advance-ict/package/nuget/CaseManagement.BPMN.AspNetCore) | [![NuGet](https://img.shields.io/nuget/v/CaseManagement.BPMN.AspNetCore.svg)](https://nuget.org/packages/CaseManagement.BPMN.AspNetCore) | [![NuGet](https://img.shields.io/nuget/dt/CaseManagement.BPMN.AspNetCore.svg)](https://nuget.org/packages/CaseManagement.BPMN.AspNetCore) |
21+
| `CaseManagement.BPMN.Common` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/CaseManagement.BPMN.Common.svg)](https://www.myget.org/feed/advance-ict/package/nuget/CaseManagement.BPMN.Common) | [![NuGet](https://img.shields.io/nuget/v/CaseManagement.BPMN.Common.svg)](https://nuget.org/packages/CaseManagement.BPMN.Common) | [![NuGet](https://img.shields.io/nuget/dt/CaseManagement.BPMN.Common.svg)](https://nuget.org/packages/CaseManagement.BPMN.Common) |
22+
| `CaseManagement.BPMN.Persistence.EF` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/CaseManagement.BPMN.Persistence.EF.svg)](https://www.myget.org/feed/advance-ict/package/nuget/CaseManagement.BPMN.Persistence.EF) | [![NuGet](https://img.shields.io/nuget/v/CaseManagement.BPMN.Persistence.EF.svg)](https://nuget.org/packages/CaseManagement.BPMN.Persistence.EF) | [![NuGet](https://img.shields.io/nuget/dt/CaseManagement.BPMN.Persistence.EF.svg)](https://nuget.org/packages/CaseManagement.BPMN.Persistence.EF) |
23+
| `CaseManagement.CMMN` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/CaseManagement.CMMN.svg)](https://www.myget.org/feed/advance-ict/package/nuget/CaseManagement.CMMN) | [![NuGet](https://img.shields.io/nuget/v/CaseManagement.CMMN.svg)](https://nuget.org/packages/CaseManagement.CMMN) | [![NuGet](https://img.shields.io/nuget/dt/CaseManagement.CMMN.svg)](https://nuget.org/packages/CaseManagement.CMMN) |
2024
| `CaseManagement.CMMN.AspNetCore` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/CaseManagement.CMMN.AspNetCore.svg)](https://www.myget.org/feed/advance-ict/package/nuget/CaseManagement.CMMN.AspNetCore) | [![NuGet](https://img.shields.io/nuget/v/CaseManagement.CMMN.AspNetCore.svg)](https://nuget.org/packages/CaseManagement.CMMN.AspNetCore) | [![NuGet](https://img.shields.io/nuget/dt/CaseManagement.CMMN.AspNetCore.svg)](https://nuget.org/packages/CaseManagement.CMMN.AspNetCore) |
21-
| `CaseManagement.CMMN.SqlServer` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/CaseManagement.CMMN.SqlServer.svg)](https://www.myget.org/feed/advance-ict/package/nuget/CaseManagement.CMMN.SqlServer) | [![NuGet](https://img.shields.io/nuget/v/CaseManagement.CMMN.SqlServer.svg)](https://nuget.org/packages/CaseManagement.CMMN.SqlServer) | [![NuGet](https://img.shields.io/nuget/dt/CaseManagement.CMMN.SqlServer.svg)](https://nuget.org/packages/CaseManagement.CMMN.SqlServer) |
2225
| `CaseManagement.CMMN.Persistence.EF` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/CaseManagement.CMMN.Persistence.EF.svg)](https://www.myget.org/feed/advance-ict/package/nuget/CaseManagement.CMMN.Persistence.EF) | [![NuGet](https://img.shields.io/nuget/v/CaseManagement.CMMN.Persistence.EF.svg)](https://nuget.org/packages/CaseManagement.CMMN.Persistence.EF) | [![NuGet](https://img.shields.io/nuget/dt/CaseManagement.CMMN.Persistence.EF.svg)](https://nuget.org/packages/CaseManagement.CMMN.Persistence.EF) |
26+
| `CaseManagement.Common` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/CaseManagement.Common.svg)](https://www.myget.org/feed/advance-ict/package/nuget/CaseManagement.Common) | [![NuGet](https://img.shields.io/nuget/v/CaseManagement.Common.svg)](https://nuget.org/packages/CaseManagement.Common) | [![NuGet](https://img.shields.io/nuget/dt/CaseManagement.Common.svg)](https://nuget.org/packages/CaseManagement.Common) |
27+
| `CaseManagement.Common.SqlServer` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/CaseManagement.Common.SqlServer.svg)](https://www.myget.org/feed/advance-ict/package/nuget/CaseManagement.Common.SqlServer) | [![NuGet](https://img.shields.io/nuget/v/CaseManagement.Common.SqlServer.svg)](https://nuget.org/packages/CaseManagement.Common.SqlServer) | [![NuGet](https://img.shields.io/nuget/dt/CaseManagement.Common.SqlServer.svg)](https://nuget.org/packages/CaseManagement.Common.SqlServer) |
28+
| `CaseManagement.HumanTask` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/CaseManagement.HumanTask.svg)](https://www.myget.org/feed/advance-ict/package/nuget/CaseManagement.HumanTask) | [![NuGet](https://img.shields.io/nuget/v/CaseManagement.HumanTask.svg)](https://nuget.org/packages/CaseManagement.HumanTask) | [![NuGet](https://img.shields.io/nuget/dt/CaseManagement.HumanTask.svg)](https://nuget.org/packages/CaseManagement.HumanTask) |
29+
| `CaseManagement.HumanTask.AspNetCore` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/CaseManagement.HumanTask.AspNetCore.svg)](https://www.myget.org/feed/advance-ict/package/nuget/CaseManagement.HumanTask.AspNetCore) | [![NuGet](https://img.shields.io/nuget/v/CaseManagement.HumanTask.AspNetCore.svg)](https://nuget.org/packages/CaseManagement.HumanTask.AspNetCore) | [![NuGet](https://img.shields.io/nuget/dt/CaseManagement.HumanTask.AspNetCore.svg)](https://nuget.org/packages/CaseManagement.HumanTask.AspNetCore) |
30+
| `CaseManagement.HumanTask.Persistence.EF` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/CaseManagement.HumanTask.Persistence.EF.svg)](https://www.myget.org/feed/advance-ict/package/nuget/CaseManagement.HumanTask.Persistence.EF) | [![NuGet](https://img.shields.io/nuget/v/CaseManagement.HumanTask.Persistence.EF.svg)](https://nuget.org/packages/CaseManagement.HumanTask.Persistence.EF) | [![NuGet](https://img.shields.io/nuget/dt/CaseManagement.HumanTask.Persistence.EF.svg)](https://nuget.org/packages/CaseManagement.HumanTask.Persistence.EF) |
2331

2432
## Contributing
2533

@@ -38,9 +46,13 @@ Business analyst credentials :
3846
| login | businessanalyst |
3947
| value | password |
4048

41-
Case worker credentials :
49+
### Tasklist website
50+
51+
Tasklist live demo : [http://simpleidserver.northeurope.cloudapp.azure.com/casemanagement](http://simpleidserver.northeurope.cloudapp.azure.com/tasklist).
52+
53+
Business analyst credentials :
4254

4355
| Property | Value |
4456
|---------------|-----------------|
45-
| login | caseworker |
57+
| login | businessanalyst |
4658
| value | password |

default.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ task ci -depends clean, release, local, pack, publish
2020
task publish {
2121
exec { dotnet publish $source_dir\CaseManagement.CMMN.Host\CaseManagement.CMMN.Host.csproj -c $config -o $result_dir\services\CaseManagementApi }
2222
exec { dotnet publish $source_dir\CaseManagement.BPMN.Host\CaseManagement.BPMN.Host.csproj -c $config -o $result_dir\services\BpmnApi }
23-
exec { dotnet publish $source_dir\CCaseManagement.HumanTask.Host\CaseManagement.HumanTask.Host.csproj -c $config -o $result_dir\services\HumanTaskApi }
23+
exec { dotnet publish $source_dir\CaseManagement.HumanTask.Host\CaseManagement.HumanTask.Host.csproj -c $config -o $result_dir\services\HumanTaskApi }
2424
exec { npm install $source_dir\CaseManagement.Website --prefix $source_dir\CaseManagement.Website }
2525
exec { npm run build-azure --prefix $source_dir\CaseManagement.Website }
2626
exec { dotnet publish $source_dir\CaseManagement.Website -c $config -o $result_dir\services\CaseManagementWebsite }
@@ -57,7 +57,6 @@ task pack -depends compile {
5757
exec { dotnet pack $source_dir\CaseManagement.BPMN.AspNetCore\CaseManagement.BPMN.AspNetCore.csproj -c $config --no-build $versionSuffix --output $result_dir }
5858
exec { dotnet pack $source_dir\CaseManagement.BPMN.Common\CaseManagement.BPMN.Common.csproj -c $config --no-build $versionSuffix --output $result_dir }
5959
exec { dotnet pack $source_dir\CaseManagement.BPMN.Persistence.EF\CaseManagement.BPMN.Persistence.EF.csproj -c $config --no-build $versionSuffix --output $result_dir }
60-
exec { dotnet pack $source_dir\CaseManagement.BPMN.Persistence.EF\CaseManagement.BPMN.Persistence.EF.csproj -c $config --no-build $versionSuffix --output $result_dir }
6160
exec { dotnet pack $source_dir\CaseManagement.CMMN\CaseManagement.CMMN.csproj -c $config --no-build $versionSuffix --output $result_dir }
6261
exec { dotnet pack $source_dir\CaseManagement.CMMN.AspNetCore\CaseManagement.CMMN.AspNetCore.csproj -c $config --no-build $versionSuffix --output $result_dir }
6362
exec { dotnet pack $source_dir\CaseManagement.CMMN.Persistence.EF\CaseManagement.CMMN.Persistence.EF.csproj -c $config --no-build $versionSuffix --output $result_dir }

src/CaseManagement.BPMN.SqlServer.Host/CaseManagement.BPMN.SqlServer.Host.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
3232
</None>
3333
</ItemGroup>
34-
<ItemGroup>
35-
<Folder Include="Migrations\" />
36-
</ItemGroup>
3734
<ItemGroup>
3835
<None Include="..\..\key.snk" Link="key.snk" />
3936
</ItemGroup>

src/CaseManagement.BPMN.SqlServer.Host/Migrations/20201206185830_Init.Designer.cs renamed to src/CaseManagement.BPMN.SqlServer.Host/Migrations/20201218131021_Init.Designer.cs

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/CaseManagement.BPMN.SqlServer.Host/Migrations/20201206185830_Init.cs renamed to src/CaseManagement.BPMN.SqlServer.Host/Migrations/20201218131021_Init.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
1414
Id = table.Column<string>(nullable: false),
1515
Version = table.Column<int>(nullable: false),
1616
FileId = table.Column<string>(nullable: true),
17+
NbInstances = table.Column<int>(nullable: false),
1718
Name = table.Column<string>(nullable: true),
1819
Description = table.Column<string>(nullable: true),
1920
CreateDateTime = table.Column<DateTime>(nullable: false),

src/CaseManagement.BPMN.SqlServer.Host/Migrations/BPMNDbContextModelSnapshot.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ protected override void BuildModel(ModelBuilder modelBuilder)
287287
b.Property<string>("Name")
288288
.HasColumnType("nvarchar(max)");
289289

290+
b.Property<int>("NbInstances")
291+
.HasColumnType("int");
292+
290293
b.Property<string>("Payload")
291294
.HasColumnType("nvarchar(max)");
292295

0 commit comments

Comments
 (0)