Skip to content

Commit 1852aa3

Browse files
authored
Merge pull request #136 from neuroglia-io/feat-kubernetes-roa-database
Add a new kubernetes implementation of the `IResourceDatabase`
2 parents 7c71f56 + 73c362b commit 1852aa3

38 files changed

+764
-33
lines changed

Neuroglia Framework.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Neuroglia.Serialization.Xml
126126
EndProject
127127
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Neuroglia.Data.Flux", "src\Neuroglia.Data.Flux\Neuroglia.Data.Flux.csproj", "{3E35223C-DDD1-4D6A-B253-55A005AD7B2A}"
128128
EndProject
129+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Neuroglia.Data.Infrastructure.ResourceOriented.Kubernetes", "src\Neuroglia.Data.Infrastructure.ResourceOriented.Kubernetes\Neuroglia.Data.Infrastructure.ResourceOriented.Kubernetes.csproj", "{5C6D9EE8-1021-4D24-8673-53B9BAA9ED27}"
130+
EndProject
129131
Global
130132
GlobalSection(SolutionConfigurationPlatforms) = preSolution
131133
Debug|Any CPU = Debug|Any CPU
@@ -356,6 +358,10 @@ Global
356358
{3E35223C-DDD1-4D6A-B253-55A005AD7B2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
357359
{3E35223C-DDD1-4D6A-B253-55A005AD7B2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
358360
{3E35223C-DDD1-4D6A-B253-55A005AD7B2A}.Release|Any CPU.Build.0 = Release|Any CPU
361+
{5C6D9EE8-1021-4D24-8673-53B9BAA9ED27}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
362+
{5C6D9EE8-1021-4D24-8673-53B9BAA9ED27}.Debug|Any CPU.Build.0 = Debug|Any CPU
363+
{5C6D9EE8-1021-4D24-8673-53B9BAA9ED27}.Release|Any CPU.ActiveCfg = Release|Any CPU
364+
{5C6D9EE8-1021-4D24-8673-53B9BAA9ED27}.Release|Any CPU.Build.0 = Release|Any CPU
359365
EndGlobalSection
360366
GlobalSection(SolutionProperties) = preSolution
361367
HideSolutionNode = FALSE
@@ -417,6 +423,7 @@ Global
417423
{EB99CDD8-FA09-487A-9E69-77220DBB3ABB} = {BDED6037-3D6E-4781-8C58-2EB7D0E53CEA}
418424
{63C1B21A-6243-4452-9B8F-23E561F6FD36} = {BDED6037-3D6E-4781-8C58-2EB7D0E53CEA}
419425
{3E35223C-DDD1-4D6A-B253-55A005AD7B2A} = {BDED6037-3D6E-4781-8C58-2EB7D0E53CEA}
426+
{5C6D9EE8-1021-4D24-8673-53B9BAA9ED27} = {BDED6037-3D6E-4781-8C58-2EB7D0E53CEA}
420427
EndGlobalSection
421428
GlobalSection(ExtensibilityGlobals) = postSolution
422429
SolutionGuid = {B390984D-3A9D-4F6D-A73B-E93CCEB586E4}

src/Neuroglia.Data.Flux/ActionContext.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
namespace Neuroglia.Data.Flux;
1+
// Copyright © 2021-Present Neuroglia SRL. All rights reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License"),
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
// http://www.apache.org/licenses/LICENSE-2.0
7+
//
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
14+
namespace Neuroglia.Data.Flux;
215

316
/// <summary>
417
/// Represents the default implementation of the <see cref="IActionContext"/> interface

src/Neuroglia.Data.Flux/Attributes/EffectAttribute.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
namespace Neuroglia.Data.Flux;
1+
// Copyright © 2021-Present Neuroglia SRL. All rights reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License"),
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
// http://www.apache.org/licenses/LICENSE-2.0
7+
//
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
14+
namespace Neuroglia.Data.Flux;
215

316
/// <summary>
417
/// Represents the attribute used to mark a method or all the methods of a type as flux effect

src/Neuroglia.Data.Flux/Attributes/FeatureAttribute.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
namespace Neuroglia.Data.Flux;
1+
// Copyright © 2021-Present Neuroglia SRL. All rights reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License"),
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
// http://www.apache.org/licenses/LICENSE-2.0
7+
//
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
14+
namespace Neuroglia.Data.Flux;
215

316
/// <summary>
417
/// Represents the attribute used to mark a method as a flux feature

src/Neuroglia.Data.Flux/Attributes/ReducerAttribute.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
namespace Neuroglia.Data.Flux;
1+
// Copyright © 2021-Present Neuroglia SRL. All rights reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License"),
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
// http://www.apache.org/licenses/LICENSE-2.0
7+
//
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
14+
namespace Neuroglia.Data.Flux;
215

316
/// <summary>
417
/// Represents the attribute used to mark a method or all the methods of a type as flux reducer

src/Neuroglia.Data.Flux/ComponentStore.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
namespace Neuroglia.Data.Flux;
1+
// Copyright © 2021-Present Neuroglia SRL. All rights reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License"),
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
// http://www.apache.org/licenses/LICENSE-2.0
7+
//
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
14+
namespace Neuroglia.Data.Flux;
215

316
/// <summary>
417
/// Represents the base class for all component stores

src/Neuroglia.Data.Flux/Configuration/FluxOptions.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
namespace Neuroglia.Data.Flux.Configuration;
1+
// Copyright © 2021-Present Neuroglia SRL. All rights reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License"),
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
// http://www.apache.org/licenses/LICENSE-2.0
7+
//
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
14+
namespace Neuroglia.Data.Flux.Configuration;
215

316
/// <summary>
417
/// Represents the options used to configure Flux

src/Neuroglia.Data.Flux/Configuration/FluxOptionsBuilder.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
namespace Neuroglia.Data.Flux.Configuration;
1+
// Copyright © 2021-Present Neuroglia SRL. All rights reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License"),
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
// http://www.apache.org/licenses/LICENSE-2.0
7+
//
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
14+
namespace Neuroglia.Data.Flux.Configuration;
215

316
/// <summary>
417
/// Represents the default implementation of the <see cref="IFluxOptionsBuilder"/> interface

src/Neuroglia.Data.Flux/Configuration/IFluxOptionsBuilder.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
namespace Neuroglia.Data.Flux.Configuration;
1+
// Copyright © 2021-Present Neuroglia SRL. All rights reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License"),
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
// http://www.apache.org/licenses/LICENSE-2.0
7+
//
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
14+
namespace Neuroglia.Data.Flux.Configuration;
215

316
/// <summary>
417
/// Defines the fundamentals of a service used to build <see cref="FluxOptions"/>

src/Neuroglia.Data.Flux/DispatchDelegate.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
namespace Neuroglia.Data.Flux;
1+
// Copyright © 2021-Present Neuroglia SRL. All rights reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License"),
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
// http://www.apache.org/licenses/LICENSE-2.0
7+
//
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
14+
namespace Neuroglia.Data.Flux;
215

316
/// <summary>
417
/// Represents the delegate method used to dispatch an action

0 commit comments

Comments
 (0)