Skip to content
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

Drop Messaging/Stream/Integration/SpEL #1246

Merged
merged 35 commits into from
Jan 12, 2024
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
3e79c5d
Remove Steeltoe.Messaging, Steeltoe.Stream, Steeltoe.Integration and …
bart-vmware Dec 4, 2023
9e1d445
Remove converters
bart-vmware Dec 5, 2023
9eaa553
Remove transactions
bart-vmware Dec 5, 2023
4e81e26
Remove order abstraction
bart-vmware Dec 5, 2023
0226c15
Remove AntPathMatcher
bart-vmware Dec 5, 2023
24cb477
Remove ClassUtils
bart-vmware Dec 5, 2023
450aa2e
Remove IdGenerator
bart-vmware Dec 5, 2023
e7c9241
Remove MimeType
bart-vmware Dec 5, 2023
245ba05
Remove ObjectEquality
bart-vmware Dec 5, 2023
6812901
Remove PatternMatchUtils
bart-vmware Dec 5, 2023
1cf40a2
Remove RouteMatcher/PathMatcher
bart-vmware Dec 5, 2023
5b92fa8
Remove ListExtensions
bart-vmware Dec 5, 2023
2eea674
Remove ExceptionDepthComparator
bart-vmware Dec 5, 2023
fc0f06b
Remove EncodingUtils
bart-vmware Dec 5, 2023
0822a77
Remove AttributeUtils
bart-vmware Dec 5, 2023
ac12871
Remove IErrorHandler
bart-vmware Dec 5, 2023
d258287
Remove Atomic* types
bart-vmware Dec 5, 2023
d6d5313
Remove IAsyncRunnable
bart-vmware Dec 5, 2023
ff7ed18
Remove IRoute
bart-vmware Dec 5, 2023
bd86687
Remove IRunnable
bart-vmware Dec 5, 2023
232821e
Remove IStringValueResolver
bart-vmware Dec 5, 2023
5139b55
Remove ITimerListener
bart-vmware Dec 5, 2023
49a54e5
Remove BackOff
bart-vmware Dec 5, 2023
36f4ac8
Remove CommandExecutor
bart-vmware Dec 5, 2023
5a3d57e
Remove ServiceAttribute
bart-vmware Dec 5, 2023
34ae830
Cleanup TestResources
bart-vmware Dec 5, 2023
2fb8884
Add orphaned test projects to solution
bart-vmware Jan 9, 2024
8e0ab19
Remove ILifecycle
bart-vmware Jan 12, 2024
5c671c1
Remove IApplicationContext
bart-vmware Jan 12, 2024
e56ff83
Remove unused entries from versions.props
bart-vmware Jan 12, 2024
e46b1a2
Remove Common.RetryPolly
bart-vmware Jan 12, 2024
d20660f
Remove IClassifier, IServiceNameAware
bart-vmware Jan 12, 2024
5c9222a
Remove deleted project from solution filter
bart-vmware Jan 12, 2024
386c32b
Code style check: do not batch when too many changed files
bart-vmware Jan 12, 2024
06b5d05
Update Resharper version, run full cleanup
bart-vmware Jan 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove ListExtensions
bart-vmware committed Jan 11, 2024
commit 5b92fa8702a8a981ed719afe2100e5b09bc06d88
26 changes: 0 additions & 26 deletions src/Common/src/Common/Util/IListExtensions.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -8,7 +8,6 @@
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Steeltoe.Common;
using Steeltoe.Common.Util;

namespace Steeltoe.Management.Endpoint.DbMigrations;

@@ -79,17 +78,35 @@ public async Task<Dictionary<string, DbMigrationsDescriptor>> InvokeAsync(object

try
{
descriptor.PendingMigrations.AddRange(_scanner.GetPendingMigrations(dbContext));
descriptor.AppliedMigrations.AddRange(_scanner.GetAppliedMigrations(dbContext));
AddRange(descriptor.PendingMigrations, _scanner.GetPendingMigrations(dbContext));
AddRange(descriptor.AppliedMigrations, _scanner.GetAppliedMigrations(dbContext));
}
catch (DbException exception) when (exception.Message.Contains("exist", StringComparison.Ordinal))
{
_logger.LogWarning(exception, "Encountered exception loading migrations: {exception}", exception.Message);
descriptor.PendingMigrations.AddRange(_scanner.GetMigrations(dbContext));
AddRange(descriptor.PendingMigrations, _scanner.GetMigrations(dbContext));
}
}
}

return result;
}

private static void AddRange<T>(IList<T> source, IEnumerable<T> items)
{
ArgumentGuard.NotNull(source);
ArgumentGuard.NotNull(items);

if (source is List<T> list)
{
list.AddRange(items);
}
else
{
foreach (T item in items)
{
source.Add(item);
}
}
}
}