File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,15 @@ export PROCESS_GROUP=$(curl -s $API/flow/process-groups/root | jq .processGroupF
22
22
export PROCESS_GROUP=$( echo $PROCESS_GROUP | tr -d ' "' )
23
23
echo Process group: $PROCESS_GROUP
24
24
25
- curl -s -iv -F template=@config/nifi/users.xml $API /process-groups/$PROCESS_GROUP /templates/upload 2>&1 > /dev/null
25
+ curl -s -iv -F template=@config/nifi/users.xml $API /process-groups/$PROCESS_GROUP /templates/upload & > /dev/null
26
26
27
27
export TEMPLATE_ID=$( curl -s $API /flow/templates | jq .templates | jq ' .[]' .id)
28
28
export TEMPLATE_ID=$( echo $TEMPLATE_ID | tr -d ' "' )
29
29
echo Template id: $TEMPLATE_ID
30
30
31
31
export PAYLOAD=" {\" templateId\" :\" $TEMPLATE_ID \" ,\" originX\" :365,\" originY\" :-21}"
32
32
33
- curl -s -kH " Content-Type: application/json" -X POST -d $PAYLOAD $API /process-groups/$PROCESS_GROUP /template-instance 2>&1 > /dev/null
33
+ curl -s -kH " Content-Type: application/json" -X POST -d $PAYLOAD $API /process-groups/$PROCESS_GROUP /template-instance & > /dev/null
34
34
35
35
echo Opening NiFi...
36
36
echo At this point - you need to enable each of the processors on the left most group
Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ docker-compose up -d nifi
19
19
echo Starting Hue...
20
20
docker-compose up -d hue
21
21
22
-
22
+ ./demo-init.sh
You can’t perform that action at this time.
0 commit comments