Skip to content

Commit 1f4003f

Browse files
authored
Merge branch 'Azure:main' into feature-neonpostgres
2 parents 04825e8 + 70983a7 commit 1f4003f

File tree

85 files changed

+27060
-7136
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+27060
-7136
lines changed

linter_exclusions.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,12 @@ containerapp github-action add:
401401
service_principal_tenant_id:
402402
rule_exclusions:
403403
- option_length_too_long
404+
containerapp label-history show:
405+
rule_exclusions:
406+
- missing_command_test_coverage
407+
containerapp label-history list:
408+
rule_exclusions:
409+
- missing_command_test_coverage
404410
costmanagement export create:
405411
parameters:
406412
definition_dataset_configuration:

src/amg/HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,7 @@ Release History
127127
++++++
128128
* `az grafana dashboard import`: fix issue with JSON file validation
129129
* `az grafana folder update`: fix issue with overwrite setting
130+
131+
2.5.5
132+
++++++
133+
* `az grafana notification-channel test`: fix issue with test output parsing

src/amg/azext_amg/custom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def test_notification_channel(cmd, grafana_name, notification_channel, resource_
535535
api_key_or_token=api_key_or_token)
536536
response = _send_request(cmd, resource_group_name, grafana_name, "post", "/api/alert-notifications/test",
537537
data, api_key_or_token=api_key_or_token)
538-
return response
538+
return json.loads(response.content)
539539

540540

541541
def create_folder(cmd, grafana_name, title, resource_group_name=None, api_key_or_token=None, subscription=None):

src/amg/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# TODO: Confirm this is the right version number you want and it matches your
1818
# HISTORY.rst entry.
19-
VERSION = '2.5.4'
19+
VERSION = '2.5.5'
2020

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

src/apic-extension/HISTORY.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,27 @@
33
Release History
44
===============
55

6+
1.2.0b1
7+
++++++++++++++++++
8+
9+
**New Features:**
10+
11+
* Added new command ``az apic integration create`` to manage integrations in Azure API Center.
12+
* Added ``az apic integration create apim`` to manage Azure API Management integrations as an API source.
13+
* Added ``az apic integration create aws`` to manage Amazon API Gateway as an API source.
14+
* Added new command ``az apic import aws`` to import an API from an Amazon API Gateway instance.
15+
* Added url option for ``--api-location`` parameter in ``az apic api register`` command.
16+
17+
**Updates:**
18+
19+
* Added examples for using ``@filename`` syntax in several commands' help documentations.
20+
* Improved error messages for the ``az apic api register`` command.
21+
22+
**Fixes:**
23+
24+
* Corrected the example for ``az apic update`` command.
25+
* Fixed an expired link in ``az apic api definition import-specification`` command's help documentation.
26+
627
1.1.0
728
++++++++++++++++++
829

src/apic-extension/azext_apic_extension/_help.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,8 @@
3131
text: |
3232
az apic api register -g api-center-test -n contosoeuap --api-location "examples/cli-examples/spec-examples/openai.json" --environment-id public
3333
az apic api register -g api-center-test -n contosoeuap --api-location "examples/cli-examples/spec-examples/openai.yml" --environment-id public
34+
- name: Register api by providing spec url.
35+
text: |
36+
az apic api register -g api-center-test -n contosoeuap --api-location "https://petstore.swagger.io/v2/swagger.json" --environment-id public
37+
az apic api register -g api-center-test -n contosoeuap --api-location "https://petstore.swagger.io/v2/swagger.yaml" --environment-id public
3438
"""

src/apic-extension/azext_apic_extension/aaz/latest/apic/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from .__cmd_group import *
1212
from ._create import *
1313
from ._delete import *
14+
from ._import import *
1415
from ._import_from_apim import *
1516
from ._list import *
1617
from ._show import *

0 commit comments

Comments
 (0)