From a7b285d54730f265341a3622489eced5be7fe6ac Mon Sep 17 00:00:00 2001 From: Mahfuza Humayra Mohona Date: Tue, 28 Nov 2023 07:29:26 +0600 Subject: [PATCH 1/4] added index --- 100-level-AsyncAPI-Intro/index.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 100-level-AsyncAPI-Intro/index.json diff --git a/100-level-AsyncAPI-Intro/index.json b/100-level-AsyncAPI-Intro/index.json new file mode 100644 index 0000000..978c999 --- /dev/null +++ b/100-level-AsyncAPI-Intro/index.json @@ -0,0 +1,27 @@ +{ + "title": "100 Level AsyncAPI Intro", + "description": "Introduction of AsyncAPI - 100 Level", + "details": { + "intro": { + "text": "intro.md" + }, + "steps": [ + { + "text": "step1.md" + }, + { + "text": "step2.md" + }, + { + "text": "step3.md" + } + ], + "finish": { + "text": "finish.md" + } + }, + "backend": { + "imageid": "ubuntu" + } + } + \ No newline at end of file From 8733da09f6d0cfd4983a3659f54122cec83c3142 Mon Sep 17 00:00:00 2001 From: Mahfuza Humayra Mohona Date: Sun, 3 Dec 2023 07:16:06 +0600 Subject: [PATCH 2/4] add setup file --- 100-level-AsyncAPI-Intro/index.json | 6 +++++- 100-level-AsyncAPI-Intro/setup_node.sh | 12 ++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 100-level-AsyncAPI-Intro/setup_node.sh diff --git a/100-level-AsyncAPI-Intro/index.json b/100-level-AsyncAPI-Intro/index.json index 978c999..20b2ab1 100644 --- a/100-level-AsyncAPI-Intro/index.json +++ b/100-level-AsyncAPI-Intro/index.json @@ -3,16 +3,20 @@ "description": "Introduction of AsyncAPI - 100 Level", "details": { "intro": { - "text": "intro.md" + "text": "intro.md", + "foreground": "setup_node.sh" }, "steps": [ { + "title": "Event-Driven Architectures", "text": "step1.md" }, { + "title": "AsyncAPI Specification", "text": "step2.md" }, { + "title": "Creating and Validating AsyncAPI Code and Documents", "text": "step3.md" } ], diff --git a/100-level-AsyncAPI-Intro/setup_node.sh b/100-level-AsyncAPI-Intro/setup_node.sh new file mode 100644 index 0000000..23607b8 --- /dev/null +++ b/100-level-AsyncAPI-Intro/setup_node.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Install necessary prerequisites +echo "We need to install Nodejs and NPM first. Stay strong!" +curl --silent -sL https://deb.nodesource.com/setup_current.x -o /tmp/nodesource_setup.sh +bash /tmp/nodesource_setup.sh +apt-get install -y -q nodejs + +# Install AsyncAPI CLI +echo "Installing AsyncAPI CLI..." +npm install -g @asyncapi/cli +echo "All set! Go ahead!" \ No newline at end of file From f299bea14a3747aa67ddba29c9d3a8bf68278867 Mon Sep 17 00:00:00 2001 From: Mahfuza Humayra Mohona Date: Fri, 8 Dec 2023 18:15:49 +0600 Subject: [PATCH 3/4] update setup file --- 100-level-AsyncAPI-Intro/setup_node.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/100-level-AsyncAPI-Intro/setup_node.sh b/100-level-AsyncAPI-Intro/setup_node.sh index 23607b8..8269a46 100644 --- a/100-level-AsyncAPI-Intro/setup_node.sh +++ b/100-level-AsyncAPI-Intro/setup_node.sh @@ -1,7 +1,7 @@ #!/bin/bash # Install necessary prerequisites -echo "We need to install Nodejs and NPM first. Stay strong!" +echo "We are going to install Nodejs and NPM first." curl --silent -sL https://deb.nodesource.com/setup_current.x -o /tmp/nodesource_setup.sh bash /tmp/nodesource_setup.sh apt-get install -y -q nodejs @@ -9,4 +9,4 @@ apt-get install -y -q nodejs # Install AsyncAPI CLI echo "Installing AsyncAPI CLI..." npm install -g @asyncapi/cli -echo "All set! Go ahead!" \ No newline at end of file +echo "All set!!" \ No newline at end of file From c32e66cfecebc4c8c1a516cb1dfe92afe78c916f Mon Sep 17 00:00:00 2001 From: Mahfuza Humayra Mohona Date: Wed, 13 Dec 2023 18:18:16 +0600 Subject: [PATCH 4/4] added version for cli --- 100-level-AsyncAPI-Intro/setup_node.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/100-level-AsyncAPI-Intro/setup_node.sh b/100-level-AsyncAPI-Intro/setup_node.sh index 8269a46..39a00fe 100644 --- a/100-level-AsyncAPI-Intro/setup_node.sh +++ b/100-level-AsyncAPI-Intro/setup_node.sh @@ -8,5 +8,5 @@ apt-get install -y -q nodejs # Install AsyncAPI CLI echo "Installing AsyncAPI CLI..." -npm install -g @asyncapi/cli +npm install -g @asyncapi/cli@0.50.0 echo "All set!!" \ No newline at end of file