File tree 1 file changed +0
-14
lines changed
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 47
47
cd backend-service
48
48
nohup mvn spring-boot:run > spring_boot.log 2>&1 &
49
49
50
- - name : Execute CURL command
51
- run : |
52
- URL="http://localhost:8080/occurrence/experimental/annotation/project"
53
-
54
- while ! curl -s --head --request GET $URL | grep "200 OK" > /dev/null; do
55
- echo "Waiting for the service at $URL to become available..."
56
- sleep 10
57
- done
58
- echo "The service at $URL is up and responsive!"
59
-
60
- curl -u "$GBIF_USER:$GBIF_PWD" -X POST http://localhost:8080/occurrence/experimental/annotation/project -H "Content-Type: application/json" -d '{"name":"test", "description":"test"}'
61
- sleep 10
62
- curl -X GET http://localhost:8080/occurrence/experimental/annotation/project
63
-
64
50
- name : Install libcurl and Others
65
51
run : |
66
52
sudo apt-get update
You can’t perform that action at this time.
0 commit comments