-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
12735 update endpoint that sets datatype for process task to accept a…
…rray of data types (#12865) * Change data type in body to be list * Add tests * Fix PR comments
- Loading branch information
Showing
49 changed files
with
486 additions
and
341 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
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
5 changes: 3 additions & 2 deletions
5
...ner/Events/ProcessDataTypeChangedEvent.cs → ...er/Events/ProcessDataTypesChangedEvent.cs
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,11 +1,12 @@ | ||
using System.Collections.Generic; | ||
using Altinn.Studio.Designer.Models; | ||
using MediatR; | ||
|
||
namespace Altinn.Studio.Designer.Events; | ||
|
||
public class ProcessDataTypeChangedEvent : INotification | ||
public class ProcessDataTypesChangedEvent : INotification | ||
{ | ||
public string NewDataType { get; set; } | ||
public List<string> NewDataTypes { get; set; } | ||
public string ConnectedTaskId { get; set; } | ||
public AltinnRepoEditingContext EditingContext { get; set; } | ||
} |
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,9 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Altinn.Studio.Designer.Models.Dto; | ||
|
||
public class DataTypeChange | ||
public class DataTypesChange | ||
{ | ||
public string NewDataType { get; set; } | ||
public List<string> NewDataTypes { get; set; } | ||
public string ConnectedTaskId { get; set; } | ||
} |
143 changes: 0 additions & 143 deletions
143
...ProcessModelingController/FileSync/DataTypeChangeTests/LayoutSetsFileSyncDataTypeTests.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.