qanary-component-core/services/registration/registration.model
This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.
qanary-component-core/services/registration/registration.model
Section titled “qanary-component-core/services/registration/registration.model”- Package:
@leipzigtreechat/qanary-component-core - Source file:
packages/qanary-component-core/src/services/registration/registration.model.ts
Summary
Section titled “Summary”An object to process the SpringBootAdminUrl
Classes
Section titled “Classes”SpringBootAdminUrl
Section titled “SpringBootAdminUrl”class SpringBootAdminUrl extends URLAn object to process the SpringBootAdminUrl
Extends: URL
Methods
toConfiguration(): void: Converts this object to an axios fetch configuration, required by the APIgetDefault(): string: Determines the available SpringBootAdminUrl, or return a static URLfrom(): Promise<SpringBootAdminUrl>: The factory method of the object Defined at: line 10
SpringBootAdminClientInstanceServiceBaseUrl
Section titled “SpringBootAdminClientInstanceServiceBaseUrl”class SpringBootAdminClientInstanceServiceBaseUrl extends URLAn object to process the SpringBootAdminClientInstanceServiceBaseUrl
Extends: URL
Methods
getDefault(): Promise<string>: Determines the available SpringBootAdminClientInstanceServiceBaseUrl, or return a static URL (dynamic port)from(): Promise<SpringBootAdminClientInstanceServiceBaseUrl>: The factory method of the object Defined at: line 48
RegistrationInfo
Section titled “RegistrationInfo”class RegistrationInfoAn object to register with the Spring Boot Admin as an available instance.
Properties
name(string): The name of the instanceserviceUrl(string): The URL, this service runs onhealthUrl(string): The URL for checking the health of the instancemetadata(Record<string, string>): Additional meta data Methodsconstructor(options: RegistrationInfo): The function to instantiate the objectfrom(config: QanaryComponentCoreServiceConfig): Promise<RegistrationInfo>: Generates the registration object of the component for the Spring Boot Admin based on provided configuration Defined at: line 77
QanaryComponentCoreServiceConfig
Section titled “QanaryComponentCoreServiceConfig”class QanaryComponentCoreServiceConfigAn object containing the core configuration as URLs
Properties
springBootAdminClientInstanceServiceBaseUrl(SpringBootAdminClientInstanceServiceBaseUrl): The URL of this servicespringBootAdminUrl(SpringBootAdminUrl): The URL at which is registered Methodsconstructor(options: QanaryComponentCoreServiceConfig): The function to instantiate the objectcreate(): void: The factory method to create anQanaryComponentCoreServiceConfigobject Defined at: line 139
In qanary-component-core
Section titled “In qanary-component-core”qanary-component-core/helper/get-portqanary-component-core/helper/sleepqanary-component-core/indexqanary-component-core/middlewares/error/error.middlewareqanary-component-core/middlewares/error/error.modelqanary-component-core/qanary-component-coreqanary-component-core/resources/about/about.controllerqanary-component-core/resources/about/about.modelqanary-component-core/resources/about/about.routerqanary-component-core/resources/annotatequestion/annotatequestion.controllerqanary-component-core/resources/annotatequestion/annotatequestion.modelqanary-component-core/resources/annotatequestion/annotatequestion.routerqanary-component-core/resources/health/health.controllerqanary-component-core/resources/health/health.routerqanary-component-core/services/registration/registration.modelqanary-component-core/services/registration/registration.service