Skip to content

Commit

Permalink
upgrades to OpenFTTH.Events 1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
runeanielsen committed Aug 28, 2020
1 parent 9c1947b commit 83f282d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<ItemGroup>
<PackageReference Include="MediatR" Version="8.1.0" />
<PackageReference Include="OpenFTTH.Events" Version="1.0.7-alpha" />
<PackageReference Include="OpenFTTH.Events" Version="1.0.8" />
</ItemGroup>

</Project>
14 changes: 12 additions & 2 deletions src/OpenFTTH.GDBIntegrator.RouteNetwork/Mapping/InfoMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,20 @@ public class InfoMapper : IInfoMapper
return RouteNodeKindEnum.CentralOfficeSmall;
case "ConduitClosure":
return RouteNodeKindEnum.ConduitClosure;
case "ConduitClosureBranchOff":
return RouteNodeKindEnum.ConduitClosureBranchOff;
case "ConduitClosureFork":
return RouteNodeKindEnum.ConduitClosureFork;
case "ConduitClosureStraight":
return RouteNodeKindEnum.ConduitClosureStraight;
case "ConduitConnector":
return RouteNodeKindEnum.ConduitConnector;
case "ConduitConnectorBranchOff":
return RouteNodeKindEnum.ConduitConnectorBranchOff;
case "ConduitConnectorStraight":
return RouteNodeKindEnum.ConduitConnectorStraight;
case "ConduitEnd":
return RouteNodeKindEnum.ConduitEnd;
case "ConduitSimpleJunction":
return RouteNodeKindEnum.ConduitSimpleJunction;
case "HandHole":
return RouteNodeKindEnum.HandHole;
case "ManHole":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.3" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.1.3" />
<PackageReference Include="NetTopologySuite.IO.GeoJSON" Version="2.0.3" />
<PackageReference Include="OpenFTTH.Events" Version="1.0.7-alpha" />
<PackageReference Include="OpenFTTH.Events" Version="1.0.8" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,13 @@ public void MapMappingMethod_ShouldThrowArgumentException_OnBeingPassedInvalidSt
[InlineData("CentralOfficeMedium", RouteNodeKindEnum.CentralOfficeMedium)]
[InlineData("CentralOfficeSmall", RouteNodeKindEnum.CentralOfficeSmall)]
[InlineData("ConduitClosure", RouteNodeKindEnum.ConduitClosure)]
[InlineData("ConduitClosureBranchOff", RouteNodeKindEnum.ConduitClosureBranchOff)]
[InlineData("ConduitClosureFork", RouteNodeKindEnum.ConduitClosureFork)]
[InlineData("ConduitClosureStraight", RouteNodeKindEnum.ConduitClosureStraight)]
[InlineData("ConduitConnector", RouteNodeKindEnum.ConduitConnector)]
[InlineData("ConduitConnectorBranchOff", RouteNodeKindEnum.ConduitConnectorBranchOff)]
[InlineData("ConduitConnectorStraight", RouteNodeKindEnum.ConduitConnectorStraight)]
[InlineData("ConduitEnd", RouteNodeKindEnum.ConduitEnd)]
[InlineData("ConduitSimpleJunction", RouteNodeKindEnum.ConduitSimpleJunction)]
[InlineData("HandHole", RouteNodeKindEnum.HandHole)]
[InlineData("ManHole", RouteNodeKindEnum.ManHole)]
[InlineData("MultiDwellingUnit", RouteNodeKindEnum.MultiDwellingUnit)]
Expand Down

0 comments on commit 83f282d

Please sign in to comment.