Skip to content

Commit

Permalink
Deploy files conditioned to Azure Functions trigger (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjuarezgx authored Jul 12, 2023
1 parent 3ba6c68 commit 650a17c
Showing 1 changed file with 45 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,67 @@
<IsPublishable>false</IsPublishable>
<AssemblyName>GeneXus.Deploy.AzureFunctions.Handlers</AssemblyName>
<NoWarn>1701;1702;NU1701</NoWarn>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
</PropertyGroup>

<PropertyGroup>
<CosmosDBSupport>true</CosmosDBSupport>
<ServiceBusSupport>true</ServiceBusSupport>
<AzureQueueSupport>true</AzureQueueSupport>
<TimerSupport>true</TimerSupport>
<HttpSupport>true</HttpSupport>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<DebugType>portable</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<DebugType>none</DebugType>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="log4net" Version="2.0.15" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.13" />
<Compile Include ="Helpers\*;Program.cs" />
</ItemGroup>

<ItemGroup Condition="'$(BlobSupport)' == 'true'">
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Storage" Version="5.0.1" />
<Compile Include="BlobHandler\BlobTriggerHandler.cs;Dummies\BlobTriggerDummy.cs" />
</ItemGroup>

<ItemGroup Condition="'$(CosmosDBSupport)' == 'true'">
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.CosmosDB" Version="4.0.1" />
<Compile Include="CosmosDBHandler\CosmosDBTriggerHandler.cs;Dummies\CosmosDBTriggerDummy.cs" />
</ItemGroup>

<ItemGroup Condition="'$(ServiceBusSupport)' == 'true'">
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.ServiceBus" Version="4.2.1" />
<Compile Include="ServiceBusHandler\ServiceBusTriggerHandler.cs;Dummies\ServiceBusQueueDummy.cs" />
</ItemGroup>

<ItemGroup Condition="'$(AzureQueueSupport)' == 'true'">
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Storage" Version="5.0.1" />
<Compile Include="QueueHandler\QueueTriggerHandler.cs;Dummies\QueueTriggerDummy.cs" />
</ItemGroup>

<ItemGroup Condition="'$(TimerSupport)' == 'true'">
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Timer" Version="4.0.1" />
<Compile Include="TimerHandler\TimerTriggerHandler.cs;Dummies\TimerTriggerDummy.cs" />
</ItemGroup>

<ItemGroup Condition="'$(HttpSupport)' == 'true'">
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.13" />
<Compile Include="HttpHandler\*;Dummies\HttpTriggerDummy.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="log4net" Version="2.0.15" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.9.0" OutputItemType="Analyzer" />
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.5.2" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.CosmosDB" Version="4.0.1" />

<PackageReference Include="Microsoft.Data.SqlClient" Version="1.1.4" />
<PackageReference Include="StackExchange.Redis" Version="2.0.593" />
</ItemGroup>

<ItemGroup Condition="$(GenStdVersion)==''">
<ProjectReference Include="..\..\..\dotnetcore\GxClasses.Web\GxClasses.Web.csproj" />
<ProjectReference Include="..\..\..\dotnetcore\GxClasses\GxClasses.csproj" />
Expand Down

0 comments on commit 650a17c

Please sign in to comment.