From a34126d27dc77c7b55404ca32daf1a3975257fb8 Mon Sep 17 00:00:00 2001 From: io42630 Date: Fri, 23 Feb 2024 15:54:22 +0100 Subject: [PATCH] add key and test call --- .gitignore | 3 ++- docker-compose.yaml | 1 + src/test/resources/triage-sbb.http | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/test/resources/triage-sbb.http diff --git a/.gitignore b/.gitignore index 255019a..e6764d3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ /.run/ **/target/ *.env -*.override.yaml \ No newline at end of file +*.override.yaml +**private** \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index f3f5a16..c1f9419 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -12,6 +12,7 @@ services: - spring.mail.password=${SPRING_EMAIL_PASSWORD} - spring.mail.properties.mail.smtp.auth=true - spring.mail.properties.mail.smtp.starttls.enable=true + - openai.api.key=${OPENAI_API_KEY} diff --git a/src/test/resources/triage-sbb.http b/src/test/resources/triage-sbb.http new file mode 100644 index 0000000..cf7332d --- /dev/null +++ b/src/test/resources/triage-sbb.http @@ -0,0 +1,5 @@ +POST http://localhost:42003/triage/sbb +Content-Type: application/json + +{ +}