Skip to content
Snippets Groups Projects
Commit 6570258b authored by Daniel Bimschas's avatar Daniel Bimschas
Browse files

NOISSUE: hopefully fix rules

parent 4ebfe2f9
No related branches found
No related tags found
No related merge requests found
- id: holi-production
version: v0.38.25-beta.1
upstream:
url: http://localhost:4000
url: http://localhost:4000 # always true, as this GraphQL mesh is run within this Docker container
match:
url: https://<.*>.unified.apis.project-holi.org/<.*>
url: https://<.*>.unified.apis.project-holi.org/<.*> # <https://<.*>.unified.apis.project-holi.org|http://127.0.0.1|http://localhost>:4455/<.*>
methods:
- GET
- HEAD
......
#!/bin/sh
# wait for node process having opened the port
# sadly, we need to send a correct request that leads to a 200 response, because only then does the return code tell us the difference
# about the port being open or not. Therefore we implemented a simple ping query.
while ! curl --silent --output /dev/null http://localhost:4000/graphql ; do
function check() {
curl --silent --output /dev/null http://localhost:4000/graphql -w "%{http_code}"
return $?
}
while ! check ; do
sleep 1 && echo waiting for GraphQL mesh server to start
done
exec s6-setuidgid ory /opt/oathkeeper/oathkeeper --config /opt/oathkeeper/config.yaml serve
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment