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; +/ +