Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface to the Geocortex Essentials Service Discovery. Allows searching for matching services against the Service Discovery REST endpoints.

  • Not supported on versions of Essentials prior to 4.5. Check the supported member after the class is initialized.
  • Requires an initialized Site to work.
  • Sets rootUrl to "{SITE_URL}/../../../connections".

Hierarchy

  • SiteServiceDiscoveryProvider

Implements

Index

Constructors

constructor

  • Parameters

    • Optional whitelistAgol: boolean
    • Optional whitelistPortal: boolean

    Returns SiteServiceDiscoveryProvider

Properties

Protected _rootUrl

_rootUrl: string

Protected _site

_site: Site

initialized

initialized: boolean

isHttpsMode

isHttpsMode: boolean

supported

supported: boolean

whitelistAgol

whitelistAgol: boolean

whitelistPortal

whitelistPortal: boolean

Methods

Protected _createMapService

Protected _getConnectionId

  • Parameters

    Returns string

Protected _processError

  • _processError(result: any): any
  • Processes the ajax result, throwing an exception if it is an error response.

    Parameters

    • result: any

      The ajax response.

    Returns any

Protected _processItem

  • Parameters

    • coreItem: ResultItem

    Returns ResultItem

Protected _verifyInitialized

  • _verifyInitialized(): void
  • Verify that this class is initialized, throwing an exception if it isn't.

    Returns void

Protected _verifySupported

  • _verifySupported(): void
  • Verify that Service Discovery is supported, throwing an exception if it isn't.

    Returns void

expandService

findServices

getRootUrl

  • getRootUrl(): string
  • TODO Document

    Returns string

initialize

  • initialize(site: Site): void
  • TODO Document

    Parameters

    Returns void

realizeMapService

Protected sendRequest

  • sendRequest<T>(url: string, request: any): Thenable<T>
  • Type parameters

    • T

    Parameters

    • url: string
    • request: any

    Returns Thenable<T>

suggestHints

  • suggestHints(term: string): Thenable<string[]>