How can I invoke Ruby scripts or executable(s) on on-premise server using Azure Data Factory v2 (ADF)? In my view, it falls under the category of Custom Activity and ADF as of now supports custom activity only via Azure Batch and Azure HDInsight. But what about running custom activity on on-premise server/network? It's understandable that for on-premise server or networks behind firewall, one needs to setup self-hosted integration run-time (IR). But as per documentation of ADF, it appears that self-hosted IR can be used for copy activity. Can I run a custom activity on self-hosted integration run-time?
one workaround can be that I use Azure Batch that SSH into my on-premise server and executes the scripts but due to certain security restrictions, I cant proceed with this possible solution.