Skip to content

Commit 8135f46

Browse files
OASIS-146: Remove segmentID as a key for attributes in objective-c-sdk (#177)
Summary: Remove segmentID as a key for attributes in objective-c-sdk Remove obsolete 'segmentID' key-value pairs from test suite *.json files Test Plan: * 8 iOS test suites "iPhone X" PASSED * OptimizelySDKiOSUniversalTests "iPhone X" PASSED * 7 tvOS test suites "Apple TV 4K" PASSED * OptimizelySDKTVOSUniversalTests "Apple TV 4K" PASSED * NOTE: Only test *.json's are affected. No changes to SDK *.framework source code. Reviewers: alda, thomas.zurkan JIRA Issues: OASIS-146 Differential Revision: https://phabricator.optimizely.com/D17660
1 parent 0e35b05 commit 8135f46

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"experiments": [{"status": "Running", "key": "whitelist_testing_experiment", "layerId": "7504891233", "trafficAllocation": [{"entityId": "7508900386", "endOfRange": 10000}], "audienceIds": ["7508630443"], "variations": [{"id": "7508900386", "key": "a", "forcedVariations": {"whitelisted_user": "a"}, "id": "7507920688"}], "version": "2", "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"browser_type\", \"type\": \"custom_attribute\", \"value\": \"chrome\"}]]]", "id": "7508630443", "name": "chrome users"}], "groups": [], "attributes": [{"id": "7517850319", "key": "browser_type", "segmentId": "1234"}], "projectId": "7519590183", "accountId": "3244610124", "events": [], "revision": "6"}
1+
{"experiments": [{"status": "Running", "key": "whitelist_testing_experiment", "layerId": "7504891233", "trafficAllocation": [{"entityId": "7508900386", "endOfRange": 10000}], "audienceIds": ["7508630443"], "variations": [{"id": "7508900386", "key": "a", "forcedVariations": {"whitelisted_user": "a"}, "id": "7507920688"}], "version": "2", "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"browser_type\", \"type\": \"custom_attribute\", \"value\": \"chrome\"}]]]", "id": "7508630443", "name": "chrome users"}], "groups": [], "attributes": [{"id": "7517850319", "key": "browser_type"}], "projectId": "7519590183", "accountId": "3244610124", "events": [], "revision": "6"}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"experiments": [{"status": "Running", "key": "whitelist_testing_experiment", "layerId": "7504891233", "trafficAllocation": [{"entityId": "7508900386", "endOfRange": 10000}], "audienceIds": ["7508630443"], "variations": [{"id": "7508900386", "key": "a", "variables": [{"id": "6384881128", "value": "Hello"}, {"id": "6384881125", "value": "False"}, {"id": "63234881124", "value": "8"}]}], "forcedVariations": {"whitelisted_user": "a"}, "id": "7507920688"}], "version": "3", "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"browser_type\", \"type\": \"custom_attribute\", \"value\": \"chrome\"}]]]", "id": "7508630443", "name": "chrome users"}], "groups": [], "attributes": [{"id": "7517850319", "key": "browser_type", "segmentId": "1234"}], "projectId": "7519590183", "accountId": "3244610124", "events": [], "variables": [{"id": "6384881128", "key": "someString", "type": "string", "defaultValue": "defaultStringValue"}, {"id": "6384881125", "key": "someBoolean", "type": "bool", "defaultValue": "False"}, {"id": "63234881124", "key": "someInteger", "type": "integer", "defaultValue": "1"}, {"id": "6684886128", "key": "someFloat", "type": "float", "defaultValue": "0.5"}], "revision": "6", "anonymizeIP": true}
1+
{"experiments": [{"status": "Running", "key": "whitelist_testing_experiment", "layerId": "7504891233", "trafficAllocation": [{"entityId": "7508900386", "endOfRange": 10000}], "audienceIds": ["7508630443"], "variations": [{"id": "7508900386", "key": "a", "variables": [{"id": "6384881128", "value": "Hello"}, {"id": "6384881125", "value": "False"}, {"id": "63234881124", "value": "8"}]}], "forcedVariations": {"whitelisted_user": "a"}, "id": "7507920688"}], "version": "3", "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"browser_type\", \"type\": \"custom_attribute\", \"value\": \"chrome\"}]]]", "id": "7508630443", "name": "chrome users"}], "groups": [], "attributes": [{"id": "7517850319", "key": "browser_type"}], "projectId": "7519590183", "accountId": "3244610124", "events": [], "variables": [{"id": "6384881128", "key": "someString", "type": "string", "defaultValue": "defaultStringValue"}, {"id": "6384881125", "key": "someBoolean", "type": "bool", "defaultValue": "False"}, {"id": "63234881124", "key": "someInteger", "type": "integer", "defaultValue": "1"}, {"id": "6684886128", "key": "someFloat", "type": "float", "defaultValue": "0.5"}], "revision": "6", "anonymizeIP": true}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"experiments": [{"status": "Running", "key": "whitelist_testing_experiment", "layerId": "7504891233", "trafficAllocation": [{"entityId": "7508900386", "endOfRange": 10000}], "audienceIds": ["7508630443"], "variations": [{"id": "7508900386", "key": "a"}], "forcedVariations": {"whitelisted_user": "a"}, "id": "7507920688"}], "version": "3", "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"browser_type\", \"type\": \"custom_attribute\", \"value\": \"chrome\"}]]]", "id": "7508630443", "name": "chrome users"}], "groups": [], "attributes": [{"id": "7517850319", "key": "browser_type", "segmentId": "1234"}], "projectId": "7519590183", "accountId": "3244610124", "events": [], "revision": "6", "anonymizeIP": true}
1+
{"experiments": [{"status": "Running", "key": "whitelist_testing_experiment", "layerId": "7504891233", "trafficAllocation": [{"entityId": "7508900386", "endOfRange": 10000}], "audienceIds": ["7508630443"], "variations": [{"id": "7508900386", "key": "a"}], "forcedVariations": {"whitelisted_user": "a"}, "id": "7507920688"}], "version": "3", "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"browser_type\", \"type\": \"custom_attribute\", \"value\": \"chrome\"}]]]", "id": "7508630443", "name": "chrome users"}], "groups": [], "attributes": [{"id": "7517850319", "key": "browser_type"}], "projectId": "7519590183", "accountId": "3244610124", "events": [], "revision": "6", "anonymizeIP": true}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"experiments": [{"status": "Running", "key": "whitelist_testing_experiment", "layerId": "7504891233", "trafficAllocation": [{"entityId": "7508900386", "endOfRange": 10000}], "audienceIds": ["7508630443"], "variations": [{"id": "7508900386", "key": "a", "forcedVariations": {"whitelisted_user": "a"}, "id": "7507920688"}], "version": "2", "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"browser_type\", \"type\": \"custom_attribute\", \"value\": \"chrome\"}]]]", "id": "7508630443", "name": "chrome users"}], "groups": [], "attributes": [{"id": "7517850319", "key": "browser_type", "segmentId": "1234"}], "projectId": "7519590183", "accountId": "3244610124", "events": [], "revision": "6"}
1+
{"experiments": [{"status": "Running", "key": "whitelist_testing_experiment", "layerId": "7504891233", "trafficAllocation": [{"entityId": "7508900386", "endOfRange": 10000}], "audienceIds": ["7508630443"], "variations": [{"id": "7508900386", "key": "a", "forcedVariations": {"whitelisted_user": "a"}, "id": "7507920688"}], "version": "2", "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"browser_type\", \"type\": \"custom_attribute\", \"value\": \"chrome\"}]]]", "id": "7508630443", "name": "chrome users"}], "groups": [], "attributes": [{"id": "7517850319", "key": "browser_type"}], "projectId": "7519590183", "accountId": "3244610124", "events": [], "revision": "6"}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"experiments": [{"status": "Running", "key": "whitelist_testing_experiment", "layerId": "7504891233", "trafficAllocation": [{"entityId": "7508900386", "endOfRange": 10000}], "audienceIds": ["7508630443"], "variations": [{"id": "7508900386", "key": "a", "variables": [{"id": "6384881128", "value": "Hello"}, {"id": "6384881125", "value": "False"}, {"id": "63234881124", "value": "8"}]}], "forcedVariations": {"whitelisted_user": "a"}, "id": "7507920688"}], "version": "3", "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"browser_type\", \"type\": \"custom_attribute\", \"value\": \"chrome\"}]]]", "id": "7508630443", "name": "chrome users"}], "groups": [], "attributes": [{"id": "7517850319", "key": "browser_type", "segmentId": "1234"}], "projectId": "7519590183", "accountId": "3244610124", "events": [], "variables": [{"id": "6384881128", "key": "someString", "type": "string", "defaultValue": "defaultStringValue"}, {"id": "6384881125", "key": "someBoolean", "type": "bool", "defaultValue": "False"}, {"id": "63234881124", "key": "someInteger", "type": "integer", "defaultValue": "1"}, {"id": "6684886128", "key": "someFloat", "type": "float", "defaultValue": "0.5"}], "revision": "6", "anonymizeIP": true}
1+
{"experiments": [{"status": "Running", "key": "whitelist_testing_experiment", "layerId": "7504891233", "trafficAllocation": [{"entityId": "7508900386", "endOfRange": 10000}], "audienceIds": ["7508630443"], "variations": [{"id": "7508900386", "key": "a", "variables": [{"id": "6384881128", "value": "Hello"}, {"id": "6384881125", "value": "False"}, {"id": "63234881124", "value": "8"}]}], "forcedVariations": {"whitelisted_user": "a"}, "id": "7507920688"}], "version": "3", "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"browser_type\", \"type\": \"custom_attribute\", \"value\": \"chrome\"}]]]", "id": "7508630443", "name": "chrome users"}], "groups": [], "attributes": [{"id": "7517850319", "key": "browser_type"}], "projectId": "7519590183", "accountId": "3244610124", "events": [], "variables": [{"id": "6384881128", "key": "someString", "type": "string", "defaultValue": "defaultStringValue"}, {"id": "6384881125", "key": "someBoolean", "type": "bool", "defaultValue": "False"}, {"id": "63234881124", "key": "someInteger", "type": "integer", "defaultValue": "1"}, {"id": "6684886128", "key": "someFloat", "type": "float", "defaultValue": "0.5"}], "revision": "6", "anonymizeIP": true}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"experiments": [{"status": "Running", "key": "whitelist_testing_experiment", "layerId": "7504891233", "trafficAllocation": [{"entityId": "7508900386", "endOfRange": 10000}], "audienceIds": ["7508630443"], "variations": [{"id": "7508900386", "key": "a", "variables": [{"id": "6384881128", "value": "Hello"}, {"id": "6384881125", "value": "False"}, {"id": "63234881124", "value": "8"}]}], "forcedVariations": {"whitelisted_user": "a"}, "id": "7507920688"}], "version": "3", "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"browser_type\", \"type\": \"custom_attribute\", \"value\": \"chrome\"}]]]", "id": "7508630443", "name": "chrome users"}], "groups": [], "attributes": [{"id": "7517850319", "key": "browser_type", "segmentId": "1234"}], "projectId": "7519590183", "accountId": "3244610124", "events": [], "variables": [{"id": "6384881128", "key": "someString", "type": "string", "defaultValue": "defaultStringValue"}, {"id": "6384881125", "key": "someBoolean", "type": "bool", "defaultValue": "False"}, {"id": "63234881124", "key": "someInteger", "type": "integer", "defaultValue": "1"}, {"id": "6684886128", "key": "someFloat", "type": "float", "defaultValue": "0.5"}], "revision": "6", "anonymizeIP": true}
1+
{"experiments": [{"status": "Running", "key": "whitelist_testing_experiment", "layerId": "7504891233", "trafficAllocation": [{"entityId": "7508900386", "endOfRange": 10000}], "audienceIds": ["7508630443"], "variations": [{"id": "7508900386", "key": "a", "variables": [{"id": "6384881128", "value": "Hello"}, {"id": "6384881125", "value": "False"}, {"id": "63234881124", "value": "8"}]}], "forcedVariations": {"whitelisted_user": "a"}, "id": "7507920688"}], "version": "3", "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"browser_type\", \"type\": \"custom_attribute\", \"value\": \"chrome\"}]]]", "id": "7508630443", "name": "chrome users"}], "groups": [], "attributes": [{"id": "7517850319", "key": "browser_type"}], "projectId": "7519590183", "accountId": "3244610124", "events": [], "variables": [{"id": "6384881128", "key": "someString", "type": "string", "defaultValue": "defaultStringValue"}, {"id": "6384881125", "key": "someBoolean", "type": "bool", "defaultValue": "False"}, {"id": "63234881124", "key": "someInteger", "type": "integer", "defaultValue": "1"}, {"id": "6684886128", "key": "someFloat", "type": "float", "defaultValue": "0.5"}], "revision": "6", "anonymizeIP": true}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"experiments": [{"status": "Running", "key": "whitelist_testing_experiment", "layerId": "7504891233", "trafficAllocation": [{"entityId": "7508900386", "endOfRange": 10000}], "audienceIds": ["7508630443"], "variations": [{"id": "7508900386", "key": "a", "variables": [{"id": "6384881128", "value": "Hello"}, {"id": "6384881125", "value": "False"}, {"id": "63234881124", "value": "8"}]}], "forcedVariations": {"whitelisted_user": "a"}, "id": "7507920688"}], "version": "3", "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"browser_type\", \"type\": \"custom_attribute\", \"value\": \"chrome\"}]]]", "id": "7508630443", "name": "chrome users"}], "groups": [], "attributes": [{"id": "7517850319", "key": "browser_type", "segmentId": "1234"}], "projectId": "7519590183", "accountId": "3244610124", "events": [], "variables": [{"id": "6384881128", "key": "someString", "type": "string", "defaultValue": "defaultStringValue"}, {"id": "6384881125", "key": "someBoolean", "type": "bool", "defaultValue": "False"}, {"id": "63234881124", "key": "someInteger", "type": "integer", "defaultValue": "1"}, {"id": "6684886128", "key": "someFloat", "type": "float", "defaultValue": "0.5"}], "revision": "6", "anonymizeIP": true}
1+
{"experiments": [{"status": "Running", "key": "whitelist_testing_experiment", "layerId": "7504891233", "trafficAllocation": [{"entityId": "7508900386", "endOfRange": 10000}], "audienceIds": ["7508630443"], "variations": [{"id": "7508900386", "key": "a", "variables": [{"id": "6384881128", "value": "Hello"}, {"id": "6384881125", "value": "False"}, {"id": "63234881124", "value": "8"}]}], "forcedVariations": {"whitelisted_user": "a"}, "id": "7507920688"}], "version": "3", "audiences": [{"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"browser_type\", \"type\": \"custom_attribute\", \"value\": \"chrome\"}]]]", "id": "7508630443", "name": "chrome users"}], "groups": [], "attributes": [{"id": "7517850319", "key": "browser_type"}], "projectId": "7519590183", "accountId": "3244610124", "events": [], "variables": [{"id": "6384881128", "key": "someString", "type": "string", "defaultValue": "defaultStringValue"}, {"id": "6384881125", "key": "someBoolean", "type": "bool", "defaultValue": "False"}, {"id": "63234881124", "key": "someInteger", "type": "integer", "defaultValue": "1"}, {"id": "6684886128", "key": "someFloat", "type": "float", "defaultValue": "0.5"}], "revision": "6", "anonymizeIP": true}

0 commit comments

Comments
 (0)