logicapps icon indicating copy to clipboard operation
logicapps copied to clipboard

connections.json files are painful

Open brandonh-msft opened this issue 3 years ago • 3 comments

Description

This is an issue with logic apps preview. The whole idea of the connections.json file is painful to deal with. The file looks different for local debugging than it does in when doing a cloud deployment; and there are values in that file that are difficult to come by.

On the cloud side, we found a workaround: you gitignore the connections.json file then run a script in your devops pipeline to generate a connections.json file based on the connections you have deployed in a given resource group. This works fine.

Locally, this is a lot of work. When trying to debug locally you need to have a connections.json file with the auth type set to 'Raw, which requires a connection key. The only way to get this key is to have the logic apps extension generate the connections file for you. The only way to have the logic app generate that file is to recreate all of your connection operations in your workflow. When you have 7 API connections in your workflow and you need to tell every engineer that clones this project that they need to recreate every connector operation so that they can debug locally, it becomes a very tedious and painful user experience and is likely to lead to human error in changes to workflow operations.

Ideally: when a user clones the repo locally and opens the workflow in the designer view for the first time, instead of telling them the operation is broken because of a missing connections file, given them the option to point to an existing API connection that has already been deployed, or to create a new connection in order to repair the operation. This is a way better experience than forcing users to delete an entire operation and recreate it.

internal tracking CSEF 434879

brandonh-msft avatar Mar 26 '21 17:03 brandonh-msft

This is an area we are currently working on to simply. Stay tuned for more details soon.

rohithah avatar Apr 21 '21 08:04 rohithah

This is an area we are currently working on to simply. Stay tuned for more details soon.

Any more information regarding this? It is still a pain to deal with different connections and access policies and such. Especially when you want to use devops for deployment

mirzaciri avatar Dec 02 '21 10:12 mirzaciri

This is an area we are currently working on to simply. Stay tuned for more details soon.

Any update on this?

@rohithah

mirzaciri avatar Apr 19 '22 13:04 mirzaciri

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Oct 21 '22 16:10 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Oct 28 '22 17:10 github-actions[bot]