automated terminal push
This commit is contained in:
49
.legacy/test/failure/eval-failure-check-exists.bash
Normal file
49
.legacy/test/failure/eval-failure-check-exists.bash
Normal file
@@ -0,0 +1,49 @@
|
||||
reset
|
||||
|
||||
clear
|
||||
|
||||
set -e
|
||||
|
||||
#set -x
|
||||
|
||||
##
|
||||
|
||||
echo
|
||||
echo "##"
|
||||
echo "##"
|
||||
echo "##"
|
||||
echo
|
||||
|
||||
##
|
||||
|
||||
curl -X GET http://localhost:8888/channel/monthly/games/failure/
|
||||
|
||||
sleep 4
|
||||
|
||||
echo
|
||||
echo "##"
|
||||
echo "##"
|
||||
echo "##"
|
||||
echo
|
||||
|
||||
curl -X GET \
|
||||
http://localhost:8888/channel/monthly/games/failure/exists \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"url": "https://links.embanet.com/talisman.txt"
|
||||
}'
|
||||
|
||||
sleep 4
|
||||
|
||||
echo
|
||||
echo "##"
|
||||
echo "##"
|
||||
echo "##"
|
||||
echo
|
||||
|
||||
curl -X GET \
|
||||
http://localhost:8888/channel/monthly/games/failure/exists \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"url": "https://www.garudanet.com/talisman.txt"
|
||||
}'
|
||||
24
.legacy/test/failure/eval-failure-create-new.bash
Normal file
24
.legacy/test/failure/eval-failure-create-new.bash
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
##
|
||||
|
||||
reset
|
||||
|
||||
clear
|
||||
|
||||
##
|
||||
|
||||
set -e
|
||||
|
||||
set -x
|
||||
|
||||
##
|
||||
|
||||
echo "##"
|
||||
echo "## creating new [failure] record in the database"
|
||||
echo "##"
|
||||
|
||||
curl -X POST \
|
||||
http://localhost:8888/channel/monthly/games/failure/add \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{"url": "https://www.garudanet.com/talisman.txt","hostIP":"falcon"}'
|
||||
19
.legacy/test/success/eval-success-check-exists.bash
Normal file
19
.legacy/test/success/eval-success-check-exists.bash
Normal file
@@ -0,0 +1,19 @@
|
||||
echo "##"
|
||||
echo "##"
|
||||
echo "##"
|
||||
|
||||
curl -X GET https://osiris.yankee.valorantdigital.com/channel/monthly/games/success/
|
||||
|
||||
curl -X GET \
|
||||
https://osiris.yankee.valorantdigital.com/channel/monthly/games/success/exists \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"url": "https://www.embanet.com/talisman.txt"
|
||||
}'
|
||||
|
||||
curl -X GET \
|
||||
https://osiris.yankee.valorantdigital.com/channel/monthly/games/success/exists \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"url": "https://www.embanet.com/talisman.md"
|
||||
}'
|
||||
24
.legacy/test/success/eval-success-create-new.bash
Normal file
24
.legacy/test/success/eval-success-create-new.bash
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
##
|
||||
|
||||
reset
|
||||
|
||||
clear
|
||||
|
||||
##
|
||||
|
||||
set -e
|
||||
|
||||
set -x
|
||||
|
||||
##
|
||||
|
||||
echo "##"
|
||||
echo "## creating new [success] record in the database"
|
||||
echo "##"
|
||||
|
||||
curl -X POST \
|
||||
https://osiris.yankee.valorantdigital.com/channel/monthly/games/success/add \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{"url": "https://www.embanet.com/talisman.txt","hostIP":"asdf"}'
|
||||
Reference in New Issue
Block a user