From 5361822e4093ddda5134e6641c9dcb56a63f3a65 Mon Sep 17 00:00:00 2001 From: Chris Cheetham Date: Fri, 5 Feb 2021 13:48:30 -0500 Subject: [PATCH] Use {{data-redis}} for Redis dependency [Fixes #69] --- .../ReplaceMe.csproj | 4 ++-- .../ReplaceMe.csproj | 4 ++-- src/steeltoe-2.5.x--netcoreapp3.1--webapi--csharp/Startup.cs | 4 ++-- .../ReplaceMe.csproj | 4 ++-- src/steeltoe-3.0.x--netcoreapp3.1--webapi--csharp/Startup.cs | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/steeltoe-2.5.x--netcoreapp2.1--webapi--csharp/ReplaceMe.csproj b/src/steeltoe-2.5.x--netcoreapp2.1--webapi--csharp/ReplaceMe.csproj index 85914cc..a085ed8 100644 --- a/src/steeltoe-2.5.x--netcoreapp2.1--webapi--csharp/ReplaceMe.csproj +++ b/src/steeltoe-2.5.x--netcoreapp2.1--webapi--csharp/ReplaceMe.csproj @@ -59,9 +59,9 @@ {{/sqlserver}} - {{#redis}} + {{#data-redis}} - {{/redis}} + {{/data-redis}} {{#any-efcore}} diff --git a/src/steeltoe-2.5.x--netcoreapp3.1--webapi--csharp/ReplaceMe.csproj b/src/steeltoe-2.5.x--netcoreapp3.1--webapi--csharp/ReplaceMe.csproj index 2010991..f98fd6e 100644 --- a/src/steeltoe-2.5.x--netcoreapp3.1--webapi--csharp/ReplaceMe.csproj +++ b/src/steeltoe-2.5.x--netcoreapp3.1--webapi--csharp/ReplaceMe.csproj @@ -56,9 +56,9 @@ {{/sqlserver}} - {{#redis}} + {{#data-redis}} - {{/redis}} + {{/data-redis}} {{#any-efcore}} diff --git a/src/steeltoe-2.5.x--netcoreapp3.1--webapi--csharp/Startup.cs b/src/steeltoe-2.5.x--netcoreapp3.1--webapi--csharp/Startup.cs index c675516..121b729 100644 --- a/src/steeltoe-2.5.x--netcoreapp3.1--webapi--csharp/Startup.cs +++ b/src/steeltoe-2.5.x--netcoreapp3.1--webapi--csharp/Startup.cs @@ -50,9 +50,9 @@ using Steeltoe.CloudFoundry.Connector.PostgreSql; {{#amqp}} using Steeltoe.CloudFoundry.Connector.RabbitMQ; {{/amqp}} -{{#redis}} +{{#data-redis}} using Steeltoe.CloudFoundry.Connector.Redis; -{{/redis}} +{{/data-redis}} {{#data-mongodb}} using Steeltoe.CloudFoundry.Connector.MongoDb; {{/data-mongodb}} diff --git a/src/steeltoe-3.0.x--netcoreapp3.1--webapi--csharp/ReplaceMe.csproj b/src/steeltoe-3.0.x--netcoreapp3.1--webapi--csharp/ReplaceMe.csproj index 6cb774d..5e0986e 100644 --- a/src/steeltoe-3.0.x--netcoreapp3.1--webapi--csharp/ReplaceMe.csproj +++ b/src/steeltoe-3.0.x--netcoreapp3.1--webapi--csharp/ReplaceMe.csproj @@ -81,9 +81,9 @@ {{#azure-spring-cloud}} {{/azure-spring-cloud}} - {{#redis}} + {{#data-redis}} - {{/redis}} + {{/data-redis}} {{#postgresql-efcore}} {{/postgresql-efcore}} diff --git a/src/steeltoe-3.0.x--netcoreapp3.1--webapi--csharp/Startup.cs b/src/steeltoe-3.0.x--netcoreapp3.1--webapi--csharp/Startup.cs index 7820dfd..b55ec74 100644 --- a/src/steeltoe-3.0.x--netcoreapp3.1--webapi--csharp/Startup.cs +++ b/src/steeltoe-3.0.x--netcoreapp3.1--webapi--csharp/Startup.cs @@ -24,9 +24,9 @@ using Steeltoe.Connector.PostgreSql.EFCore; {{#amqp}} using Steeltoe.Connector.RabbitMQ; {{/amqp}} -{{#redis}} +{{#data-redis}} using Steeltoe.Connector.Redis; -{{/redis}} +{{/data-redis}} {{#sqlserver}} using Steeltoe.Connector.SqlServer.EFCore; {{/sqlserver}}