Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge from PowerPlatform #10

Merged
merged 4 commits into from
Oct 11, 2022
Merged

merge from PowerPlatform #10

merged 4 commits into from
Oct 11, 2022

Conversation

varunynoox
Copy link
Collaborator


When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)

If this is your first time submitting to GitHub and you need some help, please sign up for this session.

  • I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
  • I attest that the connector works and I verified by deploying and testing all the operations.
  • I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
  • I attest that I have added response schemas to my actions, unless the response schema is dynamic.
  • I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
  • If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

  • I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
  • Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
  • Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
  • If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

varunynoox and others added 4 commits October 10, 2022 09:47
* updating PDF4me connect swagger

* updating PDF4me Connect swagger

* PDF4me Connnect- removing unnecessary space

* Adding new actions in PDF4me Connect

* Updating PDF4me Connect app version

* updating PDF4me and PDF4me Connect swagger

* updating PDF4me contact and connector metadata

* pdf4me connector version update

* changing preview to prod status of PDF4me actions

* fixing PDF4me validations errors

* restoring operationId
* Adding Morf to certified-connectors

* Update Morf stackOwner and response schemas (#2029)
* Update connector

Update legal company name
Remove duplicated locales
Add new endpoints

* Fix issues with schema

Fix issues with schema
* initial commit

* initial commit

* addresed the review comments.

* Add reusable parameter and issue fix in the api definition

* addresed the review comments.

* addresed the review comments.

* addresed the review comments.

* addresed the review comments.

* Add double property update methods

* updated the color.

* updated the method name.

Co-authored-by: Austin Wu <[email protected]>
@varunynoox varunynoox merged commit bb3d729 into pdf4me:master Oct 11, 2022
chandraarora pushed a commit that referenced this pull request Oct 17, 2024
* - First pass at getting all partitions. Still needs a few parameters setup so the code is currently broken. WIP.

* Update script.csx

Convert all partitions, not just the first one.

* Update script.csx

Fix placeholders of querystring params that need gotten/set for fetching subsequent partitions.

* Update script.csx

Fix syntax errors to ensure that isn't why connector upload is failing.

* Update script.csx

Fix more compilation errors.

* Update script.csx

Wanted a record of the fact that these changes are still returning subsequent partitions in array format, despite literally every response being converted.

Is there maybe some sort of caching of the connector behavior, because it seems like I can't ever get the behavior of my data flow to change at all...

* Update script.csx

This version of the connector is the most complete example that can successfully be uploaded as a custom connector.

Yet I still can't get the behavior to change no matter what code changes I make.

* Issue #5 - Null detection and Type Conversion Error (#1)

* Update script.csx

- Fix null detection.

* Fix issue with null handling in Snowflake connector

---------

Co-authored-by: jbrinkman <[email protected]>

* Update apiDefinition.swagger.json

- This version of the swaggerjson SHOULD be working, but we are seeing the DataSchema object being flattened out once uploaded to customer connector.

* array data for DataSchema

Got the swagger right (was really the code was had checked in before with just a little cleanup.

The custom connector is now failing due to internal server error so we need to find a way to use the test page in powerapps online, despite the fact that it doesn't really handle array data very well. Possibly specifying the raw body data might be a workaround.

* Update script.csx

- Last few tweaks to get the customer connector to return subsequent partitions in pre-converted format.

* Add version information into readme documentation

* cleanup endpoints

- extra body element is required. Caused a whole mess of issues.
- change DataSchema to required and deprecate or delete unused endpoints as needed.
- Remove fetchAllPages feature and separate into its own branch.

* Code cleanup.

- Make log messages more accurate.
- Remove last remnant of fetchAllPartitions.

* code cleanup

* more minor code cleanup

* intermediate check in

- The code is acting absolutely insane and returning GetResults method as just a single property "Data" formatted as array. Since this is the 0 partition it should include metadata.
- The interface is also not showing the partition parameter for the execsql method, so something is borked.

* GetResults partition zero fixed

- This was a very subtle issue related to the fact that when you call GetResults operation for partition zero you have no request body, so it cannot be parsed as json.
- Change the response of execstmt async to match the schema of the sync version b/c the powerapps ui does not seem to be able to deal with the fact that async/sync have different response formats respectively.

* SPC-36: Handle unexpected async responses better (#5)

* Update script.csx

- Fix async detection based on response code instead of request params, b/c apparently snowflake API can decide to return an async response if a synchronous response takes too long to return.

* Fix typo in script.csx

"BeginFetch" misspelled

---------

Co-authored-by: Joseph Brinkman <[email protected]>

* SPC-39: MULTI_STATEMENT_COUNT parameter was being ignored (#6)

* Update apiDefinition.swagger.json

- change parameter name case to match snowflake docs exactly

* add StatementHandles

Map new response property for multi-statement handling.

* Apply mappings to GetResults

Same statementHandles mapping that was previously added to ExecSql was applied to GetResults to support Async

* Remove async fixes

These changes are already in dev branch, it was just a temporary change for debugging.

* GetResults schema (#7)

Innacurate schema was causing compilation issues in the power apps. Better to leave it as a untyped object since the schema is dynamic.

* - Parse Object/Array types (#8)

They were represented as a string before.

* Document limitations per my experience. (#9)

* Document limitations per my experience.

* - Tweak readme

* Update language limitations in the Readme documentation.

---------

Co-authored-by: jbrinkman <[email protected]>

* openapi spec validation errors (#10)

I was able to type the untyped objects, but a lot of those openapi spec validation errors are inherent to the fact that the snowflake api routes are technically all partial matches for eachother since the exec stmt path is "/"

* Updated version history

* Fix typo

---------

Co-authored-by: TobinWritesCode <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants