Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: actions for icon, eth event processor and workflow invoker #134

Open
wants to merge 34 commits into
base: next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a7c9bc4
chore: add icon event processor
shanithkk Aug 22, 2023
f530e65
Merge pull request #73 from shanithkk/feature/icon_event_processor
Mr-Nobody21 Aug 22, 2023
8131c56
chore: add eth event processor
shanithkk Aug 31, 2023
eeebc6c
chore: create icon-eth message parser for notification
shanithkk Sep 6, 2023
ceb7373
fix:fixed icon-eth-notification init issue
shanithkk Sep 7, 2023
555a1ef
Merge pull request #74 from HugoByte/feature/icon-eth-notification
shanithkk Sep 7, 2023
ba38996
chore: Add ui for icon-eth notification
shanithkk Sep 10, 2023
838dd7a
style: format code in icon frontend
shanithkk Sep 11, 2023
db1aba3
fix: workflow reg error
shreyasbhat0 Sep 11, 2023
5a9b2bf
chore: user registration in icon frontend
shanithkk Sep 11, 2023
1836770
chore: update the main page for table
shanithkk Sep 12, 2023
6a55173
chore:update invalid password redirection
shanithkk Sep 12, 2023
96f7aed
fix: redirect issue in icon frontend signin page
shanithkk Sep 12, 2023
7ab90f6
chore: removed table button from main page in icon frontend
shanithkk Sep 12, 2023
406a100
Merge pull request #75 from HugoByte/feature/list-icon-events
shanithkk Sep 12, 2023
1ba65ad
chore: update token issue on register
shanithkk Sep 13, 2023
c1ef567
chore: update home button
shanithkk Sep 13, 2023
eb9db1f
fix: fix notification issue in icon eth notification example
shanithkk Sep 13, 2023
8201316
chore: update main page
shanithkk Sep 15, 2023
63cd777
chore: firebase worker script
shanithkk Sep 15, 2023
2524f5f
fix: notification issue
shanithkk Sep 16, 2023
8dcab12
refactor: file foramt
shanithkk Sep 16, 2023
b9c5abf
refactor: remove unwanted comments
shanithkk Sep 16, 2023
50dca79
Merge pull request #77 from HugoByte/feature/icon-eth-frontend
shanithkk Sep 16, 2023
2fe9f7a
Merge remote-tracking branch 'origin/next' into icon-eth-development
shanithkk Sep 18, 2023
97443da
Merge remote-tracking branch 'origin/next' into icon-eth-development
shanithkk Sep 18, 2023
c2ee80b
chore: update trigger for icon notification
shanithkk Sep 19, 2023
668f439
chore: update workflow invoker action for invoke action instead of in…
shanithkk Sep 26, 2023
4aecc04
chore: update event registration deply script
shanithkk Sep 28, 2023
020013c
chore: updated deploy script in icon-eth-notification
shanithkk Oct 4, 2023
18423e2
chore:updated main deploy script for icon notification
shanithkk Oct 4, 2023
f395c1e
feat: implement invoking action based on topic in workflow invoker (#79)
ajaykumargdr Dec 21, 2023
f2a48b9
Merge remote-tracking branch 'origin/next' into icon-eth-development
shanithkk May 12, 2024
514a067
fix: issue in workflow invoker action params
shanithkk May 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 12 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ members = [
"actions/workflow-invoker",
"actions/workflow-management",
"actions/workflow-registration",
"actions/icon-event-processor",
"actions/eth-event-processor",
"workflow/openwhisk_macro",
"workflow/workflow_macro",
"workflow/polkadot_macro",
Expand Down
31 changes: 31 additions & 0 deletions actions/eth-event-processor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

[package]
name = "action-eth-event-processor"
version = "0.1.0"
authors = ["HugoByte <[email protected]>"]
repository = "https://github.com/hugobyte/aurras"
license = "Apache-2.0"
edition = "2018"

[dependencies]
serde_json = "1.0"
serde = "1.0"
serde_derive = "1.0"
actions-common = { git = "https://github.com/HugoByte/aurras", rev = '1f7e117' }
chesterfield = "0.0.1"
29 changes: 29 additions & 0 deletions actions/eth-event-processor/deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash

# To run this command
# ./deploy.sh --openwhiskApiHost <openwhiskApiHost> --openwhiskApiKey <openwhiskApiKey> --openwhiskNamespace <openwhiskNamespace>

openwhiskApiHost=${openwhiskApiHost:-https://localhost:31001}
openwhiskApiKey=${openwhiskApiKey:-23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP}
openwhiskNamespace=${openwhiskNamespace:-guest}
actionHome=${actionHome:-actions/eth-event-processor}

ACTION="eth-event-processor"
ACTION_TYPE="rust"
SCRIPTS_DIR="$PWD/scripts"
SRC_DIR="$PWD/${actionHome}"
TEMP_DIR="$PWD/${actionHome}/temp"

source "$SCRIPTS_DIR/accept_params.sh"
source "$SCRIPTS_DIR/check_dependencies.sh"
source "$SCRIPTS_DIR/build_action.sh"

check wsk

build

$WSK_CLI -i --apihost "$openwhiskApiHost" action update ${ACTION} "$TEMP_DIR/main.zip" --docker "$DOCKER_IMAGE" \
--auth "$openwhiskApiKey" --param event_producer_trigger "eth-produce-event" -a provide-api-key true

$WSK_CLI -i --apihost "$openwhiskApiHost" trigger update "eth-produce-event" --auth "$openwhiskApiKey"
$WSK_CLI -i --apihost "$openwhiskApiHost" rule update "eth-produce-event-rule" "eth-produce-event" "event-producer" --auth "$openwhiskApiKey"
Loading
Loading