Skip to content

IntegrationBase

Summary

MembersDescriptions
class FRallyHereIntegrationModuleModule for the Rally Here Integration Layer.
class URH_IntegrationMain integration layer handler.

class FRallyHereIntegrationModule

class FRallyHereIntegrationModule
: public IModuleInterface

Module for the Rally Here Integration Layer.

Summary

MembersDescriptions
public ~FRallyHereIntegrationModule() = defaultDefault constructor.
public void StartupModule()Initializes the module.
public void ShutdownModule()Safely ends the module.
public inline URH_Integration&GetIntegration() constGets the Integration class fromt he module.

Members

public ~FRallyHereIntegrationModule() = default

Default constructor.


#### `public void `[`StartupModule`](#classFRallyHereIntegrationModule_1ac91ef7cb3468c0eb68c74069f99fa47b)`()`

Initializes the module.


#### `public void `[`ShutdownModule`](#classFRallyHereIntegrationModule_1a537c97b39e36b257d3499bb8f88b2aff)`()`

Safely ends the module.


#### `public inline `[`URH_Integration`](IntegrationBase.md#classURH__Integration)` & `[`GetIntegration`](#classFRallyHereIntegrationModule_1aef9bad7d1f539b0e86e055663d30df2a)`() const`

Gets the Integration class fromt he module.


## class `URH_Integration`
class URH_Integration
: public UObject

Main integration layer handler.

Summary

MembersDescriptions
public void Initialize()Initialize the Integration layer.
public void Uninitialize()Safely tears down the Integration layer.
public inline RallyHereAPI::FRallyHereAPIAll & GetAPIs()Gets all the APIs.
public inline HttpRetryManagerPtr GetRetryManager() constGets Base Retry Manager for all RallyHereAPI calls.
public void SetEnvironmentId(FString InEnvironmentId,const FString & Source)Sets the environment for he connection.
public FString GetEnvironmentId()Get the current Environment Id (will run ResolveEnvironmentId if there isn’t one)
public void ResolveEnvironmentId()Get the Environment ID used for finding the base URL from the first of the following sources:
public inline void LockEnvironmentId(bool bLocked)Updates the locked status of the Environment Id.
public void SetBaseURL(FString InBaseUrl,const FString & Source)Set the base URL for all RallyHereAPI calls.
public FString GetBaseURL()Get the current base URL (will run ResolveBaseURL if there isn’t one)
public void ResolveBaseURL()Check for a base URL across several sources and assign the first non-empty value to the APIs:
public inline void LockBaseURL(bool bLocked)Updates the locked status of the Base URL.
public void SetClientId(FString InClientId,const FString & Source)Set the client ID for the AuthContext.
public FString GetClientId()Get the current client ID (will run ResolveClientId if there isn’t one).
public void ResolveClientId()Check for a client ID across several sources and assign the first non-empty value to the APIs:
public inline void LockClientId(bool bLocked)Updates the locked status of the Client Id.
public void SetClientSecret(FString InClientSecret,const FString & Source)Set the client secret for the AuthContext.
public FString GetClientSecret()Get the current client secret (will run ResolveClientSecret if there isn’t one).
public void ResolveClientSecret()Check for a client secret across several sources and assign the first non-empty value to the APIs:
public inline void LockClientSecret(bool bLocked)Updates the locked status of the Client Secret.
public inline class URH_WebRequests*GetWebRequestTracker() constGets the Web Request Tracker.
public inline class URH_Diagnostics*GetDiagnostics() constGets the Diagnostic Reporter.

Members

public void Initialize()

Initialize the Integration layer.


#### `public void `[`Uninitialize`](#classURH__Integration_1af1069eb3dfe1229a2a2b0044b5d4ab17)`()`

Safely tears down the Integration layer.


#### `public inline RallyHereAPI::FRallyHereAPIAll & `[`GetAPIs`](#classURH__Integration_1ae6de9d69bfaa3d3386a3bb47380156b3)`()`

Gets all the APIs.


#### `public inline HttpRetryManagerPtr `[`GetRetryManager`](#classURH__Integration_1a79fc427b8c7eebdbd4a973bad90682ad)`() const`

Gets Base Retry Manager for all RallyHereAPI calls.


#### `public void `[`SetEnvironmentId`](#classURH__Integration_1ad2478a83d20d2be82097d36162b2e94a)`(FString InEnvironmentId,const FString & Source)`

Sets the environment for he connection.

Parameters

  • InEnvironmentId Id of the Environment to use.

  • Source The source of the environment change, for logging.


#### `public FString `[`GetEnvironmentId`](#classURH__Integration_1a007194b606488da9cbc5299826c6c3ba)`()`

Get the current Environment Id (will run ResolveEnvironmentId if there isn’t one)


#### `public void `[`ResolveEnvironmentId`](#classURH__Integration_1a0b20b4df9925d720b4c1c97c1c38a149)`()`

