feature-toggle-library
Service icon

Feature Toggle Library

Stable version 1.0.6 (Compatible with OutSystems 11)
Uploaded
 on 9 Apr (2 weeks ago)
 by 
3.5
 (2 ratings)
feature-toggle-library

Feature Toggle Library

Documentation
1.0.6

⚙️ Configuration Guide

To enable this new behavior, configure the following Site Properties across your modules:

Foundation Service (Consumer Side)

Site properties:

  • HitsEndpoint: The URL where the worker syncs captured hits. (Found in FeatureToggle_Lib -> Analytics -> AddHit)
  • MissingKeyEndpoint: The URL where the worker syncs missing keys. (Found in FeatureToggle_Lib -> Analytics -> AddMissingKey)
  • LogBatchSize - The number of logs to accumulate before forcing a sync (e.g., 10). Keep this low for faster processing.
  • LogBatchTimeInterval - The maximum time (ms) to wait before syncing, even if the Batch Size isn't reached (e.g., 5000).

FeatureToggle_Lib (Core Side)

  • EnableAnalyticsEndpoint - Will allow the endpoints used by the web worker to work.
  • LogKeyValidity - Amount of minutes the log key generated will stay valid. When invalid, the worker triggers a message to generate a new one.
  • LogOnFTEnablement - Allows to log every time a feature is checked. This essentially enables or disables analytics.
  • UseWebWorkerAnalytics: Setting this as true will instanteate the web worker and start to communicate with the endpoint.


Important Notes

If you set UseWebWorkerAnalytics to True , you must define the endpoints HitsEndpoint and MissingKeyEndpoint otherwise the worker wont be able to sync the captured features checks. If you want simply to disable logs, just set the LogOnFTEnablement to false.


1.0.2

Please read the documentation on how to install and how to use this tool.