You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[c.WARN_INTEGRATION_INVALID,c.LOG_PREFIX_SETTINGS+': %s integration item(s) at settings is invalid. %s'],
29
29
[c.WARN_SPLITS_FILTER_IGNORED,c.LOG_PREFIX_SETTINGS+': feature flag filters have been configured but will have no effect if mode is not "%s", since synchronization is being deferred to an external tool.'],
30
-
[c.WARN_SPLITS_FILTER_INVALID,c.LOG_PREFIX_SETTINGS+': feature flag filter at position %s is invalid. It must be an object with a valid filter type ("byName" or "byPrefix") and a list of "values".'],
30
+
[c.WARN_SPLITS_FILTER_INVALID,c.LOG_PREFIX_SETTINGS+': feature flag filter at position %s is invalid. It must be an object with a valid filter type ("bySet", "byName" or "byPrefix") and a list of "values".'],
31
31
[c.WARN_SPLITS_FILTER_EMPTY,c.LOG_PREFIX_SETTINGS+': feature flag filter configuration must be a non-empty array of filter objects.'],
32
32
[c.WARN_SDK_KEY,c.LOG_PREFIX_SETTINGS+': You already have %s. We recommend keeping only one instance of the factory at all times (Singleton pattern) and reusing it throughout your application'],
33
33
34
34
[c.STREAMING_PARSING_MY_SEGMENTS_UPDATE_V2,c.LOG_PREFIX_SYNC_STREAMING+'Fetching MySegments due to an error processing %s notification: %s'],
35
35
[c.STREAMING_PARSING_SPLIT_UPDATE,c.LOG_PREFIX_SYNC_STREAMING+'Fetching SplitChanges due to an error processing SPLIT_UPDATE notification: %s'],
36
+
[c.WARN_SPLITS_FILTER_NAME_AND_SET,c.LOG_PREFIX_SETTINGS+': names and sets filter cannot be used at the same time. The sdk will proceed using sets filter.'],
37
+
[c.WARN_SPLITS_FILTER_INVALID_SET,c.LOG_PREFIX_SETTINGS+': you passed %s, flag set must adhere to the regular expressions %s. This means a flag set must start with a letter, be in lowercase, alphanumeric and have a max length of 50 characteres. %s was discarded.'],
38
+
[c.WARN_SPLITS_FILTER_LOWERCASE_SET,c.LOG_PREFIX_SETTINGS+': flag set %s should be all lowercase - converting string to lowercase.'],
expect(loggerMock.warn.mock.calls[8]).toEqual([WARN_SPLITS_FILTER_INVALID_SET,['3set_a',regexp,'3set_a']]);// start with a letter
119
+
expect(loggerMock.warn.mock.calls[9]).toEqual([WARN_SPLITS_FILTER_INVALID_SET,['_set_2',regexp,'_set_2']]);// start with a letter
120
+
expect(loggerMock.warn.mock.calls[10]).toEqual([WARN_SPLITS_FILTER_INVALID_SET,['set_1234567890_1234567890_234567890_1234567890_1234567890',regexp,'set_1234567890_1234567890_234567890_1234567890_1234567890']]);// max of 50 characters
0 commit comments