PipedreamHQ / pipedream

Connect APIs, remarkably fast. Free for developers.
https://pipedream.com
Other
8.32k stars 5.27k forks source link

Add sources for DeployHQ #4320

Closed jmsfwk closed 1 year ago

jmsfwk commented 1 year ago

Related to #4319

Sources

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
pipedream-docs ✅ Ready (Inspect) Visit Preview Oct 10, 2022 at 8:44AM (UTC)
pipedream-docs-redirect-do-not-edit ✅ Ready (Inspect) Visit Preview Oct 10, 2022 at 8:44AM (UTC)
dylburger commented 1 year ago

Thank you so much for submitting this! We've added it to our backlog to review, and our team has been notified.

dylburger commented 1 year ago

Thanks for submitting this PR! When we review PRs, we follow the Pipedream component guidelines. If you're not familiar, here's a quick checklist:

vunguyenhung commented 1 year ago

@andrewjschuang @dannyroosevelt I think we can wait for the ticket to integrate this App to Pipedream first, then merge this PR if there's no conflict?

dannyroosevelt commented 1 year ago

@vunguyenhung @andrewjschuang sorry for the delay, this is done -- https://github.com/PipedreamHQ/pipedream/tree/master/components/deployhq/app

vunguyenhung commented 1 year ago

Thank you @dannyroosevelt! Hello @jmsfwk could you resolve the conflicts so we can proceed to test and merge this?

vunguyenhung commented 1 year ago

I have resolved the conflict, QAing this now 🙏

ghost commented 1 year ago

when i published the sources all 3 of them didn’t showed any prop to select account image

all 3 of them didn’t even showed up any logs as well image

when i tried to send a sample event it showed this error in the logs (remember firstly there were no logs out there) image

all of them showed the same error so i only shared the one screenshot for each error devs please ping me if you are facing any issue reproducing errors

jmsfwk commented 1 year ago

The sources don't need to select an account. DeployHQ doesn't provide a mechanism to manage webhooks so there's no need one.

The error is what I'd expect when sending a request without a signature. I could catch that and provide a more user friendly message?

vunguyenhung commented 1 year ago

Hello @jmsfwk, could you advice as a user how can we add the signature to the request? From the user point of view, how can we use this source?

jmsfwk commented 1 year ago

Hello @jmsfwk, could you advice as a user how can we add the signature to the request? From the user point of view, how can we use this source?

It's not possible to add the signature to the request because it's generated with DeployHQ's private key.

From a users perspective they will have to:

  1. Create the source
  2. Copy the endpoint and create a new integration through the DeployHQ interface (because there is no API endpoint to manage integrations)
  3. Requests will be sent to the endpoint and the source will emit events
dannyroosevelt commented 1 year ago

Hello @jmsfwk, could you advice as a user how can we add the signature to the request? From the user point of view, how can we use this source?

It's not possible to add the signature to the request because it's generated with DeployHQ's private key.

From a users perspective they will have to:

  1. Create the source
  2. Copy the endpoint and create a new integration through the DeployHQ interface (because there is no API endpoint to manage integrations)
  3. Requests will be sent to the endpoint and the source will emit events

Hello @jmsfwk, could you advice as a user how can we add the signature to the request? From the user point of view, how can we use this source?

It's not possible to add the signature to the request because it's generated with DeployHQ's private key.

From a users perspective they will have to:

  1. Create the source
  2. Copy the endpoint and create a new integration through the DeployHQ interface (because there is no API endpoint to manage integrations)
  3. Requests will be sent to the endpoint and the source will emit events

Since we aren't able to register webhooks programmatically, should we implement the sources as polling on relevant GET endpoints?

jmsfwk commented 1 year ago

I'd prefer the hassle of manually setting up the webhook to have immediate notifications.

But I'd be happy to create a polling source if you think it's needed.

dannyroosevelt commented 1 year ago

I'd prefer the hassle of manually setting up the webhook to have immediate notifications.

But I'd be happy to create a polling source if you think it's needed.

We could add some info to the app's page in our marketplace instructing users how to manually create webhooks and configure in DeployHQ -- what do you think of that?

jmsfwk commented 1 year ago

We could add some info to the app's page in our marketplace instructing users how to manually create webhooks and configure in DeployHQ -- what do you think of that?

That is a good idea.

dannyroosevelt commented 1 year ago

We could add some info to the app's page in our marketplace instructing users how to manually create webhooks and configure in DeployHQ -- what do you think of that?

That is a good idea.

Do you want to take a crack at writing those instructions? You can add a README.md file to the app's root directory in /components, and we'll render that here: https://pipedream.com/apps/deployhq

We give special treatment to H1 elements for "Overview", "Getting Started", and "Troubleshooting".

Here is an example: https://github.com/PipedreamHQ/pipedream/blob/master/components/gmail/README.md

jmsfwk commented 1 year ago

@dannyroosevelt Is the readme I added acceptable?

dannyroosevelt commented 1 year ago

@dannyroosevelt Is the readme I added acceptable?

Looks great! Was there anything else pending, or are we good to merge and publish?

jmsfwk commented 1 year ago

Good with me thank you

dannyroosevelt commented 1 year ago

@jcortes can you fix the version warning and the linting error? And I added it to QA's queue.

vunguyenhung commented 1 year ago

Hi @jmsfwk, I followed your description and verified these sources. Just bump up the version in package.json then this is ready for merging and release!

Test report DeployHQ_4320.pdf

vunguyenhung commented 1 year ago

Hello @michelle0927, as you're the current PR reviewer, could you help @jmsfwk to fix the failed checks and approve the PR? Thank you so much 🙏

On another note, I think if @jmsfwk is not responsive for now then we can merge this PR and make another PR to bump up the version in the components/deployhq/package.json.

alysonturing commented 1 year ago

I'll close this PR in favor of #4572 which I picked from the Fork