Skip to content

Move forced variations into DecisionService.#162

Merged
mikeproeng37 merged 2 commits intosohail/optimizelydfmfrom
fahad/forced-variations-dfm
Jun 14, 2019
Merged

Move forced variations into DecisionService.#162
mikeproeng37 merged 2 commits intosohail/optimizelydfmfrom
fahad/forced-variations-dfm

Conversation

@mfahadahmed
Copy link
Contributor

Summary

  • Move forced variations from ProjectConfig to DecisionService.

Test plan

  • Moved forced variation unit tests to DecisionServiceTest,

Copy link
Contributor

@mikeproeng37 mikeproeng37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mikeproeng37 mikeproeng37 merged commit 6441b00 into sohail/optimizelydfm Jun 14, 2019
msohailhussain added a commit that referenced this pull request Jun 14, 2019
msohailhussain added a commit that referenced this pull request Jun 14, 2019
msohailhussain added a commit that referenced this pull request Jun 17, 2019
* Initial structure

* cleanup

* added builder class

* Extracted ProjectConfig into its own interface and updated HttpProjectConfigManager.

* Added polling unit tests.

* Working on Config manager.

* Extacted ProjectConfig into a separate interface and create DatafileProjectConfig as its implementation.
Created StaticProjectConfigManager and HttpProjectConfigManager for handling datafile retrievel.
Created PollingProjectConfigManager for retrieving ProjectConfig on the specified interval.
Added OnReady future in PollingProjectConfigManager class.
Added unit tests.

* Removed old ProjectConfig references.

* Fixed missing file references.

* Update ConfigManager classes to block execution until ProjectConfig resolves.

* Added config manager unit tests and fix failing tests.

* Updated fm

* Added unit tests and AtomicProjectConfigManager class.

* Adding unit tests.

* unit test added and 4.0 compat.

* Resolved compatible issues.

* Removed DFM implementation in Optimizely from this PR. Mainly focus on designing DFM.

* optimizely changes.

* Resolved datafile management namespace issue.

* Datafilemore cleanup

* integrated projectconfigmanagez

* Moved ProjectConfig file

* renamed to fallback project config manager

* Remover parse and added logger and error handler

* Changed namespace & removed SetConfig from interface.

* Added config in all methods.

* rename issues resolved.

* Integrating dfm with optimizely

* comments addressed.

* matt’s feedback added.

* Nit fix

* added optimizelyfactory and get variation private method to use config.

* corrected condition

* Added missing documentation.

* Move forced variation back to ProjectConfig.

* refac(decisions): Move forced variations into DecisionService. (#162)

* Revert "refac(decisions): Move forced variations into DecisionService. (#162)" (#164)

This reverts commit 6441b00.

* consolidated mike’s feedback

* Resolved one left comment.

* Logging issue fixed and fallback issue fixed.

* Changed IsValid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants