Commit graph

19 commits

Author SHA1 Message Date
Iván Ovejero 1d27a9e87e
Improve node error handling (#1309)
* Add path mapping and response error interfaces

* Add error handling and throwing functionality

* Refactor error handling into a single function

* Re-implement error handling in Hacker News node

* Fix linting details

* Re-implement error handling in Spotify node

* Re-implement error handling in G Suite Admin node

* 🚧 create basic setup NodeError

* 🚧 add httpCodes

* 🚧 add path priolist

* 🚧 handle statusCode in error, adjust interfaces

* 🚧 fixing type issues w/Ivan

* 🚧 add error exploration

* 👔 fix linter issues

* 🔧 improve object check

* 🚧 remove path passing from NodeApiError

* 🚧 add multi error + refactor findProperty method

* 👔 allow any

* 🔧 handle multi error message callback

*  change return type of callback

*  add customCallback to MultiError

* 🚧 refactor to use INode

* 🔨 handle arrays, continue search after first null property found

* 🚫 refactor method access

* 🚧 setup NodeErrorView

*  change timestamp to Date.now

* 📚 Add documentation for methods and constants

* 🚧 change message setting

* 🚚 move NodeErrors to workflow

*  add new ErrorView for Nodes

* 🎨 improve error notification

* 🎨 refactor interfaces

*  add WorkflowOperationError, refactor error throwing

* 👕 fix linter issues

* 🎨 rename param

* 🐛 fix handling normal errors

*  add usage of NodeApiError

* 🎨 fix throw new error instead of constructor

* 🎨 remove unnecessary code/comments

* 🎨 adjusted spacing + updated status messages

* 🎨 fix tab indentation

*  Replace current errors with custom errors (#1576)

*  Introduce NodeApiError in catch blocks

*  Introduce NodeOperationError in nodes

*  Add missing errors and remove incompatible

*  Fix NodeOperationError in incompatible nodes

* 🔧 Adjust error handling in missed nodes

PayPal, FileMaker, Reddit, Taiga and Facebook Graph API nodes

* 🔨 Adjust Strava Trigger node error handling

* 🔨 Adjust AWS nodes error handling

* 🔨 Remove duplicate instantiation of NodeApiError

* 🐛 fix strava trigger node error handling

* Add XML parsing to NodeApiError constructor (#1633)

* 🐛 Remove type annotation from catch variable

*  Add XML parsing to NodeApiError

*  Simplify error handling in Rekognition node

*  Pass in XML flag in generic functions

* 🔥 Remove try/catch wrappers at call sites

* 🔨 Refactor setting description from XML

* 🔨 Refactor let to const in resource loaders

*  Find property in parsed XML

*  Change let to const

* 🔥 Remove unneeded try/catch block

* 👕 Fix linting issues

* 🐛 Fix errors from merge conflict resolution

*  Add custom errors to latest contributions

* 👕 Fix linting issues

*  Refactor MongoDB helpers for custom errors

* 🐛 Correct custom error type

*  Apply feedback to A nodes

*  Apply feedback to missed A node

*  Apply feedback to B-D nodes

*  Apply feedback to E-F nodes

*  Apply feedback to G nodes

*  Apply feedback to H-L nodes

*  Apply feedback to M nodes

*  Apply feedback to P nodes

*  Apply feedback to R nodes

*  Apply feedback to S nodes

*  Apply feedback to T nodes

*  Apply feedback to V-Z nodes

*  Add HTTP code to iterable node error

* 🔨 Standardize e as error

* 🔨 Standardize err as error

*  Fix error handling for non-standard nodes

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
2021-04-16 18:33:36 +02:00
Mutasem Aldmour 99bb6e40c1
Add AWS SQS node (#1530)
* implement sqs node to send message

* remove console logs

* update node to use url as value

* add message attributes

* tslint --fix

* fix comment

* address comments, fix subtitle bug, fix style issues

* add comma

* update pathname handling

* fix spacing

* fix queue loading for no queues and more than 1

* change logo to svg, support sending input as json

* add binary data property support

* fix node read to depend on item

* 🎨 Fix SVG size to prevent cropping

*  Ajust imports and display names per codebase

* ✏️ Edit parameter descriptions

* address comments

* tslint fixes

* update subtitle to operation

* update fifo handling

*  Improvements

*  Minor fix

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-02 19:48:22 +02:00
Omar Ajoue 5a6b191688
🐛 Fix AWS lambda and SNS problem with signature (#1361) 2021-01-20 12:23:32 +01:00
Jan Oberhauser 785b0e385e 👕 Fix lint issue 2021-01-13 20:20:30 +01:00
Jan 1501175b81
Add support for custom AWS endpoints (#1312)
* Setup custom endpoints properties in AWS credentials type

* Update AWS nodes to use new endpoints (if specified)

* Fix a few error scenarios cases where message was being obscured

* Extend usage of URL API to validate user inputted endpoints

https://nodejs.org/docs/latest-v12.x/api/url.html

* Add support to custom endpoints for SES

Forgot to add this in my earlier commits…

* Fix incorrect Amazon SES endpoint placeholder value

* Fixed signing problems with path being ignored. Standardized to avoid future problems

* Linting fix

*  Make parameters optinal (wip)

* Make sure that we fallback to correct URL without errors if custom endpoints are not used

Co-authored-by: Luis Ramos <luis@ramos.dev>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2021-01-07 14:16:52 +01:00
Jan Oberhauser 0f998d52b8 Remove console.log 2020-10-11 18:35:56 +02:00
Ricardo Espinoza 214b2d19ac
Improvements on AWS SES Node (#1029)
*  Improvements

*  Remove unnecessary change
2020-10-11 18:34:05 +02:00
Denis Palashevskii de50e2479d Trim whitespaces in the AWS credentials in other nodes 2020-09-02 00:41:51 +04:00
shraddha shaligram 7d625572c1 add basic customer.io trigger 2020-06-30 13:35:31 -07:00
Jan Oberhauser fa8c7787a0 Fix an issue with S3-Node 2020-04-20 20:44:22 +02:00
ricardo 611c79204c AWS S3 Integration 2020-04-15 18:42:43 -04:00
Jan Oberhauser 3fe236b9e6 🐛 Fix SNS-Trigger-Node 2020-02-09 18:27:06 -08:00
Ricardo Espinoza ea5f84d5e1 AWS SNS trigger 2020-02-08 17:19:00 -05:00
Jan Oberhauser 224a51fa56 Small improvements to AWS-SES-Node 2020-02-07 14:56:48 -08:00
Ricardo Espinoza 03c1b0542d SES node. 2020-02-07 16:40:32 -05:00
Jan Oberhauser c02bf0a7cf 👕 Fix lint issues and some small bugs 2019-10-16 11:19:25 +02:00
Matheus Cansian 0fcbe409b6 Remove aws-sdk dependency 2019-10-15 14:21:48 -03:00
Matheus Cansian 39c0b08d9d Remove aws-sdk dependency from AWS Lambda node 2019-10-05 17:17:23 -03:00
Matheus Cansian edb81ef259 Improve code readability Aws node 2019-10-05 10:28:23 -03:00