-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Basic Telemetry * Validation tests for dotnet (#16) * Python tests + Spring Start * debugging * fixed * requirementType * Python Readme & More Spring Tests * Spring Readme and Updates * Python variants + basic variants * Adds .net Validation Tests * Adjusts variant result to use dynamic configuration value * Uses Pascal Case in tests * Merge with main * Updates to pascal case * Resovles attribute Users instead of User * Adjusts tests to all work with new schema * Fixes test call in shared script * Update pom.xml * Fixes path after spring tests * Fixes schema typo * Adds name to variant result expectation * Misc. dotnet fixes * Adds more names --------- Co-authored-by: Matt Metcalf <mrm9084@gmail.com> * PascelCase & Formatting * Delete launchSettings.json * fixings tests and review comments --------- Co-authored-by: Ross Grambo <rossgrambo@microsoft.com>
- Loading branch information
1 parent
07e3b6e
commit 9a3b4a0
Showing
5 changed files
with
223 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"feature_management": { | ||
"feature_flags": [ | ||
{ | ||
"id": "TelemetryVariant", | ||
"description": "", | ||
"enabled": "true", | ||
"conditions": { | ||
"client_filters": [] | ||
}, | ||
"variants": [ | ||
{ | ||
"name": "True_Override", | ||
"configuration_value": "default", | ||
"status_override": "Disabled" | ||
} | ||
], | ||
"allocation": { | ||
"default_when_enabled": "True_Override" | ||
}, | ||
"telemetry": { | ||
"enabled": "true", | ||
"metadata": { | ||
"ETag": "cmwBRcIAq1jUyKL3Kj8bvf9jtxBrFg-R-ayExStMC90", | ||
"FeatureFlagReference": "https://fake-config-store/kv/.appconfig.featureflag/TelemetryVariant", | ||
"FeatureFlagId": "7vpkRJe452WVvlKXfA5XF3ASllwKsYZfC7D4w05rIoo", | ||
"AllocationId": "MExY1waco2tqen4EcJKK" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[ | ||
{ | ||
"FeatureFlagName": "TelemetryVariant", | ||
"Inputs": {"User":"Aiden"}, | ||
"IsEnabled": { | ||
"Result": "false" | ||
}, | ||
"Variant": { | ||
"Result": { | ||
"Name": "True_Override", | ||
"ConfigurationValue": "default" | ||
} | ||
}, | ||
"Telemetry": { | ||
"EventName": "FeatureEvaluation", | ||
"EventProperties": { | ||
"FeatureName": "TelemetryVariant", | ||
"Enabled": "False", | ||
"Version": "1.0.0", | ||
"Variant": "True_Override", | ||
"VariantAssignmentReason": "DefaultWhenEnabled", | ||
"VariantAssignmentPercentage": "100", | ||
"DefaultWhenEnabled": "True_Override", | ||
"AllocationId": "MExY1waco2tqen4EcJKK", | ||
"ETag": "cmwBRcIAq1jUyKL3Kj8bvf9jtxBrFg-R-ayExStMC90", | ||
"FeatureFlagReference": "https://fake-config-store/kv/.appconfig.featureflag/TelemetryVariant", | ||
"FeatureFlagId": "7vpkRJe452WVvlKXfA5XF3ASllwKsYZfC7D4w05rIoo", | ||
"TargetingId": "Aiden" | ||
} | ||
}, | ||
"Description": "A basic feature flag with telemetry." | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
pytest | ||
featuremanagement==2.0.0b2 | ||
azure-appconfiguration-provider==2.0.0b2 | ||
featuremanagement["AzureMonitor"]==2.0.0b3 | ||
azure-appconfiguration-provider==2.0.0b3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.