diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..5b6c5012 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,101 @@ + +[*.{cs,vb}] +#### Naming styles #### + +# Naming rules + +dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion +dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface +dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i + +dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion +dotnet_naming_rule.types_should_be_pascal_case.symbols = types +dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case + +dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion +dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members +dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case + +# Symbol specifications + +dotnet_naming_symbols.interface.applicable_kinds = interface +dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.interface.required_modifiers = + +dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum +dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.types.required_modifiers = + +dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method +dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected +dotnet_naming_symbols.non_field_members.required_modifiers = + +# Naming styles + +dotnet_naming_style.begins_with_i.required_prefix = I +dotnet_naming_style.begins_with_i.required_suffix = +dotnet_naming_style.begins_with_i.word_separator = +dotnet_naming_style.begins_with_i.capitalization = pascal_case + +dotnet_naming_style.pascal_case.required_prefix = +dotnet_naming_style.pascal_case.required_suffix = +dotnet_naming_style.pascal_case.word_separator = +dotnet_naming_style.pascal_case.capitalization = pascal_case + +dotnet_naming_style.pascal_case.required_prefix = +dotnet_naming_style.pascal_case.required_suffix = +dotnet_naming_style.pascal_case.word_separator = +dotnet_naming_style.pascal_case.capitalization = pascal_case +dotnet_style_operator_placement_when_wrapping = beginning_of_line +tab_width = 4 +indent_size = 4 +end_of_line = crlf +dotnet_style_coalesce_expression = true:suggestion +dotnet_style_null_propagation = true:suggestion +dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion +dotnet_style_prefer_auto_properties = true:silent +dotnet_style_object_initializer = true:suggestion +dotnet_style_collection_initializer = true:suggestion +dotnet_style_prefer_simplified_boolean_expressions = true:suggestion +dotnet_style_prefer_conditional_expression_over_assignment = true:silent +dotnet_style_prefer_conditional_expression_over_return = true:silent +dotnet_style_explicit_tuple_names = true:suggestion +dotnet_style_prefer_inferred_tuple_names = true:suggestion +dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion +dotnet_style_prefer_compound_assignment = true:suggestion +dotnet_style_prefer_simplified_interpolation = true:suggestion +dotnet_style_namespace_match_folder = true:suggestion +dotnet_style_readonly_field = true:suggestion + +[*.cs] +csharp_indent_labels = one_less_than_current +csharp_space_around_binary_operators = before_and_after +csharp_using_directive_placement = outside_namespace:silent +csharp_prefer_simple_using_statement = true:suggestion +csharp_prefer_braces = true:silent +csharp_style_namespace_declarations = block_scoped:silent +csharp_style_prefer_method_group_conversion = true:silent +csharp_style_prefer_top_level_statements = true:silent +csharp_style_expression_bodied_methods = false:silent +csharp_style_expression_bodied_constructors = false:silent +csharp_style_expression_bodied_operators = false:silent +csharp_style_expression_bodied_properties = true:silent +csharp_style_expression_bodied_indexers = true:silent +csharp_style_expression_bodied_accessors = true:silent +csharp_style_expression_bodied_lambdas = true:silent +csharp_style_expression_bodied_local_functions = false:silent +csharp_style_throw_expression = true:suggestion +csharp_style_prefer_null_check_over_type_check = true:suggestion +csharp_prefer_simple_default_expression = true:suggestion +csharp_style_prefer_local_over_anonymous_function = true:suggestion +csharp_style_prefer_index_operator = true:suggestion +csharp_style_prefer_range_operator = true:suggestion +csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion +csharp_style_prefer_tuple_swap = true:suggestion +csharp_style_prefer_utf8_string_literals = true:suggestion +csharp_style_inlined_variable_declaration = true:suggestion +csharp_style_deconstructed_variable_declaration = true:suggestion +csharp_style_unused_value_assignment_preference = discard_variable:suggestion +csharp_style_unused_value_expression_statement_preference = discard_variable:silent + +file_header_template = Copyright © 2024-Present The Cloud Streams Authors\n\nLicensed under the Apache License, Version 2.0 (the "License"),\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License. \ No newline at end of file diff --git a/src/broker/CloudStreams.Broker.Api/CloudStreams.Broker.Api.csproj b/src/broker/CloudStreams.Broker.Api/CloudStreams.Broker.Api.csproj index dbb21c5e..bb20a9c3 100644 --- a/src/broker/CloudStreams.Broker.Api/CloudStreams.Broker.Api.csproj +++ b/src/broker/CloudStreams.Broker.Api/CloudStreams.Broker.Api.csproj @@ -4,8 +4,20 @@ net8.0 enable enable + 0.14.0 + $(VersionPrefix) + $(VersionPrefix) + en true - cloud-streams-broker + True + Apache-2.0 + Copyright © 2023-Present The Cloud Streams Authors. All rights reserved. + https://github.com/neuroglia-io/cloud-streams + README.md + https://github.com/neuroglia-io/cloud-streams + git + true + cloud-streams/broker Linux ..\..\.. diff --git a/src/broker/CloudStreams.Broker.Api/Program.cs b/src/broker/CloudStreams.Broker.Api/Program.cs index e151895f..083ae4d8 100644 --- a/src/broker/CloudStreams.Broker.Api/Program.cs +++ b/src/broker/CloudStreams.Broker.Api/Program.cs @@ -1,3 +1,16 @@ +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + using CloudStreams.Broker.Application.Configuration; using CloudStreams.Broker.Application.Services; using CloudStreams.Core; diff --git a/src/broker/CloudStreams.Broker.Application/CloudStreams.Broker.Application.csproj b/src/broker/CloudStreams.Broker.Application/CloudStreams.Broker.Application.csproj index e79f146d..ab08ebd5 100644 --- a/src/broker/CloudStreams.Broker.Application/CloudStreams.Broker.Application.csproj +++ b/src/broker/CloudStreams.Broker.Application/CloudStreams.Broker.Application.csproj @@ -4,6 +4,18 @@ net8.0 enable enable + 0.14.0 + $(VersionPrefix) + $(VersionPrefix) + en + true + True + Apache-2.0 + Copyright © 2023-Present The Cloud Streams Authors. All rights reserved. + https://github.com/neuroglia-io/cloud-streams + README.md + https://github.com/neuroglia-io/cloud-streams + git true diff --git a/src/broker/CloudStreams.Broker.Application/Configuration/BrokerOptions.cs b/src/broker/CloudStreams.Broker.Application/Configuration/BrokerOptions.cs index d337828f..616e8acc 100644 --- a/src/broker/CloudStreams.Broker.Application/Configuration/BrokerOptions.cs +++ b/src/broker/CloudStreams.Broker.Application/Configuration/BrokerOptions.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Broker.Application.Configuration; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Broker.Application.Configuration; /// /// Represents the options used to configure a Cloud Streams cloud event broker diff --git a/src/broker/CloudStreams.Broker.Application/Services/SubscriptionHandler.cs b/src/broker/CloudStreams.Broker.Application/Services/SubscriptionHandler.cs index 62e7e5db..bbb7d957 100644 --- a/src/broker/CloudStreams.Broker.Application/Services/SubscriptionHandler.cs +++ b/src/broker/CloudStreams.Broker.Application/Services/SubscriptionHandler.cs @@ -1,4 +1,17 @@ -using FluentValidation; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using FluentValidation; using Grpc.Core; using Polly; using Polly.CircuitBreaker; diff --git a/src/broker/CloudStreams.Broker.Application/Services/SubscriptionManager.cs b/src/broker/CloudStreams.Broker.Application/Services/SubscriptionManager.cs index a00d6d43..604e02b3 100644 --- a/src/broker/CloudStreams.Broker.Application/Services/SubscriptionManager.cs +++ b/src/broker/CloudStreams.Broker.Application/Services/SubscriptionManager.cs @@ -1,4 +1,17 @@ -using CloudStreams.Broker.Application.Configuration; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Broker.Application.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using Neuroglia.Data.Infrastructure.ResourceOriented.Configuration; diff --git a/src/broker/CloudStreams.Broker.Application/Usings.cs b/src/broker/CloudStreams.Broker.Application/Usings.cs index 8c73b25c..f06a5256 100644 --- a/src/broker/CloudStreams.Broker.Application/Usings.cs +++ b/src/broker/CloudStreams.Broker.Application/Usings.cs @@ -1,4 +1,17 @@ -global using CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +global using CloudStreams.Core; global using CloudStreams.Core.Application; global using CloudStreams.Core.Application.Services; global using CloudStreams.Core.Resources; diff --git a/src/core/CloudStreams.Core.Api.Client/CloudStreams.Core.Api.Client.csproj b/src/core/CloudStreams.Core.Api.Client/CloudStreams.Core.Api.Client.csproj index a0fc60ac..fd297f56 100644 --- a/src/core/CloudStreams.Core.Api.Client/CloudStreams.Core.Api.Client.csproj +++ b/src/core/CloudStreams.Core.Api.Client/CloudStreams.Core.Api.Client.csproj @@ -4,6 +4,18 @@ net8.0 enable enable + 0.14.0 + $(VersionPrefix) + $(VersionPrefix) + en + true + True + Apache-2.0 + Copyright © 2023-Present The Cloud Streams Authors. All rights reserved. + https://github.com/neuroglia-io/cloud-streams + README.md + https://github.com/neuroglia-io/cloud-streams + git true diff --git a/src/core/CloudStreams.Core.Api.Client/Configuration/CoreApiClientOptions.cs b/src/core/CloudStreams.Core.Api.Client/Configuration/CoreApiClientOptions.cs index 784c1190..b802542e 100644 --- a/src/core/CloudStreams.Core.Api.Client/Configuration/CoreApiClientOptions.cs +++ b/src/core/CloudStreams.Core.Api.Client/Configuration/CoreApiClientOptions.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Api.Client.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Api.Client.Services; namespace CloudStreams.ResourceManagement.Api.Client.Configuration; diff --git a/src/core/CloudStreams.Core.Api.Client/Extensions/ICloudStreamsResourceManagementApiClientExtensions.cs b/src/core/CloudStreams.Core.Api.Client/Extensions/ICloudStreamsResourceManagementApiClientExtensions.cs index ecdd95d2..e88f1c3d 100644 --- a/src/core/CloudStreams.Core.Api.Client/Extensions/ICloudStreamsResourceManagementApiClientExtensions.cs +++ b/src/core/CloudStreams.Core.Api.Client/Extensions/ICloudStreamsResourceManagementApiClientExtensions.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Api.Client.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Api.Client.Services; namespace CloudStreams; diff --git a/src/core/CloudStreams.Core.Api.Client/Extensions/IServiceCollectionExtensions.cs b/src/core/CloudStreams.Core.Api.Client/Extensions/IServiceCollectionExtensions.cs index 382e5171..1e7d9f5e 100644 --- a/src/core/CloudStreams.Core.Api.Client/Extensions/IServiceCollectionExtensions.cs +++ b/src/core/CloudStreams.Core.Api.Client/Extensions/IServiceCollectionExtensions.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Api.Client.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Api.Client.Services; using CloudStreams.ResourceManagement.Api.Client.Configuration; using Microsoft.AspNetCore.SignalR.Client; using Microsoft.Extensions.DependencyInjection; diff --git a/src/core/CloudStreams.Core.Api.Client/Services/CloudStreamsCoreApiClient.CloudEvents.cs b/src/core/CloudStreams.Core.Api.Client/Services/CloudStreamsCoreApiClient.CloudEvents.cs index 6df2f78e..aadbfef0 100644 --- a/src/core/CloudStreams.Core.Api.Client/Services/CloudStreamsCoreApiClient.CloudEvents.cs +++ b/src/core/CloudStreams.Core.Api.Client/Services/CloudStreamsCoreApiClient.CloudEvents.cs @@ -1,4 +1,17 @@ -using Neuroglia; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia; using Neuroglia.Eventing.CloudEvents; using Neuroglia.Serialization; diff --git a/src/core/CloudStreams.Core.Api.Client/Services/CloudStreamsCoreApiClient.ResourceManagement.cs b/src/core/CloudStreams.Core.Api.Client/Services/CloudStreamsCoreApiClient.ResourceManagement.cs index 7e73a9c1..acf18889 100644 --- a/src/core/CloudStreams.Core.Api.Client/Services/CloudStreamsCoreApiClient.ResourceManagement.cs +++ b/src/core/CloudStreams.Core.Api.Client/Services/CloudStreamsCoreApiClient.ResourceManagement.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Api.Client.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Api.Client.Services; public partial class CloudStreamsCoreApiClient : IResourceManagementApiClient diff --git a/src/core/CloudStreams.Core.Api.Client/Services/CloudStreamsCoreApiClient.cs b/src/core/CloudStreams.Core.Api.Client/Services/CloudStreamsCoreApiClient.cs index fd0f2586..0314f683 100644 --- a/src/core/CloudStreams.Core.Api.Client/Services/CloudStreamsCoreApiClient.cs +++ b/src/core/CloudStreams.Core.Api.Client/Services/CloudStreamsCoreApiClient.cs @@ -1,4 +1,17 @@ -using Microsoft.Extensions.DependencyInjection; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Neuroglia; using Neuroglia.Serialization; diff --git a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudEventPartitionsApi.cs b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudEventPartitionsApi.cs index 2f9fc73a..3f6b013e 100644 --- a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudEventPartitionsApi.cs +++ b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudEventPartitionsApi.cs @@ -1,4 +1,17 @@ -using Neuroglia.Eventing.CloudEvents; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Eventing.CloudEvents; namespace CloudStreams.Core.Api.Client.Services; diff --git a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudEventStreamApi.cs b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudEventStreamApi.cs index 7bc05563..b1a39c84 100644 --- a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudEventStreamApi.cs +++ b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudEventStreamApi.cs @@ -1,4 +1,17 @@ -using Neuroglia.Eventing.CloudEvents; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Eventing.CloudEvents; namespace CloudStreams.Core.Api.Client.Services; diff --git a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudEventsApi.cs b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudEventsApi.cs index 5dcfa09e..34b57fd0 100644 --- a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudEventsApi.cs +++ b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudEventsApi.cs @@ -1,4 +1,17 @@ -using Neuroglia.Eventing.CloudEvents; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Eventing.CloudEvents; namespace CloudStreams.Core.Api.Client.Services; diff --git a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudStreamsCoreApiClient.cs b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudStreamsCoreApiClient.cs index 22e1dbdf..3644f365 100644 --- a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudStreamsCoreApiClient.cs +++ b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/ICloudStreamsCoreApiClient.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Api.Client.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Api.Client.Services; /// /// Defines the fundamentals of a service used to interact with a Cloud Streams gateway's API diff --git a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceEventWatchHub.cs b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceEventWatchHub.cs index 54f01208..8a1caab3 100644 --- a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceEventWatchHub.cs +++ b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceEventWatchHub.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Api.Client.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Api.Client.Services; /// /// Defines the fundamentals of a service used by clients to watch resource-related events diff --git a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceEventWatchHubClient.cs b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceEventWatchHubClient.cs index 1c92f59d..706bea14 100644 --- a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceEventWatchHubClient.cs +++ b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceEventWatchHubClient.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Api.Client.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Api.Client.Services; /// /// Defines the fundamentals of a service used by clients to watch resource-related events diff --git a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceManagementApi.cs b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceManagementApi.cs index e36d6600..0994e9f9 100644 --- a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceManagementApi.cs +++ b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceManagementApi.cs @@ -1,4 +1,17 @@ -using Neuroglia.Data; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Data; namespace CloudStreams.Core.Api.Client.Services; diff --git a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceManagementApiClient.cs b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceManagementApiClient.cs index 858ce6ac..6fefec40 100644 --- a/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceManagementApiClient.cs +++ b/src/core/CloudStreams.Core.Api.Client/Services/Interfaces/IResourceManagementApiClient.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Api.Client.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Api.Client.Services; /// /// Defines the fundamentals of the Cloud Streams API dedicated to resource management diff --git a/src/core/CloudStreams.Core.Api.Client/Services/ResourceManagementApi.cs b/src/core/CloudStreams.Core.Api.Client/Services/ResourceManagementApi.cs index 11b86590..ca96f1e1 100644 --- a/src/core/CloudStreams.Core.Api.Client/Services/ResourceManagementApi.cs +++ b/src/core/CloudStreams.Core.Api.Client/Services/ResourceManagementApi.cs @@ -1,4 +1,17 @@ -using Microsoft.Extensions.Logging; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Microsoft.Extensions.Logging; using Neuroglia; using Neuroglia.Data; using Neuroglia.Serialization; diff --git a/src/core/CloudStreams.Core.Api.Client/Services/ResourceWatch.cs b/src/core/CloudStreams.Core.Api.Client/Services/ResourceWatch.cs index fdf75c31..d0092487 100644 --- a/src/core/CloudStreams.Core.Api.Client/Services/ResourceWatch.cs +++ b/src/core/CloudStreams.Core.Api.Client/Services/ResourceWatch.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Api.Client.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Api.Client.Services; /// /// Represents the service used to handle a resource watch event subscription diff --git a/src/core/CloudStreams.Core.Api.Client/Services/ResourceWatchEventHubClient.cs b/src/core/CloudStreams.Core.Api.Client/Services/ResourceWatchEventHubClient.cs index 0c3f7585..923f9b55 100644 --- a/src/core/CloudStreams.Core.Api.Client/Services/ResourceWatchEventHubClient.cs +++ b/src/core/CloudStreams.Core.Api.Client/Services/ResourceWatchEventHubClient.cs @@ -1,4 +1,17 @@ -using Microsoft.AspNetCore.SignalR.Client; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Microsoft.AspNetCore.SignalR.Client; using Neuroglia.Eventing.CloudEvents; using System.Reactive.Linq; using System.Reactive.Subjects; diff --git a/src/core/CloudStreams.Core.Api.Client/Usings.cs b/src/core/CloudStreams.Core.Api.Client/Usings.cs index e123f16f..1b998df8 100644 --- a/src/core/CloudStreams.Core.Api.Client/Usings.cs +++ b/src/core/CloudStreams.Core.Api.Client/Usings.cs @@ -1,2 +1,15 @@ -global using CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +global using CloudStreams.Core.Resources; global using Neuroglia.Data.Infrastructure.ResourceOriented; \ No newline at end of file diff --git a/src/core/CloudStreams.Core.Api/ApiController.cs b/src/core/CloudStreams.Core.Api/ApiController.cs index feee218b..342d1414 100644 --- a/src/core/CloudStreams.Core.Api/ApiController.cs +++ b/src/core/CloudStreams.Core.Api/ApiController.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Api; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Api; /// /// Represents the base class for all s diff --git a/src/core/CloudStreams.Core.Api/CloudStreams.Core.Api.csproj b/src/core/CloudStreams.Core.Api/CloudStreams.Core.Api.csproj index 65ee7f47..0ec66023 100644 --- a/src/core/CloudStreams.Core.Api/CloudStreams.Core.Api.csproj +++ b/src/core/CloudStreams.Core.Api/CloudStreams.Core.Api.csproj @@ -4,7 +4,20 @@ net8.0 enable enable + 0.14.0 + $(VersionPrefix) + $(VersionPrefix) + en true + True + Apache-2.0 + Copyright © 2023-Present The Cloud Streams Authors. All rights reserved. + https://github.com/neuroglia-io/cloud-streams + README.md + https://github.com/neuroglia-io/cloud-streams + git + true + cloud-streams/broker Linux ..\..\.. diff --git a/src/core/CloudStreams.Core.Api/ClusterResourceApiController.cs b/src/core/CloudStreams.Core.Api/ClusterResourceApiController.cs index d3aabc74..74c878fb 100644 --- a/src/core/CloudStreams.Core.Api/ClusterResourceApiController.cs +++ b/src/core/CloudStreams.Core.Api/ClusterResourceApiController.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Application.Commands.Resources.Generic; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Application.Commands.Resources.Generic; using CloudStreams.Core.Application.Queries.Resources.Generic; namespace CloudStreams.Core.Api; diff --git a/src/core/CloudStreams.Core.Api/Controllers/BrokersController.cs b/src/core/CloudStreams.Core.Api/Controllers/BrokersController.cs index 06ab1c69..7ee14bb7 100644 --- a/src/core/CloudStreams.Core.Api/Controllers/BrokersController.cs +++ b/src/core/CloudStreams.Core.Api/Controllers/BrokersController.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Api.Controllers; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Api.Controllers; /// /// Represents the used to manage s diff --git a/src/core/CloudStreams.Core.Api/Controllers/CloudEventPartitionsController.cs b/src/core/CloudStreams.Core.Api/Controllers/CloudEventPartitionsController.cs index f4ed5637..29ed4973 100644 --- a/src/core/CloudStreams.Core.Api/Controllers/CloudEventPartitionsController.cs +++ b/src/core/CloudStreams.Core.Api/Controllers/CloudEventPartitionsController.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Application.Queries.Partitions; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Application.Queries.Partitions; namespace CloudStreams.Core.Api.Controllers; diff --git a/src/core/CloudStreams.Core.Api/Controllers/CloudEventStreamController.cs b/src/core/CloudStreams.Core.Api/Controllers/CloudEventStreamController.cs index 02da097a..98455c65 100644 --- a/src/core/CloudStreams.Core.Api/Controllers/CloudEventStreamController.cs +++ b/src/core/CloudStreams.Core.Api/Controllers/CloudEventStreamController.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Application.Queries.Streams; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Application.Queries.Streams; namespace CloudStreams.Core.Api.Controllers; diff --git a/src/core/CloudStreams.Core.Api/Controllers/GatewaysController.cs b/src/core/CloudStreams.Core.Api/Controllers/GatewaysController.cs index e218513d..37595a73 100644 --- a/src/core/CloudStreams.Core.Api/Controllers/GatewaysController.cs +++ b/src/core/CloudStreams.Core.Api/Controllers/GatewaysController.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Application.Queries.Gateways; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Application.Queries.Gateways; namespace CloudStreams.Core.Api.Controllers; diff --git a/src/core/CloudStreams.Core.Api/Controllers/SubscriptionsController.cs b/src/core/CloudStreams.Core.Api/Controllers/SubscriptionsController.cs index d1aa8595..55b8f2cc 100644 --- a/src/core/CloudStreams.Core.Api/Controllers/SubscriptionsController.cs +++ b/src/core/CloudStreams.Core.Api/Controllers/SubscriptionsController.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Api.Controllers; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Api.Controllers; /// /// Represents the used to manage s diff --git a/src/core/CloudStreams.Core.Api/Extensions/ICloudStreamsApiBuilderExtensions.cs b/src/core/CloudStreams.Core.Api/Extensions/ICloudStreamsApiBuilderExtensions.cs index a9708356..fdc5b91c 100644 --- a/src/core/CloudStreams.Core.Api/Extensions/ICloudStreamsApiBuilderExtensions.cs +++ b/src/core/CloudStreams.Core.Api/Extensions/ICloudStreamsApiBuilderExtensions.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Api.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Api.Services; using CloudStreams.Core.Application.Services; namespace CloudStreams.Core.Api; diff --git a/src/core/CloudStreams.Core.Api/Extensions/IWebApplicationBuilderExtensions.cs b/src/core/CloudStreams.Core.Api/Extensions/IWebApplicationBuilderExtensions.cs index f1d2cf0a..3c7661f9 100644 --- a/src/core/CloudStreams.Core.Api/Extensions/IWebApplicationBuilderExtensions.cs +++ b/src/core/CloudStreams.Core.Api/Extensions/IWebApplicationBuilderExtensions.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Api.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Api.Services; using CloudStreams.Core.Application.Services; namespace CloudStreams.Core.Api; diff --git a/src/core/CloudStreams.Core.Api/Hubs/ResourceEventWatchHub.cs b/src/core/CloudStreams.Core.Api/Hubs/ResourceEventWatchHub.cs index cbfc86b7..642d1591 100644 --- a/src/core/CloudStreams.Core.Api/Hubs/ResourceEventWatchHub.cs +++ b/src/core/CloudStreams.Core.Api/Hubs/ResourceEventWatchHub.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Api.Client.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Api.Client.Services; using CloudStreams.Core.Api.Services; using Microsoft.AspNetCore.SignalR; diff --git a/src/core/CloudStreams.Core.Api/Program.cs b/src/core/CloudStreams.Core.Api/Program.cs index 3b189e3b..34ff37b7 100644 --- a/src/core/CloudStreams.Core.Api/Program.cs +++ b/src/core/CloudStreams.Core.Api/Program.cs @@ -1,3 +1,16 @@ +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + using CloudStreams.Core.Api; using CloudStreams.Core.Api.Hubs; using HealthChecks.UI.Client; diff --git a/src/core/CloudStreams.Core.Api/ResourceApiController.cs b/src/core/CloudStreams.Core.Api/ResourceApiController.cs index 4ba4cea0..46401ada 100644 --- a/src/core/CloudStreams.Core.Api/ResourceApiController.cs +++ b/src/core/CloudStreams.Core.Api/ResourceApiController.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Application.Commands.Resources.Generic; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Application.Commands.Resources.Generic; using CloudStreams.Core.Application.Queries.Resources.Generic; namespace CloudStreams.Core.Api; diff --git a/src/core/CloudStreams.Core.Api/Services/BrokerHealthMonitor.cs b/src/core/CloudStreams.Core.Api/Services/BrokerHealthMonitor.cs index d65d3352..ab5acc4b 100644 --- a/src/core/CloudStreams.Core.Api/Services/BrokerHealthMonitor.cs +++ b/src/core/CloudStreams.Core.Api/Services/BrokerHealthMonitor.cs @@ -1,4 +1,17 @@ -using System.Text; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System.Text; using System.Text.Json.Nodes; namespace CloudStreams.Core.Api.Services; diff --git a/src/core/CloudStreams.Core.Api/Services/BrokerResourceController.cs b/src/core/CloudStreams.Core.Api/Services/BrokerResourceController.cs index 339329ff..fc0d0bdb 100644 --- a/src/core/CloudStreams.Core.Api/Services/BrokerResourceController.cs +++ b/src/core/CloudStreams.Core.Api/Services/BrokerResourceController.cs @@ -1,4 +1,17 @@ -using Microsoft.Extensions.Options; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Microsoft.Extensions.Options; using Neuroglia.Data.Infrastructure.ResourceOriented.Configuration; using System.Collections.Concurrent; diff --git a/src/core/CloudStreams.Core.Api/Services/CloudStreamsApplicationBuilder.cs b/src/core/CloudStreams.Core.Api/Services/CloudStreamsApplicationBuilder.cs index c0ce6c3e..a044b996 100644 --- a/src/core/CloudStreams.Core.Api/Services/CloudStreamsApplicationBuilder.cs +++ b/src/core/CloudStreams.Core.Api/Services/CloudStreamsApplicationBuilder.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Application; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Application; using CloudStreams.Core.Application.Commands.Resources; using CloudStreams.Core.Application.Services; using FluentValidation; diff --git a/src/core/CloudStreams.Core.Api/Services/GatewayHealthMonitor.cs b/src/core/CloudStreams.Core.Api/Services/GatewayHealthMonitor.cs index eee46efc..15f8928c 100644 --- a/src/core/CloudStreams.Core.Api/Services/GatewayHealthMonitor.cs +++ b/src/core/CloudStreams.Core.Api/Services/GatewayHealthMonitor.cs @@ -1,4 +1,17 @@ -using Neuroglia.Data.Infrastructure.ResourceOriented.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Data.Infrastructure.ResourceOriented.Services; using Neuroglia.Reactive; using Neuroglia.Serialization; using System.Diagnostics; diff --git a/src/core/CloudStreams.Core.Api/Services/GatewayResourceController.cs b/src/core/CloudStreams.Core.Api/Services/GatewayResourceController.cs index 3c5c32df..90ba77b8 100644 --- a/src/core/CloudStreams.Core.Api/Services/GatewayResourceController.cs +++ b/src/core/CloudStreams.Core.Api/Services/GatewayResourceController.cs @@ -1,4 +1,17 @@ -using Microsoft.Extensions.Options; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Microsoft.Extensions.Options; using Neuroglia.Data.Infrastructure.ResourceOriented.Configuration; using System.Collections.Concurrent; diff --git a/src/core/CloudStreams.Core.Api/Services/ResourceWatchEventHubController.cs b/src/core/CloudStreams.Core.Api/Services/ResourceWatchEventHubController.cs index 06591935..390f6861 100644 --- a/src/core/CloudStreams.Core.Api/Services/ResourceWatchEventHubController.cs +++ b/src/core/CloudStreams.Core.Api/Services/ResourceWatchEventHubController.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Api.Client.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Api.Client.Services; using CloudStreams.Core.Api.Hubs; using Microsoft.AspNetCore.SignalR; using System.Collections.Concurrent; diff --git a/src/core/CloudStreams.Core.Api/Services/YamlInputFormatter.cs b/src/core/CloudStreams.Core.Api/Services/YamlInputFormatter.cs index fccf6b97..dd70382e 100644 --- a/src/core/CloudStreams.Core.Api/Services/YamlInputFormatter.cs +++ b/src/core/CloudStreams.Core.Api/Services/YamlInputFormatter.cs @@ -1,4 +1,17 @@ -using Microsoft.AspNetCore.Mvc.Formatters; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Microsoft.AspNetCore.Mvc.Formatters; using Neuroglia.Serialization; using System.Text; diff --git a/src/core/CloudStreams.Core.Api/Services/YamlOutputFormatter.cs b/src/core/CloudStreams.Core.Api/Services/YamlOutputFormatter.cs index 814c2031..a967f2d4 100644 --- a/src/core/CloudStreams.Core.Api/Services/YamlOutputFormatter.cs +++ b/src/core/CloudStreams.Core.Api/Services/YamlOutputFormatter.cs @@ -1,4 +1,17 @@ -using Microsoft.AspNetCore.Mvc.Formatters; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Microsoft.AspNetCore.Mvc.Formatters; using Neuroglia.Serialization; using System.Text; diff --git a/src/core/CloudStreams.Core.Api/Usings.cs b/src/core/CloudStreams.Core.Api/Usings.cs index 484e1dd9..0eb90655 100644 --- a/src/core/CloudStreams.Core.Api/Usings.cs +++ b/src/core/CloudStreams.Core.Api/Usings.cs @@ -1,4 +1,17 @@ -global using CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +global using CloudStreams.Core.Resources; global using Microsoft.AspNetCore.Mvc; global using Neuroglia; global using Neuroglia.Data; diff --git a/src/core/CloudStreams.Core.Application/CloudStreams.Core.Application.csproj b/src/core/CloudStreams.Core.Application/CloudStreams.Core.Application.csproj index 6907fd6d..6b4d39c4 100644 --- a/src/core/CloudStreams.Core.Application/CloudStreams.Core.Application.csproj +++ b/src/core/CloudStreams.Core.Application/CloudStreams.Core.Application.csproj @@ -4,6 +4,18 @@ net8.0 enable enable + 0.14.0 + $(VersionPrefix) + $(VersionPrefix) + en + true + True + Apache-2.0 + Copyright © 2023-Present The Cloud Streams Authors. All rights reserved. + https://github.com/neuroglia-io/cloud-streams + README.md + https://github.com/neuroglia-io/cloud-streams + git true diff --git a/src/core/CloudStreams.Core.Application/Commands/Resources/CreateResourceCommand.cs b/src/core/CloudStreams.Core.Application/Commands/Resources/CreateResourceCommand.cs index b961da1d..2a93c4f5 100644 --- a/src/core/CloudStreams.Core.Application/Commands/Resources/CreateResourceCommand.cs +++ b/src/core/CloudStreams.Core.Application/Commands/Resources/CreateResourceCommand.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Commands.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Commands.Resources; /// /// Represents the command used to create a new diff --git a/src/core/CloudStreams.Core.Application/Commands/Resources/DeleteResourceCommand.cs b/src/core/CloudStreams.Core.Application/Commands/Resources/DeleteResourceCommand.cs index bf243ca9..866197b0 100644 --- a/src/core/CloudStreams.Core.Application/Commands/Resources/DeleteResourceCommand.cs +++ b/src/core/CloudStreams.Core.Application/Commands/Resources/DeleteResourceCommand.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Commands.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Commands.Resources; /// /// Represents the used to delete an existing diff --git a/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/CreateResourceCommand.cs b/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/CreateResourceCommand.cs index 5f7476aa..a252d5b3 100644 --- a/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/CreateResourceCommand.cs +++ b/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/CreateResourceCommand.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Commands.Resources.Generic; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Commands.Resources.Generic; /// /// Represents the command used to create a new diff --git a/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/DeleteResourceCommand.cs b/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/DeleteResourceCommand.cs index 89b56eb1..7e018799 100644 --- a/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/DeleteResourceCommand.cs +++ b/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/DeleteResourceCommand.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Commands.Resources.Generic; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Commands.Resources.Generic; /// /// Represents the used to delete an existing diff --git a/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/PatchResourceCommand.cs b/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/PatchResourceCommand.cs index 007896e5..1a756809 100644 --- a/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/PatchResourceCommand.cs +++ b/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/PatchResourceCommand.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Commands.Resources.Generic; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Commands.Resources.Generic; /// /// Represents the used to delete an existing diff --git a/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/ReplaceResourceCommand.cs b/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/ReplaceResourceCommand.cs index b8984589..dca62cd9 100644 --- a/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/ReplaceResourceCommand.cs +++ b/src/core/CloudStreams.Core.Application/Commands/Resources/Generic/ReplaceResourceCommand.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Commands.Resources.Generic; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Commands.Resources.Generic; /// /// Represents the used to replace an existing diff --git a/src/core/CloudStreams.Core.Application/Commands/Resources/PatchResourceCommand.cs b/src/core/CloudStreams.Core.Application/Commands/Resources/PatchResourceCommand.cs index 000ef894..7648823f 100644 --- a/src/core/CloudStreams.Core.Application/Commands/Resources/PatchResourceCommand.cs +++ b/src/core/CloudStreams.Core.Application/Commands/Resources/PatchResourceCommand.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Commands.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Commands.Resources; /// /// Represents the used to delete an existing diff --git a/src/core/CloudStreams.Core.Application/Commands/Resources/ReplaceResourceCommand.cs b/src/core/CloudStreams.Core.Application/Commands/Resources/ReplaceResourceCommand.cs index 15f59f5a..073ce0b0 100644 --- a/src/core/CloudStreams.Core.Application/Commands/Resources/ReplaceResourceCommand.cs +++ b/src/core/CloudStreams.Core.Application/Commands/Resources/ReplaceResourceCommand.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Commands.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Commands.Resources; /// /// Represents the used to replace an existing diff --git a/src/core/CloudStreams.Core.Application/Extensions/CloudEventRecordExtensions.cs b/src/core/CloudStreams.Core.Application/Extensions/CloudEventRecordExtensions.cs index 9bb146a5..0133af47 100644 --- a/src/core/CloudStreams.Core.Application/Extensions/CloudEventRecordExtensions.cs +++ b/src/core/CloudStreams.Core.Application/Extensions/CloudEventRecordExtensions.cs @@ -1,4 +1,17 @@ -using Neuroglia.Serialization.Json; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Serialization.Json; using System.Text.Json.Nodes; namespace CloudStreams.Core.Application; diff --git a/src/core/CloudStreams.Core.Application/Extensions/ICloudEventStoreExtensions.cs b/src/core/CloudStreams.Core.Application/Extensions/ICloudEventStoreExtensions.cs index 4472bdfc..ebbecb63 100644 --- a/src/core/CloudStreams.Core.Application/Extensions/ICloudEventStoreExtensions.cs +++ b/src/core/CloudStreams.Core.Application/Extensions/ICloudEventStoreExtensions.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Application.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Application.Services; using Neuroglia.Data.Infrastructure.EventSourcing; namespace CloudStreams.Core.Application; diff --git a/src/core/CloudStreams.Core.Application/Extensions/IServiceCollectionExtensions.cs b/src/core/CloudStreams.Core.Application/Extensions/IServiceCollectionExtensions.cs index 29426826..9f9f5dd5 100644 --- a/src/core/CloudStreams.Core.Application/Extensions/IServiceCollectionExtensions.cs +++ b/src/core/CloudStreams.Core.Application/Extensions/IServiceCollectionExtensions.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Application.Commands.Resources.Generic; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Application.Commands.Resources.Generic; using CloudStreams.Core.Application.Queries.Resources.Generic; using Microsoft.Extensions.DependencyInjection; diff --git a/src/core/CloudStreams.Core.Application/Extensions/PartitionReferenceExtensions.cs b/src/core/CloudStreams.Core.Application/Extensions/PartitionReferenceExtensions.cs index ce662c6d..6fd07944 100644 --- a/src/core/CloudStreams.Core.Application/Extensions/PartitionReferenceExtensions.cs +++ b/src/core/CloudStreams.Core.Application/Extensions/PartitionReferenceExtensions.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application; /// /// Defines extensions for s diff --git a/src/core/CloudStreams.Core.Application/Projections.cs b/src/core/CloudStreams.Core.Application/Projections.cs index 5b50da58..54bc7d3f 100644 --- a/src/core/CloudStreams.Core.Application/Projections.cs +++ b/src/core/CloudStreams.Core.Application/Projections.cs @@ -1,4 +1,17 @@ -namespace CloudStreams; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams; /// /// Exposes constants about the EventStore projections used by Cloud Streams diff --git a/src/core/CloudStreams.Core.Application/Queries/Gateways/CheckGatewayHealthQuery.cs b/src/core/CloudStreams.Core.Application/Queries/Gateways/CheckGatewayHealthQuery.cs index ee475b5a..df304a35 100644 --- a/src/core/CloudStreams.Core.Application/Queries/Gateways/CheckGatewayHealthQuery.cs +++ b/src/core/CloudStreams.Core.Application/Queries/Gateways/CheckGatewayHealthQuery.cs @@ -1,4 +1,17 @@ -using Neuroglia.Serialization; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Serialization; using System.Diagnostics; using System.Net.Mime; using System.Text; diff --git a/src/core/CloudStreams.Core.Application/Queries/Partitions/GetEventPartitionMetadataQuery.cs b/src/core/CloudStreams.Core.Application/Queries/Partitions/GetEventPartitionMetadataQuery.cs index 9221fa86..65a87944 100644 --- a/src/core/CloudStreams.Core.Application/Queries/Partitions/GetEventPartitionMetadataQuery.cs +++ b/src/core/CloudStreams.Core.Application/Queries/Partitions/GetEventPartitionMetadataQuery.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Application.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Application.Services; using System.ComponentModel.DataAnnotations; namespace CloudStreams.Core.Application.Queries.Partitions; diff --git a/src/core/CloudStreams.Core.Application/Queries/Partitions/ListEventPartitionIdsQuery.cs b/src/core/CloudStreams.Core.Application/Queries/Partitions/ListEventPartitionIdsQuery.cs index 8cfe1b36..92eff9ba 100644 --- a/src/core/CloudStreams.Core.Application/Queries/Partitions/ListEventPartitionIdsQuery.cs +++ b/src/core/CloudStreams.Core.Application/Queries/Partitions/ListEventPartitionIdsQuery.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Application.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Application.Services; using System.ComponentModel.DataAnnotations; namespace CloudStreams.Core.Application.Queries.Partitions; diff --git a/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/GetResourceDefinitionQuery.cs b/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/GetResourceDefinitionQuery.cs index 4a2b052c..a1ac5fb4 100644 --- a/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/GetResourceDefinitionQuery.cs +++ b/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/GetResourceDefinitionQuery.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Queries.Resources.Generic; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Queries.Resources.Generic; /// /// Represents the used to get the definition of the specified type diff --git a/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/GetResourceQuery.cs b/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/GetResourceQuery.cs index fbf8f278..70feebf8 100644 --- a/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/GetResourceQuery.cs +++ b/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/GetResourceQuery.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Queries.Resources.Generic; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Queries.Resources.Generic; /// /// Represents the used to get an existing diff --git a/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/GetResourcesQuery.cs b/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/GetResourcesQuery.cs index 0bbc537a..37594070 100644 --- a/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/GetResourcesQuery.cs +++ b/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/GetResourcesQuery.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Queries.Resources.Generic; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Queries.Resources.Generic; /// /// Represents the used to retrieves s of the specified type diff --git a/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/ListResourcesQuery.cs b/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/ListResourcesQuery.cs index 6ac6be3a..a32745cf 100644 --- a/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/ListResourcesQuery.cs +++ b/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/ListResourcesQuery.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Queries.Resources.Generic; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Queries.Resources.Generic; /// /// Represents the used to list all s diff --git a/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/WatchResourcesQuery.cs b/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/WatchResourcesQuery.cs index bc577608..ff61a586 100644 --- a/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/WatchResourcesQuery.cs +++ b/src/core/CloudStreams.Core.Application/Queries/Resources/Generic/WatchResourcesQuery.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Queries.Resources.Generic; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Queries.Resources.Generic; /// /// Represents the used to retrieves s of the specified type diff --git a/src/core/CloudStreams.Core.Application/Queries/Resources/GetResourceQuery.cs b/src/core/CloudStreams.Core.Application/Queries/Resources/GetResourceQuery.cs index e8ce4eb1..3f98c466 100644 --- a/src/core/CloudStreams.Core.Application/Queries/Resources/GetResourceQuery.cs +++ b/src/core/CloudStreams.Core.Application/Queries/Resources/GetResourceQuery.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Queries.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Queries.Resources; /// /// Represents the used to get an existing diff --git a/src/core/CloudStreams.Core.Application/Queries/Resources/GetResourcesQuery.cs b/src/core/CloudStreams.Core.Application/Queries/Resources/GetResourcesQuery.cs index eda5758f..53587af9 100644 --- a/src/core/CloudStreams.Core.Application/Queries/Resources/GetResourcesQuery.cs +++ b/src/core/CloudStreams.Core.Application/Queries/Resources/GetResourcesQuery.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Queries.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Queries.Resources; /// /// Represents the used to retrieves s of the specified type diff --git a/src/core/CloudStreams.Core.Application/Queries/Resources/ListResourcesQuery.cs b/src/core/CloudStreams.Core.Application/Queries/Resources/ListResourcesQuery.cs index 17c3eeae..80950296 100644 --- a/src/core/CloudStreams.Core.Application/Queries/Resources/ListResourcesQuery.cs +++ b/src/core/CloudStreams.Core.Application/Queries/Resources/ListResourcesQuery.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Queries.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Queries.Resources; /// /// Represents the used to list all s diff --git a/src/core/CloudStreams.Core.Application/Queries/Resources/WatchResourcesQuery.cs b/src/core/CloudStreams.Core.Application/Queries/Resources/WatchResourcesQuery.cs index 8f3a233b..30054d60 100644 --- a/src/core/CloudStreams.Core.Application/Queries/Resources/WatchResourcesQuery.cs +++ b/src/core/CloudStreams.Core.Application/Queries/Resources/WatchResourcesQuery.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Queries.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Queries.Resources; /// /// Represents the used to retrieves s of the specified type diff --git a/src/core/CloudStreams.Core.Application/Queries/Streams/GetEventStreamMetadataQuery.cs b/src/core/CloudStreams.Core.Application/Queries/Streams/GetEventStreamMetadataQuery.cs index a95093f4..20c30df0 100644 --- a/src/core/CloudStreams.Core.Application/Queries/Streams/GetEventStreamMetadataQuery.cs +++ b/src/core/CloudStreams.Core.Application/Queries/Streams/GetEventStreamMetadataQuery.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/core/CloudStreams.Core.Application/Queries/Streams/ReadEventStreamQuery.cs b/src/core/CloudStreams.Core.Application/Queries/Streams/ReadEventStreamQuery.cs index 89092778..16161e46 100644 --- a/src/core/CloudStreams.Core.Application/Queries/Streams/ReadEventStreamQuery.cs +++ b/src/core/CloudStreams.Core.Application/Queries/Streams/ReadEventStreamQuery.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/core/CloudStreams.Core.Application/Services/CloudEventStore.cs b/src/core/CloudStreams.Core.Application/Services/CloudEventStore.cs index 6d1d5458..61ad3068 100644 --- a/src/core/CloudStreams.Core.Application/Services/CloudEventStore.cs +++ b/src/core/CloudStreams.Core.Application/Services/CloudEventStore.cs @@ -1,4 +1,17 @@ -using Microsoft.Extensions.Hosting; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Microsoft.Extensions.Hosting; using Neuroglia.Data.Infrastructure.EventSourcing; using Neuroglia.Data.Infrastructure.EventSourcing.Services; using Neuroglia.Data.Infrastructure.ResourceOriented.Properties; diff --git a/src/core/CloudStreams.Core.Application/Services/DatabaseInitializer.cs b/src/core/CloudStreams.Core.Application/Services/DatabaseInitializer.cs index a13ef04e..ad5d4a54 100644 --- a/src/core/CloudStreams.Core.Application/Services/DatabaseInitializer.cs +++ b/src/core/CloudStreams.Core.Application/Services/DatabaseInitializer.cs @@ -1,4 +1,17 @@ -using Microsoft.Extensions.DependencyInjection; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace CloudStreams.Core.Application.Services; diff --git a/src/core/CloudStreams.Core.Application/Services/Interfaces/ICloudEventStore.cs b/src/core/CloudStreams.Core.Application/Services/Interfaces/ICloudEventStore.cs index 14a3834d..cb6e610f 100644 --- a/src/core/CloudStreams.Core.Application/Services/Interfaces/ICloudEventStore.cs +++ b/src/core/CloudStreams.Core.Application/Services/Interfaces/ICloudEventStore.cs @@ -1,4 +1,17 @@ -using Neuroglia.Data.Infrastructure.EventSourcing; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Data.Infrastructure.EventSourcing; namespace CloudStreams.Core.Application.Services; diff --git a/src/core/CloudStreams.Core.Application/Services/Interfaces/ICloudStreamsApplicationBuilder.cs b/src/core/CloudStreams.Core.Application/Services/Interfaces/ICloudStreamsApplicationBuilder.cs index 600c458a..d98f178d 100644 --- a/src/core/CloudStreams.Core.Application/Services/Interfaces/ICloudStreamsApplicationBuilder.cs +++ b/src/core/CloudStreams.Core.Application/Services/Interfaces/ICloudStreamsApplicationBuilder.cs @@ -1,4 +1,17 @@ -using Microsoft.Extensions.Configuration; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; diff --git a/src/core/CloudStreams.Core.Application/Services/Interfaces/IJsonSchemaRegistry.cs b/src/core/CloudStreams.Core.Application/Services/Interfaces/IJsonSchemaRegistry.cs index 49d93973..a201a390 100644 --- a/src/core/CloudStreams.Core.Application/Services/Interfaces/IJsonSchemaRegistry.cs +++ b/src/core/CloudStreams.Core.Application/Services/Interfaces/IJsonSchemaRegistry.cs @@ -1,4 +1,17 @@ -using Json.Schema; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Json.Schema; namespace CloudStreams.Core.Application.Services; diff --git a/src/core/CloudStreams.Core.Application/Services/MemoryJsonSchemaRegistry.cs b/src/core/CloudStreams.Core.Application/Services/MemoryJsonSchemaRegistry.cs index 7f8a752f..4d705577 100644 --- a/src/core/CloudStreams.Core.Application/Services/MemoryJsonSchemaRegistry.cs +++ b/src/core/CloudStreams.Core.Application/Services/MemoryJsonSchemaRegistry.cs @@ -1,4 +1,17 @@ -using Json.Schema; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Json.Schema; using Neuroglia.Serialization; namespace CloudStreams.Core.Application.Services; diff --git a/src/core/CloudStreams.Core.Application/Services/ProblemDetailsExceptionHandlingMiddleware.cs b/src/core/CloudStreams.Core.Application/Services/ProblemDetailsExceptionHandlingMiddleware.cs index 7277a2ef..0a5c3c92 100644 --- a/src/core/CloudStreams.Core.Application/Services/ProblemDetailsExceptionHandlingMiddleware.cs +++ b/src/core/CloudStreams.Core.Application/Services/ProblemDetailsExceptionHandlingMiddleware.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Application.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Application.Services; /// /// Represents an used to handle s during the execution of an diff --git a/src/core/CloudStreams.Core.Application/Streams.cs b/src/core/CloudStreams.Core.Application/Streams.cs index 54d4dd1a..ff67915d 100644 --- a/src/core/CloudStreams.Core.Application/Streams.cs +++ b/src/core/CloudStreams.Core.Application/Streams.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core; namespace CloudStreams; diff --git a/src/core/CloudStreams.Core.Application/Usings.cs b/src/core/CloudStreams.Core.Application/Usings.cs index 2e7cd735..91e1c92f 100644 --- a/src/core/CloudStreams.Core.Application/Usings.cs +++ b/src/core/CloudStreams.Core.Application/Usings.cs @@ -1,4 +1,17 @@ -global using CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +global using CloudStreams.Core.Resources; global using Neuroglia; global using Neuroglia.Data; global using Neuroglia.Data.Infrastructure.ResourceOriented; diff --git a/src/core/CloudStreams.Core/AuthorizationPolicyEffect.cs b/src/core/CloudStreams.Core/AuthorizationPolicyEffect.cs index 1bfb138f..b5999e1b 100644 --- a/src/core/CloudStreams.Core/AuthorizationPolicyEffect.cs +++ b/src/core/CloudStreams.Core/AuthorizationPolicyEffect.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core; /// /// Enumerates default authorization policy effects diff --git a/src/core/CloudStreams.Core/CloudEventAttributeConflictResolution.cs b/src/core/CloudStreams.Core/CloudEventAttributeConflictResolution.cs index c76dc98c..c68c15d1 100644 --- a/src/core/CloudStreams.Core/CloudEventAttributeConflictResolution.cs +++ b/src/core/CloudStreams.Core/CloudEventAttributeConflictResolution.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core; /// /// Enumerates default resolution strategies to adopt when handling conflict with existing cloud event context attributes diff --git a/src/core/CloudStreams.Core/CloudEventAuthorizationRuleType.cs b/src/core/CloudStreams.Core/CloudEventAuthorizationRuleType.cs index 64277557..7f73aa67 100644 --- a/src/core/CloudStreams.Core/CloudEventAuthorizationRuleType.cs +++ b/src/core/CloudStreams.Core/CloudEventAuthorizationRuleType.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core; /// /// Enumerates default cloud event authorization rule types diff --git a/src/core/CloudStreams.Core/CloudEventDescriptor.cs b/src/core/CloudStreams.Core/CloudEventDescriptor.cs index 1cf7384f..5c5996af 100644 --- a/src/core/CloudStreams.Core/CloudEventDescriptor.cs +++ b/src/core/CloudStreams.Core/CloudEventDescriptor.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core; /// /// Represents an object used to describe a cloud event diff --git a/src/core/CloudStreams.Core/CloudEventExtensionAttributes.cs b/src/core/CloudStreams.Core/CloudEventExtensionAttributes.cs index e73f93d3..4cf54e3c 100644 --- a/src/core/CloudStreams.Core/CloudEventExtensionAttributes.cs +++ b/src/core/CloudStreams.Core/CloudEventExtensionAttributes.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core; /// /// Enumerates all cloud event extension attributes used by Cloud Streams diff --git a/src/core/CloudStreams.Core/CloudEventFilterType.cs b/src/core/CloudStreams.Core/CloudEventFilterType.cs index 74a48477..270bff9d 100644 --- a/src/core/CloudStreams.Core/CloudEventFilterType.cs +++ b/src/core/CloudStreams.Core/CloudEventFilterType.cs @@ -1,4 +1,17 @@ -using Neuroglia.Serialization.Json.Converters; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Serialization.Json.Converters; namespace CloudStreams.Core; diff --git a/src/core/CloudStreams.Core/CloudEventMetadata.cs b/src/core/CloudStreams.Core/CloudEventMetadata.cs index 564e6777..41102c0b 100644 --- a/src/core/CloudStreams.Core/CloudEventMetadata.cs +++ b/src/core/CloudStreams.Core/CloudEventMetadata.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core; /// /// Represents an object that provides information about a cloud event diff --git a/src/core/CloudStreams.Core/CloudEventMetadataPropertyResolutionStrategy.cs b/src/core/CloudStreams.Core/CloudEventMetadataPropertyResolutionStrategy.cs index df605658..d6cfe8da 100644 --- a/src/core/CloudStreams.Core/CloudEventMetadataPropertyResolutionStrategy.cs +++ b/src/core/CloudStreams.Core/CloudEventMetadataPropertyResolutionStrategy.cs @@ -1,4 +1,17 @@ -using Neuroglia.Serialization.Json.Converters; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Serialization.Json.Converters; namespace CloudStreams.Core; diff --git a/src/core/CloudStreams.Core/CloudEventMutationType.cs b/src/core/CloudStreams.Core/CloudEventMutationType.cs index 7dbadfd6..cea17144 100644 --- a/src/core/CloudStreams.Core/CloudEventMutationType.cs +++ b/src/core/CloudStreams.Core/CloudEventMutationType.cs @@ -1,4 +1,17 @@ -using Neuroglia.Serialization.Json.Converters; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Serialization.Json.Converters; namespace CloudStreams.Core; diff --git a/src/core/CloudStreams.Core/CloudEventPartitionType.cs b/src/core/CloudStreams.Core/CloudEventPartitionType.cs index 6740a644..3b36c5d4 100644 --- a/src/core/CloudStreams.Core/CloudEventPartitionType.cs +++ b/src/core/CloudStreams.Core/CloudEventPartitionType.cs @@ -1,4 +1,17 @@ -using Neuroglia.Serialization.Json.Converters; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Serialization.Json.Converters; namespace CloudStreams.Core; diff --git a/src/core/CloudStreams.Core/CloudEventRecord.cs b/src/core/CloudStreams.Core/CloudEventRecord.cs index e2025e72..7b451874 100644 --- a/src/core/CloudStreams.Core/CloudEventRecord.cs +++ b/src/core/CloudStreams.Core/CloudEventRecord.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core; /// /// Represents an object used to describe a recorded cloud event diff --git a/src/core/CloudStreams.Core/CloudEventSequencingStrategy.cs b/src/core/CloudStreams.Core/CloudEventSequencingStrategy.cs index 42494ded..bb1682a6 100644 --- a/src/core/CloudStreams.Core/CloudEventSequencingStrategy.cs +++ b/src/core/CloudStreams.Core/CloudEventSequencingStrategy.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core; /// /// Enumerates default sequencing strategies for cloud events diff --git a/src/core/CloudStreams.Core/CloudEventValidationStrategy.cs b/src/core/CloudStreams.Core/CloudEventValidationStrategy.cs index c5185d2c..b44cbdf5 100644 --- a/src/core/CloudStreams.Core/CloudEventValidationStrategy.cs +++ b/src/core/CloudStreams.Core/CloudEventValidationStrategy.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core; /// /// Enumerates default cloud event validation strategies diff --git a/src/core/CloudStreams.Core/CloudStreams.Core.csproj b/src/core/CloudStreams.Core/CloudStreams.Core.csproj index 87534b72..edbfa154 100644 --- a/src/core/CloudStreams.Core/CloudStreams.Core.csproj +++ b/src/core/CloudStreams.Core/CloudStreams.Core.csproj @@ -4,6 +4,18 @@ net8.0 enable enable + 0.14.0 + $(VersionPrefix) + $(VersionPrefix) + en + true + True + Apache-2.0 + Copyright © 2023-Present The Cloud Streams Authors. All rights reserved. + https://github.com/neuroglia-io/cloud-streams + README.md + https://github.com/neuroglia-io/cloud-streams + git true diff --git a/src/core/CloudStreams.Core/CloudStreamsDefaults.cs b/src/core/CloudStreams.Core/CloudStreamsDefaults.cs index 73b5ad85..b2af1013 100644 --- a/src/core/CloudStreams.Core/CloudStreamsDefaults.cs +++ b/src/core/CloudStreams.Core/CloudStreamsDefaults.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Resources; using System.Diagnostics; namespace CloudStreams.Core; diff --git a/src/core/CloudStreams.Core/Extensions/CloudEventExtensions.cs b/src/core/CloudStreams.Core/Extensions/CloudEventExtensions.cs index 62203421..fe4fcecd 100644 --- a/src/core/CloudStreams.Core/Extensions/CloudEventExtensions.cs +++ b/src/core/CloudStreams.Core/Extensions/CloudEventExtensions.cs @@ -1,4 +1,17 @@ -using Neuroglia.Serialization; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Serialization; using System.Text; using System.Text.Json; diff --git a/src/core/CloudStreams.Core/Extensions/CloudEventIngestionConfigurationExtensions.cs b/src/core/CloudStreams.Core/Extensions/CloudEventIngestionConfigurationExtensions.cs index dafce305..0b386d4a 100644 --- a/src/core/CloudStreams.Core/Extensions/CloudEventIngestionConfigurationExtensions.cs +++ b/src/core/CloudStreams.Core/Extensions/CloudEventIngestionConfigurationExtensions.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Resources; using System.Text.RegularExpressions; namespace CloudStreams.Core; diff --git a/src/core/CloudStreams.Core/Extensions/ExceptionExtensions.cs b/src/core/CloudStreams.Core/Extensions/ExceptionExtensions.cs index db567198..be4094bb 100644 --- a/src/core/CloudStreams.Core/Extensions/ExceptionExtensions.cs +++ b/src/core/CloudStreams.Core/Extensions/ExceptionExtensions.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core; /// /// Defines extensions for s diff --git a/src/core/CloudStreams.Core/Extensions/RetryBackoffDurationExtensions.cs b/src/core/CloudStreams.Core/Extensions/RetryBackoffDurationExtensions.cs index f13d2efd..0538848d 100644 --- a/src/core/CloudStreams.Core/Extensions/RetryBackoffDurationExtensions.cs +++ b/src/core/CloudStreams.Core/Extensions/RetryBackoffDurationExtensions.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Resources; namespace CloudStreams.Core; diff --git a/src/core/CloudStreams.Core/Extensions/SubscriptionExtensions.cs b/src/core/CloudStreams.Core/Extensions/SubscriptionExtensions.cs index 0d765c1d..de87e00f 100644 --- a/src/core/CloudStreams.Core/Extensions/SubscriptionExtensions.cs +++ b/src/core/CloudStreams.Core/Extensions/SubscriptionExtensions.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Resources; using Neuroglia.Data.Infrastructure.EventSourcing; namespace CloudStreams.Core; diff --git a/src/core/CloudStreams.Core/HealthStatus.cs b/src/core/CloudStreams.Core/HealthStatus.cs index a171edf1..7d486b38 100644 --- a/src/core/CloudStreams.Core/HealthStatus.cs +++ b/src/core/CloudStreams.Core/HealthStatus.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core; /// /// Enumerates default health statuses diff --git a/src/core/CloudStreams.Core/PartitionMetadata.cs b/src/core/CloudStreams.Core/PartitionMetadata.cs index eb3a0b2f..9a5c0bca 100644 --- a/src/core/CloudStreams.Core/PartitionMetadata.cs +++ b/src/core/CloudStreams.Core/PartitionMetadata.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core; /// /// Represents an object used to describe a cloud event partition diff --git a/src/core/CloudStreams.Core/Resources/Broker.cs b/src/core/CloudStreams.Core/Resources/Broker.cs index bdb58583..c80082ea 100644 --- a/src/core/CloudStreams.Core/Resources/Broker.cs +++ b/src/core/CloudStreams.Core/Resources/Broker.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents a cloud event broker diff --git a/src/core/CloudStreams.Core/Resources/BrokerDispatchConfiguration.cs b/src/core/CloudStreams.Core/Resources/BrokerDispatchConfiguration.cs index 60d72608..eead97b0 100644 --- a/src/core/CloudStreams.Core/Resources/BrokerDispatchConfiguration.cs +++ b/src/core/CloudStreams.Core/Resources/BrokerDispatchConfiguration.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure the way a broker should dispatch cloud events diff --git a/src/core/CloudStreams.Core/Resources/BrokerResourceDefinition.cs b/src/core/CloudStreams.Core/Resources/BrokerResourceDefinition.cs index 01b3ef99..75d4dee2 100644 --- a/src/core/CloudStreams.Core/Resources/BrokerResourceDefinition.cs +++ b/src/core/CloudStreams.Core/Resources/BrokerResourceDefinition.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents the definition of a diff --git a/src/core/CloudStreams.Core/Resources/BrokerSpec.cs b/src/core/CloudStreams.Core/Resources/BrokerSpec.cs index 3146772b..d6465cb7 100644 --- a/src/core/CloudStreams.Core/Resources/BrokerSpec.cs +++ b/src/core/CloudStreams.Core/Resources/BrokerSpec.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure a cloud event broker diff --git a/src/core/CloudStreams.Core/Resources/BrokerStatus.cs b/src/core/CloudStreams.Core/Resources/BrokerStatus.cs index b5eb0900..ad9c9151 100644 --- a/src/core/CloudStreams.Core/Resources/BrokerStatus.cs +++ b/src/core/CloudStreams.Core/Resources/BrokerStatus.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to describe the status of a cloud event broker diff --git a/src/core/CloudStreams.Core/Resources/CircuitBreakerPolicy.cs b/src/core/CloudStreams.Core/Resources/CircuitBreakerPolicy.cs index 4a72d8a8..c4f85eee 100644 --- a/src/core/CloudStreams.Core/Resources/CircuitBreakerPolicy.cs +++ b/src/core/CloudStreams.Core/Resources/CircuitBreakerPolicy.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure a circuit breaker diff --git a/src/core/CloudStreams.Core/Resources/CloudEventAttributeFilter.cs b/src/core/CloudStreams.Core/Resources/CloudEventAttributeFilter.cs index b58572ea..66cc240c 100644 --- a/src/core/CloudStreams.Core/Resources/CloudEventAttributeFilter.cs +++ b/src/core/CloudStreams.Core/Resources/CloudEventAttributeFilter.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure a cloud event context attribute filter. diff --git a/src/core/CloudStreams.Core/Resources/CloudEventAuthorizationPolicy.cs b/src/core/CloudStreams.Core/Resources/CloudEventAuthorizationPolicy.cs index cd142e41..04e357a2 100644 --- a/src/core/CloudStreams.Core/Resources/CloudEventAuthorizationPolicy.cs +++ b/src/core/CloudStreams.Core/Resources/CloudEventAuthorizationPolicy.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to describe a set of rules that apply to a specific cloud event source diff --git a/src/core/CloudStreams.Core/Resources/CloudEventAuthorizationRule.cs b/src/core/CloudStreams.Core/Resources/CloudEventAuthorizationRule.cs index 6bbf5a09..0f2211ed 100644 --- a/src/core/CloudStreams.Core/Resources/CloudEventAuthorizationRule.cs +++ b/src/core/CloudStreams.Core/Resources/CloudEventAuthorizationRule.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an authorization rule that applies to events produced by a specific source diff --git a/src/core/CloudStreams.Core/Resources/CloudEventFilter.cs b/src/core/CloudStreams.Core/Resources/CloudEventFilter.cs index 6cdf86c9..9220ffaa 100644 --- a/src/core/CloudStreams.Core/Resources/CloudEventFilter.cs +++ b/src/core/CloudStreams.Core/Resources/CloudEventFilter.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure a cloud event filter diff --git a/src/core/CloudStreams.Core/Resources/CloudEventIngestionConfiguration.cs b/src/core/CloudStreams.Core/Resources/CloudEventIngestionConfiguration.cs index b699ef69..82ce4d7b 100644 --- a/src/core/CloudStreams.Core/Resources/CloudEventIngestionConfiguration.cs +++ b/src/core/CloudStreams.Core/Resources/CloudEventIngestionConfiguration.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure the ingestion of specific cloud events diff --git a/src/core/CloudStreams.Core/Resources/CloudEventMetadataPropertyResolver.cs b/src/core/CloudStreams.Core/Resources/CloudEventMetadataPropertyResolver.cs index 4564dffe..d40a2be9 100644 --- a/src/core/CloudStreams.Core/Resources/CloudEventMetadataPropertyResolver.cs +++ b/src/core/CloudStreams.Core/Resources/CloudEventMetadataPropertyResolver.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure how to resolve the value of a cloud event metadata property diff --git a/src/core/CloudStreams.Core/Resources/CloudEventMetadataResolutionConfiguration.cs b/src/core/CloudStreams.Core/Resources/CloudEventMetadataResolutionConfiguration.cs index 2f0c5a92..8b0fd55b 100644 --- a/src/core/CloudStreams.Core/Resources/CloudEventMetadataResolutionConfiguration.cs +++ b/src/core/CloudStreams.Core/Resources/CloudEventMetadataResolutionConfiguration.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure the way the metadata of ingested cloud events should be resolved diff --git a/src/core/CloudStreams.Core/Resources/CloudEventMutation.cs b/src/core/CloudStreams.Core/Resources/CloudEventMutation.cs index fd49706e..9d00084d 100644 --- a/src/core/CloudStreams.Core/Resources/CloudEventMutation.cs +++ b/src/core/CloudStreams.Core/Resources/CloudEventMutation.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure how to mutate consumed cloud events diff --git a/src/core/CloudStreams.Core/Resources/CloudEventSequencingConfiguration.cs b/src/core/CloudStreams.Core/Resources/CloudEventSequencingConfiguration.cs index b565557c..92fd4d1f 100644 --- a/src/core/CloudStreams.Core/Resources/CloudEventSequencingConfiguration.cs +++ b/src/core/CloudStreams.Core/Resources/CloudEventSequencingConfiguration.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure the way a broker should sequence dispatched cloud events diff --git a/src/core/CloudStreams.Core/Resources/CloudEventSourceDefinition.cs b/src/core/CloudStreams.Core/Resources/CloudEventSourceDefinition.cs index 061b3a05..25d75e97 100644 --- a/src/core/CloudStreams.Core/Resources/CloudEventSourceDefinition.cs +++ b/src/core/CloudStreams.Core/Resources/CloudEventSourceDefinition.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure a cloud event source diff --git a/src/core/CloudStreams.Core/Resources/CloudEventStream.cs b/src/core/CloudStreams.Core/Resources/CloudEventStream.cs index ba71ecbe..25b59023 100644 --- a/src/core/CloudStreams.Core/Resources/CloudEventStream.cs +++ b/src/core/CloudStreams.Core/Resources/CloudEventStream.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure a cloud event stream diff --git a/src/core/CloudStreams.Core/Resources/CloudEventStreamStatus.cs b/src/core/CloudStreams.Core/Resources/CloudEventStreamStatus.cs index 293977c0..bd6b5b41 100644 --- a/src/core/CloudStreams.Core/Resources/CloudEventStreamStatus.cs +++ b/src/core/CloudStreams.Core/Resources/CloudEventStreamStatus.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to describe the status of a cloud event stream diff --git a/src/core/CloudStreams.Core/Resources/CloudEventValidationPolicy.cs b/src/core/CloudStreams.Core/Resources/CloudEventValidationPolicy.cs index c843db6e..ef2dd329 100644 --- a/src/core/CloudStreams.Core/Resources/CloudEventValidationPolicy.cs +++ b/src/core/CloudStreams.Core/Resources/CloudEventValidationPolicy.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure cloud event validation diff --git a/src/core/CloudStreams.Core/Resources/DataSchemaValidationPolicy.cs b/src/core/CloudStreams.Core/Resources/DataSchemaValidationPolicy.cs index 93107366..04919d8f 100644 --- a/src/core/CloudStreams.Core/Resources/DataSchemaValidationPolicy.cs +++ b/src/core/CloudStreams.Core/Resources/DataSchemaValidationPolicy.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure schema-based validation of incoming cloud events' data diff --git a/src/core/CloudStreams.Core/Resources/Duration.cs b/src/core/CloudStreams.Core/Resources/Duration.cs index d5034530..5569d01a 100644 --- a/src/core/CloudStreams.Core/Resources/Duration.cs +++ b/src/core/CloudStreams.Core/Resources/Duration.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure a duration diff --git a/src/core/CloudStreams.Core/Resources/Gateway.cs b/src/core/CloudStreams.Core/Resources/Gateway.cs index 02c767bf..efe57351 100644 --- a/src/core/CloudStreams.Core/Resources/Gateway.cs +++ b/src/core/CloudStreams.Core/Resources/Gateway.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents a cloud event gateway, responsible for authorizing, validating and persisting inbound events diff --git a/src/core/CloudStreams.Core/Resources/GatewayResourceDefinition.cs b/src/core/CloudStreams.Core/Resources/GatewayResourceDefinition.cs index 73eec43f..e189c2f5 100644 --- a/src/core/CloudStreams.Core/Resources/GatewayResourceDefinition.cs +++ b/src/core/CloudStreams.Core/Resources/GatewayResourceDefinition.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents the definition of a diff --git a/src/core/CloudStreams.Core/Resources/GatewaySpec.cs b/src/core/CloudStreams.Core/Resources/GatewaySpec.cs index f633245b..45acf516 100644 --- a/src/core/CloudStreams.Core/Resources/GatewaySpec.cs +++ b/src/core/CloudStreams.Core/Resources/GatewaySpec.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure a cloud event gateway diff --git a/src/core/CloudStreams.Core/Resources/GatewayStatus.cs b/src/core/CloudStreams.Core/Resources/GatewayStatus.cs index 0c0a1b27..51f18121 100644 --- a/src/core/CloudStreams.Core/Resources/GatewayStatus.cs +++ b/src/core/CloudStreams.Core/Resources/GatewayStatus.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to describe the status of a gateway diff --git a/src/core/CloudStreams.Core/Resources/HealthCheckResponse.cs b/src/core/CloudStreams.Core/Resources/HealthCheckResponse.cs index 30ee5711..e9b3f06e 100644 --- a/src/core/CloudStreams.Core/Resources/HealthCheckResponse.cs +++ b/src/core/CloudStreams.Core/Resources/HealthCheckResponse.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to describe an health check's response diff --git a/src/core/CloudStreams.Core/Resources/HealthCheckResult.cs b/src/core/CloudStreams.Core/Resources/HealthCheckResult.cs index a42bf114..f2c89cab 100644 --- a/src/core/CloudStreams.Core/Resources/HealthCheckResult.cs +++ b/src/core/CloudStreams.Core/Resources/HealthCheckResult.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to describe the result of an health check diff --git a/src/core/CloudStreams.Core/Resources/HttpClientRetryPolicy.cs b/src/core/CloudStreams.Core/Resources/HttpClientRetryPolicy.cs index bb32a234..d79d5ff9 100644 --- a/src/core/CloudStreams.Core/Resources/HttpClientRetryPolicy.cs +++ b/src/core/CloudStreams.Core/Resources/HttpClientRetryPolicy.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure the retry policy for an http client diff --git a/src/core/CloudStreams.Core/Resources/HttpRequestConfiguration.cs b/src/core/CloudStreams.Core/Resources/HttpRequestConfiguration.cs index 6d25c3de..38c09d62 100644 --- a/src/core/CloudStreams.Core/Resources/HttpRequestConfiguration.cs +++ b/src/core/CloudStreams.Core/Resources/HttpRequestConfiguration.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure an HTTP request diff --git a/src/core/CloudStreams.Core/Resources/PartitionReference.cs b/src/core/CloudStreams.Core/Resources/PartitionReference.cs index 91fcae34..6c7350bd 100644 --- a/src/core/CloudStreams.Core/Resources/PartitionReference.cs +++ b/src/core/CloudStreams.Core/Resources/PartitionReference.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to reference a cloud event partition diff --git a/src/core/CloudStreams.Core/Resources/RetryBackoffDuration.cs b/src/core/CloudStreams.Core/Resources/RetryBackoffDuration.cs index 027ebd5f..6d0f7db8 100644 --- a/src/core/CloudStreams.Core/Resources/RetryBackoffDuration.cs +++ b/src/core/CloudStreams.Core/Resources/RetryBackoffDuration.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure a retry backoff duration diff --git a/src/core/CloudStreams.Core/Resources/RetryPolicy.cs b/src/core/CloudStreams.Core/Resources/RetryPolicy.cs index 2e348490..45876c74 100644 --- a/src/core/CloudStreams.Core/Resources/RetryPolicy.cs +++ b/src/core/CloudStreams.Core/Resources/RetryPolicy.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure a retry policy diff --git a/src/core/CloudStreams.Core/Resources/ServiceConfiguration.cs b/src/core/CloudStreams.Core/Resources/ServiceConfiguration.cs index 262d885b..c2668ed6 100644 --- a/src/core/CloudStreams.Core/Resources/ServiceConfiguration.cs +++ b/src/core/CloudStreams.Core/Resources/ServiceConfiguration.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure a service diff --git a/src/core/CloudStreams.Core/Resources/ServiceHealthCheckConfiguration.cs b/src/core/CloudStreams.Core/Resources/ServiceHealthCheckConfiguration.cs index d2e49c25..ad0728ab 100644 --- a/src/core/CloudStreams.Core/Resources/ServiceHealthCheckConfiguration.cs +++ b/src/core/CloudStreams.Core/Resources/ServiceHealthCheckConfiguration.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure the health checks of a service diff --git a/src/core/CloudStreams.Core/Resources/Subscriber.cs b/src/core/CloudStreams.Core/Resources/Subscriber.cs index 0e7ed717..a8620afe 100644 --- a/src/core/CloudStreams.Core/Resources/Subscriber.cs +++ b/src/core/CloudStreams.Core/Resources/Subscriber.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure the consumer of cloud events produced by a subscription diff --git a/src/core/CloudStreams.Core/Resources/Subscription.cs b/src/core/CloudStreams.Core/Resources/Subscription.cs index 074a00db..90e0e456 100644 --- a/src/core/CloudStreams.Core/Resources/Subscription.cs +++ b/src/core/CloudStreams.Core/Resources/Subscription.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents a cloud event subscription diff --git a/src/core/CloudStreams.Core/Resources/SubscriptionResourceDefinition.cs b/src/core/CloudStreams.Core/Resources/SubscriptionResourceDefinition.cs index e4755fc1..7154c4a7 100644 --- a/src/core/CloudStreams.Core/Resources/SubscriptionResourceDefinition.cs +++ b/src/core/CloudStreams.Core/Resources/SubscriptionResourceDefinition.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents the definition of a diff --git a/src/core/CloudStreams.Core/Resources/SubscriptionSpec.cs b/src/core/CloudStreams.Core/Resources/SubscriptionSpec.cs index 3cbab4da..ade9b3ad 100644 --- a/src/core/CloudStreams.Core/Resources/SubscriptionSpec.cs +++ b/src/core/CloudStreams.Core/Resources/SubscriptionSpec.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure a cloud event subscription diff --git a/src/core/CloudStreams.Core/Resources/SubscriptionStatus.cs b/src/core/CloudStreams.Core/Resources/SubscriptionStatus.cs index 47d04d60..02ac5dd9 100644 --- a/src/core/CloudStreams.Core/Resources/SubscriptionStatus.cs +++ b/src/core/CloudStreams.Core/Resources/SubscriptionStatus.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to describe the status of a cloud event subscription diff --git a/src/core/CloudStreams.Core/Resources/Webhook.cs b/src/core/CloudStreams.Core/Resources/Webhook.cs index 15e0843b..853cde67 100644 --- a/src/core/CloudStreams.Core/Resources/Webhook.cs +++ b/src/core/CloudStreams.Core/Resources/Webhook.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core.Resources; /// /// Represents an object used to configure a webhook diff --git a/src/core/CloudStreams.Core/RetryBackoffDurationType.cs b/src/core/CloudStreams.Core/RetryBackoffDurationType.cs index 7ccdcba2..64944eff 100644 --- a/src/core/CloudStreams.Core/RetryBackoffDurationType.cs +++ b/src/core/CloudStreams.Core/RetryBackoffDurationType.cs @@ -1,4 +1,17 @@ -using Neuroglia.Serialization.Json.Converters; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Serialization.Json.Converters; namespace CloudStreams.Core; diff --git a/src/core/CloudStreams.Core/RuleBasedDecisionStrategy.cs b/src/core/CloudStreams.Core/RuleBasedDecisionStrategy.cs index bc0b5056..8b0f8155 100644 --- a/src/core/CloudStreams.Core/RuleBasedDecisionStrategy.cs +++ b/src/core/CloudStreams.Core/RuleBasedDecisionStrategy.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core; /// /// Enumerates default rule-based decision strategies diff --git a/src/core/CloudStreams.Core/StreamMetadata.cs b/src/core/CloudStreams.Core/StreamMetadata.cs index d2f6b4e4..71fe06ce 100644 --- a/src/core/CloudStreams.Core/StreamMetadata.cs +++ b/src/core/CloudStreams.Core/StreamMetadata.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Core; /// /// Represents an object used to describe a cloud event stream diff --git a/src/core/CloudStreams.Core/StreamReadOptions.cs b/src/core/CloudStreams.Core/StreamReadOptions.cs index 9e92dd15..e7391268 100644 --- a/src/core/CloudStreams.Core/StreamReadOptions.cs +++ b/src/core/CloudStreams.Core/StreamReadOptions.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Resources; using Neuroglia.Data.Infrastructure.EventSourcing; namespace CloudStreams.Core; diff --git a/src/core/CloudStreams.Core/StreamReadOutputFormat.cs b/src/core/CloudStreams.Core/StreamReadOutputFormat.cs index 0a285dec..11b757b6 100644 --- a/src/core/CloudStreams.Core/StreamReadOutputFormat.cs +++ b/src/core/CloudStreams.Core/StreamReadOutputFormat.cs @@ -1,4 +1,17 @@ -using Neuroglia.Serialization.Json.Converters; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Serialization.Json.Converters; namespace CloudStreams.Core; diff --git a/src/core/CloudStreams.Core/SubscriptionStatusPhase.cs b/src/core/CloudStreams.Core/SubscriptionStatusPhase.cs index a497eb75..aac7a28a 100644 --- a/src/core/CloudStreams.Core/SubscriptionStatusPhase.cs +++ b/src/core/CloudStreams.Core/SubscriptionStatusPhase.cs @@ -1,4 +1,17 @@ -using Neuroglia.Serialization.Json.Converters; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia.Serialization.Json.Converters; namespace CloudStreams.Core; diff --git a/src/core/CloudStreams.Core/Usings.cs b/src/core/CloudStreams.Core/Usings.cs index 1f15513f..56e533ed 100644 --- a/src/core/CloudStreams.Core/Usings.cs +++ b/src/core/CloudStreams.Core/Usings.cs @@ -1,4 +1,17 @@ -global using Neuroglia; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +global using Neuroglia; global using Neuroglia.Data.Infrastructure.ResourceOriented; global using Neuroglia.Eventing.CloudEvents; global using Neuroglia.Serialization.Yaml; diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/ActionContext.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/ActionContext.cs index e7c57efb..00912a44 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/ActionContext.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/ActionContext.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Attributes/EffectAttribute.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Attributes/EffectAttribute.cs index 29905b72..5f6f7efe 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Attributes/EffectAttribute.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Attributes/EffectAttribute.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Attributes/FeatureAttribute.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Attributes/FeatureAttribute.cs index a2cc0264..b4305cd5 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Attributes/FeatureAttribute.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Attributes/FeatureAttribute.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Attributes/ReducerAttribute.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Attributes/ReducerAttribute.cs index 4014d055..9945bb3d 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Attributes/ReducerAttribute.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Attributes/ReducerAttribute.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/CloudStreams.Dashboard.StateManagement.csproj b/src/dashboard/CloudStreams.Dashboard.StateManagement/CloudStreams.Dashboard.StateManagement.csproj index af1ebfd0..658f55a7 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/CloudStreams.Dashboard.StateManagement.csproj +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/CloudStreams.Dashboard.StateManagement.csproj @@ -4,17 +4,19 @@ net8.0 enable enable - True 0.14.0 $(VersionPrefix) $(VersionPrefix) en + true + True Apache-2.0 Copyright © 2023-Present The Cloud Streams Authors. All rights reserved. https://github.com/neuroglia-io/cloud-streams README.md https://github.com/neuroglia-io/cloud-streams git + true diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/ComponentStore.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/ComponentStore.cs index e7caf8b3..3afa2b7f 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/ComponentStore.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/ComponentStore.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Configuration/FluxOptions.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Configuration/FluxOptions.cs index 8169c442..77e20104 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Configuration/FluxOptions.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Configuration/FluxOptions.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Configuration/FluxOptionsBuilder.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Configuration/FluxOptionsBuilder.cs index ee97d163..c47f8d99 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Configuration/FluxOptionsBuilder.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Configuration/FluxOptionsBuilder.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Configuration/IFluxOptionsBuilder.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Configuration/IFluxOptionsBuilder.cs index 5aabfec3..fc4ce399 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Configuration/IFluxOptionsBuilder.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Configuration/IFluxOptionsBuilder.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/DispatchDelegate.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/DispatchDelegate.cs index c2b46bd0..6c491c47 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/DispatchDelegate.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/DispatchDelegate.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Dispatcher.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Dispatcher.cs index 1e23f862..6c083b5c 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Dispatcher.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Dispatcher.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Effect.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Effect.cs index 42e207b9..556e15bc 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Effect.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Effect.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/EffectContext.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/EffectContext.cs index 9e21c44f..a4943a70 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/EffectContext.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/EffectContext.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Extensions/IFluxOptionsBuilderExtensions.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Extensions/IFluxOptionsBuilderExtensions.cs index a2e62577..a1b9eb47 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Extensions/IFluxOptionsBuilderExtensions.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Extensions/IFluxOptionsBuilderExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Extensions/IServiceCollectionExtensions.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Extensions/IServiceCollectionExtensions.cs index 8961ba7c..c2e1dd7a 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Extensions/IServiceCollectionExtensions.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Extensions/IServiceCollectionExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Extensions/IStoreExtensions.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Extensions/IStoreExtensions.cs index a0fb5b3f..264e74a6 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Extensions/IStoreExtensions.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Extensions/IStoreExtensions.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Feature.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Feature.cs index f24a1bd5..b2e87dbf 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Feature.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Feature.cs @@ -1,4 +1,17 @@ -using Neuroglia; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia; using System.Reactive.Subjects; namespace CloudStreams.Dashboard.StateManagement; diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IActionContext.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IActionContext.cs index eae58661..23606564 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IActionContext.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IActionContext.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IComponentStore.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IComponentStore.cs index ba393a3e..e1d684e9 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IComponentStore.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IComponentStore.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IDispatcher.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IDispatcher.cs index c268ef7b..34e7226b 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IDispatcher.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IDispatcher.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IEffect.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IEffect.cs index 19bde4c6..e95684e6 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IEffect.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IEffect.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IEffectContext.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IEffectContext.cs index b4cc9ab2..32f66fbb 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IEffectContext.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IEffectContext.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IFeature.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IFeature.cs index 15c28b35..e5e59d84 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IFeature.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IFeature.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IMiddleware.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IMiddleware.cs index 2f47a66f..3747e65d 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IMiddleware.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IMiddleware.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IReducer.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IReducer.cs index e5ec39a9..5e17eaac 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IReducer.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IReducer.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IState.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IState.cs index 141717d6..b7c81709 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IState.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IState.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IStore.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IStore.cs index 1a97e658..6a96acd9 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IStore.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IStore.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IStoreFactory.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IStoreFactory.cs index 09b5e5ad..e9ddff96 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IStoreFactory.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Interfaces/IStoreFactory.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Reducer.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Reducer.cs index 0c6d9c0b..a42f6f9e 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Reducer.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Reducer.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/State.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/State.cs index 23dfbf0a..bec973da 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/State.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/State.cs @@ -1,4 +1,17 @@ -using Neuroglia; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Neuroglia; using System.Reactive.Subjects; namespace CloudStreams.Dashboard.StateManagement; diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Store.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Store.cs index 3aeebd68..a8327c9d 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Store.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Store.cs @@ -1,4 +1,17 @@ -using Microsoft.Extensions.DependencyInjection; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Neuroglia.Reactive; using System.Reactive.Subjects; diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/StoreFactory.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/StoreFactory.cs index c6385812..37bf2eae 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/StoreFactory.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/StoreFactory.cs @@ -1,4 +1,17 @@ -using CloudStreams.Dashboard.StateManagement.Configuration; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Dashboard.StateManagement.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using Neuroglia; diff --git a/src/dashboard/CloudStreams.Dashboard.StateManagement/Usings.cs b/src/dashboard/CloudStreams.Dashboard.StateManagement/Usings.cs index 0cb82f43..4d5fee4f 100644 --- a/src/dashboard/CloudStreams.Dashboard.StateManagement/Usings.cs +++ b/src/dashboard/CloudStreams.Dashboard.StateManagement/Usings.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/CloudStreams.Dashboard.csproj b/src/dashboard/CloudStreams.Dashboard/CloudStreams.Dashboard.csproj index a7202cda..ecf1618c 100644 --- a/src/dashboard/CloudStreams.Dashboard/CloudStreams.Dashboard.csproj +++ b/src/dashboard/CloudStreams.Dashboard/CloudStreams.Dashboard.csproj @@ -4,17 +4,19 @@ net8.0 enable enable - True 0.14.0 $(VersionPrefix) $(VersionPrefix) en + true + True Apache-2.0 Copyright © 2023-Present The Cloud Streams Authors. All rights reserved. https://github.com/neuroglia-io/cloud-streams README.md https://github.com/neuroglia-io/cloud-streams git + true diff --git a/src/dashboard/CloudStreams.Dashboard/Components/Layout/ApplicationLayout.cs b/src/dashboard/CloudStreams.Dashboard/Components/Layout/ApplicationLayout.cs index 9eefb50c..dd9362cc 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/Layout/ApplicationLayout.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/Layout/ApplicationLayout.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/Layout/IApplicationLayout.cs b/src/dashboard/CloudStreams.Dashboard/Components/Layout/IApplicationLayout.cs index 8b3ecc0e..4ee65f81 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/Layout/IApplicationLayout.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/Layout/IApplicationLayout.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/IMonacoEditorHelper.cs b/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/IMonacoEditorHelper.cs index 9c3e6e5c..d85d8f1c 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/IMonacoEditorHelper.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/IMonacoEditorHelper.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/IMonacoEditorMarker.cs b/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/IMonacoEditorMarker.cs index f48760d5..e7176dc9 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/IMonacoEditorMarker.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/IMonacoEditorMarker.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/MonacoEditorHelper.cs b/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/MonacoEditorHelper.cs index 69f10733..c214d1cc 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/MonacoEditorHelper.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/MonacoEditorHelper.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/MonacoEditorMarker.cs b/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/MonacoEditorMarker.cs index 9758e20d..b27e0a9a 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/MonacoEditorMarker.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/MonacoEditorMarker.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/MonacoEditorMarkerSeverity.cs b/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/MonacoEditorMarkerSeverity.cs index 64c593d5..ad55eebd 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/MonacoEditorMarkerSeverity.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/MonacoEditorMarkerSeverity.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/PreferredLanguage.cs b/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/PreferredLanguage.cs index 4e52ef74..808ce8e6 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/PreferredLanguage.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/MonacoEditor/PreferredLanguage.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/ReadOptionsForm/State.cs b/src/dashboard/CloudStreams.Dashboard/Components/ReadOptionsForm/State.cs index 13344410..d5092520 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/ReadOptionsForm/State.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/ReadOptionsForm/State.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/ReadOptionsForm/Store.cs b/src/dashboard/CloudStreams.Dashboard/Components/ReadOptionsForm/Store.cs index 4a67465c..bb75906c 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/ReadOptionsForm/Store.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/ReadOptionsForm/Store.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/ResourceEditor/State.cs b/src/dashboard/CloudStreams.Dashboard/Components/ResourceEditor/State.cs index b0f99c1a..070b7282 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/ResourceEditor/State.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/ResourceEditor/State.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/ResourceEditor/Store.cs b/src/dashboard/CloudStreams.Dashboard/Components/ResourceEditor/Store.cs index f2f9083d..145433a2 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/ResourceEditor/Store.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/ResourceEditor/Store.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/ResourceManagement/ResourceManagementComponent.cs b/src/dashboard/CloudStreams.Dashboard/Components/ResourceManagement/ResourceManagementComponent.cs index 7cbee836..24f03209 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/ResourceManagement/ResourceManagementComponent.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/ResourceManagement/ResourceManagementComponent.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/ResourceManagement/ResourceManagementComponentState.cs b/src/dashboard/CloudStreams.Dashboard/Components/ResourceManagement/ResourceManagementComponentState.cs index f599cb0c..1ae6e354 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/ResourceManagement/ResourceManagementComponentState.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/ResourceManagement/ResourceManagementComponentState.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/ResourceManagement/ResourceManagementComponentStore.cs b/src/dashboard/CloudStreams.Dashboard/Components/ResourceManagement/ResourceManagementComponentStore.cs index 25a06852..5d1626d3 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/ResourceManagement/ResourceManagementComponentStore.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/ResourceManagement/ResourceManagementComponentStore.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/Table/CellRenderingContext.cs b/src/dashboard/CloudStreams.Dashboard/Components/Table/CellRenderingContext.cs index 633e4cac..c4be9bdd 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/Table/CellRenderingContext.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/Table/CellRenderingContext.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/Table/ColumnHeaderRenderingContext.cs b/src/dashboard/CloudStreams.Dashboard/Components/Table/ColumnHeaderRenderingContext.cs index aac2819d..9a17359c 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/Table/ColumnHeaderRenderingContext.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/Table/ColumnHeaderRenderingContext.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/Table/RowRenderingContext.cs b/src/dashboard/CloudStreams.Dashboard/Components/Table/RowRenderingContext.cs index fbed55b5..f609cd48 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/Table/RowRenderingContext.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/Table/RowRenderingContext.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/Table/SortMode.cs b/src/dashboard/CloudStreams.Dashboard/Components/Table/SortMode.cs index 66db32f6..0b251996 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/Table/SortMode.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/Table/SortMode.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/Timeline/State.cs b/src/dashboard/CloudStreams.Dashboard/Components/Timeline/State.cs index a5f86278..5a6e7936 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/Timeline/State.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/Timeline/State.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/Timeline/Store.cs b/src/dashboard/CloudStreams.Dashboard/Components/Timeline/Store.cs index 3e932305..b80e1263 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/Timeline/Store.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/Timeline/Store.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Components/Timeline/TimelineLane.cs b/src/dashboard/CloudStreams.Dashboard/Components/Timeline/TimelineLane.cs index f4f5aeef..d16a05d4 100644 --- a/src/dashboard/CloudStreams.Dashboard/Components/Timeline/TimelineLane.cs +++ b/src/dashboard/CloudStreams.Dashboard/Components/Timeline/TimelineLane.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Pages/CloudEvents/List/State.cs b/src/dashboard/CloudStreams.Dashboard/Pages/CloudEvents/List/State.cs index 2cadc32f..3c4278f1 100644 --- a/src/dashboard/CloudStreams.Dashboard/Pages/CloudEvents/List/State.cs +++ b/src/dashboard/CloudStreams.Dashboard/Pages/CloudEvents/List/State.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Pages/CloudEvents/List/Store.cs b/src/dashboard/CloudStreams.Dashboard/Pages/CloudEvents/List/Store.cs index 3baaa909..f0fe1ae2 100644 --- a/src/dashboard/CloudStreams.Dashboard/Pages/CloudEvents/List/Store.cs +++ b/src/dashboard/CloudStreams.Dashboard/Pages/CloudEvents/List/Store.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Program.cs b/src/dashboard/CloudStreams.Dashboard/Program.cs index 9c300519..a724c63b 100644 --- a/src/dashboard/CloudStreams.Dashboard/Program.cs +++ b/src/dashboard/CloudStreams.Dashboard/Program.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Api.Client; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Api.Client; using CloudStreams.Dashboard; using CloudStreams.Dashboard.Components; using Microsoft.AspNetCore.Components.Web; diff --git a/src/dashboard/CloudStreams.Dashboard/Services/EventDropsInterop.cs b/src/dashboard/CloudStreams.Dashboard/Services/EventDropsInterop.cs index 3e6a5032..b2b4280d 100644 --- a/src/dashboard/CloudStreams.Dashboard/Services/EventDropsInterop.cs +++ b/src/dashboard/CloudStreams.Dashboard/Services/EventDropsInterop.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Services/MonacoInterop.cs b/src/dashboard/CloudStreams.Dashboard/Services/MonacoInterop.cs index caf5d9d2..1a93fcce 100644 --- a/src/dashboard/CloudStreams.Dashboard/Services/MonacoInterop.cs +++ b/src/dashboard/CloudStreams.Dashboard/Services/MonacoInterop.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/StatefulComponent.cs b/src/dashboard/CloudStreams.Dashboard/StatefulComponent.cs index 8651a1bb..44ec1075 100644 --- a/src/dashboard/CloudStreams.Dashboard/StatefulComponent.cs +++ b/src/dashboard/CloudStreams.Dashboard/StatefulComponent.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/dashboard/CloudStreams.Dashboard/Usings.cs b/src/dashboard/CloudStreams.Dashboard/Usings.cs index 81370508..2352264a 100644 --- a/src/dashboard/CloudStreams.Dashboard/Usings.cs +++ b/src/dashboard/CloudStreams.Dashboard/Usings.cs @@ -1,4 +1,4 @@ -// Copyright © 2023-Present The Cloud Streams Authors +// Copyright © 2024-Present The Cloud Streams Authors // // Licensed under the Apache License, Version 2.0 (the "License"), // you may not use this file except in compliance with the License. diff --git a/src/gateway/CloudStreams.Gateway.Api/CloudStreams.Gateway.Api.csproj b/src/gateway/CloudStreams.Gateway.Api/CloudStreams.Gateway.Api.csproj index 3c11731b..4f318dba 100644 --- a/src/gateway/CloudStreams.Gateway.Api/CloudStreams.Gateway.Api.csproj +++ b/src/gateway/CloudStreams.Gateway.Api/CloudStreams.Gateway.Api.csproj @@ -4,10 +4,19 @@ net8.0 enable enable + 0.14.0 + $(VersionPrefix) + $(VersionPrefix) + en + true + True + Apache-2.0 + Copyright © 2023-Present The Cloud Streams Authors. All rights reserved. + https://github.com/neuroglia-io/cloud-streams + README.md + https://github.com/neuroglia-io/cloud-streams + git true - cloud-streams-broker - Linux - ..\..\.. diff --git a/src/gateway/CloudStreams.Gateway.Api/Controllers/EventsController.cs b/src/gateway/CloudStreams.Gateway.Api/Controllers/EventsController.cs index b998e660..5206b76c 100644 --- a/src/gateway/CloudStreams.Gateway.Api/Controllers/EventsController.cs +++ b/src/gateway/CloudStreams.Gateway.Api/Controllers/EventsController.cs @@ -1,4 +1,17 @@ -using CloudStreams.Gateway.Application.Commands.CloudEvents; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Gateway.Application.Commands.CloudEvents; using Microsoft.AspNetCore.Mvc; using Neuroglia.Mediation; using Neuroglia.Mediation.AspNetCore; diff --git a/src/gateway/CloudStreams.Gateway.Api/Hubs/CloudEventHub.cs b/src/gateway/CloudStreams.Gateway.Api/Hubs/CloudEventHub.cs index 72e3ecbd..d1157ae2 100644 --- a/src/gateway/CloudStreams.Gateway.Api/Hubs/CloudEventHub.cs +++ b/src/gateway/CloudStreams.Gateway.Api/Hubs/CloudEventHub.cs @@ -1,4 +1,17 @@ -using Microsoft.AspNetCore.SignalR; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Microsoft.AspNetCore.SignalR; namespace CloudStreams.Gateway.Api.Hubs; diff --git a/src/gateway/CloudStreams.Gateway.Api/Hubs/ICloudEventHub.cs b/src/gateway/CloudStreams.Gateway.Api/Hubs/ICloudEventHub.cs index 4a649701..7ddda7f9 100644 --- a/src/gateway/CloudStreams.Gateway.Api/Hubs/ICloudEventHub.cs +++ b/src/gateway/CloudStreams.Gateway.Api/Hubs/ICloudEventHub.cs @@ -1,4 +1,17 @@ -using Microsoft.AspNetCore.SignalR; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Microsoft.AspNetCore.SignalR; namespace CloudStreams.Gateway.Api.Hubs; diff --git a/src/gateway/CloudStreams.Gateway.Api/Hubs/ICloudEventHubClient.cs b/src/gateway/CloudStreams.Gateway.Api/Hubs/ICloudEventHubClient.cs index 1607380c..9b032db8 100644 --- a/src/gateway/CloudStreams.Gateway.Api/Hubs/ICloudEventHubClient.cs +++ b/src/gateway/CloudStreams.Gateway.Api/Hubs/ICloudEventHubClient.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Gateway.Api.Hubs; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Gateway.Api.Hubs; /// /// Defines the fundamentals of a service used by clients to observe ingested cloud events diff --git a/src/gateway/CloudStreams.Gateway.Api/Program.cs b/src/gateway/CloudStreams.Gateway.Api/Program.cs index df397a20..f49b8763 100644 --- a/src/gateway/CloudStreams.Gateway.Api/Program.cs +++ b/src/gateway/CloudStreams.Gateway.Api/Program.cs @@ -1,3 +1,16 @@ +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + using CloudStreams.Core; using CloudStreams.Core.Api; using CloudStreams.Core.Api.Hubs; diff --git a/src/gateway/CloudStreams.Gateway.Api/Services/CloudEventHubDispatcher.cs b/src/gateway/CloudStreams.Gateway.Api/Services/CloudEventHubDispatcher.cs index 2d8e7c3b..bf8eebf1 100644 --- a/src/gateway/CloudStreams.Gateway.Api/Services/CloudEventHubDispatcher.cs +++ b/src/gateway/CloudStreams.Gateway.Api/Services/CloudEventHubDispatcher.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Application; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Application; using CloudStreams.Core.Application.Services; using CloudStreams.Gateway.Api.Hubs; using Microsoft.AspNetCore.SignalR; diff --git a/src/gateway/CloudStreams.Gateway.Api/Usings.cs b/src/gateway/CloudStreams.Gateway.Api/Usings.cs index 7e6096c6..2cca8957 100644 --- a/src/gateway/CloudStreams.Gateway.Api/Usings.cs +++ b/src/gateway/CloudStreams.Gateway.Api/Usings.cs @@ -1,4 +1,17 @@ -global using Neuroglia; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +global using Neuroglia; global using Neuroglia.Eventing.CloudEvents; global using System.Net; global using System.Text.RegularExpressions; diff --git a/src/gateway/CloudStreams.Gateway.Application/CloudStreams.Gateway.Application.csproj b/src/gateway/CloudStreams.Gateway.Application/CloudStreams.Gateway.Application.csproj index 31304367..735bcfd4 100644 --- a/src/gateway/CloudStreams.Gateway.Application/CloudStreams.Gateway.Application.csproj +++ b/src/gateway/CloudStreams.Gateway.Application/CloudStreams.Gateway.Application.csproj @@ -4,6 +4,18 @@ net8.0 enable enable + 0.14.0 + $(VersionPrefix) + $(VersionPrefix) + en + true + True + Apache-2.0 + Copyright © 2023-Present The Cloud Streams Authors. All rights reserved. + https://github.com/neuroglia-io/cloud-streams + README.md + https://github.com/neuroglia-io/cloud-streams + git true diff --git a/src/gateway/CloudStreams.Gateway.Application/Commands/Events/ConsumeEventCommand.cs b/src/gateway/CloudStreams.Gateway.Application/Commands/Events/ConsumeEventCommand.cs index 186d46fb..1c31a8e9 100644 --- a/src/gateway/CloudStreams.Gateway.Application/Commands/Events/ConsumeEventCommand.cs +++ b/src/gateway/CloudStreams.Gateway.Application/Commands/Events/ConsumeEventCommand.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Application.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Application.Services; using CloudStreams.Gateway.Application.Services; using Neuroglia.Mediation; using System.ComponentModel.DataAnnotations; diff --git a/src/gateway/CloudStreams.Gateway.Application/Configuration/GatewayOptions.cs b/src/gateway/CloudStreams.Gateway.Application/Configuration/GatewayOptions.cs index 92c193d2..abe29561 100644 --- a/src/gateway/CloudStreams.Gateway.Application/Configuration/GatewayOptions.cs +++ b/src/gateway/CloudStreams.Gateway.Application/Configuration/GatewayOptions.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Gateway.Application.Configuration; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Gateway.Application.Configuration; /// /// Represents the options used to configure a Cloud Streams cloud event gateway diff --git a/src/gateway/CloudStreams.Gateway.Application/Configuration/JsonSchemaGenerationOptions.cs b/src/gateway/CloudStreams.Gateway.Application/Configuration/JsonSchemaGenerationOptions.cs index 4b345380..d2832e80 100644 --- a/src/gateway/CloudStreams.Gateway.Application/Configuration/JsonSchemaGenerationOptions.cs +++ b/src/gateway/CloudStreams.Gateway.Application/Configuration/JsonSchemaGenerationOptions.cs @@ -1,4 +1,17 @@ -using Json.Schema; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Json.Schema; namespace CloudStreams.Gateway.Application.Configuration; diff --git a/src/gateway/CloudStreams.Gateway.Application/Services/CloudEventAdmissionControl.cs b/src/gateway/CloudStreams.Gateway.Application/Services/CloudEventAdmissionControl.cs index a5f458e9..8d1af251 100644 --- a/src/gateway/CloudStreams.Gateway.Application/Services/CloudEventAdmissionControl.cs +++ b/src/gateway/CloudStreams.Gateway.Application/Services/CloudEventAdmissionControl.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core; using CloudStreams.Core.Application.Services; using CloudStreams.Core.Resources; using CloudStreams.Gateway.Application.Configuration; diff --git a/src/gateway/CloudStreams.Gateway.Application/Services/CloudEventAuthorizationManager.cs b/src/gateway/CloudStreams.Gateway.Application/Services/CloudEventAuthorizationManager.cs index 91354f60..4a93b756 100644 --- a/src/gateway/CloudStreams.Gateway.Application/Services/CloudEventAuthorizationManager.cs +++ b/src/gateway/CloudStreams.Gateway.Application/Services/CloudEventAuthorizationManager.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core; using CloudStreams.Core.Resources; using Neuroglia.Serialization; diff --git a/src/gateway/CloudStreams.Gateway.Application/Services/GatewayMetrics.cs b/src/gateway/CloudStreams.Gateway.Application/Services/GatewayMetrics.cs index 83d63af6..b98c19e3 100644 --- a/src/gateway/CloudStreams.Gateway.Application/Services/GatewayMetrics.cs +++ b/src/gateway/CloudStreams.Gateway.Application/Services/GatewayMetrics.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core; using System.Diagnostics.Metrics; namespace CloudStreams.Gateway.Application.Services; diff --git a/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/ICloudEventAdmissionControl.cs b/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/ICloudEventAdmissionControl.cs index fb65e658..4ecfb083 100644 --- a/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/ICloudEventAdmissionControl.cs +++ b/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/ICloudEventAdmissionControl.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core; namespace CloudStreams.Gateway.Application.Services; diff --git a/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/ICloudEventAuthorizationManager.cs b/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/ICloudEventAuthorizationManager.cs index 02d464c8..f20e548a 100644 --- a/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/ICloudEventAuthorizationManager.cs +++ b/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/ICloudEventAuthorizationManager.cs @@ -1,4 +1,17 @@ -using CloudStreams.Core.Resources; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Core.Resources; namespace CloudStreams.Gateway.Application.Services; diff --git a/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/IGatewayMetrics.cs b/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/IGatewayMetrics.cs index 2988ad9b..7db4f686 100644 --- a/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/IGatewayMetrics.cs +++ b/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/IGatewayMetrics.cs @@ -1,4 +1,17 @@ -namespace CloudStreams.Gateway.Application.Services; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +namespace CloudStreams.Gateway.Application.Services; /// /// Defines the fundamentals of a service used to manage Cloud Streams Gateway related metrics diff --git a/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/IJsonSchemaGenerator.cs b/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/IJsonSchemaGenerator.cs index f227e7bb..2577f860 100644 --- a/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/IJsonSchemaGenerator.cs +++ b/src/gateway/CloudStreams.Gateway.Application/Services/Interfaces/IJsonSchemaGenerator.cs @@ -1,4 +1,17 @@ -using CloudStreams.Gateway.Application.Configuration; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Gateway.Application.Configuration; using Json.Schema; namespace CloudStreams.Gateway.Application.Services; diff --git a/src/gateway/CloudStreams.Gateway.Application/Services/JsonSchemaGenerator.cs b/src/gateway/CloudStreams.Gateway.Application/Services/JsonSchemaGenerator.cs index e5775556..9885901b 100644 --- a/src/gateway/CloudStreams.Gateway.Application/Services/JsonSchemaGenerator.cs +++ b/src/gateway/CloudStreams.Gateway.Application/Services/JsonSchemaGenerator.cs @@ -1,4 +1,17 @@ -using CloudStreams.Gateway.Application.Configuration; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using CloudStreams.Gateway.Application.Configuration; using Json.Schema; using Neuroglia.Serialization; using System.Text.Json.Nodes; diff --git a/src/gateway/CloudStreams.Gateway.Application/Usings.cs b/src/gateway/CloudStreams.Gateway.Application/Usings.cs index 7e6096c6..2cca8957 100644 --- a/src/gateway/CloudStreams.Gateway.Application/Usings.cs +++ b/src/gateway/CloudStreams.Gateway.Application/Usings.cs @@ -1,4 +1,17 @@ -global using Neuroglia; +// Copyright © 2024-Present The Cloud Streams Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"), +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +global using Neuroglia; global using Neuroglia.Eventing.CloudEvents; global using System.Net; global using System.Text.RegularExpressions;