Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
b132986
Prepare next major version 8
Toxantron Feb 17, 2023
b9ad51d
merged dev into future
Feb 22, 2023
8bf27fa
Update `Newtonsoft.Json` to `13.0.3`
seveneleven May 3, 2023
6586728
Merge remote-tracking branch 'origin/dev' into future
1nf0rmagician Jun 14, 2023
00c3d2d
Switching to ubuntu for github actions
lschoenepxc May 24, 2023
6c35730
Merge pull request #286 from lschoenepxc/future
1nf0rmagician Jun 14, 2023
5b5bd47
Update references to 8.0.0-preview.5
1nf0rmagician Jun 16, 2023
af842af
Merge pull request #291 from PHOENIXCONTACT/feature/net-8
1nf0rmagician Jun 23, 2023
94533e8
Merge dev into future
Jun 23, 2023
c3d2193
Delete CreatePackage flag and add IsPackable false, if necessary
lschoenepxc Jun 28, 2023
2c22f60
Merge pull request #298 from lschoenepxc/future
1nf0rmagician Jun 29, 2023
4601e17
Merge remote-tracking branch 'origin/dev' into future
Toxantron Jul 17, 2023
0217831
Merge remote-tracking branch 'origin/dev' into future
AnnalenaHolz Jul 21, 2023
6e2a191
Update and simplify container
Toxantron Jul 21, 2023
e7c1e28
Replace registrator and installers with extensions
Toxantron Jul 24, 2023
1a2715f
Replace Resolve overloads with extension
Toxantron Jul 25, 2023
148728b
Replace registration override with facility and subresolver
Toxantron Jul 25, 2023
e26abed
Merge pull request #252 from PHOENIXCONTACT/update-newtonsoft
Toxantron Jul 26, 2023
eab81a4
Merge pull request #307 from PHOENIXCONTACT/refactor/container
Toxantron Aug 4, 2023
ac59bcb
Merge remote-tracking branch 'origin/dev' into future
Toxantron Aug 4, 2023
e39f6f7
Reactivate tests on linux
Toxantron Aug 5, 2023
49b8134
Start migration guide
Toxantron Aug 16, 2023
3e32ad9
Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.1
dependabot[bot] Aug 18, 2023
645805e
Trigger CI build
MathoMathiasCamara Aug 22, 2023
382358b
Merge remote-tracking branch 'origin/dev' into future
MathoMathiasCamara Aug 23, 2023
677aa3f
Missing property added
MathoMathiasCamara Aug 23, 2023
56be96b
Move IPublicResource To IResource
MathoMathiasCamara Aug 25, 2023
09a569f
Remove ResourceWrapper
MathoMathiasCamara Aug 25, 2023
6a85649
Updated ResourceManager
MathoMathiasCamara Aug 25, 2023
4283de8
Added public api for InitializeAndStart
MathoMathiasCamara Aug 25, 2023
a35030b
Removed duplicated collection. Forwarded Capabilities event and exten…
MathoMathiasCamara Aug 28, 2023
ceb8862
Erase Sqlite Database
Feb 24, 2023
0bef393
Migrate LoadComponents fix to future
Toxantron Aug 30, 2023
e59a7fc
Merge pull request #338 from PHOENIXCONTACT/fix/load-components
Toxantron Aug 30, 2023
b4fea9a
Reduce module bases into single class
Toxantron Aug 22, 2023
7464d95
Change facade module base in affacted modules
Toxantron Aug 22, 2023
1f80f53
Add migration
Toxantron Aug 22, 2023
f408629
Merge pull request #333 from PHOENIXCONTACT/feature/merge-module-bases
Toxantron Aug 30, 2023
76055da
Add note about public exportes only to migration guide
Toxantron Aug 30, 2023
0c69064
Merge pull request #330 from PHOENIXCONTACT/dependabot/nuget/future/M…
Toxantron Aug 30, 2023
bb40dfb
Bump Moq from 4.17.2 to 4.20.69
dependabot[bot] Aug 30, 2023
73c4058
Merge pull request #331 from PHOENIXCONTACT/dependabot/nuget/future/M…
Toxantron Aug 30, 2023
d348173
Remove unused references from projects and unnecessary imports
1nf0rmagician Jun 30, 2023
3fa19ba
Cleanup warnings
1nf0rmagician Jul 10, 2023
ae0a58e
Remove calls to obsolete members in Exception base claas
1nf0rmagician Aug 31, 2023
a00496d
Merge pull request #303 from PHOENIXCONTACT/fix/cleanup-project
Toxantron Aug 31, 2023
a1cc963
Clean up
MathoMathiasCamara Aug 31, 2023
b2cfa76
Final review and polish
Toxantron Aug 31, 2023
0c5fc18
Merge pull request #336 from PHOENIXCONTACT/removeWrapper
Toxantron Aug 31, 2023
f7f8288
Fix container tests
Toxantron Aug 31, 2023
292a13b
Merge remote-tracking branch 'origin/dev' into future
Toxantron Oct 25, 2023
7873e73
Fix build
Toxantron Oct 25, 2023
54ed3e4
Bump Microsoft.SourceLink.GitHub from 1.1.1 to 8.0.0
dependabot[bot] Nov 17, 2023
061ca8a
Merge remote-tracking branch 'origin/dev' into future
1nf0rmagician Nov 20, 2023
ae13d0e
Fix Build Pipeline
1nf0rmagician Nov 20, 2023
8a41653
Add authentication to modules endpoint
1nf0rmagician Nov 20, 2023
2c8cb61
Update tools branch used for github workflow
1nf0rmagician Nov 20, 2023
1a1b7df
Merge pull request #355 from PHOENIXCONTACT/feature/modules-endpoint-…
1nf0rmagician Nov 21, 2023
07cb7a0
Update packages
1nf0rmagician Nov 21, 2023
9128838
Merge pull request #354 from PHOENIXCONTACT/dependabot/nuget/future/M…
1nf0rmagician Nov 22, 2023
3f0bc8e
Merge remote-tracking branch 'origin/future' into dev
1nf0rmagician Nov 23, 2023
aedd751
Bump version to 8.0.1
1nf0rmagician Nov 23, 2023
6ac6785
Update migration guide
1nf0rmagician Nov 28, 2023
05d74c8
Merge pull request #366 from PHOENIXCONTACT/port/pr-al-221-to-release/6
Toxantron Jan 29, 2024
f63bce0
Bump version 8.0.2
MathoMathiasCamara Feb 2, 2024
6c3af19
Update webpack-merge
jsonBackup Feb 6, 2024
f8ee257
fix: Update webpack-merge usage for compatibility with version 5.x
jsonBackup Feb 6, 2024
7b1e963
Update "@types/react" to 18.2.20
jsonBackup Feb 6, 2024
d819e5c
Update "react-notification-system" to 0.4.0
jsonBackup Feb 6, 2024
b5bbc92
Update @types/history to 4.7.11
jsonBackup Feb 6, 2024
b953ca1
Update @mdi/js to 7.4.47
jsonBackup Feb 6, 2024
7aad021
Update "webpack-cli" to 4.10.0
jsonBackup Feb 6, 2024
884fdc4
Update react, react-dom and webpack-dev-server
jsonBackup Feb 6, 2024
2fc223e
Update typescript and bootstrap
jsonBackup Feb 6, 2024
6af0593
Update multiple minor versions
jsonBackup Feb 7, 2024
2398646
Update @types/query-string, react-dom and tslint-react
jsonBackup Feb 7, 2024
cdc05a9
Update @types/react-dom, source-map-loader, style-loader
jsonBackup Feb 7, 2024
f776b01
Update @types/uuid, jquery and react-redux
jsonBackup Feb 7, 2024
609615b
Update url-loader
jsonBackup Feb 8, 2024
6183908
Update query-string, react-router-dom and css-loader
jsonBackup Feb 8, 2024
067d2c3
Bump history from 4.10.1 to 5.3.0 in /src/Moryx.CommandCenter.Web
dependabot[bot] Feb 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
680 changes: 0 additions & 680 deletions .build/BuildToolkit.ps1

