Class TemplatedPodGenerator

Creates a new ResourceStore when creating a pod based on a Components.js configuration.

Part of the dynamic pod creation.

  1. It calls a VariableHandler to add necessary variable values. E.g. setting the base url variable for components.js to the pod identifier.
  2. It filters/cleans the input agent values using VariableHandlers
  3. It calls a ComponentsJsFactory with the variables and template location to instantiate a new ResourceStore.
  4. It stores these values in the configuration storage, which is used as a permanent storage for pod configurations.

See

ConfigPodManager, ConfigPodInitializer, BaseUrlRouterRule

Hierarchy

  • TemplatedPodGenerator

Implements

Constructors

Properties

baseUrl: string
configStorage: KeyValueStorage<string, unknown>
configTemplatePath: string
logger: Logger = ...
storeFactory: ComponentsJsFactory
variableHandler: VariableHandler

Methods