Skip to content

Commit

Permalink
Packaging, doc for logic 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel committed Aug 30, 2016
1 parent 8ad92cf commit 62389d3
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 21 deletions.
8 changes: 4 additions & 4 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ The following packages have the same content than RC5, but with MIT licence as h
- azure-mgmt-cognitiveservices 0.30.0rc6
- azure-mgmt-commerce 0.30.0rc6
- azure-mgmt-dns 0.30.0rc6
- azure-mgmt-logic 0.30.0rc6
- azure-mgmt-notificationhubs 0.30.0rc6
- azure-mgmt-powerbiembedded 0.30.0rc6
- azure-mgmt-scheduler 0.30.0rc6
Expand All @@ -24,17 +23,18 @@ The following packages have the same content than RC5, but with MIT licence as h
**Breaking changes**

- azure-mgmt-storage 0.30.0rc6: fix usage list syntax (https://github.com/Azure/azure-rest-api-specs/issues/340)
- azure-mgmt-logic 1.0.0: New API Version implies several changes to catch up latest Azure Portal behaviour.

Some values that are constants and were incorrectly suggested as method parameter have been removed:

- azure-mgmt-compute 0.30.0rc6: api_version is now an attribute and not a method parameter (#697)
- azure-mgmt-cdn 0.30.0rc6: check_name_availability has no more a type attribute
- azure-mgmt-cdn 0.30.0rc6: check_name_availability has no more a type parameter
- azure-mgmt-keyvault 0.30.0rc6: Sku has no more a family parameter (#733)

**New and bugfixes**

- azure-mgmt-resource 0.30.0rc6: Property aliases support + Doc typo
- azure-mgmt-network 0.30.0rc6: `check_ip_address_availability` and more + Doc typo
- azure-mgmt-keyvault 0.30.0rc6: fix required parameters (#733)
- azure-graphrbac 0.30.0rc6: latest API Version
- azure-mgmt-redis 1.0.0: official stable release (same content than 0.30.0RC5)

Expand All @@ -59,6 +59,7 @@ The azure 2.0.0rc6 package contains the following Azure packages:
- azure-batch 1.0.0
- azure-mgmt-batch 1.0.0
- azure-mgmt-redis 1.0.0
- azure-mgmt-logic 1.0.0
- azure-servicebus 0.20.3
- azure-servicemanagement-legacy 0.20.4
- azure-storage 0.33.0
Expand All @@ -73,7 +74,6 @@ listed before.
- azure-mgmt-cognitiveservices 0.30.0rc6
- azure-mgmt-commerce 0.30.0rc6
- azure-mgmt-dns 0.30.0rc6
- azure-mgmt-logic 0.30.0rc6
- azure-mgmt-notificationhubs 0.30.0rc6
- azure-mgmt-powerbiembedded 0.30.0rc6
- azure-mgmt-redis 0.30.0rc6
Expand Down
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,17 @@ The following packages are still labeled "preview" but can be considered "stable
- azure-mgmt-compute 0.30.0rc6
- azure-mgmt-network 0.30.0rc6
- azure-mgmt-storage 0.30.0rc6
- azure-mgmt-keyvault 0.30.0rc6

The following packages are already released as "stable" and are officially production ready:

- azure-batch 1.0.0
- azure-mgmt-batch 1.0.0
- azure-mgmt-redis 1.0.0
- azure-mgmt-logic 1.0.0
- azure-servicebus 0.20.3
- azure-servicemanagement-legacy 0.20.4
- azure-storage 0.33.0

All other packages are real "preview" packages. Please send us your feedback!

Expand Down
9 changes: 9 additions & 0 deletions azure-mgmt-logic/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.. :changelog:
Release History
===============

1.0.0 (2016-08-30)
++++++++++++++++++

* Initial Release (API Version 2016-06-01)
8 changes: 1 addition & 7 deletions azure-mgmt-logic/README.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
Microsoft Azure SDK for Python
==============================

This is the Microsoft Azure Logic Apps Resource Management Client Library.

Azure Resource Manager (ARM) is the next generation of management APIs that
replace the old Azure Service Management (ASM).
This is the Microsoft Azure LogicApps Management Client Library.

This package has been tested with Python 2.7, 3.3, 3.4 and 3.5.

For the older Azure Service Management (ASM) libraries, see
`azure-servicemanagement-legacy <https://pypi.python.org/pypi/azure-servicemanagement-legacy>`__ library.

For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.


Expand Down
7 changes: 6 additions & 1 deletion azure-mgmt-logic/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,16 @@
if not version:
raise RuntimeError('Cannot find version information')

with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
with open('HISTORY.rst', 'r', 'utf-8') as f:
history = f.read()

setup(
name='azure-mgmt-logic',
version=version,
description='Microsoft Azure Logic Apps Resource Management Client Library for Python',
long_description=open('README.rst', 'r').read(),
long_description=readme + '\n\n' + history,
license='MIT License',
author='Microsoft Corporation',
author_email='ptvshelp@microsoft.com',
Expand Down
1 change: 1 addition & 0 deletions azure.pyproj
Original file line number Diff line number Diff line change
Expand Up @@ -1563,6 +1563,7 @@
<Content Include="azure-mgmt-keyvault\MANIFEST.in" />
<Content Include="azure-mgmt-keyvault\README.rst" />
<Content Include="azure-mgmt-keyvault\setup.cfg" />
<Content Include="azure-mgmt-logic\HISTORY.rst" />
<Content Include="azure-mgmt-logic\MANIFEST.in" />
<Content Include="azure-mgmt-logic\README.rst" />
<Content Include="azure-mgmt-logic\setup.cfg" />
Expand Down
12 changes: 3 additions & 9 deletions doc/resourcemanagementapps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ To create or manage resource groups, see :doc:`Resource Management<resourcemanag
Create a Logic App Workflow
---------------------------

The following code creates a logic app workflow under an existing app service plan.
The following code creates a logic app workflow.

.. code:: python
from azure.mgmt.logic.models import Workflow, Sku, ResourceReference
from azure.mgmt.logic.models import Workflow
group_name = 'myresourcegroup'
workflow_name = '12HourHeartBeat'
Expand All @@ -99,14 +99,8 @@ The following code creates a logic app workflow under an existing app service pl
workflow_name,
Workflow(
location = 'West US',
sku = Sku(
name = 'Free',
plan = ResourceReference(
id = app_service_plan.id
)
),
definition={
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2015-08-01-preview/workflowdefinition.json#",
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"triggers": {},
Expand Down

0 comments on commit 62389d3

Please sign in to comment.