This file was deleted.

36 changes: 0 additions & 36 deletions .build/Output.ps1

This file was deleted.

119 changes: 56 additions & 63 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,94 +12,87 @@ on:
branches:
- dev
- future

env:
MORYX_OPTIMIZE_CODE: "false"
MORYX_BUILD_CONFIG: "Release"
MORYX_BUILDNUMBER: ${{github.run_number}}
dotnet_sdk_version: '7.x'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
dotnet_sdk_version: '8.0.100'
REPOSITORY_NAME: ${{ github.event.repository.name }}
MORYX_PACKAGE_TARGET_DEV: 'https://www.myget.org/F/moryx/api/v2/package'
MORYX_PACKAGE_TARGET_V3_DEV: 'https://www.myget.org/F/moryx/api/v3/index.json'
MORYX_PACKAGE_TARGET_FUTURE: 'https://www.myget.org/F/moryx-future/api/v2/package'
MORYX_PACKAGE_TARGET_V3_FUTURE: 'https://www.myget.org/F/moryx-future/api/v3/index.json'
MORYX_PACKAGE_TARGET_RELEASE: 'https://api.nuget.org/v3/index.json'
MORYX_PACKAGE_TARGET_V3_RELEASE: 'https://api.nuget.org/v3/index.json'

jobs:
EnvVar:
runs-on: ubuntu-latest
steps:
- run: echo ""
outputs:
dotnet_sdk_version: ${{ env.dotnet_sdk_version }}
REPOSITORY_NAME: ${{ env.REPOSITORY_NAME }}
MORYX_PACKAGE_TARGET_DEV: ${{ env.MORYX_PACKAGE_TARGET_DEV }}
MORYX_PACKAGE_TARGET_V3_DEV: ${{ env.MORYX_PACKAGE_TARGET_V3_DEV }}
MORYX_PACKAGE_TARGET_FUTURE: ${{ env.MORYX_PACKAGE_TARGET_FUTURE }}
MORYX_PACKAGE_TARGET_V3_FUTURE: ${{ env.MORYX_PACKAGE_TARGET_V3_FUTURE }}
MORYX_PACKAGE_TARGET_RELEASE: ${{ env.MORYX_PACKAGE_TARGET_RELEASE }}
MORYX_PACKAGE_TARGET_V3_RELEASE: ${{ env.MORYX_PACKAGE_TARGET_V3_RELEASE }}

