Skip to content

Commit

Permalink
Added templates for RabbitMQ (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
yojagad committed Nov 26, 2020
1 parent 384fd46 commit b967ff1
Show file tree
Hide file tree
Showing 46 changed files with 518 additions and 1 deletion.
27 changes: 27 additions & 0 deletions Build/PackageFiles/ExtensionBundleTemplates-1.x.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
<file src="templates/QueueTrigger-CSharp/QueueTriggerCSharp.csx" target="templates/QueueTrigger-CSharp/run.csx" />
<file src="templates/QueueTrigger-CSharp/readme.md" target="templates/QueueTrigger-CSharp/readme.md" />
<file src="templates/QueueTrigger-CSharp/sample.dat" target="templates/QueueTrigger-CSharp/sample.dat" />
<file src="templates/RabbitMQTrigger-CSharp/function.json" target="templates/RabbitMQTrigger-CSharp/function.json" />
<file src="templates/RabbitMQTrigger-CSharp/metadata.json" target="templates/RabbitMQTrigger-CSharp/metadata.json" />
<file src="templates/RabbitMQTrigger-CSharp/RabbitMQTriggerCSharp.csx" target="templates/RabbitMQTrigger-CSharp/run.csx" />
<file src="templates/RabbitMQTrigger-CSharp/readme.md" target="templates/RabbitMQTrigger-CSharp/readme.md" />
<file src="templates/RabbitMQTrigger-CSharp/sample.dat" target="templates/RabbitMQTrigger-CSharp/sample.dat" />
<file src="templates/TimerTrigger-CSharp/function.json" target="templates/TimerTrigger-CSharp/function.json" />
<file src="templates/TimerTrigger-CSharp/metadata.json" target="templates/TimerTrigger-CSharp/metadata.json" />
<file src="templates/TimerTrigger-CSharp/readme.md" target="templates/TimerTrigger-CSharp/readme.md" />
Expand All @@ -52,8 +57,15 @@
<file src="templates/QueueTrigger-JavaScript/metadata.json" target="templates/QueueTrigger-JavaScript/metadata.json" />
<file src="templates/QueueTrigger-JavaScript/readme.md" target="templates/QueueTrigger-JavaScript/readme.md" />
<file src="templates/QueueTrigger-JavaScript/sample.dat" target="templates/QueueTrigger-JavaScript/sample.dat" />
<file src="templates/RabbitMQTrigger-JavaScript/function.json" target="templates/RabbitMQTrigger-JavaScript/function.json" />
<file src="templates/RabbitMQTrigger-JavaScript/index.js" target="templates/RabbitMQTrigger-JavaScript/index.js" />
<file src="templates/RabbitMQTrigger-JavaScript/metadata.json" target="templates/RabbitMQTrigger-JavaScript/metadata.json" />
<file src="templates/RabbitMQTrigger-JavaScript/readme.md" target="templates/RabbitMQTrigger-JavaScript/readme.md" />
<file src="templates/RabbitMQTrigger-JavaScript/sample.dat" target="templates/RabbitMQTrigger-JavaScript/sample.dat" />
<file src="templates/QueueTrigger-Custom/function.json" target="templates/QueueTrigger-Custom/function.json" />
<file src="templates/QueueTrigger-Custom/metadata.json" target="templates/QueueTrigger-Custom/metadata.json" />
<file src="templates/RabbitMQTrigger-Custom/function.json" target="templates/RabbitMQTrigger-Custom/function.json" />
<file src="templates/RabbitMQTrigger-Custom/metadata.json" target="templates/RabbitMQTrigger-Custom/metadata.json" />
<file src="templates/TimerTrigger-JavaScript/function.json" target="templates/TimerTrigger-JavaScript/function.json" />
<file src="templates/TimerTrigger-JavaScript/index.js" target="templates/TimerTrigger-JavaScript/index.js" />
<file src="templates/TimerTrigger-JavaScript/metadata.json" target="templates/TimerTrigger-JavaScript/metadata.json" />
Expand All @@ -75,6 +87,11 @@
<file src="templates/QueueTrigger-TypeScript/metadata.json" target="templates/QueueTrigger-TypeScript/metadata.json" />
<file src="templates/QueueTrigger-TypeScript/readme.md" target="templates/QueueTrigger-TypeScript/readme.md" />
<file src="templates/QueueTrigger-TypeScript/sample.dat" target="templates/QueueTrigger-TypeScript/sample.dat" />
<file src="templates/RabbitMQTrigger-TypeScript/function.json" target="templates/RabbitMQTrigger-TypeScript/function.json" />
<file src="templates/RabbitMQTrigger-TypeScript/index.ts" target="templates/RabbitMQTrigger-TypeScript/index.ts" />
<file src="templates/RabbitMQTrigger-TypeScript/metadata.json" target="templates/RabbitMQTrigger-TypeScript/metadata.json" />
<file src="templates/RabbitMQTrigger-TypeScript/readme.md" target="templates/RabbitMQTrigger-TypeScript/readme.md" />
<file src="templates/RabbitMQTrigger-TypeScript/sample.dat" target="templates/RabbitMQTrigger-TypeScript/sample.dat" />
<file src="templates/TimerTrigger-TypeScript/function.json" target="templates/TimerTrigger-TypeScript/function.json" />
<file src="templates/TimerTrigger-TypeScript/index.ts" target="templates/TimerTrigger-TypeScript/index.ts" />
<file src="templates/TimerTrigger-TypeScript/metadata.json" target="templates/TimerTrigger-TypeScript/metadata.json" />
Expand All @@ -87,6 +104,11 @@
<file src="templates/QueueTrigger-PowerShell/readme.md" target="templates/QueueTrigger-PowerShell/readme.md" />
<file src="templates/QueueTrigger-PowerShell/run.ps1" target="templates/QueueTrigger-PowerShell/run.ps1" />
<file src="templates/QueueTrigger-PowerShell/sample.dat" target="templates/QueueTrigger-PowerShell/sample.dat" />
<file src="templates/RabbitMQTrigger-PowerShell/function.json" target="templates/RabbitMQTrigger-PowerShell/function.json" />
<file src="templates/RabbitMQTrigger-PowerShell/metadata.json" target="templates/RabbitMQTrigger-PowerShell/metadata.json" />
<file src="templates/RabbitMQTrigger-PowerShell/readme.md" target="templates/RabbitMQTrigger-PowerShell/readme.md" />
<file src="templates/RabbitMQTrigger-PowerShell/run.ps1" target="templates/RabbitMQTrigger-PowerShell/run.ps1" />
<file src="templates/RabbitMQTrigger-PowerShell/sample.dat" target="templates/RabbitMQTrigger-PowerShell/sample.dat" />
<file src="templates/BlobTrigger-PowerShell/function.json" target="templates/BlobTrigger-PowerShell/function.json" />
<file src="templates/BlobTrigger-PowerShell/metadata.json" target="templates/BlobTrigger-PowerShell/metadata.json" />
<file src="templates/BlobTrigger-PowerShell/readme.md" target="templates/BlobTrigger-PowerShell/readme.md" />
Expand Down Expand Up @@ -264,6 +286,11 @@
<file src="templates/QueueTrigger-Python/metadata.json" target="templates/QueueTrigger-Python/metadata.json" />
<file src="templates/QueueTrigger-Python/readme.md" target="templates/QueueTrigger-Python/readme.md" />
<file src="templates/QueueTrigger-Python/sample.dat" target="templates/QueueTrigger-Python/sample.dat" />
<file src="templates/RabbitMQTrigger-Python/__init__.py" target="templates/RabbitMQTrigger-Python/__init__.py" />
<file src="templates/RabbitMQTrigger-Python/function.json" target="templates/RabbitMQTrigger-Python/function.json" />
<file src="templates/RabbitMQTrigger-Python/metadata.json" target="templates/RabbitMQTrigger-Python/metadata.json" />
<file src="templates/RabbitMQTrigger-Python/readme.md" target="templates/RabbitMQTrigger-Python/readme.md" />
<file src="templates/RabbitMQTrigger-Python/sample.dat" target="templates/RabbitMQTrigger-Python/sample.dat" />
<file src="templates/TimerTrigger-Python/__init__.py" target="templates/TimerTrigger-Python/__init__.py" />
<file src="templates/TimerTrigger-Python/function.json" target="templates/TimerTrigger-Python/function.json" />
<file src="templates/TimerTrigger-Python/metadata.json" target="templates/TimerTrigger-Python/metadata.json" />
Expand Down
27 changes: 27 additions & 0 deletions Build/PackageFiles/ExtensionBundleTemplates-2.x.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
<file src="templates/QueueTrigger-CSharp/QueueTriggerCSharp.csx" target="templates/QueueTrigger-CSharp/run.csx" />
<file src="templates/QueueTrigger-CSharp/readme.md" target="templates/QueueTrigger-CSharp/readme.md" />
<file src="templates/QueueTrigger-CSharp/sample.dat" target="templates/QueueTrigger-CSharp/sample.dat" />
<file src="templates/RabbitMQTrigger-CSharp/function.json" target="templates/RabbitMQTrigger-CSharp/function.json" />
<file src="templates/RabbitMQTrigger-CSharp/metadata.json" target="templates/RabbitMQTrigger-CSharp/metadata.json" />
<file src="templates/RabbitMQTrigger-CSharp/RabbitMQTriggerCSharp.csx" target="templates/RabbitMQTrigger-CSharp/run.csx" />
<file src="templates/RabbitMQTrigger-CSharp/readme.md" target="templates/RabbitMQTrigger-CSharp/readme.md" />
<file src="templates/RabbitMQTrigger-CSharp/sample.dat" target="templates/RabbitMQTrigger-CSharp/sample.dat" />
<file src="templates/TimerTrigger-CSharp/function.json" target="templates/TimerTrigger-CSharp/function.json" />
<file src="templates/TimerTrigger-CSharp/metadata.json" target="templates/TimerTrigger-CSharp/metadata.json" />
<file src="templates/TimerTrigger-CSharp/readme.md" target="templates/TimerTrigger-CSharp/readme.md" />
Expand All @@ -52,8 +57,15 @@
<file src="templates/QueueTrigger-JavaScript/metadata.json" target="templates/QueueTrigger-JavaScript/metadata.json" />
<file src="templates/QueueTrigger-JavaScript/readme.md" target="templates/QueueTrigger-JavaScript/readme.md" />
<file src="templates/QueueTrigger-JavaScript/sample.dat" target="templates/QueueTrigger-JavaScript/sample.dat" />
<file src="templates/RabbitMQTrigger-JavaScript/function.json" target="templates/RabbitMQTrigger-JavaScript/function.json" />
<file src="templates/RabbitMQTrigger-JavaScript/index.js" target="templates/RabbitMQTrigger-JavaScript/index.js" />
<file src="templates/RabbitMQTrigger-JavaScript/metadata.json" target="templates/RabbitMQTrigger-JavaScript/metadata.json" />
<file src="templates/RabbitMQTrigger-JavaScript/readme.md" target="templates/RabbitMQTrigger-JavaScript/readme.md" />
<file src="templates/RabbitMQTrigger-JavaScript/sample.dat" target="templates/RabbitMQTrigger-JavaScript/sample.dat" />
<file src="templates/QueueTrigger-Custom/function.json" target="templates/QueueTrigger-Custom/function.json" />
<file src="templates/QueueTrigger-Custom/metadata.json" target="templates/QueueTrigger-Custom/metadata.json" />
<file src="templates/RabbitMQTrigger-Custom/function.json" target="templates/RabbitMQTrigger-Custom/function.json" />
<file src="templates/RabbitMQTrigger-Custom/metadata.json" target="templates/RabbitMQTrigger-Custom/metadata.json" />
<file src="templates/TimerTrigger-JavaScript/function.json" target="templates/TimerTrigger-JavaScript/function.json" />
<file src="templates/TimerTrigger-JavaScript/index.js" target="templates/TimerTrigger-JavaScript/index.js" />
<file src="templates/TimerTrigger-JavaScript/metadata.json" target="templates/TimerTrigger-JavaScript/metadata.json" />
Expand All @@ -75,6 +87,11 @@
<file src="templates/QueueTrigger-TypeScript/metadata.json" target="templates/QueueTrigger-TypeScript/metadata.json" />
<file src="templates/QueueTrigger-TypeScript/readme.md" target="templates/QueueTrigger-TypeScript/readme.md" />
<file src="templates/QueueTrigger-TypeScript/sample.dat" target="templates/QueueTrigger-TypeScript/sample.dat" />
<file src="templates/RabbitMQTrigger-TypeScript/function.json" target="templates/RabbitMQTrigger-TypeScript/function.json" />
<file src="templates/RabbitMQTrigger-TypeScript/index.ts" target="templates/RabbitMQTrigger-TypeScript/index.ts" />
<file src="templates/RabbitMQTrigger-TypeScript/metadata.json" target="templates/RabbitMQTrigger-TypeScript/metadata.json" />
<file src="templates/RabbitMQTrigger-TypeScript/readme.md" target="templates/RabbitMQTrigger-TypeScript/readme.md" />
<file src="templates/RabbitMQTrigger-TypeScript/sample.dat" target="templates/RabbitMQTrigger-TypeScript/sample.dat" />
<file src="templates/TimerTrigger-TypeScript/function.json" target="templates/TimerTrigger-TypeScript/function.json" />
<file src="templates/TimerTrigger-TypeScript/index.ts" target="templates/TimerTrigger-TypeScript/index.ts" />
<file src="templates/TimerTrigger-TypeScript/metadata.json" target="templates/TimerTrigger-TypeScript/metadata.json" />
Expand All @@ -87,6 +104,11 @@
<file src="templates/QueueTrigger-PowerShell/readme.md" target="templates/QueueTrigger-PowerShell/readme.md" />
<file src="templates/QueueTrigger-PowerShell/run.ps1" target="templates/QueueTrigger-PowerShell/run.ps1" />
<file src="templates/QueueTrigger-PowerShell/sample.dat" target="templates/QueueTrigger-PowerShell/sample.dat" />
<file src="templates/RabbitMQTrigger-PowerShell/function.json" target="templates/RabbitMQTrigger-PowerShell/function.json" />
<file src="templates/RabbitMQTrigger-PowerShell/metadata.json" target="templates/RabbitMQTrigger-PowerShell/metadata.json" />
<file src="templates/RabbitMQTrigger-PowerShell/readme.md" target="templates/RabbitMQTrigger-PowerShell/readme.md" />
<file src="templates/RabbitMQTrigger-PowerShell/run.ps1" target="templates/RabbitMQTrigger-PowerShell/run.ps1" />
<file src="templates/RabbitMQTrigger-PowerShell/sample.dat" target="templates/RabbitMQTrigger-PowerShell/sample.dat" />
<file src="templates/BlobTrigger-PowerShell/function.json" target="templates/BlobTrigger-PowerShell/function.json" />
<file src="templates/BlobTrigger-PowerShell/metadata.json" target="templates/BlobTrigger-PowerShell/metadata.json" />
<file src="templates/BlobTrigger-PowerShell/readme.md" target="templates/BlobTrigger-PowerShell/readme.md" />
Expand Down Expand Up @@ -264,6 +286,11 @@
<file src="templates/QueueTrigger-Python/metadata.json" target="templates/QueueTrigger-Python/metadata.json" />
<file src="templates/QueueTrigger-Python/readme.md" target="templates/QueueTrigger-Python/readme.md" />
<file src="templates/QueueTrigger-Python/sample.dat" target="templates/QueueTrigger-Python/sample.dat" />
<file src="templates/RabbitMQTrigger-Python/__init__.py" target="templates/RabbitMQTrigger-Python/__init__.py" />
<file src="templates/RabbitMQTrigger-Python/function.json" target="templates/RabbitMQTrigger-Python/function.json" />
<file src="templates/RabbitMQTrigger-Python/metadata.json" target="templates/RabbitMQTrigger-Python/metadata.json" />
<file src="templates/RabbitMQTrigger-Python/readme.md" target="templates/RabbitMQTrigger-Python/readme.md" />
<file src="templates/RabbitMQTrigger-Python/sample.dat" target="templates/RabbitMQTrigger-Python/sample.dat" />
<file src="templates/TimerTrigger-Python/__init__.py" target="templates/TimerTrigger-Python/__init__.py" />
<file src="templates/TimerTrigger-Python/function.json" target="templates/TimerTrigger-Python/function.json" />
<file src="templates/TimerTrigger-Python/metadata.json" target="templates/TimerTrigger-Python/metadata.json" />
Expand Down
4 changes: 4 additions & 0 deletions Build/PackageFiles/ItemTemplates.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,9 @@
<file src="..\..\Functions.Templates\Templates\SignalRConnectionInfoHttpTrigger-CSharp\.template.config\template.json" target="content\SignalRConnectionInfoHttpTrigger-CSharp\.template.config\template.json" />
<file src="..\..\Functions.Templates\Templates\SignalRConnectionInfoHttpTrigger-CSharp\.template.config\vs-2017.3.host.json" target="content\SignalRConnectionInfoHttpTrigger-CSharp\.template.config\vs-2017.3.host.json" />
<file src="..\..\Functions.Templates\Templates\SignalRConnectionInfoHttpTrigger-CSharp\.template.config\vs-2017.3\*.*" target="content\SignalRConnectionInfoHttpTrigger-CSharp\.template.config\vs-2017.3" />
<file src="..\..\Functions.Templates\Templates\RabbitMQTrigger-CSharp\RabbitMQTriggerCSharp.cs" target="content\RabbitMQTrigger-CSharp\RabbitMQTriggerCSharp.cs" />
<file src="..\..\Functions.Templates\Templates\RabbitMQTrigger-CSharp\.template.config\template.json" target="content\RabbitMQTrigger-CSharp\.template.config\template.json" />
<file src="..\..\Functions.Templates\Templates\RabbitMQTrigger-CSharp\.template.config\vs-2017.3.host.json" target="content\RabbitMQTrigger-CSharp\.template.config\vs-2017.3.host.json" />
<file src="..\..\Functions.Templates\Templates\RabbitMQTrigger-CSharp\.template.config\vs-2017.3\*.*" target="content\RabbitMQTrigger-CSharp\.template.config\vs-2017.3" />
</files>
</package>
Loading

0 comments on commit b967ff1

Please sign in to comment.