-
Notifications
You must be signed in to change notification settings - Fork 0
update E2E test to work with polling #539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
31c870c
updates E2E test to work with polling
tomhawkin f1f704a
updates based on feedback
tomhawkin 468ad14
SUI-1547: small tidy/updates:
robshakespeare 2a02b89
Resolve code analysis warnings
robshakespeare a351732
SQ strangeness
robshakespeare 4f5fe0c
SQ strangeness 2
robshakespeare 89f6f78
Resolve SQ issue
robshakespeare 8ab5c83
Merge remote-tracking branch 'origin/main' into feat/sui-1547
robshakespeare 4f0ff55
Merge branch 'main' into feat/sui-1547
tomhawkin 3b67256
sui-1653: remove duplicated auth-clients.json file
udara-jay 7273a7b
sui-1653: recommit deleted file
udara-jay 1fcf056
chore: sui-1653 - rename json auth client files part 1
udara-jay a81d8c5
sui-1653 - update gitleaks, trufflehog exclude paths and remove dupli…
udara-jay 5c741ef
fix: SUI-1542 - polling fixes
robshakespeare 6faf1ae
fix: SUI-1542 - polling fix: multiple records can be submitted per jo…
robshakespeare 40dbcca
Merge branch 'polling-fixes-2' into feat/sui-1547_TEST
robshakespeare 518c6ed
e2e: SUI-1547 - more updates to cater for the differences between ver…
robshakespeare bbf6cca
feat: SUI-1662 - mask record URLs in the Search Results, in the polli…
robshakespeare b8134b8
e2e: SUI-1547 - polling implementation is inherently slower, so needs…
robshakespeare 8149340
Merge branch 'SUI-1662_mask-polling-rec-urls' into feat/sui-1547
robshakespeare 3720492
fix: problem response from Custodian should set correct status code (…
robshakespeare 875c24c
fix: HTTP->HTTPS redirect was breaking fetch record, so allow Stubs t…
robshakespeare 5f0da67
workaround: increase URL TTL, the Polling Architecture needs longer b…
robshakespeare 00f34ac
SUI-1664: fix AI found code analysis issues
robshakespeare d8cc51d
fix: SUI-1664 - corrected fundamental design flaw in logic to calcula…
robshakespeare 0c5b8b1
Merge branch 'SUI-1664' into feat/sui-1547
robshakespeare 0ebeaf8
chore: improved assertion
robshakespeare 29f4bb4
fix: codeQL issue
robshakespeare 9d51a22
Merge remote-tracking branch 'origin/main' into feat/sui-1547
robshakespeare File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
14 changes: 3 additions & 11 deletions
14
Apps/Find/src/SUI.Find.Application/Dtos/SearchResultEntry.cs
This file contains hidden or 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 hidden or 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
8 changes: 1 addition & 7 deletions
8
Apps/Find/src/SUI.Find.Application/Models/SearchResultsV2Dto.cs
This file contains hidden or 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,13 +1,7 @@ | ||
| using SUI.Find.Application.Dtos; | ||
| using SUI.Find.Application.Enums; | ||
|
|
||
| namespace SUI.Find.Application.Models; | ||
|
|
||
| public record SearchResultsV2Dto | ||
| public record SearchResultsV2Dto : SearchResultsDto | ||
| { | ||
| public string WorkItemId { get; init; } = string.Empty; | ||
| public string Suid { get; init; } = string.Empty; | ||
| public SearchStatus Status { get; init; } | ||
| public IReadOnlyList<SearchResultEntry> Items { get; init; } = []; | ||
| public int CompletenessPercentage { get; init; } | ||
| } |
This file contains hidden or 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
17 changes: 17 additions & 0 deletions
17
Apps/Find/src/SUI.Find.FindApi/Models/SearchResultsBase.cs
This file contains hidden or 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,17 @@ | ||
| using System.Diagnostics.CodeAnalysis; | ||
| using System.Text.Json.Serialization; | ||
| using SUI.Find.Application.Enums; | ||
| using SUI.Find.Application.Models; | ||
|
|
||
| namespace SUI.Find.FindApi.Models; | ||
|
|
||
| public record SearchResultsBase | ||
| { | ||
| [ExcludeFromCodeCoverage] | ||
| public required string Suid { get; init; } = string.Empty; | ||
|
|
||
| [JsonConverter(typeof(JsonStringEnumConverter))] | ||
| public required SearchStatus Status { get; init; } | ||
|
|
||
| public SearchResultItem[] Items { get; init; } = []; | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.