41 lines
2.4 KiB
JSON
41 lines
2.4 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(quarkus dev *)",
|
|
"Bash(bash *)",
|
|
"Bash(mvn compile *)",
|
|
"Bash(quarkus version *)",
|
|
"Bash(export KUBECONFIG=\"/mnt/c/source/Frigosped/Dokumenten-Check/env/frigo-dev.yaml\")",
|
|
"Bash(kubectl get *)",
|
|
"Bash(sql -V)",
|
|
"Bash(sql *)",
|
|
"Bash(kubectl port-forward *)",
|
|
"Bash(curl -sf http://localhost:8090/check/health)",
|
|
"Bash(curl -v \"http://localhost:8081/ords/ai_dev/api/dc/documents/2/file\" -o /tmp/test_doc.pdf)",
|
|
"Bash(curl -s -w \"\\\\nHTTP_STATUS: %{http_code}\\\\n\" \"http://localhost:8081/ords/ai_dev/api/dc/documents/2/file\" -o /tmp/test_doc.pdf)",
|
|
"Read(//tmp/**)",
|
|
"Bash(curl -s \"http://localhost:8081/ords/ai_dev/api/dc/documents/2/file\")",
|
|
"Bash(curl -s -w '\\\\nHTTP_STATUS: %{http_code}\\\\nContent-Type: %{content_type}\\\\n' http://localhost:8081/ords/ai_dev/api/dc/documents/2/file -o /tmp/test_doc2.pdf)",
|
|
"Bash(curl *)",
|
|
"Bash(python3 -m json.tool)",
|
|
"Bash(python3 -c \"import sys,json; d=json.load\\(sys.stdin\\); print\\('original_text chars:', len\\(d.get\\('original_text',''\\) or ''\\)\\); print\\('has_original_text:', d.get\\('has_original_text'\\)\\)\")",
|
|
"Bash(pkill -f \"kubectl port-forward.*8090\")",
|
|
"Bash(pkill -f \"kubectl port-forward.*8081\")",
|
|
"Bash(fuser -k 8090/tcp)",
|
|
"Bash(KUBECONFIG=\"/mnt/c/source/Frigosped/Dokumenten-Check/env/frigo-dev.yaml\" kubectl logs -n ai-env -l app=dc-backend --since=10m --tail=100)",
|
|
"Bash(KUBECONFIG=\"/mnt/c/source/Frigosped/Dokumenten-Check/env/frigo-dev.yaml\" kubectl logs *)",
|
|
"Bash(mvn package *)",
|
|
"Bash(KUBECONFIG=\"/mnt/c/source/Frigosped/Dokumenten-Check/env/frigo-dev.yaml\" kubectl port-forward -n ai-env svc/dc-backend 8090:8090)",
|
|
"Bash(pkill -f \"kubectl port-forward\")",
|
|
"Bash(pkill -f \"port-forward\")",
|
|
"Bash(KUBECONFIG=\"/mnt/c/source/Frigosped/Dokumenten-Check/env/frigo-dev.yaml\" kubectl get pods *)",
|
|
"Bash(./mvnw compile *)",
|
|
"Bash(NLS_LANG=GERMAN_GERMANY.AL32UTF8 sql *)",
|
|
"Bash(KUBECONFIG=/mnt/c/source/Frigosped/Dokumenten-Check/env/frigo-dev.yaml kubectl logs *)",
|
|
"Bash(KUBECONFIG=/mnt/c/source/Frigosped/Dokumenten-Check/env/frigo-dev.yaml kubectl get pods -n ai-env -l app=dc-backend)",
|
|
"Bash(chmod +x *)",
|
|
"Bash(JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 mvn compile -q)"
|
|
]
|
|
}
|
|
}
|