Commit graph

3 commits

Author SHA1 Message Date
Iván Ovejero ca9a155c69
Elastic Security node (#2206)
*  Create Elastic Security node

* 🔨 Place Elastic nodes in Elastic dir

*  Improvements

* 🔨 Split credentials

* 🎨 Fix formatting

*  Tolerate trailing slash

* 👕 Fix lint

* 👕 Fix lint

* 🐛 Fix tags filter in case:getAll

* 🔨 Refactor sort options in case:getAll

* ✏️ Reword param descriptions

* 🔥 Remove descriptions per feedback

* 🐛 Fix case:getStatus operation

* ✏️ Reword param and error message

* ✏️ Reword param descriptions

* 🔨 Account for empty string in owner

* ✏️ Reword param description

* ✏️ Add more tooltip descriptions

*  Add cred test

* ✏️ Add param description

* ✏️ Add comment dividers

*  Improve UX for third-party service params

* 🔨 Minor tweaks per feedback

* 🔨 Make getStatus naming consistent

*  Fix operation

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-09-22 17:48:50 +02: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 ca1bbcea5d
Add Elasticsearch node (#1791)
* 🎉 Initial node scaffolding

*  Implement index operations

*  Implement document operations

* 🔨 Clean up details

* 🔨 Fix casing

* 🔨 Fix indentation

*  Minor fixes

* ✏️ Update descriptions

* 🔥 Remove wrong placeholder

*  Refactor to implement specifyIndexBy

* 👕 Appease linter

* Revert " Refactor to implement specifyIndexBy"

This reverts commit 02ea0d3080.

* 🔥 Remove unused file

*  Return source always in document:get and getAll

*  Rename to options in document:getAll

*  Rename to options in document:get

*  Send content as JSON

*  Add simplify param to document:get

*  Rename docvalue fields

*  Make document ID optional in document:index

*  Implement sendInputData

* 👕 Fix lintings

* Add define and automap to document:index

* WIP on document:update

* 🔨 Adjust document:update per feedback

* 🔥 Remove logging

*  Improve Elasticsearch node

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-17 11:43:45 +02:00