This is an automated email from the ASF dual-hosted git repository. bsalzano pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/openserverless-tutorial.git
commit 6475da3fad08f63ece433eb54933f197c32197fa Author: Bruno Salzano <[email protected]> AuthorDate: Sat Mar 22 23:14:07 2025 +0100 deployment --- packages/01-actions.yaml | 25 +++++++++++++++++++++++++ packages/02-sequences.yaml | 9 +++++++++ 2 files changed, 34 insertions(+) diff --git a/packages/01-actions.yaml b/packages/01-actions.yaml new file mode 100644 index 0000000..11cb1df --- /dev/null +++ b/packages/01-actions.yaml @@ -0,0 +1,25 @@ +packages: + contact: + inputs: + POSTGRES_URL: + type: string + value: $POSTGRES_URL + actions: + submit: + function: contact/submit.js + web: true + + write: + function: contact/write.js + web: true + + notify: + function: contact/notify.js + web: true + inputs: + NOTIFICATION_URL: + type: string + value: $NOTIFICATION_URL + + create-table: + function: contact/create-table.js \ No newline at end of file diff --git a/packages/02-sequences.yaml b/packages/02-sequences.yaml new file mode 100644 index 0000000..f82b525 --- /dev/null +++ b/packages/02-sequences.yaml @@ -0,0 +1,9 @@ +packages: + contact: + sequences: + submit-write: + actions: submit, write + web: true + submit-notify: + actions: submit-write, notify + web: true
