File tree Expand file tree Collapse file tree
http-tests/document-hierarchy Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -euo pipefail
3+
4+ initialize_dataset " $END_USER_BASE_URL " " $TMP_END_USER_DATASET " " $END_USER_ENDPOINT_URL "
5+ initialize_dataset " $ADMIN_BASE_URL " " $TMP_ADMIN_DATASET " " $ADMIN_ENDPOINT_URL "
6+ purge_cache " $END_USER_VARNISH_SERVICE "
7+ purge_cache " $ADMIN_VARNISH_SERVICE "
8+ purge_cache " $FRONTEND_VARNISH_SERVICE "
9+
10+ # add agent to the writers
11+
12+ add-agent-to-group.sh \
13+ -f " $OWNER_CERT_FILE " \
14+ -p " $OWNER_CERT_PWD " \
15+ --agent " $AGENT_URI " \
16+ " ${ADMIN_BASE_URL} acl/groups/writers/"
17+
18+ # check that graph without parent is forbidden
19+
20+ (
21+ curl -k -w " %{http_code}\n" -o /dev/null -s \
22+ -X PUT \
23+ -E " $AGENT_CERT_FILE " :" $AGENT_CERT_PWD " \
24+ -H " Content-Type: application/n-triples" \
25+ --data-binary @- \
26+ " ${END_USER_BASE_URL} non-existing/" << EOF
27+ EOF
28+ ) \
29+ | grep -q " $STATUS_OK "
Original file line number Diff line number Diff line change 4848
4949 location ^~ /static/ {
5050 proxy_pass http://linkeddatahub;
51- limit_req zone=static_files burst=20 nodelay;
51+ limit_req zone=static_files burst=50 nodelay;
5252
5353 add_header Cache-Control "public, max-age=604800, immutable";
5454 }
You can’t perform that action at this time.
0 commit comments