Skip to content

Commit

Permalink
Apply tweaks for 0.8.0
Browse files Browse the repository at this point in the history
* +is_preview for relevant commands
* Py2.7 support for test_iot_pnp_int
* +HISTORY.rst content
  • Loading branch information
digimaun committed Aug 13, 2019
1 parent f2f2781 commit 9f91fcb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions HISTORY.rst
Expand Up @@ -3,6 +3,10 @@
Release History
===============

0.8.0
+++++++++++++++
* Added Azure IoT Plug & Play public preview functionality

0.7.1
+++++++++++++++
* Added support for distribution tracing commands.
Expand Down
8 changes: 4 additions & 4 deletions azext_iot/commands.py
Expand Up @@ -74,7 +74,7 @@ def load_command_table(self, _):
cmd_group.generic_update_command('update', getter_name='iot_hub_configuration_show',
setter_name='iot_hub_configuration_update')

with self.command_group('iot hub distributed-tracing', command_type=iothub_ops) as cmd_group:
with self.command_group('iot hub distributed-tracing', command_type=iothub_ops, is_preview=True) as cmd_group:
cmd_group.command('show', 'iot_hub_distributed_tracing_show')
cmd_group.command('update', 'iot_hub_distributed_tracing_update')

Expand Down Expand Up @@ -121,23 +121,23 @@ def load_command_table(self, _):
cmd_group.command('show', 'iot_dps_registration_get')
cmd_group.command('delete', 'iot_dps_registration_delete')

with self.command_group('iot dt', command_type=iotdigitaltwin_ops) as cmd_group:
with self.command_group('iot dt', command_type=iotdigitaltwin_ops, is_preview=True) as cmd_group:
cmd_group.command('list-interfaces', 'iot_digitaltwin_interface_list')
cmd_group.command('list-properties', 'iot_digitaltwin_properties_list')
cmd_group.command('update-property', 'iot_digitaltwin_property_update')
cmd_group.command('invoke-command', 'iot_digitaltwin_invoke_command')
cmd_group.command('monitor-events', 'iot_digitaltwin_monitor_events')
cmd_group.command('list-commands', 'iot_digitaltwin_command_list')

with self.command_group('iot pnp interface', command_type=iotpnp_ops) as cmd_group:
with self.command_group('iot pnp interface', command_type=iotpnp_ops, is_preview=True) as cmd_group:
cmd_group.command('show', 'iot_pnp_interface_show')
cmd_group.command('list', 'iot_pnp_interface_list')
cmd_group.command('create', 'iot_pnp_interface_create')
cmd_group.command('publish', 'iot_pnp_interface_publish')
cmd_group.command('delete', 'iot_pnp_interface_delete')
cmd_group.command('update', 'iot_pnp_interface_update')

with self.command_group('iot pnp capability-model', command_type=iotpnp_ops) as cmd_group:
with self.command_group('iot pnp capability-model', command_type=iotpnp_ops, is_preview=True) as cmd_group:
cmd_group.command('show', 'iot_pnp_model_show')
cmd_group.command('list', 'iot_pnp_model_list')
cmd_group.command('create', 'iot_pnp_model_create')
Expand Down
1 change: 1 addition & 0 deletions azext_iot/tests/test_iot_pnp_int.py
Expand Up @@ -9,6 +9,7 @@
import os
import sys

from io import open
from os.path import exists
from uuid import uuid4
from azure.cli.testsdk import LiveScenarioTest
Expand Down

0 comments on commit 9f91fcb

Please sign in to comment.