new file: build-mongod.sh modified: controlplane/buildAndPush.sh new file: controlplane/dag_specifications/noop5_dag.json modified: controlplane/invoke.sh modified: controlplane/orchestrator.py new file: controlplane/register-noop5_dag.sh new file: controlplane/trigger_specifications/noop5_dag.json modified: function_modules/noop/noop.canubhav
parent
f9329ef9d0
commit
a59885301c
@ -0,0 +1,11 @@
|
||||
# !/bin/bash
|
||||
|
||||
curl -fsSL https://www.mongodb.org/static/pgp/server-5.0.asc | \
|
||||
sudo gpg -o /usr/share/keyrings/mongodb-server-5.0.gpg \
|
||||
--dearmor
|
||||
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-5.0.gpg ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y mongodb-org
|
||||
sudo systemctl start mongod
|
||||
sudo systemctl status mongod
|
||||
sudo systemctl enable mongod
|
@ -0,0 +1,75 @@
|
||||
{
|
||||
"name":"noop5_dag",
|
||||
"dag":[
|
||||
{
|
||||
"node_id":"noop1",
|
||||
"properties":
|
||||
{
|
||||
"label": "noop 1",
|
||||
"primitive": "parallel",
|
||||
"condition":{},
|
||||
"next": ["noop2","noop3"],
|
||||
"branch_1": "",
|
||||
"branch_2": "",
|
||||
"arguments": {},
|
||||
"outputs_from":""
|
||||
}
|
||||
},
|
||||
{
|
||||
"node_id":"noop2",
|
||||
"properties":
|
||||
{
|
||||
"label":"noop 2",
|
||||
"primitive":"merging",
|
||||
"condition":{},
|
||||
"next":["noop4"],
|
||||
"branch_1":"",
|
||||
"branch_2":"",
|
||||
"arguments":"",
|
||||
"outputs_from":["noop1"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"node_id":"noop3",
|
||||
"properties":
|
||||
{
|
||||
"label":"noop 3",
|
||||
"primitive":"merging",
|
||||
"condition":{},
|
||||
"next":["noop4"],
|
||||
"branch_1":"",
|
||||
"branch_2":"",
|
||||
"arguments":"",
|
||||
"outputs_from":["noop1"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"node_id":"noop4",
|
||||
"properties":
|
||||
{
|
||||
"label":"noop 4",
|
||||
"primitive":"serial",
|
||||
"condition":{},
|
||||
"next":["noop5"],
|
||||
"branch_1":"",
|
||||
"branch_2":"",
|
||||
"arguments":"",
|
||||
"outputs_from":["noop2","noop3"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"node_id":"noop5",
|
||||
"properties":
|
||||
{
|
||||
"label":"noop 5",
|
||||
"primitive":"serial",
|
||||
"condition":{},
|
||||
"next":"",
|
||||
"branch_1":"",
|
||||
"branch_2":"",
|
||||
"arguments":"",
|
||||
"outputs_from":["noop4"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
# !/bin/bash
|
||||
|
||||
#./invoke.sh noop 1
|
||||
./invoke.sh noop 2
|
||||
./invoke.sh noop 3
|
||||
./invoke.sh noop 4
|
||||
./invoke.sh noop 5
|
||||
|
||||
#python3 /home/ubuntu/DAGit/controlplane/registrations/dag_register.py /home/ubuntu/DAGit/controlplane/dag_specifications/noop5_dag.json
|
||||
python3 /home/ubuntu/DAGit/controlplane/registrations/trigger_register.py /home/ubuntu/DAGit/controlplane/trigger_specifications/noop5_dag.json
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"trigger_name": "noop5_dag",
|
||||
"type":"dag",
|
||||
"dags": ["noop5_dag"],
|
||||
"functions":""
|
||||
}
|
Loading…
Reference in new issue