Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Constructors

constructor

Properties

Private Readonly configStorage

configStorage: KeyValueStorage<string, unknown>

Private Readonly configTemplatePath

configTemplatePath: string

Protected Readonly logger

logger: Logger = ...

Private Readonly storeFactory

storeFactory: ComponentsJsFactory

Private Readonly variableHandler

variableHandler: VariableHandler

Methods

generate