From 0e618f50ba2a21a9696f63c6532cce28d1f6eb1e Mon Sep 17 00:00:00 2001 From: Shriroop Date: Thu, 1 Jul 2021 03:19:53 -0700 Subject: [PATCH 1/2] Change dnc extension mode Change dnc extension mode from experimental to preview --- src/dnc/azext_dnc/azext_metadata.json | 2 +- src/dnc/azext_dnc/generated/commands.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dnc/azext_dnc/azext_metadata.json b/src/dnc/azext_dnc/azext_metadata.json index cfc30c747c7..305b5b71d44 100644 --- a/src/dnc/azext_dnc/azext_metadata.json +++ b/src/dnc/azext_dnc/azext_metadata.json @@ -1,4 +1,4 @@ { - "azext.isExperimental": true, + "azext.isExperimental": false, "azext.minCliCoreVersion": "2.15.0" } \ No newline at end of file diff --git a/src/dnc/azext_dnc/generated/commands.py b/src/dnc/azext_dnc/generated/commands.py index 2784ab57041..3d264130e09 100644 --- a/src/dnc/azext_dnc/generated/commands.py +++ b/src/dnc/azext_dnc/generated/commands.py @@ -60,5 +60,5 @@ def load_command_table(self, _): g.custom_command('delete', 'dnc_delegated_subnet_service_delete', supports_no_wait=True, confirmation=True) g.custom_wait_command('wait', 'dnc_delegated_subnet_service_show') - with self.command_group('dnc', is_experimental=True): + with self.command_group('dnc', is_experimental=False): pass From 91ee55367212d4d117b13881613a42c3a7f7a817 Mon Sep 17 00:00:00 2001 From: Shriroop Date: Thu, 1 Jul 2021 21:22:45 -0700 Subject: [PATCH 2/2] Update dnc extension version * Update extension version in history and setup.py * Change is_preview to true --- src/dnc/HISTORY.rst | 4 ++++ src/dnc/azext_dnc/azext_metadata.json | 2 +- src/dnc/azext_dnc/generated/commands.py | 2 +- src/dnc/setup.py | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/dnc/HISTORY.rst b/src/dnc/HISTORY.rst index 1c139576ba0..0942adbdddd 100644 --- a/src/dnc/HISTORY.rst +++ b/src/dnc/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +0.1.1 +++++++ +* Updated extension-mode to preview + 0.1.0 ++++++ * Initial release. diff --git a/src/dnc/azext_dnc/azext_metadata.json b/src/dnc/azext_dnc/azext_metadata.json index 305b5b71d44..30fdaf614ee 100644 --- a/src/dnc/azext_dnc/azext_metadata.json +++ b/src/dnc/azext_dnc/azext_metadata.json @@ -1,4 +1,4 @@ { - "azext.isExperimental": false, + "azext.isPreview": true, "azext.minCliCoreVersion": "2.15.0" } \ No newline at end of file diff --git a/src/dnc/azext_dnc/generated/commands.py b/src/dnc/azext_dnc/generated/commands.py index 3d264130e09..61ad2fba0ad 100644 --- a/src/dnc/azext_dnc/generated/commands.py +++ b/src/dnc/azext_dnc/generated/commands.py @@ -60,5 +60,5 @@ def load_command_table(self, _): g.custom_command('delete', 'dnc_delegated_subnet_service_delete', supports_no_wait=True, confirmation=True) g.custom_wait_command('wait', 'dnc_delegated_subnet_service_show') - with self.command_group('dnc', is_experimental=False): + with self.command_group('dnc', is_preview=True): pass diff --git a/src/dnc/setup.py b/src/dnc/setup.py index 71d89822c42..ec960229622 100644 --- a/src/dnc/setup.py +++ b/src/dnc/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # HISTORY.rst entry. -VERSION = '0.1.0' +VERSION = '0.1.1' try: from azext_dnc.manual.version import VERSION except ImportError: