Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readme: Optimizely DFM #188

Merged
merged 5 commits into from
Jul 26, 2019
Merged

readme: Optimizely DFM #188

merged 5 commits into from
Jul 26, 2019

Conversation

msohailhussain
Copy link
Contributor

@msohailhussain msohailhussain commented Jul 11, 2019

Summary

  • Added documentation for DFM
  • Initialize Optimizely using SDKKey, PollingConfigManager and datafile
  • Added property descriptions of PollingConfigManager class or it's super class.

@msohailhussain msohailhussain requested review from aliabbasrizvi and a team July 11, 2019 18:44
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 98.525% when pulling 6cf4443 on oakbani/dfm-readme into e7c3076 on datafile-manager.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 98.525% when pulling 6cf4443 on oakbani/dfm-readme into e7c3076 on datafile-manager.

@coveralls
Copy link

coveralls commented Jul 11, 2019

Coverage Status

Coverage decreased (-0.2%) to 98.525% when pulling 611dc54 on oakbani/dfm-readme into e7c3076 on datafile-manager.

Copy link
Contributor

@aliabbasrizvi aliabbasrizvi left a comment

Choose a reason for hiding this comment

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

Looks good mostly. Small feedback.

README.rst Outdated
@@ -30,7 +30,94 @@ dashboard, please contact your Optimizely account executive.
Using the SDK
~~~~~~~~~~~~~

See the Optimizely `Full Stack documentation`_ to learn how to
You can initialize the Optimizely instance in three ways: with a datafile, by providing an `sdk_key`, or by providing a Config Manager. Each method is described below.
Copy link
Contributor

Choose a reason for hiding this comment

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

Link ConfigManager to config_manager.py

README.rst Outdated
::

optimizely.Optimizely(
datafile=None,
Copy link
Contributor

Choose a reason for hiding this comment

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

nit. I don't think our example needs to show datafile=None

README.rst Outdated
sdk_key='put_your_sdk_key_here'
)

3. Initialize Optimizely by providing a Config Manager that implements a
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead, link to BaseConfigManager and ask for user to implement BaseConfigManager.

README.rst Outdated
a PollingConfigManager that makes an HTTP GET request to the URL (
formed using your provided sdk key and the default datafile CDN url
a PollingConfigManager that makes an HTTP GET request to the URL (formed
using your provided `sdk key` and the default datafile CDN url

Choose a reason for hiding this comment

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

put "URL" in capital letters?

README.rst Outdated
================ ======================================================== =====================================================================================

A notification signal will be triggered whenever a *new* datafile is
fetched and Project Config is updated. To subscribe to these
notifications you can use the
notifications, use the

Choose a reason for hiding this comment

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

Maybe this instead?
To subscribe to these notifications, use:

@aliabbasrizvi
Copy link
Contributor

@msohailhussain can you fix the PR summary?

@mikeproeng37
Copy link
Contributor

@msohailhussain can you fix the PR summary?

This is done. Are we good to merge in?

@aliabbasrizvi aliabbasrizvi changed the base branch from datafile-manager to master July 26, 2019 17:23
@aliabbasrizvi aliabbasrizvi changed the base branch from master to datafile-manager July 26, 2019 17:24
@aliabbasrizvi aliabbasrizvi merged commit f4fcd8a into datafile-manager Jul 26, 2019
@aliabbasrizvi aliabbasrizvi deleted the oakbani/dfm-readme branch July 26, 2019 17:26
aliabbasrizvi pushed a commit that referenced this pull request Jul 26, 2019
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.

None yet

6 participants