From be09a7664bdc9b113586e1339c8ff37b8efdd5cc Mon Sep 17 00:00:00 2001 From: Faiz Shaikh Date: Thu, 31 Jan 2019 13:04:28 -0800 Subject: [PATCH 01/11] Test commit into master --- ServerlessLibraryAPI/wwwroot/items.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ServerlessLibraryAPI/wwwroot/items.json b/ServerlessLibraryAPI/wwwroot/items.json index 0d488eb9..0aa52298 100644 --- a/ServerlessLibraryAPI/wwwroot/items.json +++ b/ServerlessLibraryAPI/wwwroot/items.json @@ -542,7 +542,7 @@ "title": "Remove metadata with Azure Functions", "template": "https://raw.githubusercontent.com/0GiS0/azure-function-clean-exif/master/azure.deploy.json", "repository": "https://github.com/0GiS0/azure-function-clean-exif", - "description": "It removes file metadata using Azure Functions.", + "description": "It removes file metadata using Azure Functions", "language": "javascript", "type": "functionapp", "authortype": "Community", From fea21d918736d0f1c23373fc30161f89cf823666 Mon Sep 17 00:00:00 2001 From: Faiz Shaikh Date: Thu, 31 Jan 2019 13:42:15 -0800 Subject: [PATCH 02/11] Add 3 new templates --- ServerlessLibraryAPI/wwwroot/items.json | 32 ++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/ServerlessLibraryAPI/wwwroot/items.json b/ServerlessLibraryAPI/wwwroot/items.json index 0aa52298..fe6a0259 100644 --- a/ServerlessLibraryAPI/wwwroot/items.json +++ b/ServerlessLibraryAPI/wwwroot/items.json @@ -542,10 +542,40 @@ "title": "Remove metadata with Azure Functions", "template": "https://raw.githubusercontent.com/0GiS0/azure-function-clean-exif/master/azure.deploy.json", "repository": "https://github.com/0GiS0/azure-function-clean-exif", - "description": "It removes file metadata using Azure Functions", + "description": "It removes file metadata using Azure Functions.", "language": "javascript", "type": "functionapp", "authortype": "Community", "runtimeversion": "na" + }, + { + "title": "Read Excel From Blob Storage, Process and Add to Azure Queue.", + "template": "https://raw.githubusercontent.com/raahmed/BlobStorageTrigger/blob/master/azuredeploy.json", + "repository": "https://github.com/raahmed/BlobStorageTrigger", + "description": "This application takes a specific type of csv file (detailed in the project README), cleans the data and then places the contents in .json format into a Queue.", + "language": "python", + "type": "functionapp", + "authortype": "Community", + "runtimeversion": "na" + }, + { + "title": "Azure DevOps with Azure Logic Apps", + "template": "https://raw.githubusercontent.com/gdprtcl/AzDevOps-AzLA/master/AzDevOps%2BAzLA/azure.deploy.json", + "repository": "https://github.com/gdprtcl/AzDevOps-AzLA", + "description": "Create a Logic App to notify an individual over mail whenever he/she is assigned to a Work Item (Bug) with high priority.", + "language": "na", + "type": "logicapp", + "authortype": "Community", + "runtimeversion": "na" + }, + { + "title": "Triggers and Binding examples", + "template": "https://raw.githubusercontent.com/daniel-rocha/azure-functions-java-bindings/master/azuredeploy.json", + "repository": "https://github.com/daniel-rocha/azure-functions-java-bindings", + "description": "20+ ready-to-use examples of triggers and bindings with Azure Java Functions", + "language": "java", + "type": "functionapp", + "authortype": "Community", + "runtimeversion": "na" } ] From 805c2bf5de41fe1cb499c3167f57c24221091d63 Mon Sep 17 00:00:00 2001 From: Faiz Shaikh Date: Thu, 31 Jan 2019 13:44:41 -0800 Subject: [PATCH 03/11] Add two new languages --- ServerlessLibraryUI/src/components/AppTopbar.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ServerlessLibraryUI/src/components/AppTopbar.vue b/ServerlessLibraryUI/src/components/AppTopbar.vue index 97c08680..d06f8608 100644 --- a/ServerlessLibraryUI/src/components/AppTopbar.vue +++ b/ServerlessLibraryUI/src/components/AppTopbar.vue @@ -28,7 +28,8 @@ @@ -329,4 +330,4 @@ menu { } } } - \ No newline at end of file + From 38e43230ddbb6e9b9d1875034d5d196139264753 Mon Sep 17 00:00:00 2001 From: Faiz Shaikh Date: Thu, 31 Jan 2019 14:07:05 -0800 Subject: [PATCH 04/11] Add new language filters --- ServerlessLibraryUI/src/components/AppItem.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ServerlessLibraryUI/src/components/AppItem.vue b/ServerlessLibraryUI/src/components/AppItem.vue index 7c671867..823cd9f9 100644 --- a/ServerlessLibraryUI/src/components/AppItem.vue +++ b/ServerlessLibraryUI/src/components/AppItem.vue @@ -100,6 +100,10 @@ export default { return 'C#'; } else if (language === 'javascript') { return 'JavaScript'; + } else if (language === 'python') { + return 'Python'; + } else if (language === 'java') { + return 'Java'; } else if (language === 'na') { return ''; } else { From 000f1a0b6875a90842f7faf4f2b44ffdfe98cb53 Mon Sep 17 00:00:00 2001 From: Faiz Shaikh Date: Thu, 31 Jan 2019 14:31:18 -0800 Subject: [PATCH 05/11] Fix typo in url --- ServerlessLibraryAPI/wwwroot/items.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ServerlessLibraryAPI/wwwroot/items.json b/ServerlessLibraryAPI/wwwroot/items.json index fe6a0259..a4b07894 100644 --- a/ServerlessLibraryAPI/wwwroot/items.json +++ b/ServerlessLibraryAPI/wwwroot/items.json @@ -550,7 +550,7 @@ }, { "title": "Read Excel From Blob Storage, Process and Add to Azure Queue.", - "template": "https://raw.githubusercontent.com/raahmed/BlobStorageTrigger/blob/master/azuredeploy.json", + "template": "https://raw.githubusercontent.com/raahmed/BlobStorageTrigger/master/azuredeploy.json", "repository": "https://github.com/raahmed/BlobStorageTrigger", "description": "This application takes a specific type of csv file (detailed in the project README), cleans the data and then places the contents in .json format into a Queue.", "language": "python", From 2290925092c427109851946eca147e7c9458730f Mon Sep 17 00:00:00 2001 From: Faiz Shaikh Date: Thu, 31 Jan 2019 15:25:02 -0800 Subject: [PATCH 06/11] Add C# back --- ServerlessLibraryUI/src/components/AppTopbar.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/ServerlessLibraryUI/src/components/AppTopbar.vue b/ServerlessLibraryUI/src/components/AppTopbar.vue index d06f8608..002ee904 100644 --- a/ServerlessLibraryUI/src/components/AppTopbar.vue +++ b/ServerlessLibraryUI/src/components/AppTopbar.vue @@ -28,6 +28,7 @@ From e7f4b32ae6799d963192ef1a2c59f42e2ee7cb48 Mon Sep 17 00:00:00 2001 From: Faiz Shaikh Date: Fri, 1 Feb 2019 10:34:03 -0800 Subject: [PATCH 07/11] Add new item --- ServerlessLibraryAPI/wwwroot/items.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ServerlessLibraryAPI/wwwroot/items.json b/ServerlessLibraryAPI/wwwroot/items.json index a4b07894..537604bd 100644 --- a/ServerlessLibraryAPI/wwwroot/items.json +++ b/ServerlessLibraryAPI/wwwroot/items.json @@ -577,5 +577,15 @@ "type": "functionapp", "authortype": "Community", "runtimeversion": "na" + }, + { + "title": "Add Data to CosmosDB From QueueStorage", + "template": "https://raw.githubusercontent.com/raahmed/QueueStorageTrigger/master/azuredeploy.json", + "repository": "https://github.com/raahmed/QueueStorageTrigger", + "description": "A series of events in queue storage are collected and added to CosmosDB.", + "language": "python", + "type": "functionapp", + "authortype": "Community", + "runtimeversion": "na" } ] From 5f4609d13c8cb523befe2f6aa5db982cf2cfb562 Mon Sep 17 00:00:00 2001 From: Faiz Shaikh Date: Mon, 4 Mar 2019 14:14:02 -0800 Subject: [PATCH 08/11] New items --- ServerlessLibraryAPI/wwwroot/items.json | 40 +++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/ServerlessLibraryAPI/wwwroot/items.json b/ServerlessLibraryAPI/wwwroot/items.json index 537604bd..9b3c53fe 100644 --- a/ServerlessLibraryAPI/wwwroot/items.json +++ b/ServerlessLibraryAPI/wwwroot/items.json @@ -587,5 +587,45 @@ "type": "functionapp", "authortype": "Community", "runtimeversion": "na" + }, + { + "title": "GitHub Pull Request Reviewer", + "template": "https://raw.githubusercontent.com/paulbatum/pull-request-reviewer/master/azure.deploy.json", + "repository": "https://github.com/paulbatum/pull-request-reviewer", + "description": "A simple example of using Azure Functions to implement a GitHub webhook", + "language": "javascript", + "type": "functionapp", + "authortype": "Community", + "runtimeversion": "v2" + }, + { + "title": "Hello Panda: Introduction to Backend API's in TypeScript", + "template": "https://github.com/mhoeger/functions-typescript-intermediate/blob/master/azure.deploy.json", + "repository": "https://github.com/mhoeger/functions-typescript-intermediate", + "description": "A function app written in TypeScript that shows how to create backend API functions that use custom routes, npm modules, and globally shared code between functions.", + "language": "javascript", + "type": "functionapp", + "authortype": "Community", + "runtimeversion": "v2" + }, + { + "title": "Functions running as a Managed Service identity MSI for ARM calls in C#", + "template": "https://raw.githubusercontent.com/fashaikh/functions-msi-csharp/master/azuredeploy.json", + "repository": "https://github.com/fashaikh/functions-msi-csharp", + "description": "Once installed it creates a Function App linked to an MSI. If you go ahead and change the access of the MSI to particular resources, then it is able to talk to ARM and return the results", + "language": "csharp", + "type": "functionapp", + "authortype": "Community", + "runtimeversion": "v2" + }, + { + "title": "FunctionApp v1 with AWS S3 bucket and queue bindings Cognitive Services and CosmosDB", + "template": "https://raw.githubusercontent.com/fashaikh/functions-aws-s3-cosmosdb-v1/master/azuredeploy.json", + "repository": "https://github.com/fashaikh/functions-aws-s3-cosmosdb-v1", + "description": "V1 FunctionApp with AWS S3 bucket and queue bindings,Cognitive Services and CosmosDB: 1)TimerTriggerFromS3: OCR images from S3 2) GetS3PreSignedUrl: Creates a pre signed Url for any S3 bucket 3) BlobTriggerToS3:From Azure Storage to S3", + "language": "csharp", + "type": "functionapp", + "authortype": "Community", + "runtimeversion": "v1" } ] From 6d9dc1341d4579d9bcd7ddb9db1124338bece1b4 Mon Sep 17 00:00:00 2001 From: Neha Gupta Date: Mon, 4 Mar 2019 15:02:52 -0800 Subject: [PATCH 09/11] Disable deploy button if sample does not have a deployment template --- ServerlessLibraryUI/src/components/AppItem.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ServerlessLibraryUI/src/components/AppItem.vue b/ServerlessLibraryUI/src/components/AppItem.vue index 823cd9f9..97f6cc09 100644 --- a/ServerlessLibraryUI/src/components/AppItem.vue +++ b/ServerlessLibraryUI/src/components/AppItem.vue @@ -35,7 +35,7 @@
  • Source - +
  • @@ -296,6 +296,11 @@ export default { font-weight: 600; } + &__deploybtn:disabled { + color: rgba(127, 127, 127, 0.7); + background-color: rgba(127, 127, 127, 0.1); + } + &__repo { margin-right: 12px; } From 1d9425d6dc3950b880054a15f705fb79535f8845 Mon Sep 17 00:00:00 2001 From: Faiz Shaikh Date: Mon, 4 Mar 2019 15:37:55 -0800 Subject: [PATCH 10/11] python templates --- ServerlessLibraryAPI/wwwroot/items.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ServerlessLibraryAPI/wwwroot/items.json b/ServerlessLibraryAPI/wwwroot/items.json index 519e655b..bc4be2a5 100644 --- a/ServerlessLibraryAPI/wwwroot/items.json +++ b/ServerlessLibraryAPI/wwwroot/items.json @@ -634,5 +634,23 @@ "type": "functionapp", "authortype": "Community", "runtimeversion": "v1" + }, + { + "title": "Python functions with Blob and Event Grid", + "repository": "https://github.com/priyaananthasankar/messaging-pattern", + "description": "This sample shows how to deploy a blob storage that subscribes to an event grid which sends messages to an Azure Function through a WebHook Trigger. This is a commonly used messaging pattern for many customers.", + "language": "python", + "type": "functionapp", + "authortype": "Community", + "runtimeversion": "na" + }, + { + "title": "Scheduled-based Python function for social media reporting", + "repository": "https://github.com/gbowerman/twitter-code/tree/master/azurefunctions/dailyreport", + "description": "Python function designed to run a daily Twitter search and send output to a Microsoft Teams channel", + "language": "python", + "type": "functionapp", + "authortype": "Community", + "runtimeversion": "na" } ] From 011613513222a0f7ea114ec78f143292dd8e90fb Mon Sep 17 00:00:00 2001 From: Faiz Shaikh Date: Mon, 4 Mar 2019 15:41:35 -0800 Subject: [PATCH 11/11] update to raw urla nd add missing props --- ServerlessLibraryAPI/wwwroot/items.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ServerlessLibraryAPI/wwwroot/items.json b/ServerlessLibraryAPI/wwwroot/items.json index bc4be2a5..d0cc2586 100644 --- a/ServerlessLibraryAPI/wwwroot/items.json +++ b/ServerlessLibraryAPI/wwwroot/items.json @@ -600,9 +600,11 @@ }, { "title": "Hello Panda: Introduction to Backend API's in TypeScript", - "template": "https://github.com/mhoeger/functions-typescript-intermediate/blob/master/azure.deploy.json", + "template": "https://raw.githubusercontent.com/mhoeger/functions-typescript-intermediate/master/azure.deploy.json", "repository": "https://github.com/mhoeger/functions-typescript-intermediate", "description": "A function app written in TypeScript that shows how to create backend API functions that use custom routes, npm modules, and globally shared code between functions.", + "language": "javascript", + "authortype": "Community", "runtimeversion": "v2" }, {