...
Code Block | ||
---|---|---|
| ||
const configBuilderOptions = { sources: [ new configSourceSdk.adapters.ConfigServiceSourceAdpater({ url: "{{config-source-url}}" }), new configSourceSdk.adapters.EnvVarsSourceAdpater(envHelper) ], keys: ["sunbird_explore_button_visibility", "...."], cacheRefresh: { enabled: true, interval: 10 } }; const configBuilder = new configSourceSdk.ConfigBuilder(configBuilderOptions); configBuilder.buildConfig().then(function(status){ // handle status response here }) |
...