C# Class SobekCM.Core.Client.SobekEngineClient

Gateway to all the endpoints exposed by the SobekCM engine and consumed by the application
This will not have access to the endpoints that are provided ONLY for use by the end user. This only contains the endpoints that are actually consumed by the web UI.
ファイルを表示 Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Read_Config_File ( string ConfigFile, string SystemBaseUrl ) : bool

Read the microservices configuration file

This also sets the Config_Read_Attempted flag to TRUE and set the Config_Read_Error flag

Set_Endpoints ( MicroservicesClient_Configuration EndpointConfig ) : void

Directly set the microservice configuration

Private Methods

Method Description
SobekEngineClient ( ) : System

Static constructor for the SobekEngineClient class

Method Details

Read_Config_File() public static method

Read the microservices configuration file
This also sets the Config_Read_Attempted flag to TRUE and set the Config_Read_Error flag
public static Read_Config_File ( string ConfigFile, string SystemBaseUrl ) : bool
ConfigFile string File ( including path )
SystemBaseUrl string
return bool

Set_Endpoints() public static method

Directly set the microservice configuration
public static Set_Endpoints ( MicroservicesClient_Configuration EndpointConfig ) : void
EndpointConfig MicroservicesClient_Configuration Configuration of all the endpoint information
return void