Update to nats auto generation script

This commit is contained in:
Aditya Ujeniya
2025-01-29 23:29:41 +01:00
parent 0edb94da94
commit 43ca8e35dd
10 changed files with 152 additions and 114 deletions

3
misc/curl_slurmrestd.sh Executable file
View File

@@ -0,0 +1,3 @@
SLURM_JWT=$(cat data/slurm/secret/jwt_token.txt)
curl -X 'GET' -v 'http://localhost:6820/slurm/v0.0.39/node/node01' --location --silent --show-error -H "X-SLURM-USER-NAME: root" -H "X-SLURM-USER-TOKEN: $SLURM_JWT"
# curl -v --unix-socket data/slurm/tmp/slurmrestd.socket 'http://localhost:6820/slurm/v0.0.39/ping'