From 6afd71604bbfc4ed878e4fc827e77c6b94b1aeaf Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Mon, 9 Dec 2019 19:57:03 +0100 Subject: [PATCH 1/8] Correct license header in accordance with CLA --- .../SnapshotStores/PostgresSqlSnapshotStoreTests.cs | 2 +- .../EventStores/EventFlowEventStoresPostgresSqlTests.cs | 2 +- .../IntegrationTests/EventStores/PostgresSqlEventStoreTests.cs | 2 +- .../IntegrationTests/EventStores/PostgresSqlScriptsTests.cs | 2 +- .../ReadStores/PostgresSqlReadModelStoreTests.cs | 2 +- .../QueryHandlers/PostgresSqlThingyGetMessagesQueryHandler.cs | 2 +- .../QueryHandlers/PostgresSqlThingyGetQueryHandler.cs | 2 +- .../QueryHandlers/PostgresSqlThingyGetVersionQueryHandler.cs | 2 +- .../ReadStores/ReadModels/PostgresSqlThingyMessageReadModel.cs | 2 +- .../ReadStores/ReadModels/PostgresSqlThingyReadModel.cs | 2 +- .../SnapshotStores/EventFlowSnapshotStoresPostgresSqlTests.cs | 2 +- .../SnapshotStores/PostgresSqlSnapshotStoreTests.cs | 2 +- .../TestHelpers/IPostgresSqlDatabase.cs | 2 +- .../TestHelpers/PostgresSqlConnectionString.cs | 2 +- .../EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlHelpz.cs | 2 +- .../TestHelpers/PostgressSqlDatabase.cs | 2 +- .../Connections/IPostgresSqlConfiguration.cs | 2 +- .../EventFlow.PostgreSql/Connections/IPostgresSqlConnection.cs | 2 +- .../Connections/IPostgresSqlConnectionFactory.cs | 2 +- .../Connections/PostgresSqlConfiguration.cs | 2 +- .../EventFlow.PostgreSql/Connections/PostgresSqlConnection.cs | 2 +- .../Connections/PostgresSqlConnectionFactory.cs | 2 +- .../EventStores/EventFlowEventStoresPostgresSql.cs | 2 +- .../EventStores/PostgresSqlEventPersistence.cs | 2 +- .../EventFlowOptionsPostgresSqlEventStoreExtensions.cs | 2 +- .../Extensions/EventFlowOptionsPostgresSqlExtensions.cs | 2 +- .../EventFlowOptionsPostgresSqlReadStoreExtensions.cs | 2 +- .../Extensions/EventFlowOptionsSnapshotExtensions.cs | 2 +- Source/EventFlow.PostgreSql/IPostgresSqlDatabaseMigrator.cs | 2 +- Source/EventFlow.PostgreSql/PostgresSqlDatabaseMigrator.cs | 2 +- .../Attributes/PostgresSqlReadModelIdentityColumnAttribute.cs | 2 +- .../Attributes/PostgresSqlReadModelIgnoreColumnAttribute.cs | 2 +- .../Attributes/PostgresSqlReadModelVersionColumnAttribute.cs | 2 +- .../EventFlow.PostgreSql/ReadStores/IPostgresReadModelStore.cs | 2 +- Source/EventFlow.PostgreSql/ReadStores/IPostgressqlReadModel.cs | 2 +- .../ReadStores/PostgresSqlReadModelStore.cs | 2 +- Source/EventFlow.PostgreSql/ReadStores/PostgressqlReadModel.cs | 2 +- .../RetryStrategies/IPostgresSqlErrorRetryStrategy.cs | 2 +- .../RetryStrategies/PostgresSqlErrorRetryStrategy.cs | 2 +- .../SnapshotStores/EventFlowSnapshotStoresPostGresSql.cs | 2 +- .../SnapshotStores/PostgresSqlSnapshotPersistence.cs | 2 +- 41 files changed, 41 insertions(+), 41 deletions(-) diff --git a/Source/EventFlow.MongoDB.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs b/Source/EventFlow.MongoDB.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs index 9aa6e30bc..4ce971b6c 100644 --- a/Source/EventFlow.MongoDB.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs +++ b/Source/EventFlow.MongoDB.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/EventFlowEventStoresPostgresSqlTests.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/EventFlowEventStoresPostgresSqlTests.cs index 6caebdd82..7ea849311 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/EventFlowEventStoresPostgresSqlTests.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/EventFlowEventStoresPostgresSqlTests.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlEventStoreTests.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlEventStoreTests.cs index 990b1c15e..aa4d66470 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlEventStoreTests.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlEventStoreTests.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlScriptsTests.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlScriptsTests.cs index eba42e90d..2d5d28033 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlScriptsTests.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlScriptsTests.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/PostgresSqlReadModelStoreTests.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/PostgresSqlReadModelStoreTests.cs index 8a22eca27..9ba995019 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/PostgresSqlReadModelStoreTests.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/PostgresSqlReadModelStoreTests.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetMessagesQueryHandler.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetMessagesQueryHandler.cs index 181bcedc5..2a345b35f 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetMessagesQueryHandler.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetMessagesQueryHandler.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetQueryHandler.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetQueryHandler.cs index defbc48a7..f94d94832 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetQueryHandler.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetQueryHandler.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetVersionQueryHandler.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetVersionQueryHandler.cs index fc28c0902..55029ff50 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetVersionQueryHandler.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetVersionQueryHandler.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyMessageReadModel.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyMessageReadModel.cs index f710e6779..00ae6f6d4 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyMessageReadModel.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyMessageReadModel.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyReadModel.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyReadModel.cs index 6492ed94f..89bc5be58 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyReadModel.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyReadModel.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/EventFlowSnapshotStoresPostgresSqlTests.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/EventFlowSnapshotStoresPostgresSqlTests.cs index 197ffc965..f4c4999ca 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/EventFlowSnapshotStoresPostgresSqlTests.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/EventFlowSnapshotStoresPostgresSqlTests.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs index 2c9697f47..385a1072f 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/TestHelpers/IPostgresSqlDatabase.cs b/Source/EventFlow.PostgreSql.Tests/TestHelpers/IPostgresSqlDatabase.cs index 8e0df3b65..dd8bf944e 100644 --- a/Source/EventFlow.PostgreSql.Tests/TestHelpers/IPostgresSqlDatabase.cs +++ b/Source/EventFlow.PostgreSql.Tests/TestHelpers/IPostgresSqlDatabase.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlConnectionString.cs b/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlConnectionString.cs index 9b6005d29..74643240d 100644 --- a/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlConnectionString.cs +++ b/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlConnectionString.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/rasmus/Helpz // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlHelpz.cs b/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlHelpz.cs index 96ea9a5e8..0ef463c6a 100644 --- a/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlHelpz.cs +++ b/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlHelpz.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgressSqlDatabase.cs b/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgressSqlDatabase.cs index 350a03a22..a5d2123f9 100644 --- a/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgressSqlDatabase.cs +++ b/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgressSqlDatabase.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConfiguration.cs b/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConfiguration.cs index 0247df83c..4625fb414 100644 --- a/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConfiguration.cs +++ b/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConfiguration.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnection.cs b/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnection.cs index 2d550aded..5f1b597fa 100644 --- a/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnection.cs +++ b/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnection.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnectionFactory.cs b/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnectionFactory.cs index ab9f25cae..2a5eb3fc8 100644 --- a/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnectionFactory.cs +++ b/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnectionFactory.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Connections/PostgresSqlConfiguration.cs b/Source/EventFlow.PostgreSql/Connections/PostgresSqlConfiguration.cs index 634b85412..0a6838093 100644 --- a/Source/EventFlow.PostgreSql/Connections/PostgresSqlConfiguration.cs +++ b/Source/EventFlow.PostgreSql/Connections/PostgresSqlConfiguration.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnection.cs b/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnection.cs index 22ce67c9d..cf0dd95d0 100644 --- a/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnection.cs +++ b/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnection.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnectionFactory.cs b/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnectionFactory.cs index 50e935681..02adec47c 100644 --- a/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnectionFactory.cs +++ b/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnectionFactory.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/EventStores/EventFlowEventStoresPostgresSql.cs b/Source/EventFlow.PostgreSql/EventStores/EventFlowEventStoresPostgresSql.cs index 70c23c623..4ce07be43 100644 --- a/Source/EventFlow.PostgreSql/EventStores/EventFlowEventStoresPostgresSql.cs +++ b/Source/EventFlow.PostgreSql/EventStores/EventFlowEventStoresPostgresSql.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/EventStores/PostgresSqlEventPersistence.cs b/Source/EventFlow.PostgreSql/EventStores/PostgresSqlEventPersistence.cs index 38ecd87c8..cd375b796 100644 --- a/Source/EventFlow.PostgreSql/EventStores/PostgresSqlEventPersistence.cs +++ b/Source/EventFlow.PostgreSql/EventStores/PostgresSqlEventPersistence.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlEventStoreExtensions.cs b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlEventStoreExtensions.cs index 43efda484..df341f39f 100644 --- a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlEventStoreExtensions.cs +++ b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlEventStoreExtensions.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlExtensions.cs b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlExtensions.cs index 6a310a555..94f0d881e 100644 --- a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlExtensions.cs +++ b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlExtensions.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlReadStoreExtensions.cs b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlReadStoreExtensions.cs index 828154e19..4456e000c 100644 --- a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlReadStoreExtensions.cs +++ b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlReadStoreExtensions.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsSnapshotExtensions.cs b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsSnapshotExtensions.cs index f8b5c751f..eefb0a3bb 100644 --- a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsSnapshotExtensions.cs +++ b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsSnapshotExtensions.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/IPostgresSqlDatabaseMigrator.cs b/Source/EventFlow.PostgreSql/IPostgresSqlDatabaseMigrator.cs index 7499ef646..64dfde814 100644 --- a/Source/EventFlow.PostgreSql/IPostgresSqlDatabaseMigrator.cs +++ b/Source/EventFlow.PostgreSql/IPostgresSqlDatabaseMigrator.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/PostgresSqlDatabaseMigrator.cs b/Source/EventFlow.PostgreSql/PostgresSqlDatabaseMigrator.cs index 41f02d4e1..2456c5738 100644 --- a/Source/EventFlow.PostgreSql/PostgresSqlDatabaseMigrator.cs +++ b/Source/EventFlow.PostgreSql/PostgresSqlDatabaseMigrator.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIdentityColumnAttribute.cs b/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIdentityColumnAttribute.cs index 45923f343..e75e288bc 100644 --- a/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIdentityColumnAttribute.cs +++ b/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIdentityColumnAttribute.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIgnoreColumnAttribute.cs b/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIgnoreColumnAttribute.cs index f502f67ff..e78aa639a 100644 --- a/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIgnoreColumnAttribute.cs +++ b/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIgnoreColumnAttribute.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelVersionColumnAttribute.cs b/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelVersionColumnAttribute.cs index bfedfacf2..798d5705d 100644 --- a/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelVersionColumnAttribute.cs +++ b/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelVersionColumnAttribute.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/ReadStores/IPostgresReadModelStore.cs b/Source/EventFlow.PostgreSql/ReadStores/IPostgresReadModelStore.cs index 4c6af48ed..3acadf0fc 100644 --- a/Source/EventFlow.PostgreSql/ReadStores/IPostgresReadModelStore.cs +++ b/Source/EventFlow.PostgreSql/ReadStores/IPostgresReadModelStore.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/ReadStores/IPostgressqlReadModel.cs b/Source/EventFlow.PostgreSql/ReadStores/IPostgressqlReadModel.cs index 408c96661..24c0afbd3 100644 --- a/Source/EventFlow.PostgreSql/ReadStores/IPostgressqlReadModel.cs +++ b/Source/EventFlow.PostgreSql/ReadStores/IPostgressqlReadModel.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/ReadStores/PostgresSqlReadModelStore.cs b/Source/EventFlow.PostgreSql/ReadStores/PostgresSqlReadModelStore.cs index f78361010..7541108f6 100644 --- a/Source/EventFlow.PostgreSql/ReadStores/PostgresSqlReadModelStore.cs +++ b/Source/EventFlow.PostgreSql/ReadStores/PostgresSqlReadModelStore.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/ReadStores/PostgressqlReadModel.cs b/Source/EventFlow.PostgreSql/ReadStores/PostgressqlReadModel.cs index fee77249a..0cf886904 100644 --- a/Source/EventFlow.PostgreSql/ReadStores/PostgressqlReadModel.cs +++ b/Source/EventFlow.PostgreSql/ReadStores/PostgressqlReadModel.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/RetryStrategies/IPostgresSqlErrorRetryStrategy.cs b/Source/EventFlow.PostgreSql/RetryStrategies/IPostgresSqlErrorRetryStrategy.cs index d66dd0191..3b14ee1e7 100644 --- a/Source/EventFlow.PostgreSql/RetryStrategies/IPostgresSqlErrorRetryStrategy.cs +++ b/Source/EventFlow.PostgreSql/RetryStrategies/IPostgresSqlErrorRetryStrategy.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/RetryStrategies/PostgresSqlErrorRetryStrategy.cs b/Source/EventFlow.PostgreSql/RetryStrategies/PostgresSqlErrorRetryStrategy.cs index 75bfdbb99..d97426c2d 100644 --- a/Source/EventFlow.PostgreSql/RetryStrategies/PostgresSqlErrorRetryStrategy.cs +++ b/Source/EventFlow.PostgreSql/RetryStrategies/PostgresSqlErrorRetryStrategy.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/SnapshotStores/EventFlowSnapshotStoresPostGresSql.cs b/Source/EventFlow.PostgreSql/SnapshotStores/EventFlowSnapshotStoresPostGresSql.cs index 8e5a4da9d..1e3244222 100644 --- a/Source/EventFlow.PostgreSql/SnapshotStores/EventFlowSnapshotStoresPostGresSql.cs +++ b/Source/EventFlow.PostgreSql/SnapshotStores/EventFlowSnapshotStoresPostGresSql.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/SnapshotStores/PostgresSqlSnapshotPersistence.cs b/Source/EventFlow.PostgreSql/SnapshotStores/PostgresSqlSnapshotPersistence.cs index 40c262a79..8f2daa511 100644 --- a/Source/EventFlow.PostgreSql/SnapshotStores/PostgresSqlSnapshotPersistence.cs +++ b/Source/EventFlow.PostgreSql/SnapshotStores/PostgresSqlSnapshotPersistence.cs @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rida Messaoudene +// Copyright (c) 2015-2018 Rasmus Mikkelsen // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of From ee6e45bd3a289cbc9e8a7e50c1b0ae3ff51aa8c0 Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Mon, 9 Dec 2019 20:11:29 +0100 Subject: [PATCH 2/8] Add missing license header --- .../PostgresReadModelSqlGenerator.cs | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/Source/EventFlow.PostgreSql/ReadModels/PostgresReadModelSqlGenerator.cs b/Source/EventFlow.PostgreSql/ReadModels/PostgresReadModelSqlGenerator.cs index 0cc493bca..9e1ee265c 100644 --- a/Source/EventFlow.PostgreSql/ReadModels/PostgresReadModelSqlGenerator.cs +++ b/Source/EventFlow.PostgreSql/ReadModels/PostgresReadModelSqlGenerator.cs @@ -1,4 +1,26 @@ -using EventFlow.Sql.ReadModels; +// The MIT License (MIT) +// +// Copyright (c) 2015-2018 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.Sql.ReadModels; namespace EventFlow.PostgreSql.ReadModels { @@ -10,4 +32,4 @@ public PostgresReadModelSqlGenerator() QuotedIdentifierSuffix = "\""; } } -} \ No newline at end of file +} From 7c916140d925db59090f4954e15fff5e2bedc6db Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Mon, 9 Dec 2019 20:38:11 +0100 Subject: [PATCH 3/8] Add license to missing files and a test to verify it --- .../Properties/AssemblyInfo.cs | 26 ++++- .../Properties/AssemblyInfo.cs | 26 ++++- .../EventStores/MongoDbEventStoreTests.cs | 24 +++- .../Queries/MongoDbThingyGetWithLinqQuery.cs | 23 +++- .../MongoDbThingyGetWithLinqQueryHandler.cs | 25 ++++- .../IMongoDbEventPersistenceInitializer.cs | 26 ++++- .../EventStore/IMongoDbEventSequenceStore.cs | 24 +++- .../MongoDbEventPersistenceInitializer.cs | 23 +++- .../EventStore/MongoDbEventSequenceStore.cs | 26 ++++- ...tFlowOptionsMongoDbEventStoreExtensions.cs | 24 +++- .../EventFlowOptionsSnapshotExtensions.cs | 24 +++- .../Extensions/MongoDbOptionsExtensions.cs | 24 +++- .../MongoDbCollectionNameAttribute.cs | 24 +++- .../MongoDbGeoSpatialIndexAttribute.cs | 24 +++- .../ReadStores/IMongoDbReadModel.cs | 24 +++- .../ReadStores/IMongoDbReadModelStore.cs | 26 ++++- .../IReadModelDescriptionProvider.cs | 24 +++- .../ReadStores/MongoDbReadModelStore.cs | 24 +++- .../ReadModelDescriptionProvider.cs | 24 +++- .../MongoDbSnapshotPersistence.cs | 24 +++- .../ValueObjects/MongoDbCounterDataModel.cs | 24 +++- .../ValueObjects/MongoDbEventDataModel.cs | 24 +++- .../ValueObjects/MongoDbSnapshotDataModel.cs | 24 +++- .../ValueObjects/ReadModelDescription.cs | 24 +++- .../ValueObjects/RootCollectionName.cs | 24 +++- .../Extensions/MsSqlDatabaseExtensions.cs | 24 +++- .../IdentityIndexFragmentationTests.cs | 24 +++- .../IntegrationTests/CancellationTests.cs | 24 +++- Source/EventFlow.Tests/LicenseHeaderTests.cs | 104 ++++++++++++++++++ .../Serialization/JsonOptionsTests.cs | 28 ++++- .../Extensions/BootstrapExtensionTests.cs | 24 +++- .../JsonSerializerExtensionTests.cs | 28 ++++- .../AggregateSagas/AggregateSagaTests.cs | 24 +++- Source/EventFlow/Properties/AssemblyInfo.cs | 26 ++++- 34 files changed, 862 insertions(+), 53 deletions(-) create mode 100644 Source/EventFlow.Tests/LicenseHeaderTests.cs diff --git a/Source/EventFlow.Autofac/Properties/AssemblyInfo.cs b/Source/EventFlow.Autofac/Properties/AssemblyInfo.cs index 5bfd760a4..c354e3c6c 100644 --- a/Source/EventFlow.Autofac/Properties/AssemblyInfo.cs +++ b/Source/EventFlow.Autofac/Properties/AssemblyInfo.cs @@ -1,3 +1,25 @@ -using System.Runtime.CompilerServices; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -[assembly: InternalsVisibleTo("EventFlow.Autofac.Tests")] \ No newline at end of file +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("EventFlow.Autofac.Tests")] diff --git a/Source/EventFlow.DependencyInjection/Properties/AssemblyInfo.cs b/Source/EventFlow.DependencyInjection/Properties/AssemblyInfo.cs index a74cb4ab4..4bfd69b66 100644 --- a/Source/EventFlow.DependencyInjection/Properties/AssemblyInfo.cs +++ b/Source/EventFlow.DependencyInjection/Properties/AssemblyInfo.cs @@ -1,3 +1,25 @@ -using System.Runtime.CompilerServices; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -[assembly: InternalsVisibleTo("EventFlow.ServiceProvider.Tests")] \ No newline at end of file +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("EventFlow.ServiceProvider.Tests")] diff --git a/Source/EventFlow.MongoDB.Tests/IntegrationTests/EventStores/MongoDbEventStoreTests.cs b/Source/EventFlow.MongoDB.Tests/IntegrationTests/EventStores/MongoDbEventStoreTests.cs index 59edcc67e..5b5326a70 100644 --- a/Source/EventFlow.MongoDB.Tests/IntegrationTests/EventStores/MongoDbEventStoreTests.cs +++ b/Source/EventFlow.MongoDB.Tests/IntegrationTests/EventStores/MongoDbEventStoreTests.cs @@ -1,5 +1,25 @@ -using System; -using System.Threading.Tasks; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + using EventFlow.Configuration; using EventFlow.TestHelpers; using EventFlow.TestHelpers.Suites; diff --git a/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/Queries/MongoDbThingyGetWithLinqQuery.cs b/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/Queries/MongoDbThingyGetWithLinqQuery.cs index 078f83038..424ebd48b 100644 --- a/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/Queries/MongoDbThingyGetWithLinqQuery.cs +++ b/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/Queries/MongoDbThingyGetWithLinqQuery.cs @@ -1,7 +1,28 @@ +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + using System.Linq; using EventFlow.MongoDB.Tests.IntegrationTests.ReadStores.ReadModels; using EventFlow.Queries; -using EventFlow.TestHelpers.Aggregates; namespace EventFlow.MongoDB.Tests.IntegrationTests.ReadStores.Queries { diff --git a/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/QueryHandlers/MongoDbThingyGetWithLinqQueryHandler.cs b/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/QueryHandlers/MongoDbThingyGetWithLinqQueryHandler.cs index e130a0654..963189dc3 100644 --- a/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/QueryHandlers/MongoDbThingyGetWithLinqQueryHandler.cs +++ b/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/QueryHandlers/MongoDbThingyGetWithLinqQueryHandler.cs @@ -1,3 +1,25 @@ +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + using System.Linq; using System.Threading; using System.Threading.Tasks; @@ -5,7 +27,6 @@ using EventFlow.MongoDB.Tests.IntegrationTests.ReadStores.Queries; using EventFlow.MongoDB.Tests.IntegrationTests.ReadStores.ReadModels; using EventFlow.Queries; -using EventFlow.TestHelpers.Aggregates; namespace EventFlow.MongoDB.Tests.IntegrationTests.ReadStores.QueryHandlers { @@ -24,4 +45,4 @@ public Task> ExecuteQueryAsync(MongoDbThingyG return Task.FromResult(_readStore.AsQueryable()); } } -} \ No newline at end of file +} diff --git a/Source/EventFlow.MongoDB/EventStore/IMongoDbEventPersistenceInitializer.cs b/Source/EventFlow.MongoDB/EventStore/IMongoDbEventPersistenceInitializer.cs index bd2e7f2fd..570daa10e 100644 --- a/Source/EventFlow.MongoDB/EventStore/IMongoDbEventPersistenceInitializer.cs +++ b/Source/EventFlow.MongoDB/EventStore/IMongoDbEventPersistenceInitializer.cs @@ -1,8 +1,24 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. namespace EventFlow.MongoDB.EventStore { diff --git a/Source/EventFlow.MongoDB/EventStore/IMongoDbEventSequenceStore.cs b/Source/EventFlow.MongoDB/EventStore/IMongoDbEventSequenceStore.cs index 9c5ff6abb..6603bfd6a 100644 --- a/Source/EventFlow.MongoDB/EventStore/IMongoDbEventSequenceStore.cs +++ b/Source/EventFlow.MongoDB/EventStore/IMongoDbEventSequenceStore.cs @@ -1,4 +1,26 @@ -namespace EventFlow.MongoDB.EventStore +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +namespace EventFlow.MongoDB.EventStore { public interface IMongoDbEventSequenceStore { diff --git a/Source/EventFlow.MongoDB/EventStore/MongoDbEventPersistenceInitializer.cs b/Source/EventFlow.MongoDB/EventStore/MongoDbEventPersistenceInitializer.cs index 78f1796ed..187de4695 100644 --- a/Source/EventFlow.MongoDB/EventStore/MongoDbEventPersistenceInitializer.cs +++ b/Source/EventFlow.MongoDB/EventStore/MongoDbEventPersistenceInitializer.cs @@ -1,4 +1,25 @@ - +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + using EventFlow.MongoDB.ValueObjects; using MongoDB.Driver; diff --git a/Source/EventFlow.MongoDB/EventStore/MongoDbEventSequenceStore.cs b/Source/EventFlow.MongoDB/EventStore/MongoDbEventSequenceStore.cs index e83aea3bf..050d3cb8b 100644 --- a/Source/EventFlow.MongoDB/EventStore/MongoDbEventSequenceStore.cs +++ b/Source/EventFlow.MongoDB/EventStore/MongoDbEventSequenceStore.cs @@ -1,10 +1,30 @@ -using EventFlow.MongoDB.ValueObjects; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.MongoDB.ValueObjects; using MongoDB.Driver; namespace EventFlow.MongoDB.EventStore { - using System.Threading; - public class MongoDbEventSequenceStore : IMongoDbEventSequenceStore { private const string _collectionName = "eventflow.counter"; diff --git a/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsMongoDbEventStoreExtensions.cs b/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsMongoDbEventStoreExtensions.cs index efdd0a638..de5dca0fe 100644 --- a/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsMongoDbEventStoreExtensions.cs +++ b/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsMongoDbEventStoreExtensions.cs @@ -1,4 +1,26 @@ -using EventFlow.Extensions; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.Extensions; using EventFlow.MongoDB.EventStore; namespace EventFlow.MongoDB.Extensions diff --git a/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsSnapshotExtensions.cs b/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsSnapshotExtensions.cs index 174672fa3..f2a72ed4e 100644 --- a/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsSnapshotExtensions.cs +++ b/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsSnapshotExtensions.cs @@ -1,4 +1,26 @@ -using EventFlow.Extensions; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.Extensions; using EventFlow.MongoDB.SnapshotStores; namespace EventFlow.MongoDB.Extensions diff --git a/Source/EventFlow.MongoDB/Extensions/MongoDbOptionsExtensions.cs b/Source/EventFlow.MongoDB/Extensions/MongoDbOptionsExtensions.cs index 4aaa41b80..dbffad714 100644 --- a/Source/EventFlow.MongoDB/Extensions/MongoDbOptionsExtensions.cs +++ b/Source/EventFlow.MongoDB/Extensions/MongoDbOptionsExtensions.cs @@ -1,4 +1,26 @@ -using EventFlow.Configuration; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.Configuration; using EventFlow.Extensions; using EventFlow.MongoDB.ReadStores; using EventFlow.ReadStores; diff --git a/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbCollectionNameAttribute.cs b/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbCollectionNameAttribute.cs index f892deccf..93786be8a 100644 --- a/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbCollectionNameAttribute.cs +++ b/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbCollectionNameAttribute.cs @@ -1,4 +1,26 @@ -using System; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using System; namespace EventFlow.MongoDB.ReadStores.Attributes { diff --git a/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbGeoSpatialIndexAttribute.cs b/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbGeoSpatialIndexAttribute.cs index 7748f1766..a6ec1f338 100644 --- a/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbGeoSpatialIndexAttribute.cs +++ b/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbGeoSpatialIndexAttribute.cs @@ -1,4 +1,26 @@ -using System; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using System; namespace EventFlow.MongoDB.ReadStores.Attributes { diff --git a/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModel.cs b/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModel.cs index 0fb9bdf36..2520a115f 100644 --- a/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModel.cs +++ b/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModel.cs @@ -1,4 +1,26 @@ -using EventFlow.ReadStores; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.ReadStores; namespace EventFlow.MongoDB.ReadStores { diff --git a/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModelStore.cs b/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModelStore.cs index 45b496567..cd88106c6 100644 --- a/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModelStore.cs +++ b/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModelStore.cs @@ -1,4 +1,26 @@ -using EventFlow.ReadStores; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.ReadStores; using System; using System.Linq.Expressions; using System.Threading; @@ -14,7 +36,7 @@ public interface IMongoDbReadModelStore : IReadModelStore> FindAsync( Expression> filter, FindOptions options = null, - CancellationToken cancellationToken = default(CancellationToken)); + CancellationToken cancellationToken = default); IQueryable AsQueryable(); } diff --git a/Source/EventFlow.MongoDB/ReadStores/IReadModelDescriptionProvider.cs b/Source/EventFlow.MongoDB/ReadStores/IReadModelDescriptionProvider.cs index a4402be02..4a6d1131e 100644 --- a/Source/EventFlow.MongoDB/ReadStores/IReadModelDescriptionProvider.cs +++ b/Source/EventFlow.MongoDB/ReadStores/IReadModelDescriptionProvider.cs @@ -1,4 +1,26 @@ -using EventFlow.MongoDB.ValueObjects; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.MongoDB.ValueObjects; namespace EventFlow.MongoDB.ReadStores { diff --git a/Source/EventFlow.MongoDB/ReadStores/MongoDbReadModelStore.cs b/Source/EventFlow.MongoDB/ReadStores/MongoDbReadModelStore.cs index 740daecc0..1eac0f39f 100644 --- a/Source/EventFlow.MongoDB/ReadStores/MongoDbReadModelStore.cs +++ b/Source/EventFlow.MongoDB/ReadStores/MongoDbReadModelStore.cs @@ -1,4 +1,26 @@ -using System; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; diff --git a/Source/EventFlow.MongoDB/ReadStores/ReadModelDescriptionProvider.cs b/Source/EventFlow.MongoDB/ReadStores/ReadModelDescriptionProvider.cs index 53e9863b7..885d262ce 100644 --- a/Source/EventFlow.MongoDB/ReadStores/ReadModelDescriptionProvider.cs +++ b/Source/EventFlow.MongoDB/ReadStores/ReadModelDescriptionProvider.cs @@ -1,4 +1,26 @@ -using EventFlow.Extensions; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.Extensions; using EventFlow.MongoDB.ReadStores.Attributes; using EventFlow.MongoDB.ValueObjects; using System; diff --git a/Source/EventFlow.MongoDB/SnapshotStores/MongoDbSnapshotPersistence.cs b/Source/EventFlow.MongoDB/SnapshotStores/MongoDbSnapshotPersistence.cs index fd8629a15..2611dcbf9 100644 --- a/Source/EventFlow.MongoDB/SnapshotStores/MongoDbSnapshotPersistence.cs +++ b/Source/EventFlow.MongoDB/SnapshotStores/MongoDbSnapshotPersistence.cs @@ -1,4 +1,26 @@ -using EventFlow.Core; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.Core; using EventFlow.Extensions; using EventFlow.Logs; using EventFlow.MongoDB.ValueObjects; diff --git a/Source/EventFlow.MongoDB/ValueObjects/MongoDbCounterDataModel.cs b/Source/EventFlow.MongoDB/ValueObjects/MongoDbCounterDataModel.cs index 532a41db3..533f117d3 100644 --- a/Source/EventFlow.MongoDB/ValueObjects/MongoDbCounterDataModel.cs +++ b/Source/EventFlow.MongoDB/ValueObjects/MongoDbCounterDataModel.cs @@ -1,4 +1,26 @@ -using EventFlow.ValueObjects; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.ValueObjects; using MongoDB.Bson.Serialization.Attributes; namespace EventFlow.MongoDB.ValueObjects diff --git a/Source/EventFlow.MongoDB/ValueObjects/MongoDbEventDataModel.cs b/Source/EventFlow.MongoDB/ValueObjects/MongoDbEventDataModel.cs index ca37a0f19..e7b9cff01 100644 --- a/Source/EventFlow.MongoDB/ValueObjects/MongoDbEventDataModel.cs +++ b/Source/EventFlow.MongoDB/ValueObjects/MongoDbEventDataModel.cs @@ -1,4 +1,26 @@ -using System; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using System; using EventFlow.EventStores; using EventFlow.ValueObjects; using MongoDB.Bson.Serialization.Attributes; diff --git a/Source/EventFlow.MongoDB/ValueObjects/MongoDbSnapshotDataModel.cs b/Source/EventFlow.MongoDB/ValueObjects/MongoDbSnapshotDataModel.cs index 1328aaf15..f74ebb7b3 100644 --- a/Source/EventFlow.MongoDB/ValueObjects/MongoDbSnapshotDataModel.cs +++ b/Source/EventFlow.MongoDB/ValueObjects/MongoDbSnapshotDataModel.cs @@ -1,4 +1,26 @@ -using EventFlow.ValueObjects; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.ValueObjects; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using Newtonsoft.Json; diff --git a/Source/EventFlow.MongoDB/ValueObjects/ReadModelDescription.cs b/Source/EventFlow.MongoDB/ValueObjects/ReadModelDescription.cs index c9d893867..154f8a048 100644 --- a/Source/EventFlow.MongoDB/ValueObjects/ReadModelDescription.cs +++ b/Source/EventFlow.MongoDB/ValueObjects/ReadModelDescription.cs @@ -1,4 +1,26 @@ -using EventFlow.ValueObjects; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.ValueObjects; using System; using System.Collections.Generic; diff --git a/Source/EventFlow.MongoDB/ValueObjects/RootCollectionName.cs b/Source/EventFlow.MongoDB/ValueObjects/RootCollectionName.cs index 0550489bc..03401c2c9 100644 --- a/Source/EventFlow.MongoDB/ValueObjects/RootCollectionName.cs +++ b/Source/EventFlow.MongoDB/ValueObjects/RootCollectionName.cs @@ -1,4 +1,26 @@ -using EventFlow.ValueObjects; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.ValueObjects; using System; namespace EventFlow.MongoDB.ValueObjects diff --git a/Source/EventFlow.MsSql.Tests/Extensions/MsSqlDatabaseExtensions.cs b/Source/EventFlow.MsSql.Tests/Extensions/MsSqlDatabaseExtensions.cs index 24a224235..39d0cfe5a 100644 --- a/Source/EventFlow.MsSql.Tests/Extensions/MsSqlDatabaseExtensions.cs +++ b/Source/EventFlow.MsSql.Tests/Extensions/MsSqlDatabaseExtensions.cs @@ -1,4 +1,26 @@ -using System.Collections.Generic; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using System.Collections.Generic; using System.Linq; using Dapper; using EventFlow.TestHelpers.MsSql; diff --git a/Source/EventFlow.MsSql.Tests/IntegrationTests/IdentityIndexFragmentationTests.cs b/Source/EventFlow.MsSql.Tests/IntegrationTests/IdentityIndexFragmentationTests.cs index bb44eabf7..c9f1405dd 100644 --- a/Source/EventFlow.MsSql.Tests/IntegrationTests/IdentityIndexFragmentationTests.cs +++ b/Source/EventFlow.MsSql.Tests/IntegrationTests/IdentityIndexFragmentationTests.cs @@ -1,4 +1,26 @@ -using System; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using System; using System.Linq; using System.Threading; using EventFlow.Core; diff --git a/Source/EventFlow.Tests/IntegrationTests/CancellationTests.cs b/Source/EventFlow.Tests/IntegrationTests/CancellationTests.cs index df92468ec..71d766448 100644 --- a/Source/EventFlow.Tests/IntegrationTests/CancellationTests.cs +++ b/Source/EventFlow.Tests/IntegrationTests/CancellationTests.cs @@ -1,4 +1,26 @@ -using System; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; diff --git a/Source/EventFlow.Tests/LicenseHeaderTests.cs b/Source/EventFlow.Tests/LicenseHeaderTests.cs new file mode 100644 index 000000000..ef59bf9be --- /dev/null +++ b/Source/EventFlow.Tests/LicenseHeaderTests.cs @@ -0,0 +1,104 @@ +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using FluentAssertions; +using NUnit.Framework; + +namespace EventFlow.Tests +{ + public class LicenseHeaderTests + { + private static readonly char[] LineSplitters = {'\n', '\r'}; + + [Test] + public async Task EveryFileHasLicenseHeader() + { + var projectRoot = Helpers.GetProjectRoot(); + var sourceFilesPaths = GetSourceFilePaths(projectRoot); + + var sourceFiles = await Task.WhenAll(sourceFilesPaths.Select(GetSourceFileAsync)); + + var missingHeaders = sourceFiles + .Where(s => s.License.Count < 20) + .ToList(); + + missingHeaders.ForEach(Console.WriteLine); + + missingHeaders.Should().BeEmpty(); + } + + private static IEnumerable GetSourceFilePaths( + string directory) + { + var objDir = $"{Path.DirectorySeparatorChar}obj{Path.DirectorySeparatorChar}"; + return Directory.EnumerateFiles(directory, "*.cs", SearchOption.AllDirectories) + .Where(p => !p.Contains(objDir)); + } + + private static async Task GetSourceFileAsync(string path) + { + if (!File.Exists(path)) + { + throw new ArgumentException($"File not found: {path}", nameof(path)); + } + + string content; + using (var file = File.OpenText(path)) + { + content = await file.ReadToEndAsync(); + } + + var license = content + .Split(LineSplitters, StringSplitOptions.RemoveEmptyEntries) + .TakeWhile(l => l.StartsWith("//")) + .ToList(); + + return new SourceFile( + path, + license); + } + + private class SourceFile + { + public string Path { get; } + public IReadOnlyCollection License { get; } + + public SourceFile( + string path, + IReadOnlyCollection license) + { + Path = path; + License = license; + } + + public override string ToString() + { + return Path; + } + } + } +} diff --git a/Source/EventFlow.Tests/UnitTests/Configuration/Serialization/JsonOptionsTests.cs b/Source/EventFlow.Tests/UnitTests/Configuration/Serialization/JsonOptionsTests.cs index 1fb517a15..6585cec72 100644 --- a/Source/EventFlow.Tests/UnitTests/Configuration/Serialization/JsonOptionsTests.cs +++ b/Source/EventFlow.Tests/UnitTests/Configuration/Serialization/JsonOptionsTests.cs @@ -1,4 +1,26 @@ -using EventFlow.Configuration.Serialization; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.Configuration.Serialization; using EventFlow.Extensions; using EventFlow.TestHelpers; using EventFlow.ValueObjects; @@ -6,10 +28,6 @@ using Newtonsoft.Json; using NUnit.Framework; using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace EventFlow.Tests.UnitTests.Configuration.Serialization { diff --git a/Source/EventFlow.Tests/UnitTests/Extensions/BootstrapExtensionTests.cs b/Source/EventFlow.Tests/UnitTests/Extensions/BootstrapExtensionTests.cs index 55b985c43..bed6db2bb 100644 --- a/Source/EventFlow.Tests/UnitTests/Extensions/BootstrapExtensionTests.cs +++ b/Source/EventFlow.Tests/UnitTests/Extensions/BootstrapExtensionTests.cs @@ -1,4 +1,26 @@ -using System.Threading; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using System.Threading; using System.Threading.Tasks; using EventFlow.Configuration; using EventFlow.Extensions; diff --git a/Source/EventFlow.Tests/UnitTests/Extensions/JsonSerializerExtensionTests.cs b/Source/EventFlow.Tests/UnitTests/Extensions/JsonSerializerExtensionTests.cs index d610dc70a..19e6c7e16 100644 --- a/Source/EventFlow.Tests/UnitTests/Extensions/JsonSerializerExtensionTests.cs +++ b/Source/EventFlow.Tests/UnitTests/Extensions/JsonSerializerExtensionTests.cs @@ -1,4 +1,26 @@ -using EventFlow.Core; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.Core; using EventFlow.Extensions; using EventFlow.TestHelpers; using EventFlow.ValueObjects; @@ -6,10 +28,6 @@ using Newtonsoft.Json; using NUnit.Framework; using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace EventFlow.Tests.UnitTests.Extensions { diff --git a/Source/EventFlow.Tests/UnitTests/Sagas/AggregateSagas/AggregateSagaTests.cs b/Source/EventFlow.Tests/UnitTests/Sagas/AggregateSagas/AggregateSagaTests.cs index c6fc59330..b62b21ade 100644 --- a/Source/EventFlow.Tests/UnitTests/Sagas/AggregateSagas/AggregateSagaTests.cs +++ b/Source/EventFlow.Tests/UnitTests/Sagas/AggregateSagas/AggregateSagaTests.cs @@ -1,4 +1,26 @@ -using EventFlow.Aggregates; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +using EventFlow.Aggregates; using EventFlow.Aggregates.ExecutionResults; using EventFlow.Commands; using EventFlow.Exceptions; diff --git a/Source/EventFlow/Properties/AssemblyInfo.cs b/Source/EventFlow/Properties/AssemblyInfo.cs index 6d3106c66..0d4b3a30b 100644 --- a/Source/EventFlow/Properties/AssemblyInfo.cs +++ b/Source/EventFlow/Properties/AssemblyInfo.cs @@ -1,3 +1,25 @@ -using System.Runtime.CompilerServices; +// The MIT License (MIT) +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// https://github.com/eventflow/EventFlow +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -[assembly: InternalsVisibleTo("EventFlow.Tests")] \ No newline at end of file +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("EventFlow.Tests")] From 36096062e9688909f9b9fff9b9c328469b378caa Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Mon, 9 Dec 2019 20:52:38 +0100 Subject: [PATCH 4/8] Verify file headers content --- Source/EventFlow.Tests/LicenseHeaderTests.cs | 35 +++++++++++++++++--- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/Source/EventFlow.Tests/LicenseHeaderTests.cs b/Source/EventFlow.Tests/LicenseHeaderTests.cs index ef59bf9be..d140cddf6 100644 --- a/Source/EventFlow.Tests/LicenseHeaderTests.cs +++ b/Source/EventFlow.Tests/LicenseHeaderTests.cs @@ -28,27 +28,54 @@ using FluentAssertions; using NUnit.Framework; +// ReSharper disable StringLiteralTypo + namespace EventFlow.Tests { public class LicenseHeaderTests { private static readonly char[] LineSplitters = {'\n', '\r'}; + private static readonly ISet ExternalFiles = new HashSet(StringComparer.OrdinalIgnoreCase) + { + Path.Combine("EventFlow", "Core", "HashHelper.cs"), + Path.Combine("EventFlow", "Logs", "Internals", "ImportedLibLog.cs") + }; [Test] - public async Task EveryFileHasLicenseHeader() + public async Task EveryFileHasCorrectLicenseHeader() { - var projectRoot = Helpers.GetProjectRoot(); - var sourceFilesPaths = GetSourceFilePaths(projectRoot); + var sourceRoot = Path.Combine(Helpers.GetProjectRoot(), "Source"); + var sourceFilesPaths = GetSourceFilePaths(sourceRoot); var sourceFiles = await Task.WhenAll(sourceFilesPaths.Select(GetSourceFileAsync)); + // Sanity asserts + sourceFiles.Should().HaveCountGreaterThan(800); + + // Missing headers var missingHeaders = sourceFiles .Where(s => s.License.Count < 20) .ToList(); - + Console.WriteLine("File with missing license header"); missingHeaders.ForEach(Console.WriteLine); + // Missing name in header as defined by the CLA (current license) + var missingNameInHeader = sourceFiles + .Where(s => s.License.All(l => !l.Contains("Rasmus Mikkelsen"))) + .Where(s => !ExternalFiles.Contains(PathRelativeTo(sourceRoot, s.Path))) + .ToList(); + Console.WriteLine("File with incorrect name in header according to CLA"); + missingNameInHeader.ForEach(Console.WriteLine); + + // Asserts missingHeaders.Should().BeEmpty(); + missingNameInHeader.Should().BeEmpty(); + } + + private static string PathRelativeTo(string root, string fullPath) + { + var path = fullPath.Replace(root, string.Empty).Trim(Path.DirectorySeparatorChar); + return path; } private static IEnumerable GetSourceFilePaths( From 94e7528e80121d4f98a9b86d04e08f402c6b3439 Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Mon, 9 Dec 2019 21:11:48 +0100 Subject: [PATCH 5/8] Correct headers, again, according to the LICENSE file --- Source/EventFlow.Autofac/Properties/AssemblyInfo.cs | 1 + .../Properties/AssemblyInfo.cs | 1 + .../EventStores/MongoDbEventStoreTests.cs | 1 + .../Queries/MongoDbThingyGetWithLinqQuery.cs | 1 + .../MongoDbThingyGetWithLinqQueryHandler.cs | 1 + .../SnapshotStores/PostgresSqlSnapshotStoreTests.cs | 3 ++- .../IMongoDbEventPersistenceInitializer.cs | 1 + .../EventStore/IMongoDbEventSequenceStore.cs | 1 + .../MongoDbEventPersistenceInitializer.cs | 1 + .../EventStore/MongoDbEventSequenceStore.cs | 1 + .../EventFlowOptionsMongoDbEventStoreExtensions.cs | 1 + .../EventFlowOptionsSnapshotExtensions.cs | 1 + .../Extensions/MongoDbOptionsExtensions.cs | 1 + .../Attributes/MongoDbCollectionNameAttribute.cs | 1 + .../Attributes/MongoDbGeoSpatialIndexAttribute.cs | 1 + .../ReadStores/IMongoDbReadModel.cs | 1 + .../ReadStores/IMongoDbReadModelStore.cs | 1 + .../ReadStores/IReadModelDescriptionProvider.cs | 1 + .../ReadStores/MongoDbReadModelStore.cs | 1 + .../ReadStores/ReadModelDescriptionProvider.cs | 1 + .../SnapshotStores/MongoDbSnapshotPersistence.cs | 1 + .../ValueObjects/MongoDbCounterDataModel.cs | 1 + .../ValueObjects/MongoDbEventDataModel.cs | 1 + .../ValueObjects/MongoDbSnapshotDataModel.cs | 1 + .../ValueObjects/ReadModelDescription.cs | 1 + .../ValueObjects/RootCollectionName.cs | 1 + .../Extensions/MsSqlDatabaseExtensions.cs | 1 + .../IdentityIndexFragmentationTests.cs | 1 + .../EventFlowEventStoresPostgresSqlTests.cs | 6 ++---- .../EventStores/PostgresSqlEventStoreTests.cs | 5 ++--- .../EventStores/PostgresSqlScriptsTests.cs | 5 ++--- .../ReadStores/PostgresSqlReadModelStoreTests.cs | 5 ++--- .../PostgresSqlThingyGetMessagesQueryHandler.cs | 4 ++-- .../PostgresSqlThingyGetQueryHandler.cs | 4 ++-- .../PostgresSqlThingyGetVersionQueryHandler.cs | 4 ++-- .../ReadModels/PostgresSqlThingyMessageReadModel.cs | 3 ++- .../ReadModels/PostgresSqlThingyReadModel.cs | 4 ++-- .../EventFlowSnapshotStoresPostgresSqlTests.cs | 6 ++---- .../SnapshotStores/PostgresSqlSnapshotStoreTests.cs | 4 ++-- .../TestHelpers/IPostgresSqlDatabase.cs | 4 ++-- .../TestHelpers/PostgresSqlConnectionString.cs | 13 +++++++------ .../TestHelpers/PostgresSqlHelpz.cs | 3 ++- .../TestHelpers/PostgressSqlDatabase.cs | 4 ++-- .../Connections/IPostgresSqlConfiguration.cs | 3 ++- .../Connections/IPostgresSqlConnection.cs | 3 ++- .../Connections/IPostgresSqlConnectionFactory.cs | 3 ++- .../Connections/PostgresSqlConfiguration.cs | 3 ++- .../Connections/PostgresSqlConnection.cs | 3 ++- .../Connections/PostgresSqlConnectionFactory.cs | 4 ++-- .../EventStores/EventFlowEventStoresPostgresSql.cs | 4 ++-- .../EventStores/PostgresSqlEventPersistence.cs | 5 ++--- ...entFlowOptionsPostgresSqlEventStoreExtensions.cs | 5 +++-- .../EventFlowOptionsPostgresSqlExtensions.cs | 3 ++- ...ventFlowOptionsPostgresSqlReadStoreExtensions.cs | 5 +++-- .../EventFlowOptionsSnapshotExtensions.cs | 3 ++- .../IPostgresSqlDatabaseMigrator.cs | 3 ++- .../PostgresSqlDatabaseMigrator.cs | 6 +++--- .../ReadModels/PostgresReadModelSqlGenerator.cs | 3 ++- .../PostgresSqlReadModelIdentityColumnAttribute.cs | 6 +++--- .../PostgresSqlReadModelIgnoreColumnAttribute.cs | 6 +++--- .../PostgresSqlReadModelVersionColumnAttribute.cs | 4 ++-- .../ReadStores/IPostgresReadModelStore.cs | 3 ++- .../ReadStores/IPostgressqlReadModel.cs | 3 ++- .../ReadStores/PostgresSqlReadModelStore.cs | 3 ++- .../ReadStores/PostgressqlReadModel.cs | 4 ++-- .../IPostgresSqlErrorRetryStrategy.cs | 3 ++- .../PostgresSqlErrorRetryStrategy.cs | 5 ++--- .../EventFlowSnapshotStoresPostGresSql.cs | 6 +++--- .../PostgresSqlSnapshotPersistence.cs | 5 ++--- .../MsSql/MsSqlConnectionString.cs | 13 +++++++------ .../IntegrationTests/CancellationTests.cs | 1 + Source/EventFlow.Tests/LicenseHeaderTests.cs | 3 ++- .../Configuration/Serialization/JsonOptionsTests.cs | 1 + .../UnitTests/Extensions/BootstrapExtensionTests.cs | 1 + .../Extensions/JsonSerializerExtensionTests.cs | 1 + .../Sagas/AggregateSagas/AggregateSagaTests.cs | 1 + Source/EventFlow/Properties/AssemblyInfo.cs | 1 + 77 files changed, 137 insertions(+), 93 deletions(-) diff --git a/Source/EventFlow.Autofac/Properties/AssemblyInfo.cs b/Source/EventFlow.Autofac/Properties/AssemblyInfo.cs index c354e3c6c..be84a4ee1 100644 --- a/Source/EventFlow.Autofac/Properties/AssemblyInfo.cs +++ b/Source/EventFlow.Autofac/Properties/AssemblyInfo.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.DependencyInjection/Properties/AssemblyInfo.cs b/Source/EventFlow.DependencyInjection/Properties/AssemblyInfo.cs index 4bfd69b66..a7f7c0e70 100644 --- a/Source/EventFlow.DependencyInjection/Properties/AssemblyInfo.cs +++ b/Source/EventFlow.DependencyInjection/Properties/AssemblyInfo.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB.Tests/IntegrationTests/EventStores/MongoDbEventStoreTests.cs b/Source/EventFlow.MongoDB.Tests/IntegrationTests/EventStores/MongoDbEventStoreTests.cs index 5b5326a70..b6f3c4c69 100644 --- a/Source/EventFlow.MongoDB.Tests/IntegrationTests/EventStores/MongoDbEventStoreTests.cs +++ b/Source/EventFlow.MongoDB.Tests/IntegrationTests/EventStores/MongoDbEventStoreTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/Queries/MongoDbThingyGetWithLinqQuery.cs b/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/Queries/MongoDbThingyGetWithLinqQuery.cs index 424ebd48b..ab449ccf2 100644 --- a/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/Queries/MongoDbThingyGetWithLinqQuery.cs +++ b/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/Queries/MongoDbThingyGetWithLinqQuery.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/QueryHandlers/MongoDbThingyGetWithLinqQueryHandler.cs b/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/QueryHandlers/MongoDbThingyGetWithLinqQueryHandler.cs index 963189dc3..a345aeba3 100644 --- a/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/QueryHandlers/MongoDbThingyGetWithLinqQueryHandler.cs +++ b/Source/EventFlow.MongoDB.Tests/IntegrationTests/ReadStores/QueryHandlers/MongoDbThingyGetWithLinqQueryHandler.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs b/Source/EventFlow.MongoDB.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs index 4ce971b6c..5fc9b8daa 100644 --- a/Source/EventFlow.MongoDB.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs +++ b/Source/EventFlow.MongoDB.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/EventStore/IMongoDbEventPersistenceInitializer.cs b/Source/EventFlow.MongoDB/EventStore/IMongoDbEventPersistenceInitializer.cs index 570daa10e..7e5388e1d 100644 --- a/Source/EventFlow.MongoDB/EventStore/IMongoDbEventPersistenceInitializer.cs +++ b/Source/EventFlow.MongoDB/EventStore/IMongoDbEventPersistenceInitializer.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/EventStore/IMongoDbEventSequenceStore.cs b/Source/EventFlow.MongoDB/EventStore/IMongoDbEventSequenceStore.cs index 6603bfd6a..dde020636 100644 --- a/Source/EventFlow.MongoDB/EventStore/IMongoDbEventSequenceStore.cs +++ b/Source/EventFlow.MongoDB/EventStore/IMongoDbEventSequenceStore.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/EventStore/MongoDbEventPersistenceInitializer.cs b/Source/EventFlow.MongoDB/EventStore/MongoDbEventPersistenceInitializer.cs index 187de4695..6a18de51b 100644 --- a/Source/EventFlow.MongoDB/EventStore/MongoDbEventPersistenceInitializer.cs +++ b/Source/EventFlow.MongoDB/EventStore/MongoDbEventPersistenceInitializer.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/EventStore/MongoDbEventSequenceStore.cs b/Source/EventFlow.MongoDB/EventStore/MongoDbEventSequenceStore.cs index 050d3cb8b..0c29b351a 100644 --- a/Source/EventFlow.MongoDB/EventStore/MongoDbEventSequenceStore.cs +++ b/Source/EventFlow.MongoDB/EventStore/MongoDbEventSequenceStore.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsMongoDbEventStoreExtensions.cs b/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsMongoDbEventStoreExtensions.cs index de5dca0fe..bf5dddd67 100644 --- a/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsMongoDbEventStoreExtensions.cs +++ b/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsMongoDbEventStoreExtensions.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsSnapshotExtensions.cs b/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsSnapshotExtensions.cs index f2a72ed4e..b498a7881 100644 --- a/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsSnapshotExtensions.cs +++ b/Source/EventFlow.MongoDB/Extensions/EventFlowOptionsSnapshotExtensions.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/Extensions/MongoDbOptionsExtensions.cs b/Source/EventFlow.MongoDB/Extensions/MongoDbOptionsExtensions.cs index dbffad714..20dc1f46a 100644 --- a/Source/EventFlow.MongoDB/Extensions/MongoDbOptionsExtensions.cs +++ b/Source/EventFlow.MongoDB/Extensions/MongoDbOptionsExtensions.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbCollectionNameAttribute.cs b/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbCollectionNameAttribute.cs index 93786be8a..92e82ad30 100644 --- a/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbCollectionNameAttribute.cs +++ b/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbCollectionNameAttribute.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbGeoSpatialIndexAttribute.cs b/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbGeoSpatialIndexAttribute.cs index a6ec1f338..3fee5718c 100644 --- a/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbGeoSpatialIndexAttribute.cs +++ b/Source/EventFlow.MongoDB/ReadStores/Attributes/MongoDbGeoSpatialIndexAttribute.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModel.cs b/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModel.cs index 2520a115f..ac1fe516a 100644 --- a/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModel.cs +++ b/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModel.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModelStore.cs b/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModelStore.cs index cd88106c6..5e08875c0 100644 --- a/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModelStore.cs +++ b/Source/EventFlow.MongoDB/ReadStores/IMongoDbReadModelStore.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/ReadStores/IReadModelDescriptionProvider.cs b/Source/EventFlow.MongoDB/ReadStores/IReadModelDescriptionProvider.cs index 4a6d1131e..f222968b7 100644 --- a/Source/EventFlow.MongoDB/ReadStores/IReadModelDescriptionProvider.cs +++ b/Source/EventFlow.MongoDB/ReadStores/IReadModelDescriptionProvider.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/ReadStores/MongoDbReadModelStore.cs b/Source/EventFlow.MongoDB/ReadStores/MongoDbReadModelStore.cs index 1eac0f39f..691146718 100644 --- a/Source/EventFlow.MongoDB/ReadStores/MongoDbReadModelStore.cs +++ b/Source/EventFlow.MongoDB/ReadStores/MongoDbReadModelStore.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/ReadStores/ReadModelDescriptionProvider.cs b/Source/EventFlow.MongoDB/ReadStores/ReadModelDescriptionProvider.cs index 885d262ce..64025ec21 100644 --- a/Source/EventFlow.MongoDB/ReadStores/ReadModelDescriptionProvider.cs +++ b/Source/EventFlow.MongoDB/ReadStores/ReadModelDescriptionProvider.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/SnapshotStores/MongoDbSnapshotPersistence.cs b/Source/EventFlow.MongoDB/SnapshotStores/MongoDbSnapshotPersistence.cs index 2611dcbf9..c09759372 100644 --- a/Source/EventFlow.MongoDB/SnapshotStores/MongoDbSnapshotPersistence.cs +++ b/Source/EventFlow.MongoDB/SnapshotStores/MongoDbSnapshotPersistence.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/ValueObjects/MongoDbCounterDataModel.cs b/Source/EventFlow.MongoDB/ValueObjects/MongoDbCounterDataModel.cs index 533f117d3..3ae93096c 100644 --- a/Source/EventFlow.MongoDB/ValueObjects/MongoDbCounterDataModel.cs +++ b/Source/EventFlow.MongoDB/ValueObjects/MongoDbCounterDataModel.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/ValueObjects/MongoDbEventDataModel.cs b/Source/EventFlow.MongoDB/ValueObjects/MongoDbEventDataModel.cs index e7b9cff01..249eb2a2b 100644 --- a/Source/EventFlow.MongoDB/ValueObjects/MongoDbEventDataModel.cs +++ b/Source/EventFlow.MongoDB/ValueObjects/MongoDbEventDataModel.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/ValueObjects/MongoDbSnapshotDataModel.cs b/Source/EventFlow.MongoDB/ValueObjects/MongoDbSnapshotDataModel.cs index f74ebb7b3..9a43228c3 100644 --- a/Source/EventFlow.MongoDB/ValueObjects/MongoDbSnapshotDataModel.cs +++ b/Source/EventFlow.MongoDB/ValueObjects/MongoDbSnapshotDataModel.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/ValueObjects/ReadModelDescription.cs b/Source/EventFlow.MongoDB/ValueObjects/ReadModelDescription.cs index 154f8a048..82c6496b4 100644 --- a/Source/EventFlow.MongoDB/ValueObjects/ReadModelDescription.cs +++ b/Source/EventFlow.MongoDB/ValueObjects/ReadModelDescription.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MongoDB/ValueObjects/RootCollectionName.cs b/Source/EventFlow.MongoDB/ValueObjects/RootCollectionName.cs index 03401c2c9..6abbe8c4e 100644 --- a/Source/EventFlow.MongoDB/ValueObjects/RootCollectionName.cs +++ b/Source/EventFlow.MongoDB/ValueObjects/RootCollectionName.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MsSql.Tests/Extensions/MsSqlDatabaseExtensions.cs b/Source/EventFlow.MsSql.Tests/Extensions/MsSqlDatabaseExtensions.cs index 39d0cfe5a..9ec3a36ff 100644 --- a/Source/EventFlow.MsSql.Tests/Extensions/MsSqlDatabaseExtensions.cs +++ b/Source/EventFlow.MsSql.Tests/Extensions/MsSqlDatabaseExtensions.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.MsSql.Tests/IntegrationTests/IdentityIndexFragmentationTests.cs b/Source/EventFlow.MsSql.Tests/IntegrationTests/IdentityIndexFragmentationTests.cs index c9f1405dd..48dfd44bf 100644 --- a/Source/EventFlow.MsSql.Tests/IntegrationTests/IdentityIndexFragmentationTests.cs +++ b/Source/EventFlow.MsSql.Tests/IntegrationTests/IdentityIndexFragmentationTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/EventFlowEventStoresPostgresSqlTests.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/EventFlowEventStoresPostgresSqlTests.cs index 7ea849311..d4c3d4c81 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/EventFlowEventStoresPostgresSqlTests.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/EventFlowEventStoresPostgresSqlTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -21,12 +22,9 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. using System.Linq; - using EventFlow.PostgreSql.EventStores; using EventFlow.TestHelpers; - using FluentAssertions; - using NUnit.Framework; namespace EventFlow.PostgreSql.Tests.IntegrationTests.EventStores diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlEventStoreTests.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlEventStoreTests.cs index aa4d66470..2948db4cd 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlEventStoreTests.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlEventStoreTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -20,7 +21,6 @@ // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -using System.Threading.Tasks; using EventFlow.Configuration; using EventFlow.Extensions; using EventFlow.PostgreSql.Connections; @@ -29,7 +29,6 @@ using EventFlow.PostgreSql.TestsHelpers; using EventFlow.TestHelpers; using EventFlow.TestHelpers.Suites; - using NUnit.Framework; namespace EventFlow.PostgreSql.Tests.IntegrationTests.EventStores diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlScriptsTests.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlScriptsTests.cs index 2d5d28033..d9e353380 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlScriptsTests.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/EventStores/PostgresSqlScriptsTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -21,12 +22,10 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. using System.Linq; - using EventFlow.Extensions; using EventFlow.PostgreSql.EventStores; using EventFlow.PostgreSql.TestsHelpers; using EventFlow.TestHelpers; - using NUnit.Framework; namespace EventFlow.PostgreSql.Tests.IntegrationTests.EventStores diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/PostgresSqlReadModelStoreTests.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/PostgresSqlReadModelStoreTests.cs index 9ba995019..1530f9f52 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/PostgresSqlReadModelStoreTests.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/PostgresSqlReadModelStoreTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -21,7 +22,6 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. using System; - using EventFlow.Configuration; using EventFlow.Extensions; using EventFlow.PostgreSql.Connections; @@ -33,7 +33,6 @@ using EventFlow.TestHelpers; using EventFlow.TestHelpers.Aggregates.Entities; using EventFlow.TestHelpers.Suites; - using NUnit.Framework; namespace EventFlow.PostgreSql.Tests.IntegrationTests.ReadStores diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetMessagesQueryHandler.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetMessagesQueryHandler.cs index 2a345b35f..5a0201144 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetMessagesQueryHandler.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetMessagesQueryHandler.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -24,7 +25,6 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; - using EventFlow.Core; using EventFlow.PostgreSql.Connections; using EventFlow.PostgreSql.Tests.IntegrationTests.ReadStores.ReadModels; diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetQueryHandler.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetQueryHandler.cs index f94d94832..aa0de2802 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetQueryHandler.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetQueryHandler.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -23,7 +24,6 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; - using EventFlow.Core; using EventFlow.PostgreSql.Connections; using EventFlow.PostgreSql.Tests.IntegrationTests.ReadStores.ReadModels; diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetVersionQueryHandler.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetVersionQueryHandler.cs index 55029ff50..afe2ec258 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetVersionQueryHandler.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/QueryHandlers/PostgresSqlThingyGetVersionQueryHandler.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -23,7 +24,6 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; - using EventFlow.Core; using EventFlow.PostgreSql.Connections; using EventFlow.PostgreSql.Tests.IntegrationTests.ReadStores.ReadModels; diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyMessageReadModel.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyMessageReadModel.cs index 00ae6f6d4..617c8b27a 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyMessageReadModel.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyMessageReadModel.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyReadModel.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyReadModel.cs index 89bc5be58..77d72c45a 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyReadModel.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/ReadStores/ReadModels/PostgresSqlThingyReadModel.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -21,7 +22,6 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. using System.ComponentModel.DataAnnotations.Schema; - using EventFlow.Aggregates; using EventFlow.PostgreSql.ReadStores; using EventFlow.ReadStores; diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/EventFlowSnapshotStoresPostgresSqlTests.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/EventFlowSnapshotStoresPostgresSqlTests.cs index f4c4999ca..17b6c09e9 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/EventFlowSnapshotStoresPostgresSqlTests.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/EventFlowSnapshotStoresPostgresSqlTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -21,12 +22,9 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. using System.Linq; - using EventFlow.PostgreSql.SnapshotStores; using EventFlow.TestHelpers; - using FluentAssertions; - using NUnit.Framework; namespace EventFlow.PostgreSql.Tests.IntegrationTests.SnapshotStores diff --git a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs index 385a1072f..17e773b97 100644 --- a/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs +++ b/Source/EventFlow.PostgreSql.Tests/IntegrationTests/SnapshotStores/PostgresSqlSnapshotStoreTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -28,7 +29,6 @@ using EventFlow.PostgreSql.TestsHelpers; using EventFlow.TestHelpers; using EventFlow.TestHelpers.Suites; - using NUnit.Framework; namespace EventFlow.PostgreSql.Tests.IntegrationTests.SnapshotStores diff --git a/Source/EventFlow.PostgreSql.Tests/TestHelpers/IPostgresSqlDatabase.cs b/Source/EventFlow.PostgreSql.Tests/TestHelpers/IPostgresSqlDatabase.cs index dd8bf944e..ee8e6256a 100644 --- a/Source/EventFlow.PostgreSql.Tests/TestHelpers/IPostgresSqlDatabase.cs +++ b/Source/EventFlow.PostgreSql.Tests/TestHelpers/IPostgresSqlDatabase.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -24,7 +25,6 @@ using System; namespace EventFlow.PostgreSql.TestsHelpers - { public interface IPostgreSqlDatabase : IDisposable { diff --git a/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlConnectionString.cs b/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlConnectionString.cs index 74643240d..1bfc3639c 100644 --- a/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlConnectionString.cs +++ b/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlConnectionString.cs @@ -1,18 +1,19 @@ // The MIT License (MIT) -// -// Copyright (c) 2015-2018 Rasmus Mikkelsen -// https://github.com/rasmus/Helpz -// +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation +// https://github.com/eventflow/EventFlow +// // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // the Software, and to permit persons to whom the Software is furnished to do so, // subject to the following conditions: -// +// // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. -// +// // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS // FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR diff --git a/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlHelpz.cs b/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlHelpz.cs index 0ef463c6a..fd0a4e560 100644 --- a/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlHelpz.cs +++ b/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgresSqlHelpz.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgressSqlDatabase.cs b/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgressSqlDatabase.cs index a5d2123f9..0b5097cca 100644 --- a/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgressSqlDatabase.cs +++ b/Source/EventFlow.PostgreSql.Tests/TestHelpers/PostgressSqlDatabase.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -24,7 +25,6 @@ using System; namespace EventFlow.PostgreSql.TestsHelpers - { public class PostgressSqlDatabase : IPostgreSqlDatabase { diff --git a/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConfiguration.cs b/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConfiguration.cs index 4625fb414..47d6f7bde 100644 --- a/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConfiguration.cs +++ b/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConfiguration.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnection.cs b/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnection.cs index 5f1b597fa..0d090089a 100644 --- a/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnection.cs +++ b/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnection.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnectionFactory.cs b/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnectionFactory.cs index 2a5eb3fc8..3148f9d09 100644 --- a/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnectionFactory.cs +++ b/Source/EventFlow.PostgreSql/Connections/IPostgresSqlConnectionFactory.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Connections/PostgresSqlConfiguration.cs b/Source/EventFlow.PostgreSql/Connections/PostgresSqlConfiguration.cs index 0a6838093..1bf793eff 100644 --- a/Source/EventFlow.PostgreSql/Connections/PostgresSqlConfiguration.cs +++ b/Source/EventFlow.PostgreSql/Connections/PostgresSqlConfiguration.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnection.cs b/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnection.cs index cf0dd95d0..b3fad73b6 100644 --- a/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnection.cs +++ b/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnection.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnectionFactory.cs b/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnectionFactory.cs index 02adec47c..d05eb2a29 100644 --- a/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnectionFactory.cs +++ b/Source/EventFlow.PostgreSql/Connections/PostgresSqlConnectionFactory.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -23,7 +24,6 @@ using System.Data; using System.Threading; using System.Threading.Tasks; - using Npgsql; namespace EventFlow.PostgreSql.Connections diff --git a/Source/EventFlow.PostgreSql/EventStores/EventFlowEventStoresPostgresSql.cs b/Source/EventFlow.PostgreSql/EventStores/EventFlowEventStoresPostgresSql.cs index 4ce07be43..c2f4cc9bd 100644 --- a/Source/EventFlow.PostgreSql/EventStores/EventFlowEventStoresPostgresSql.cs +++ b/Source/EventFlow.PostgreSql/EventStores/EventFlowEventStoresPostgresSql.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -22,7 +23,6 @@ using System.Collections.Generic; using System.Reflection; - using EventFlow.Sql.Extensions; using EventFlow.Sql.Migrations; diff --git a/Source/EventFlow.PostgreSql/EventStores/PostgresSqlEventPersistence.cs b/Source/EventFlow.PostgreSql/EventStores/PostgresSqlEventPersistence.cs index cd375b796..15153289d 100644 --- a/Source/EventFlow.PostgreSql/EventStores/PostgresSqlEventPersistence.cs +++ b/Source/EventFlow.PostgreSql/EventStores/PostgresSqlEventPersistence.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -25,14 +26,12 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; - using EventFlow.Aggregates; using EventFlow.Core; using EventFlow.EventStores; using EventFlow.Exceptions; using EventFlow.Logs; using EventFlow.PostgreSql.Connections; - using Npgsql; namespace EventFlow.PostgreSql.EventStores diff --git a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlEventStoreExtensions.cs b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlEventStoreExtensions.cs index df341f39f..7be0cce08 100644 --- a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlEventStoreExtensions.cs +++ b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlEventStoreExtensions.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -32,4 +33,4 @@ public static IEventFlowOptions UsePostgreSqlEventStore(this IEventFlowOptions e return eventFlowOptions.UseEventStore(); } } -} \ No newline at end of file +} diff --git a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlExtensions.cs b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlExtensions.cs index 94f0d881e..1aae4dcb9 100644 --- a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlExtensions.cs +++ b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlExtensions.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlReadStoreExtensions.cs b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlReadStoreExtensions.cs index 4456e000c..2c2b96ec9 100644 --- a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlReadStoreExtensions.cs +++ b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsPostgresSqlReadStoreExtensions.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) -// -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsSnapshotExtensions.cs b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsSnapshotExtensions.cs index eefb0a3bb..1c2feb4ca 100644 --- a/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsSnapshotExtensions.cs +++ b/Source/EventFlow.PostgreSql/Extensions/EventFlowOptionsSnapshotExtensions.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/IPostgresSqlDatabaseMigrator.cs b/Source/EventFlow.PostgreSql/IPostgresSqlDatabaseMigrator.cs index 64dfde814..320894210 100644 --- a/Source/EventFlow.PostgreSql/IPostgresSqlDatabaseMigrator.cs +++ b/Source/EventFlow.PostgreSql/IPostgresSqlDatabaseMigrator.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/PostgresSqlDatabaseMigrator.cs b/Source/EventFlow.PostgreSql/PostgresSqlDatabaseMigrator.cs index 2456c5738..acfa54a43 100644 --- a/Source/EventFlow.PostgreSql/PostgresSqlDatabaseMigrator.cs +++ b/Source/EventFlow.PostgreSql/PostgresSqlDatabaseMigrator.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -21,7 +22,6 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. using DbUp.Builder; - using EventFlow.Logs; using EventFlow.PostgreSql.Connections; using EventFlow.Sql.Migrations; @@ -42,4 +42,4 @@ protected override UpgradeEngineBuilder For(SupportedDatabases supportedDatabase return supportedDatabases.PostgresqlDatabase(connectionString); } } -} \ No newline at end of file +} diff --git a/Source/EventFlow.PostgreSql/ReadModels/PostgresReadModelSqlGenerator.cs b/Source/EventFlow.PostgreSql/ReadModels/PostgresReadModelSqlGenerator.cs index 9e1ee265c..b9957b2d4 100644 --- a/Source/EventFlow.PostgreSql/ReadModels/PostgresReadModelSqlGenerator.cs +++ b/Source/EventFlow.PostgreSql/ReadModels/PostgresReadModelSqlGenerator.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIdentityColumnAttribute.cs b/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIdentityColumnAttribute.cs index e75e288bc..377ba41b1 100644 --- a/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIdentityColumnAttribute.cs +++ b/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIdentityColumnAttribute.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -21,7 +22,6 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. using System; - using EventFlow.Sql.ReadModels.Attributes; namespace EventFlow.PostgreSql.ReadStores.Attributes @@ -30,4 +30,4 @@ namespace EventFlow.PostgreSql.ReadStores.Attributes public class PostgreSqlReadModelIdentityColumnAttribute : SqlReadModelIdentityColumnAttribute { } -} \ No newline at end of file +} diff --git a/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIgnoreColumnAttribute.cs b/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIgnoreColumnAttribute.cs index e78aa639a..d9667c414 100644 --- a/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIgnoreColumnAttribute.cs +++ b/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelIgnoreColumnAttribute.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -21,7 +22,6 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. using System; - using EventFlow.Sql.ReadModels.Attributes; namespace EventFlow.PostgreSql.ReadStores.Attributes @@ -30,4 +30,4 @@ namespace EventFlow.PostgreSql.ReadStores.Attributes public class PostgreSqlReadModelIgnoreColumnAttribute : SqlReadModelIgnoreColumnAttribute { } -} \ No newline at end of file +} diff --git a/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelVersionColumnAttribute.cs b/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelVersionColumnAttribute.cs index 798d5705d..42a7c3432 100644 --- a/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelVersionColumnAttribute.cs +++ b/Source/EventFlow.PostgreSql/ReadStores/Attributes/PostgresSqlReadModelVersionColumnAttribute.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -21,7 +22,6 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. using System; - using EventFlow.Sql.ReadModels.Attributes; namespace EventFlow.PostgreSql.ReadStores.Attributes diff --git a/Source/EventFlow.PostgreSql/ReadStores/IPostgresReadModelStore.cs b/Source/EventFlow.PostgreSql/ReadStores/IPostgresReadModelStore.cs index 3acadf0fc..84bff2886 100644 --- a/Source/EventFlow.PostgreSql/ReadStores/IPostgresReadModelStore.cs +++ b/Source/EventFlow.PostgreSql/ReadStores/IPostgresReadModelStore.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/ReadStores/IPostgressqlReadModel.cs b/Source/EventFlow.PostgreSql/ReadStores/IPostgressqlReadModel.cs index 24c0afbd3..af522b381 100644 --- a/Source/EventFlow.PostgreSql/ReadStores/IPostgressqlReadModel.cs +++ b/Source/EventFlow.PostgreSql/ReadStores/IPostgressqlReadModel.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/ReadStores/PostgresSqlReadModelStore.cs b/Source/EventFlow.PostgreSql/ReadStores/PostgresSqlReadModelStore.cs index 7541108f6..84f1ee753 100644 --- a/Source/EventFlow.PostgreSql/ReadStores/PostgresSqlReadModelStore.cs +++ b/Source/EventFlow.PostgreSql/ReadStores/PostgresSqlReadModelStore.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/ReadStores/PostgressqlReadModel.cs b/Source/EventFlow.PostgreSql/ReadStores/PostgressqlReadModel.cs index 0cf886904..b7ed8f08b 100644 --- a/Source/EventFlow.PostgreSql/ReadStores/PostgressqlReadModel.cs +++ b/Source/EventFlow.PostgreSql/ReadStores/PostgressqlReadModel.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -21,7 +22,6 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. using System; - using EventFlow.Extensions; using EventFlow.PostgreSql.ReadStores.Attributes; diff --git a/Source/EventFlow.PostgreSql/RetryStrategies/IPostgresSqlErrorRetryStrategy.cs b/Source/EventFlow.PostgreSql/RetryStrategies/IPostgresSqlErrorRetryStrategy.cs index 3b14ee1e7..0dfd2ca19 100644 --- a/Source/EventFlow.PostgreSql/RetryStrategies/IPostgresSqlErrorRetryStrategy.cs +++ b/Source/EventFlow.PostgreSql/RetryStrategies/IPostgresSqlErrorRetryStrategy.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.PostgreSql/RetryStrategies/PostgresSqlErrorRetryStrategy.cs b/Source/EventFlow.PostgreSql/RetryStrategies/PostgresSqlErrorRetryStrategy.cs index d97426c2d..58ae3c6bd 100644 --- a/Source/EventFlow.PostgreSql/RetryStrategies/PostgresSqlErrorRetryStrategy.cs +++ b/Source/EventFlow.PostgreSql/RetryStrategies/PostgresSqlErrorRetryStrategy.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -21,10 +22,8 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. using System; - using EventFlow.Core; using EventFlow.PostgreSql.Connections; - using Npgsql; namespace EventFlow.PostgreSql.RetryStrategies diff --git a/Source/EventFlow.PostgreSql/SnapshotStores/EventFlowSnapshotStoresPostGresSql.cs b/Source/EventFlow.PostgreSql/SnapshotStores/EventFlowSnapshotStoresPostGresSql.cs index 1e3244222..957d84473 100644 --- a/Source/EventFlow.PostgreSql/SnapshotStores/EventFlowSnapshotStoresPostGresSql.cs +++ b/Source/EventFlow.PostgreSql/SnapshotStores/EventFlowSnapshotStoresPostGresSql.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -22,7 +23,6 @@ using System.Collections.Generic; using System.Reflection; - using EventFlow.Sql.Extensions; using EventFlow.Sql.Migrations; @@ -42,4 +42,4 @@ public static void MigrateDatabase(IPostgreSqlDatabaseMigrator postgreSqlDatabas postgreSqlDatabaseMigrator.MigrateDatabaseUsingScripts(GetSqlScripts()); } } -} \ No newline at end of file +} diff --git a/Source/EventFlow.PostgreSql/SnapshotStores/PostgresSqlSnapshotPersistence.cs b/Source/EventFlow.PostgreSql/SnapshotStores/PostgresSqlSnapshotPersistence.cs index 8f2daa511..550034446 100644 --- a/Source/EventFlow.PostgreSql/SnapshotStores/PostgresSqlSnapshotPersistence.cs +++ b/Source/EventFlow.PostgreSql/SnapshotStores/PostgresSqlSnapshotPersistence.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // -// Copyright (c) 2015-2018 Rasmus Mikkelsen +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -21,11 +22,9 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. using System; -using System.Data.SqlClient; using System.Linq; using System.Threading; using System.Threading.Tasks; - using EventFlow.Core; using EventFlow.Extensions; using EventFlow.Logs; diff --git a/Source/EventFlow.TestHelpers/MsSql/MsSqlConnectionString.cs b/Source/EventFlow.TestHelpers/MsSql/MsSqlConnectionString.cs index aec961ca1..4f9a81898 100644 --- a/Source/EventFlow.TestHelpers/MsSql/MsSqlConnectionString.cs +++ b/Source/EventFlow.TestHelpers/MsSql/MsSqlConnectionString.cs @@ -1,18 +1,19 @@ // The MIT License (MIT) -// -// Copyright (c) 2015 Rasmus Mikkelsen -// https://github.com/rasmus/Helpz -// +// +// Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation +// https://github.com/eventflow/EventFlow +// // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of // the Software, and to permit persons to whom the Software is furnished to do so, // subject to the following conditions: -// +// // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. -// +// // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS // FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR diff --git a/Source/EventFlow.Tests/IntegrationTests/CancellationTests.cs b/Source/EventFlow.Tests/IntegrationTests/CancellationTests.cs index 71d766448..551f8923a 100644 --- a/Source/EventFlow.Tests/IntegrationTests/CancellationTests.cs +++ b/Source/EventFlow.Tests/IntegrationTests/CancellationTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.Tests/LicenseHeaderTests.cs b/Source/EventFlow.Tests/LicenseHeaderTests.cs index d140cddf6..a828c17cc 100644 --- a/Source/EventFlow.Tests/LicenseHeaderTests.cs +++ b/Source/EventFlow.Tests/LicenseHeaderTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of @@ -61,7 +62,7 @@ public async Task EveryFileHasCorrectLicenseHeader() // Missing name in header as defined by the CLA (current license) var missingNameInHeader = sourceFiles - .Where(s => s.License.All(l => !l.Contains("Rasmus Mikkelsen"))) + .Where(s => !s.License.Any(l => l.Contains("Rasmus Mikkelsen")) || !s.License.Any(l => l.Contains("eBay Software Foundation"))) .Where(s => !ExternalFiles.Contains(PathRelativeTo(sourceRoot, s.Path))) .ToList(); Console.WriteLine("File with incorrect name in header according to CLA"); diff --git a/Source/EventFlow.Tests/UnitTests/Configuration/Serialization/JsonOptionsTests.cs b/Source/EventFlow.Tests/UnitTests/Configuration/Serialization/JsonOptionsTests.cs index 6585cec72..e601fd2f7 100644 --- a/Source/EventFlow.Tests/UnitTests/Configuration/Serialization/JsonOptionsTests.cs +++ b/Source/EventFlow.Tests/UnitTests/Configuration/Serialization/JsonOptionsTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.Tests/UnitTests/Extensions/BootstrapExtensionTests.cs b/Source/EventFlow.Tests/UnitTests/Extensions/BootstrapExtensionTests.cs index bed6db2bb..cd97d2265 100644 --- a/Source/EventFlow.Tests/UnitTests/Extensions/BootstrapExtensionTests.cs +++ b/Source/EventFlow.Tests/UnitTests/Extensions/BootstrapExtensionTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.Tests/UnitTests/Extensions/JsonSerializerExtensionTests.cs b/Source/EventFlow.Tests/UnitTests/Extensions/JsonSerializerExtensionTests.cs index 19e6c7e16..86f1985b4 100644 --- a/Source/EventFlow.Tests/UnitTests/Extensions/JsonSerializerExtensionTests.cs +++ b/Source/EventFlow.Tests/UnitTests/Extensions/JsonSerializerExtensionTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow.Tests/UnitTests/Sagas/AggregateSagas/AggregateSagaTests.cs b/Source/EventFlow.Tests/UnitTests/Sagas/AggregateSagas/AggregateSagaTests.cs index b62b21ade..96f921f17 100644 --- a/Source/EventFlow.Tests/UnitTests/Sagas/AggregateSagas/AggregateSagaTests.cs +++ b/Source/EventFlow.Tests/UnitTests/Sagas/AggregateSagas/AggregateSagaTests.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of diff --git a/Source/EventFlow/Properties/AssemblyInfo.cs b/Source/EventFlow/Properties/AssemblyInfo.cs index 0d4b3a30b..a5af9e2cb 100644 --- a/Source/EventFlow/Properties/AssemblyInfo.cs +++ b/Source/EventFlow/Properties/AssemblyInfo.cs @@ -1,6 +1,7 @@ // The MIT License (MIT) // // Copyright (c) 2015-2019 Rasmus Mikkelsen +// Copyright (c) 2015-2019 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of From 77c61a9f7152661abd748d829059bd418350c946 Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Mon, 9 Dec 2019 21:25:04 +0100 Subject: [PATCH 6/8] Use a hashset instead --- Source/EventFlow.Tests/LicenseHeaderTests.cs | 25 +++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/Source/EventFlow.Tests/LicenseHeaderTests.cs b/Source/EventFlow.Tests/LicenseHeaderTests.cs index a828c17cc..27b6c54fd 100644 --- a/Source/EventFlow.Tests/LicenseHeaderTests.cs +++ b/Source/EventFlow.Tests/LicenseHeaderTests.cs @@ -25,6 +25,7 @@ using System.Collections.Generic; using System.IO; using System.Linq; +using System.Text.RegularExpressions; using System.Threading.Tasks; using FluentAssertions; using NUnit.Framework; @@ -41,6 +42,14 @@ public class LicenseHeaderTests Path.Combine("EventFlow", "Core", "HashHelper.cs"), Path.Combine("EventFlow", "Logs", "Internals", "ImportedLibLog.cs") }; + private static readonly ISet ValidCopyrightNames = new HashSet + { + "Rasmus Mikkelsen", + "eBay Software Foundation" + }; + private static readonly Regex CopyrightLineExtractor = new Regex( + @"Copyright \(c\) 20\d{2}\-20\d{2} (?.*)", + RegexOptions.Compiled | RegexOptions.IgnoreCase); [Test] public async Task EveryFileHasCorrectLicenseHeader() @@ -62,7 +71,7 @@ public async Task EveryFileHasCorrectLicenseHeader() // Missing name in header as defined by the CLA (current license) var missingNameInHeader = sourceFiles - .Where(s => !s.License.Any(l => l.Contains("Rasmus Mikkelsen")) || !s.License.Any(l => l.Contains("eBay Software Foundation"))) + .Where(s => !s.Copyright.All(ValidCopyrightNames.Contains)) .Where(s => !ExternalFiles.Contains(PathRelativeTo(sourceRoot, s.Path))) .ToList(); Console.WriteLine("File with incorrect name in header according to CLA"); @@ -105,22 +114,32 @@ private static async Task GetSourceFileAsync(string path) .TakeWhile(l => l.StartsWith("//")) .ToList(); + var copyright = license + .Select(l => CopyrightLineExtractor.Match(l)) + .Where(m => m.Success) + .Select(m => m.Groups["name"].Value) + .ToList(); + return new SourceFile( path, - license); + license, + copyright); } private class SourceFile { public string Path { get; } public IReadOnlyCollection License { get; } + public IReadOnlyCollection Copyright { get; } public SourceFile( string path, - IReadOnlyCollection license) + IReadOnlyCollection license, + IReadOnlyCollection copyright) { Path = path; License = license; + Copyright = copyright; } public override string ToString() From e02193b19081b449b02c4bc4d3e437551a3a9cb8 Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Mon, 9 Dec 2019 23:42:52 +0100 Subject: [PATCH 7/8] Correct nuspec files --- Source/EventFlow.AspNetCore/EventFlow.AspNetCore.csproj | 2 +- Source/EventFlow.Autofac/EventFlow.Autofac.csproj | 2 +- .../EventFlow.DependencyInjection.csproj | 2 +- .../EventFlow.Elasticsearch/EventFlow.Elasticsearch.csproj | 2 +- .../EventFlow.EntityFramework.csproj | 2 +- .../EventFlow.EventStores.EventStore.csproj | 2 +- Source/EventFlow.Hangfire/EventFlow.Hangfire.csproj | 2 +- Source/EventFlow.MongoDB/EventFlow.MongoDB.csproj | 5 +++-- Source/EventFlow.MsSql/EventFlow.MsSql.csproj | 2 +- Source/EventFlow.Owin/EventFlow.Owin.csproj | 2 +- Source/EventFlow.PostgreSql/EventFlow.PostgreSql.csproj | 4 ++-- Source/EventFlow.RabbitMQ/EventFlow.RabbitMQ.csproj | 2 +- Source/EventFlow.SQLite/EventFlow.SQLite.csproj | 2 +- Source/EventFlow.Sql/EventFlow.Sql.csproj | 2 +- Source/EventFlow.TestHelpers/EventFlow.TestHelpers.csproj | 2 +- Source/EventFlow/EventFlow.csproj | 4 ++-- 16 files changed, 20 insertions(+), 19 deletions(-) diff --git a/Source/EventFlow.AspNetCore/EventFlow.AspNetCore.csproj b/Source/EventFlow.AspNetCore/EventFlow.AspNetCore.csproj index 0e66aed88..45c8d6bf4 100644 --- a/Source/EventFlow.AspNetCore/EventFlow.AspNetCore.csproj +++ b/Source/EventFlow.AspNetCore/EventFlow.AspNetCore.csproj @@ -9,7 +9,7 @@ EventFlow.AspNetCore Rasmus Mikkelsen Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2018 + Copyright (c) Rasmus Mikkelsen 2015 - 2019 AspNetCore support for EventFlow CQRS ES event sourcing AspNetCore git diff --git a/Source/EventFlow.Autofac/EventFlow.Autofac.csproj b/Source/EventFlow.Autofac/EventFlow.Autofac.csproj index 4e1a813db..8bd9ebfa9 100644 --- a/Source/EventFlow.Autofac/EventFlow.Autofac.csproj +++ b/Source/EventFlow.Autofac/EventFlow.Autofac.csproj @@ -9,7 +9,7 @@ EventFlow.Autofac Rasmus Mikkelsen Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2018 + Copyright (c) Rasmus Mikkelsen 2015 - 2019 Autofac support for EventFlow CQRS ES event sourcing Autofac git diff --git a/Source/EventFlow.DependencyInjection/EventFlow.DependencyInjection.csproj b/Source/EventFlow.DependencyInjection/EventFlow.DependencyInjection.csproj index f07ffeb2c..e5afe04a8 100644 --- a/Source/EventFlow.DependencyInjection/EventFlow.DependencyInjection.csproj +++ b/Source/EventFlow.DependencyInjection/EventFlow.DependencyInjection.csproj @@ -9,7 +9,7 @@ EventFlow.DependencyInjection Frank Ebersoll Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2018 + Copyright (c) Rasmus Mikkelsen 2015 - 2019 Microsoft.Extensions.DependencyInjection support for EventFlow CQRS ES event sourcing Microsoft.Extensions.DependencyInjection ServiceProvider ServiceCollection git diff --git a/Source/EventFlow.Elasticsearch/EventFlow.Elasticsearch.csproj b/Source/EventFlow.Elasticsearch/EventFlow.Elasticsearch.csproj index 0114f5130..697695ed7 100644 --- a/Source/EventFlow.Elasticsearch/EventFlow.Elasticsearch.csproj +++ b/Source/EventFlow.Elasticsearch/EventFlow.Elasticsearch.csproj @@ -9,7 +9,7 @@ EventFlow.Elasticsearch Rasmus Mikkelsen Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2018 + Copyright (c) Rasmus Mikkelsen 2015 - 2019 Elasticsearch support for EventFlow CQRS ES event sourcing Elasticsearch git diff --git a/Source/EventFlow.EntityFramework/EventFlow.EntityFramework.csproj b/Source/EventFlow.EntityFramework/EventFlow.EntityFramework.csproj index ab41b8641..6b80ea832 100644 --- a/Source/EventFlow.EntityFramework/EventFlow.EntityFramework.csproj +++ b/Source/EventFlow.EntityFramework/EventFlow.EntityFramework.csproj @@ -9,7 +9,7 @@ EventFlow.EntityFramework Frank Ebersoll Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2018 + Copyright (c) Rasmus Mikkelsen 2015 - 2019 Entity Framework Core support for EventFlow CQRS ES event sourcing EF Entity Framework Core git diff --git a/Source/EventFlow.EventStores.EventStore/EventFlow.EventStores.EventStore.csproj b/Source/EventFlow.EventStores.EventStore/EventFlow.EventStores.EventStore.csproj index be506b63c..97a07a255 100644 --- a/Source/EventFlow.EventStores.EventStore/EventFlow.EventStores.EventStore.csproj +++ b/Source/EventFlow.EventStores.EventStore/EventFlow.EventStores.EventStore.csproj @@ -9,7 +9,7 @@ EventFlow.EventStores.EventStore Rasmus Mikkelsen Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2018 + Copyright (c) Rasmus Mikkelsen 2015 - 2019 Event Store event store for EventFlow. Download it from https://geteventstore.com/ CQRS ES event sourcing EventStore git diff --git a/Source/EventFlow.Hangfire/EventFlow.Hangfire.csproj b/Source/EventFlow.Hangfire/EventFlow.Hangfire.csproj index 302d2ac37..9b328ba68 100644 --- a/Source/EventFlow.Hangfire/EventFlow.Hangfire.csproj +++ b/Source/EventFlow.Hangfire/EventFlow.Hangfire.csproj @@ -9,7 +9,7 @@ EventFlow.Hangfire Rasmus Mikkelsen Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2018 + Copyright (c) Rasmus Mikkelsen 2015 - 2019 Hangfire job scheduling support for EventFlow CQRS ES event sourcing Hangfire git diff --git a/Source/EventFlow.MongoDB/EventFlow.MongoDB.csproj b/Source/EventFlow.MongoDB/EventFlow.MongoDB.csproj index f9eda7d11..a3c43c746 100644 --- a/Source/EventFlow.MongoDB/EventFlow.MongoDB.csproj +++ b/Source/EventFlow.MongoDB/EventFlow.MongoDB.csproj @@ -8,8 +8,9 @@ True EventFlow.MongoDB Jan Feyen, Warren Pieterse - Jan Feyen, Warren Pieterse - Copyright (c) Jan Feyen/Warren Pieterse 2015 - 2017 + Rasmus Mikkelsen + Rasmus Mikkelsen + Copyright (c) Rasmus Mikkelsen 2015 - 2019 MongoDB ReadStore and Snapshot Persistence for EventFlow CQRS ES event sourcing MongoDB git diff --git a/Source/EventFlow.MsSql/EventFlow.MsSql.csproj b/Source/EventFlow.MsSql/EventFlow.MsSql.csproj index 8e75ee609..69db31807 100644 --- a/Source/EventFlow.MsSql/EventFlow.MsSql.csproj +++ b/Source/EventFlow.MsSql/EventFlow.MsSql.csproj @@ -9,7 +9,7 @@ EventFlow.MsSql Rasmus Mikkelsen Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2018 + Copyright (c) Rasmus Mikkelsen 2015 - 2019 MSSQL support for EventFlow CQRS ES event sourcing MSSQL git diff --git a/Source/EventFlow.Owin/EventFlow.Owin.csproj b/Source/EventFlow.Owin/EventFlow.Owin.csproj index eac69530f..f5ebeaa5d 100644 --- a/Source/EventFlow.Owin/EventFlow.Owin.csproj +++ b/Source/EventFlow.Owin/EventFlow.Owin.csproj @@ -9,7 +9,7 @@ EventFlow.Owin Rasmus Mikkelsen Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2018 + Copyright (c) Rasmus Mikkelsen 2015 - 2019 OWIN support for EventFlow CQRS ES event sourcing OWIN git diff --git a/Source/EventFlow.PostgreSql/EventFlow.PostgreSql.csproj b/Source/EventFlow.PostgreSql/EventFlow.PostgreSql.csproj index 491ac23b4..30324ec76 100644 --- a/Source/EventFlow.PostgreSql/EventFlow.PostgreSql.csproj +++ b/Source/EventFlow.PostgreSql/EventFlow.PostgreSql.csproj @@ -8,8 +8,8 @@ True EventFlow.PostgreSql Rida Messaoudene - Rida Messaoudene - Copyright (c) Rida Messaoudene 2015 - 2018 + Rasmus Mikkelsen + Copyright (c) Rasmus Mikkelsen 2015 - 2019 POSTGRESQL support for EventFlow CQRS ES event sourcing POSTGRESQL git diff --git a/Source/EventFlow.RabbitMQ/EventFlow.RabbitMQ.csproj b/Source/EventFlow.RabbitMQ/EventFlow.RabbitMQ.csproj index 2682723a0..70f86183d 100644 --- a/Source/EventFlow.RabbitMQ/EventFlow.RabbitMQ.csproj +++ b/Source/EventFlow.RabbitMQ/EventFlow.RabbitMQ.csproj @@ -9,7 +9,7 @@ EventFlow.RabbitMQ Rasmus Mikkelsen Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2018 + Copyright (c) Rasmus Mikkelsen 2015 - 2019 RabbitMQ integration for EventFlow CQRS ES event sourcing RabbitMQ git diff --git a/Source/EventFlow.SQLite/EventFlow.SQLite.csproj b/Source/EventFlow.SQLite/EventFlow.SQLite.csproj index 6623c7f09..e4be2c9d4 100644 --- a/Source/EventFlow.SQLite/EventFlow.SQLite.csproj +++ b/Source/EventFlow.SQLite/EventFlow.SQLite.csproj @@ -9,7 +9,7 @@ EventFlow.SQLite Rasmus Mikkelsen Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2018 + Copyright (c) Rasmus Mikkelsen 2015 - 2019 SQLite event store for EventFlow CQRS ES event sourcing SQLite git diff --git a/Source/EventFlow.Sql/EventFlow.Sql.csproj b/Source/EventFlow.Sql/EventFlow.Sql.csproj index 6b30a7ab3..e7fc8f920 100644 --- a/Source/EventFlow.Sql/EventFlow.Sql.csproj +++ b/Source/EventFlow.Sql/EventFlow.Sql.csproj @@ -9,7 +9,7 @@ EventFlow.Sql Rasmus Mikkelsen Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2018 + Copyright (c) Rasmus Mikkelsen 2015 - 2019 Generic SQL support for EventFlow CQRS ES event sourcing SQL git diff --git a/Source/EventFlow.TestHelpers/EventFlow.TestHelpers.csproj b/Source/EventFlow.TestHelpers/EventFlow.TestHelpers.csproj index cdfb70497..554b7806b 100644 --- a/Source/EventFlow.TestHelpers/EventFlow.TestHelpers.csproj +++ b/Source/EventFlow.TestHelpers/EventFlow.TestHelpers.csproj @@ -9,7 +9,7 @@ EventFlow.TestHelpers Rasmus Mikkelsen Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2018 + Copyright (c) Rasmus Mikkelsen 2015 - 2019 A collection of test helpers used to help develop event and read model stores for EventFlow. Please note that this is an alpha initial release of the test helpers package and content is subject diff --git a/Source/EventFlow/EventFlow.csproj b/Source/EventFlow/EventFlow.csproj index aec72b24a..6c279d5aa 100644 --- a/Source/EventFlow/EventFlow.csproj +++ b/Source/EventFlow/EventFlow.csproj @@ -9,8 +9,8 @@ EventFlow Rasmus Mikkelsen Rasmus Mikkelsen - Copyright (c) Rasmus Mikkelsen 2015 - 2018 - Async/await first CQRS+ES and DDD framework for .NET - https://geteventflow.net/ + Copyright (c) Rasmus Mikkelsen 2015 - 2019 + Async/await first CQRS+ES and DDD framework for .NET - https://docs.geteventflow.net/ CQRS ES event sourcing git https://github.com/eventflow/EventFlow From 0ef2bb616230add761900872b53d0c40e4068567 Mon Sep 17 00:00:00 2001 From: Rasmus Mikkelsen Date: Mon, 9 Dec 2019 23:50:13 +0100 Subject: [PATCH 8/8] Update notable controbuters --- CONTRIBUTORS.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 6c02f9d3d..18642dd95 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,6 +1,6 @@ -# Contributers +# Contributors -List of notable contributers to EventFlow sorted alphabetically. For a +List of notable contributors to EventFlow sorted alphabetically. For a complete list of all contributions to EventFlow, have look at the [contributors](https://github.com/eventflow/EventFlow/graphs/contributors) graph. @@ -19,6 +19,11 @@ If you think your name is missing from the list, create a pull-request. * Original MongoDB author +### [Emanuele Curati](https://github.com/ProH4Ck) + +* ASP.NET Core 3 +* Docker integration test cleanup + ### [Frank Ebersoll](https://github.com/frankebersoll) * Created following packages @@ -37,18 +42,18 @@ If you think your name is missing from the list, create a pull-request. * Several key contributions and bug fixes * Donated Navicat Essentials for SQLite -### [janfeyen](https://github.com/janfeyen) +### [Jan Feyen](https://github.com/janfeyen) * Key MongoDB contributions -### [rmess](https://github.com/rmess) - -* PostgreSQL implementation - ### [Rasmus Mikkelsen](https://github.com/rasmus) * Original creator and author of EventFlow +### [Rida Messaoudene](https://github.com/rmess) + +* PostgreSQL implementation + ### [Willem Peters](https://github.com/wgtmpeters) * MongoDB cleanup and move to main repository