Build:
uses: PHOENIXCONTACT/tools/.github/workflows/build-tool.yml@release-6
needs: [EnvVar]
uses: phoenixcontact/tools/.github/workflows/build-tool.yml@main
with:
MORYX_OPTIMIZE_CODE: "false"
MORYX_BUILD_CONFIG: "Release"
MORYX_BUILDNUMBER: ${{github.run_number}}
dotnet_sdk_version: '7.x'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
REPOSITORY_NAME: ${{ github.event.repository.name }}
dotnet_sdk_version: ${{ needs.EnvVar.outputs.dotnet_sdk_version }}
REPOSITORY_NAME: ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}

UnitTests:
needs: [Build]
uses: PHOENIXCONTACT/tools/.github/workflows/unittest-tool.yml@release-6
needs: [EnvVar, Build]
uses: phoenixcontact/tools/.github/workflows/unittest-tool.yml@main
with:
MORYX_OPTIMIZE_CODE: "false"
MORYX_BUILD_CONFIG: "Release"
MORYX_BUILDNUMBER: ${{github.run_number}}
dotnet_sdk_version: '7.x'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
REPOSITORY_NAME: ${{ github.event.repository.name }}
dotnet_sdk_version: ${{ needs.EnvVar.outputs.dotnet_sdk_version }}
REPOSITORY_NAME: ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}

IntegrationTests:
needs: [Build]
uses: PHOENIXCONTACT/tools/.github/workflows/integrationtest-tool.yml@release-6
needs: [EnvVar, Build]
uses: phoenixcontact/tools/.github/workflows/integrationtest-tool.yml@main
with:
MORYX_OPTIMIZE_CODE: "false"
MORYX_BUILD_CONFIG: "Release"
MORYX_BUILDNUMBER: ${{github.run_number}}
dotnet_sdk_version: '7.x'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
REPOSITORY_NAME: ${{ github.event.repository.name }}
dotnet_sdk_version: ${{ needs.EnvVar.outputs.dotnet_sdk_version }}
REPOSITORY_NAME: ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}

ReportGenerator:
needs: [UnitTests, IntegrationTests]
uses: PHOENIXCONTACT/tools/.github/workflows/reportgenerator-tool.yml@release-6
needs: [EnvVar, UnitTests, IntegrationTests]
uses: phoenixcontact/tools/.github/workflows/reportgenerator-tool.yml@main
with:
MORYX_OPTIMIZE_CODE: "false"
MORYX_BUILD_CONFIG: "Release"
MORYX_BUILDNUMBER: ${{github.run_number}}
dotnet_sdk_version: '7.x'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
REPOSITORY_NAME: ${{ github.event.repository.name }}
REPOSITORY_NAME: ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}

