Skip to main content

@backstage/plugin-tech-insights-backend-module-jsonfc

Home > @backstage/plugin-tech-insights-backend-module-jsonfc

Classes

ClassDescription
JsonRulesEngineFactChecker

Should actually be at-internal

FactChecker implementation using json-rules-engine

JsonRulesEngineFactCheckerFactoryFactory to construct JsonRulesEngineFactChecker Can be constructed with optional implementation of CheckInsightCheckRegistry if needed. Otherwise, defaults to using in-memory CheckRegistry.

Interfaces

InterfaceDescription
JsonRuleBooleanCheckResult
JsonRuleCheckResponse
TechInsightJsonRuleCheck

Variables

VariableDescription
JSON_RULE_ENGINE_CHECK_TYPE
techInsightsModuleJsonRulesEngineFactCheckerFactorySets a JsonRulesEngineFactCheckerFactory as FactCheckerFactory loading checks from the config.

Type Aliases

Type AliasDescription
CheckCondition
JsonRulesEngineFactCheckerFactoryOptions

Constructor options for JsonRulesEngineFactCheckerFactory

Implementation of checkRegistry is optional. If there is a need to use persistent storage for checks, it is recommended to inject a storage implementation here. Otherwise, an in-memory option is instantiated and used.

JsonRulesEngineFactCheckerOptions

Should actually be at-internal

Constructor options for JsonRulesEngineFactChecker

ResponseTopLevelCondition
Rule