Get the Environment ID used for finding the base URL from the first of the following sources:

  • Command line values from the keys in EnvironmentCommandLineKeys. By default these are: RallyHereEnvX RallyHereEnv RallyHereEnvInternal

  • Results from GetEnvironmentId from the EnvironmentOSSName (or default if one is not provided)


#### `public inline void `[`LockEnvironmentId`](#classURH__Integration_1a52b751ec4b8385731cf6490a8a4846ac)`(bool bLocked)`

Updates the locked status of the Environment Id.

Parameters

  • bLocked If locked, disables the ResolveEnvironmentId function.

#### `public void `[`SetBaseURL`](#classURH__Integration_1a3f1a9a24ef392322deda7f4e08838889)`(FString InBaseUrl,const FString & Source)`

Set the base URL for all RallyHereAPI calls.

Parameters

  • InBaseURL The base URL to use.

  • Source The source of the base URL change, for logging.


#### `public FString `[`GetBaseURL`](#classURH__Integration_1a6a80ff137a6b4417db6a0e022f8bd7f2)`()`

Get the current base URL (will run ResolveBaseURL if there isn’t one)


#### `public void `[`ResolveBaseURL`](#classURH__Integration_1a9ba65df152ad1d5205d9a43959d63b3b)`()`

Check for a base URL across several sources and assign the first non-empty value to the APIs:

  • Command line values from the keys in BaseURLCommandLineKeys. By default these are: RallyHereURLX RallyHereURL RallyHereURLInternal

  • ini value from the “RallyHereEnvURL” section, where the key is the current EnvironmentId returned from GetEnvironmentId

  • ini value from the section for this class, with the “BaseUrl” key.


#### `public inline void `[`LockBaseURL`](#classURH__Integration_1a2d48d18ed8c425037b48716951c609b7)`(bool bLocked)`

Updates the locked status of the Base URL.

Parameters

  • bLocked If locked, disables the ResolveBaseURL function.

#### `public void `[`SetClientId`](#classURH__Integration_1ab09fcf4dd89f17f1867ce6ac9cf93ebb)`(FString InClientId,const FString & Source)`

Set the client ID for the AuthContext.

Parameters

  • InClientId The client ID to use.

  • Source The source of the base Client Id Change, for logging.


#### `public FString `[`GetClientId`](#classURH__Integration_1a7dde924eb4f662a32d710711a2a5d45d)`()`

Get the current client ID (will run ResolveClientId if there isn’t one).


#### `public void `[`ResolveClientId`](#classURH__Integration_1aa5c8e07f1530d510afcb84e42c3eef06)`()`

Check for a client ID across several sources and assign the first non-empty value to the APIs:

  • Command line values from the keys in ClientIdCommandLineKeys. By default these are: RallyHereClientIdX RallyHereClientId RallyHereClientIdInternal

  • ini value from the “RallyHere” section, with the “ClientId” key.

  • ini value from the section for this class, with the “ClientId” key.


#### `public inline void `[`LockClientId`](#classURH__Integration_1a04b8f6446f4bc3380d15a20129804de6)`(bool bLocked)`

Updates the locked status of the Client Id.

Parameters

  • bLocked If locked, disables the ResolveClientId function.

#### `public void `[`SetClientSecret`](#classURH__Integration_1aa3c279d80bcc31d8fb2366bf8d4a5a59)`(FString InClientSecret,const FString & Source)`

Set the client secret for the AuthContext.

Parameters

  • InClientSecret The client secret to use.

  • Source The source of the base Client Secret Change, for logging.


#### `public FString `[`GetClientSecret`](#classURH__Integration_1a3c51a0686676ab34896ed21fe7ed786e)`()`

Get the current client secret (will run ResolveClientSecret if there isn’t one).


#### `public void `[`ResolveClientSecret`](#classURH__Integration_1acf88cad66d6acbf99495f8895da38917)`()`

Check for a client secret across several sources and assign the first non-empty value to the APIs:

  • Command line values from the keys in ClientSecretCommandLineKeys. By default these are: RallyHereClientSecretX RallyHereClientSecret RallyHereClientSecretInternal

  • ini value from the “RallyHere” section, with the “ClientSecret” key.

  • ini value from the section for this class, with the “ClientSecret” key.


#### `public inline void `[`LockClientSecret`](#classURH__Integration_1a05204a2d20528a3b4f59952368ae1814)`(bool bLocked)`

Updates the locked status of the Client Secret.

Parameters

  • bLocked If locked, disables the ResolveClientSecret function.

#### `public inline class `[`URH_WebRequests`](WebRequest.md#classURH__WebRequests)` * `[`GetWebRequestTracker`](#classURH__Integration_1aa0eca33c0d2add66db9ecf8d169325a0)`() const`

Gets the Web Request Tracker.


#### `public inline class `[`URH_Diagnostics`](Diagnostics.md#classURH__Diagnostics)` * `[`GetDiagnostics`](#classURH__Integration_1a9031d6508ab6dd48cbfa74e9e698fbdb)`() const`

Gets the Diagnostic Reporter.