Publish-Test-Coverage:
needs: [ReportGenerator]
uses: PHOENIXCONTACT/tools/.github/workflows/publish-test-coverage-tool.yml@release-6
needs: [EnvVar, ReportGenerator]
uses: phoenixcontact/tools/.github/workflows/publish-test-coverage-tool.yml@main
with:
MORYX_OPTIMIZE_CODE: "false"
MORYX_BUILD_CONFIG: "Release"
MORYX_BUILDNUMBER: ${{github.run_number}}
dotnet_sdk_version: '7.x'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
REPOSITORY_NAME: ${{ github.event.repository.name }}
REPOSITORY_NAME: ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

Documentation:
needs: [UnitTests]
uses: PHOENIXCONTACT/tools/.github/workflows/documentation-tool.yml@release-6
with:
MORYX_OPTIMIZE_CODE: "false"
MORYX_BUILD_CONFIG: "Release"
MORYX_BUILDNUMBER: ${{github.run_number}}
dotnet_sdk_version: '7.x'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
REPOSITORY_NAME: ${{ github.event.repository.name }}
# currently not working
# Documentation:
# needs: [EnvVar, UnitTests]
# uses: phoenixcontact/tools/.github/workflows/documentation-tool.yml@main
# with:
# REPOSITORY_NAME: ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}

Publish:
needs: [UnitTests]
uses: PHOENIXCONTACT/tools/.github/workflows/publish-tool.yml@release-6
needs: [EnvVar, UnitTests]
uses: phoenixcontact/tools/.github/workflows/publish-tool.yml@main
with:
MORYX_OPTIMIZE_CODE: "false"
MORYX_BUILD_CONFIG: "Release"
MORYX_BUILDNUMBER: ${{github.run_number}}
dotnet_sdk_version: '7.x'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
REPOSITORY_NAME: ${{ github.event.repository.name }}
dotnet_sdk_version: ${{ needs.EnvVar.outputs.dotnet_sdk_version }}
REPOSITORY_NAME: ${{ needs.EnvVar.outputs.REPOSITORY_NAME }}
MORYX_PACKAGE_TARGET_DEV: ${{ needs.EnvVar.outputs.MORYX_PACKAGE_TARGET_DEV }}
MORYX_PACKAGE_TARGET_V3_DEV: ${{ needs.EnvVar.outputs.MORYX_PACKAGE_TARGET_V3_DEV }}
MORYX_PACKAGE_TARGET_FUTURE: ${{ needs.EnvVar.outputs.MORYX_PACKAGE_TARGET_FUTURE }}
MORYX_PACKAGE_TARGET_V3_FUTURE: ${{ needs.EnvVar.outputs.MORYX_PACKAGE_TARGET_V3_FUTURE }}
MORYX_PACKAGE_TARGET_RELEASE: ${{ needs.EnvVar.outputs.MORYX_PACKAGE_TARGET_RELEASE }}
MORYX_PACKAGE_TARGET_V3_RELEASE: ${{ needs.EnvVar.outputs.MORYX_PACKAGE_TARGET_V3_RELEASE }}
secrets:
MYGET_TOKEN: ${{secrets.MYGET_TOKEN}}
NUGET_TOKEN: ${{secrets.NUGET_TOKEN}}
63 changes: 0 additions & 63 deletions Build.ps1

This file was deleted.

2 changes: 1 addition & 1 deletion Directory.build.props → Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<LangVersion>9.0</LangVersion>
<LangVersion>latest</LangVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down
23 changes: 11 additions & 12 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,30 @@
<Import Project=".build\Common.props" Condition="'$(CreatePackage)' == 'true'" />

<PropertyGroup>
<dotnetVersion>6.0.0</dotnetVersion>
<efCoreVersion>6.0.0</efCoreVersion>
<dotnetVersion>8.0.0</dotnetVersion>
<efCoreVersion>8.0.0</efCoreVersion>

<LangVersion>latest</LangVersion>
</PropertyGroup>

<!-- Package refereces for all projects if CreatePackage=true -->
<ItemGroup Condition="'$(CreatePackage)' == 'true'">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>

<!-- Package versions for package references across all projects -->
<ItemGroup>
<!--3rd party dependencies-->
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageReference Update="Moq" Version="4.17.2" />
<PackageReference Update="NUnit" Version="3.13.3" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Update="Moq" Version="4.20.69" />
<PackageReference Update="NUnit" Version="3.14.0" />
<PackageReference Update="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Update="coverlet.collector" Version="3.2.0" >
<PackageReference Update="coverlet.collector" Version="6.0.0" >
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>

<PackageReference Update="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Update="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Update="CommandLineParser" Version="2.9.1" />

