Skip to content
Snippets Groups Projects

[aat_ims_load_test_service #1969810] task - TLS for Titansim RESTapi

Merged József Gyürüsi requested to merge jgyrsi/titan.Libraries.CLL:master into master
2 files
+ 8
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -23,6 +23,7 @@
// <EPTF_CLL_Logging_Definitions>
// <TCCFileIO_Functions>
// <TCCConversion_Functions>
// <IPL4asp_Types>
//
// Current Owner:
// Tamas Kis (ekistam)
@@ -51,6 +52,7 @@ import from EPTF_CLL_Logging_Functions all;
import from EPTF_CLL_Variable_Definitions all;
import from TCCFileIO_Functions all;
import from TCCConversion_Functions all;
import from IPL4asp_Types all;
///////////////////////////////////////////////////////////
// Function: f_EPTF_DsRestAPI_init_CT
@@ -99,6 +101,7 @@ public function f_EPTF_DsRestAPI_init_CT(in charstring pl_selfName) runs on EPTF
// pl_HTTPServer_dir - *in charstring* - the path of HTTP server directory
// pl_customizableApp_dir - *in charstring* - the path of customizableApp directory
// pl_API_dir - *in charstring* - the path of DsRestAPI API directory
// pl_proto - *in <ProtoTuple> - the protocol to be used for IPL4, default: { tcp := {} }. For ssl use: { ssl := {} }
//
// Return Value:
// Integer which represents the success of the function.
@@ -115,13 +118,14 @@ public function f_EPTF_DsRestAPI_start(
in integer pl_hostPort,
in charstring pl_HTTPServer_dir := "",
in charstring pl_customizableApp_dir := "",
in charstring pl_API_dir := ""
in charstring pl_API_dir := "",
in ProtoTuple pl_proto := { tcp := {} }
) runs on EPTF_DsRestAPI_CT return integer {
var integer vl_result := -1;
if(v_EPTF_DsRestAPI_initialized) {
f_EPTF_DsRestAPI_HTTPServer_setDir(pl_HTTPServer_dir);
f_EPTF_DsRestAPI_createSymlinks(pl_customizableApp_dir, pl_API_dir, pl_HTTPServer_dir);
vl_result := f_EPTF_DsRestAPI_HTTPServer_listen(pl_hostIPAddress, pl_hostPort);
vl_result := f_EPTF_DsRestAPI_HTTPServer_listen(pl_hostIPAddress, pl_hostPort, pl_proto);
if (vl_result == 0) {
v_EPTF_DsRestAPI_started := true;
} else {
Loading