Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
6db8216
Adding Telemetry
mrm9084 Apr 5, 2024
acc62d9
Telemetry Support
mrm9084 Apr 15, 2024
c333311
fixing formatting
mrm9084 Apr 17, 2024
2893693
Update _azureappconfigurationprovider.py
mrm9084 Apr 24, 2024
6ade779
Update _azureappconfigurationproviderasync.py
mrm9084 Apr 24, 2024
3ec51ec
formatting
mrm9084 Apr 24, 2024
d1c5a17
changing doc style due to pylint-next
mrm9084 Apr 24, 2024
5595657
fixing kwargs docs
mrm9084 Apr 24, 2024
246d259
Formatting
mrm9084 Apr 25, 2024
07c771a
Review comments
mrm9084 Apr 29, 2024
26f5042
Changed label checking.
mrm9084 Apr 29, 2024
5d485ab
black format changes
mrm9084 Apr 29, 2024
c09247b
pylint
mrm9084 Apr 29, 2024
958761e
Update sdk/appconfiguration/azure-appconfiguration-provider/azure/app…
mrm9084 Apr 30, 2024
fac284f
added space checks
mrm9084 Apr 30, 2024
50755b0
Update conftest.py
mrm9084 May 10, 2024
ce64aca
Merge remote-tracking branch 'upstream/main' into TelemetrySupport
mrm9084 Jul 2, 2024
c727b1c
Merge branch 'main' into TelemetrySupport
mrm9084 Aug 19, 2024
33ae94e
moved telemetry to client wrapper
mrm9084 Aug 19, 2024
c8f3b40
fixing format
mrm9084 Aug 19, 2024
79c9053
Merge branch 'main' into TelemetrySupport
mrm9084 Aug 28, 2024
d9cd086
Merge remote-tracking branch 'upstream/main' into TelemetrySupport
mrm9084 Sep 6, 2024
0456c6d
updating after merge
mrm9084 Sep 6, 2024
411dd2e
Merge remote-tracking branch 'upstream/main' into TelemetrySupport
mrm9084 Sep 9, 2024
7e33ecb
fixing black issue
mrm9084 Sep 9, 2024
126937a
removing unused imports
mrm9084 Sep 9, 2024
3261601
AllocationId
mrm9084 Sep 12, 2024
963c0f4
Update CODEOWNERS
mrm9084 Sep 12, 2024
58cccc2
Merge branch 'main' into AllocationId
mrm9084 Sep 12, 2024
775df1a
Update CODEOWNERS
mrm9084 Sep 12, 2024
e5f6ed4
fixing issues
mrm9084 Sep 12, 2024
0f688d2
Merge branch 'AllocationId' of https://github.com/mrm9084/azure-sdk-f…
mrm9084 Sep 12, 2024
b73b002
Update _client_manager_base.py
mrm9084 Sep 12, 2024
923362f
Fixing configuration value empty in calc
mrm9084 Sep 12, 2024
274c372
fixing pylint
mrm9084 Sep 12, 2024
c4dd229
Merge branch 'main' into AllocationId
mrm9084 Sep 13, 2024
6421788
Update _constants.py
mrm9084 Sep 13, 2024
59b745c
Merge remote-tracking branch 'upstream/main' into AllocationId
mrm9084 Oct 4, 2024
185389d
review comments
mrm9084 Oct 11, 2024
e36cc7d
fixing allocation check
mrm9084 Oct 11, 2024
50fe5fe
format fix
mrm9084 Oct 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
black format changes
  • Loading branch information
mrm9084 committed Apr 29, 2024
commit 5d485ab645d549770495741ffa24f65a8aeafbf7
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ def _load_configuration_settings(self, **kwargs):
@staticmethod
def _calculate_feature_id(key, label):
basic_value = f"{key}\n"
if label and not label.isspace() and label is not '':
if label and not label.isspace() and label is not "":
basic_value += f"{label}"
feature_flag_id_hash_bytes = hashlib.sha256(basic_value.encode()).digest()
encoded_flag = base64.b64encode(feature_flag_id_hash_bytes)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
METADATA_KEY = "metadata"
ETAG_KEY = "etag"
FEATURE_FLAG_REFERENCE_KEY = "feature_flag_reference"
FEATURE_FLAG_ID_KEY = "feature_flag_id"
FEATURE_FLAG_ID_KEY = "feature_flag_id"
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ async def _load_configuration_settings(self, **kwargs):
@staticmethod
def _calculate_feature_id(key, label):
basic_value = f"{key}\n"
if label and not label.isspace() and label is not '':
if label and not label.isspace() and label is not "":
basic_value += f"{label}"
feature_flag_id_hash_bytes = hashlib.sha256(basic_value.encode()).digest()
encoded_flag = base64.b64encode(feature_flag_id_hash_bytes)
Expand All @@ -556,7 +556,7 @@ async def _load_feature_flags(self, **kwargs):

if not endpoint.endswith("/"):
endpoint += "/"

feature_flag_reference = f"{endpoint}kv/{feature_flag.key}"
if feature_flag.label:
feature_flag_reference += f"?label={feature_flag.label}"
Expand Down