<FrameworkReference Update="Microsoft.AspNetCore.App" Version="$(dotnetVersion)"/>
Expand All @@ -43,12 +44,10 @@
<PackageReference Update="Microsoft.EntityFrameworkCore.Sqlite" Version="$(efCoreVersion)" />
<PackageReference Update="Npgsql.EntityFrameworkCore.PostgreSQL" Version="$(efCoreVersion)" />

<PackageReference Update="System.IO.Ports" Version="6.0.0" />
<PackageReference Update="System.IO.Ports" Version="$(dotnetVersion)" />
<PackageReference Update="System.ComponentModel.Annotations" Version="5.0.0" />

<PackageReference Update="Castle.Windsor" Version="5.1.1" />
<PackageReference Update="Castle.WcfIntegrationFacility" Version="5.1.1" />
<PackageReference Update="Castle.Windsor.Extensions.DependencyInjection" Version="5.1.1" />
<PackageReference Update="Castle.Windsor" Version="6.0.0" />

</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.3.1
8.0.2
29 changes: 29 additions & 0 deletions docs/migrations/v6_to_v8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Migration from MORYX Framework v6 to v8


## Local Container Refactoring
The DI container within modules based on Castle Windsor was refactored and simplified. The most changes are caused by removing the historic split between local and global container, which was obsolete after switching the global container to ServiceCollection. We also removed the concept of installers and registrators and replaced everything with API on `IContainer` and extensions inspired by the `IServiceCollection`.

- **Attribute changes:** The base attributes for registration were removed, use `ComponentAttribute`, `PluginAttribute` and `PluginFactory` instead.
- **Installers removed** The concept of installes was removed and with it their implementations `AutoInstaller` and `DependencyInstaller`. They were replaced by the extensions `LoadFromAssembly` with different signature options for `DependencyRegistrationAttribute` and `Predicate<Type>`
- **LoadComponents** was removed as a dedicate feature and is now an extension on `IContainer`. It has also been restricted to public/exported types.
- **IContainerHost** was removed. The seperate interface for accessing a modules container just caused unnecessary casts and the risk of invalid type. The property `Container` was added to `IServerModule` instead.
- **Extend** The flexible method for passing facilities to Castle was removed as it was only added and used by WCF.
- **MoryxFacility** All MORYX specific behavior like strategies and `Named` import overrides were refactored to follow Castle best practises and are now isolated in the `MoryxFacility`. This enables everyone to achieve the MORYX DI behavior with a Castle Container without the MORYX wrapper.
- **Installers** As previously mentioned installers were removed, but since the API on `IContainer` now supports everything previously reserved for installers and registrators, just migrate the registration onto the container like the [DbContextContainerExtension](https://github.com/PHOENIXCONTACT/MORYX-Framework/blob/future/src/Moryx.Model/DbContextContainerExtension.cs) or the [BasicInterceptorInstaller](https://github.com/PHOENIXCONTACT/MORYX-Framework/blob/future/src/Moryx.TestTools.UnitTest/BasicInterceptorInstaller.cs)

## ServerModuleBase

To simplify development and prepare easier integration of the Moryx.Cli we merged the `ServerModuleFacadeControllerBase` into the `ServerModuleBase`. Just replace the base type if your module is affected by this.

## GetObjectData(SerializationInfo info, StreamingContext context)

Removed all overrides of the obsolete method `Exception.GetObjectData(SerializationInfo info, StreamingContext context)` as well as all constructors which were calling the base class constructor `Exception(SerializationInfo info, StreamingContext context)`
The following classes are affected by this change
- MissingFacadeException
- HealthStateException
- InvalidConfigException

## Merged IPublicResource into IResource

`IPublicResource` and `IResource` were merged into `IResource`, since the differentiaten between those was hard to understand for some and barely had any real world advantages. Now literally "Everything is a resource".
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Description>Endpoints for the Product Facade</Description>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<CreatePackage>true</CreatePackage>
<PackageTags>MORYX;IIoT;IoT;</PackageTags>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ static PartialSerialization()
_serialization = new EntrySerializeSerialization();
}

/// <summary>
/// Creates a new <see cref="PartialSerialization{T}"/> instance
/// </summary>
public PartialSerialization() : base(null, new EmptyValueProvider())
{
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public ActionResult<ProductModel> GetTypeById(long id)
{
productType = _productManagement.LoadType(id);
}
catch (ProductNotFoundException e)
catch (ProductNotFoundException)
{
}
if (productType == null)
Expand Down
Loading