From e70a9176ca991890a874c8cdd9b94bcc000ddc9b Mon Sep 17 00:00:00 2001 From: "Simon C. Kessler" Date: Mon, 4 May 2026 10:41:27 +0200 Subject: [PATCH] =?UTF-8?q?Testsckript=20f=C3=BCr=20https=20Verbindung=20(?= =?UTF-8?q?insbes.=20Zertifikate)=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database/tests/certificate-tests.sql | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 database/tests/certificate-tests.sql diff --git a/database/tests/certificate-tests.sql b/database/tests/certificate-tests.sql new file mode 100644 index 0000000..212d695 --- /dev/null +++ b/database/tests/certificate-tests.sql @@ -0,0 +1,34 @@ +BEGIN + null; + --pck_auto_import.p_run_ba_korrespondenz_dateieingang_automation; +/* + if pck_system.f_get_par_wert_by_programmid('AUTOMATON_API_KEY') = 'sRYh5-)j+~VY7x9A4Q6#Sz8qu7_osjTHlw94KSüJWPpsTäkrwWl5' + then dbms_output.put_line('correct'); + else dbms_output.put_line('error'); + end if; +*/ +END; +/ + +select * +from LG_APP_LOG +order by log_id desc +; + + +DECLARE + l_response CLOB; + l_url VARCHAR2(500) := 'https://test.grafana.inkasso.ewgala.galabau.de'; +BEGIN + -- Einfacher GET-Request + l_response := APEX_WEB_SERVICE.MAKE_REST_REQUEST( + p_url => l_url + ,p_http_method => 'GET' + ,p_wallet_path => 'file:/u01/app/oracle/product/19.0.0.0/dbhome_1/wallets/combined_wallet' + ); + + --DBMS_OUTPUT.PUT_LINE('Response:'); + --DBMS_OUTPUT.PUT_LINE(l_response); +END; +/ +