Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 4 additions & 2 deletions src/load/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

Release History
===============
0.3.4

1.0.0
++++++
* Adding support for "az load test" in AzureUSGovernment cloud.
* Fix '(InvalidRequestBody) Secret "xxxxx" value can't be null' error that occurs when using 'az load test create/update' with a config file that contains secrets.

0.3.3
++++++
Expand Down Expand Up @@ -33,4 +35,4 @@ Release History

0.1.0
++++++
* Initial release.
* Initial release.
9 changes: 5 additions & 4 deletions src/load/azext_load/data_plane/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,8 @@ def parse_secrets(secrets):
if not validators._validate_akv_url(value, "secrets"):
raise InvalidArgumentValueError(f"Invalid AKV Certificate URL: {value}")
secrets_dict[name] = {
name: {
"type": "AKV_SECRET_URI",
"value": value,
}
"type": "AKV_SECRET_URI",
"value": value,
}
logger.debug("Parsed secrets: %s", secrets_dict)
logger.debug("Secrets parsed successfully")
Expand Down Expand Up @@ -448,6 +446,9 @@ def create_or_update_test_with_config(

new_body["passFailCriteria"] = {}
for key in body.get("passFailCriteria", {}):
if "passFailCriteria" not in new_body:
new_body["passFailCriteria"] = {}
new_body.get("passFailCriteria", {})[key] = None
new_body["passFailCriteria"][key] = None
if yaml_test_body.get("passFailCriteria") is not None:
new_body["passFailCriteria"] = yaml_test_body.get("passFailCriteria", {})
Expand Down
2 changes: 1 addition & 1 deletion src/load/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


# HISTORY.rst entry.
VERSION = '0.3.4'
VERSION = '1.0.0'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down