question

JayeshPrajapati-7297 avatar image
0 Votes"
JayeshPrajapati-7297 asked MughundhanRaveendran-MSFT answered

Will extra folder inside a main folder of Data Connector create a problem in certification of Data Connector?

  • We are creating a DataConnector for GraphQL APIs.

  • We have used an approach to pass a GraphQL query and variables into a main init.py from another folder.

  • So we have created a Graphql folder where GraphQL queries are stored in .graphql files and its related variables are stored in .json files.

  • We have deployed our Azure Function App locally on azure portal ( which is implemented using the above mentioned approach). It's working perfectly fine and the GraphQL folder is also deployed.


Now we have a questions:

1) Will that extra Graphql folder be available to use in init.py file when we make our DataConnector Certified and make it publicly available?
2) As we have not found any example in Microsoft DataConnector Github repository which has an extra folder other than required folder structure, does this Graphql folder will create any problem in the certification process?


We have attached a image of our Azure Function App structure for your reference
https://drive.google.com/file/d/1aGxx0aVA1RXOhR43K3I_GELSqK8T_V3V/view?usp=sharing

azure-functionsmicrosoft-sentinel
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JayeshPrajapati-7652 , Please help by answering the below queries,

  1. Do you see the "graphql_quarries" folder in the Kudu site of the Function app?

  2. What do you mean by certification of data connector? SSL binding with app service certificate?

0 Votes 0 ·
JayeshPrajapati-7297 avatar image JayeshPrajapati-7297 MughundhanRaveendran-MSFT ·
  1. Do you see the "graphql_quarries" folder in the Kudu site of the Function app?
    -> We didn't find any option to see a folder structure in Kudu site of function app. Here is the screenshot of the same for your reference.
    Our function app on Kudu site

  2. What do you mean by certification of data connector? SSL binding with app service certificate?
    -> Certification of Data Connector means we need to make our Data Connector publicly available. For that we have refer below link:
    DataConnectors Certification
    From this we have found the required files for Data Connector and as we have not found any example in Microsoft Data Connector Github repository which has an extra folder other than required folder structure, does this Graphql folder will create any problem in the certification process?


0 Votes 0 ·

@JayeshPrajapati-7297 ,

Please follow the below steps to get to the folder structure

  • Select debug console-> cmd

202837-image.png

  • Open the site folder. Site->WWWroot


202866-image.png






0 Votes 0 ·
image.png (29.9 KiB)
image.png (29.7 KiB)
Show more comments

1 Answer

MughundhanRaveendran-MSFT avatar image
0 Votes"
MughundhanRaveendran-MSFT answered

Hi @JayeshPrajapati-7297 ,

I am summarizing the details discussed in the comments.

The contents of the function app needs to be placed in the Home directory->Site->WWWroot folder. This is where customer's app files need to be present, you have full control over this folder. As long as the "graphql_quarries" folder in present in the wwwroot folder, it should work as expected. This folder will not affect the data connector certification.

To navigate to the folder structure in the Kudu site, please follow the below steps

Select debug console-> cmd

208099-image.png

Open the site folder. Site->WWWroot

208108-image.png

I hope this helps!



image.png (27.5 KiB)
image.png (27.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.