Skip to content

Feat: added SDKkey and environmentKey in datafile #281

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

Merged
merged 10 commits into from
Jun 22, 2021

Conversation

ozayr-zaviar
Copy link
Contributor

@ozayr-zaviar ozayr-zaviar commented Jun 8, 2021

Summary

  • Sdk and environment keys are going to be parse in sdk and will be sent back in optimizelyConfig

Test plan

All unit tests and FSC tests should pass

@ozayr-zaviar ozayr-zaviar changed the title Feat: added SDKkey and environment in datafile Feat: added SDKkey and environmentKey in datafile Jun 9, 2021
@ozayr-zaviar ozayr-zaviar removed their assignment Jun 9, 2021
@msohailhussain msohailhussain marked this pull request as ready for review June 15, 2021 21:43
@msohailhussain msohailhussain requested a review from a team as a code owner June 15, 2021 21:43
@@ -38,6 +38,8 @@ class DatafileProjectConfig < ProjectConfig
attr_reader :anonymize_ip
attr_reader :bot_filtering
attr_reader :revision
attr_reader :sdk_key
Copy link
Contributor

Choose a reason for hiding this comment

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

update header.

@@ -194,6 +198,26 @@ def experiment_running?(experiment)
RUNNING_EXPERIMENT_STATUS.include?(experiment['status'])
end

def get_sdk_key()
Copy link
Contributor

Choose a reason for hiding this comment

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

why create these getters when you have already declared read only attributes and using those directly?

@coveralls
Copy link

coveralls commented Jun 21, 2021

Coverage Status

Coverage increased (+0.02%) to 99.486% when pulling 4cf102c on uzair/sdk-keys into b394e9c on master.

@msohailhussain msohailhussain dismissed zashraf1985’s stale review June 22, 2021 22:18

changes are made but zeeshan is OFF

Copy link
Contributor

@msohailhussain msohailhussain left a comment

Choose a reason for hiding this comment

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

lgtm

@msohailhussain msohailhussain merged commit c6e659e into master Jun 22, 2021
@msohailhussain msohailhussain deleted the uzair/sdk-keys branch June 22, 2021 22:18
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.

5 participants