Commit graph

8 commits

Author SHA1 Message Date
Jan Oberhauser 0ad089ffb6 👕 Fix lint issue 2022-07-13 10:38:12 +02:00
Michael Kret ce06d9bb3e
feat(AWS DynamoDB Node): Improve error handling (#3661)
Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com>
2022-07-10 13:16:34 +03:00
Bryce Sheehan 732c8fcf84
feat(AWS DynamoDB Node): Improve error handling + add optional GetAll Scan FilterExpression (#3318)
* FilterExpression, ExpressionAttributeValues optional

* Returns AWS JSON messages not in response body

* 🔨 fixed filterExpression missing in request body

*  linter fixes

* Reintroduced 'fix' block at :311 results in duplication

*  lock file fix

*  fix

Co-authored-by: Michael Kret <michael.k@radency.com>
2022-07-10 12:10:50 +03:00
Basit Ali ce79e6b74f
feat(All AWS Nodes): Enable support for AWS temporary credentials (#2587)
* Enable support for AWS temporary credentials

* 🔨 removed toggle from ui added sessionToken to other aws services that using sign function from aws4 module

* Update sign method for other AWS nodes

* Remove the unneeded additional `temporaryCredentials` checkbox

* Update description for session token

*  added missing session token to credentials test

* Update sign method for DynamoDB

* 🔨 added back toggle for hiding session token, fixed linter errors

*  wording fix

Co-authored-by: Michael Kret <michael.k@radency.com>
2022-04-22 16:33:09 +02:00
Omar Ajoue d3fecb9f6d
🎨 Centralize error throwing for encryption keys and credentials (#3105)
* Centralized error throwing for encryption key

* Unifying the error message used by cli and core packages

* Improvements to error messages to make it more DRY

* Removed unnecessary throw

* Throwing error when credential does not exist to simplify node behavior (#3112)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-04-15 08:00:47 +02:00
Jan Oberhauser 1e34aca8bd Fix build issue 2021-10-12 22:20:51 -05:00
Omar Ajoue 7ce7285f7a
Load credentials from the database (#1741)
* Changes to types so that credentials can be always loaded from DB

This first commit changes all return types from the execute functions
and calls to get credentials to be async so we can use await.

This is a first step as previously credentials were loaded in memory and
always available. We will now be loading them from the DB which requires
turning the whole call chain async.

* Fix updated files

* Removed unnecessary credential loading to improve performance

* Fix typo

*  Fix issue

* Updated new nodes to load credentials async

*  Remove not needed comment

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-20 18:57:30 +02:00
Iván Ovejero 9118e090e7
Add AWS DynamoDB node (#1602)
* dynamodb: request item

* dynamodb: query database

* dynamodb: scans table

* dynamodb: typehints in decodeItem

* dynamodb: recursively decodes map and lists

* dynamodb: cleanup interface, using additional-fields collection

* dynamodb: using fixedCollection for ExpressionAttributeValues

* dynamodb: converts spaces to tabs

* dynamodb: scans with FilterExpression

* dynamodb: fixes tslint

*  Refactor node

* 🔨 Refactor into separate dir

*  Add table name loader

* ✏️ Update operation descriptions

*  Add partition key name param to delete

*  Add params to get operation

* 🔨 Refactor get operation per feedback

*  Refactor for consistency

*  Add createUpdate operation

* aja

* asasa

* aja

* aja

* aja

*  Improvements

*  Lint node

*  Lint description

* 🔥 Remove unused option

*  Apply David's feedback

* ✏️ Add descriptions for specific attributes

* 🔨 Rename return values

* Implement define and automap

*  Minior changes

Co-authored-by: Michael Hirschler <michael.vhirsch@gmail.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-17 14:14:12 +02:00