Skip to content

Commit

Permalink
Merge pull request #11 from fledge-iot/2.1.0RC
Browse files Browse the repository at this point in the history
2.1.0RC
  • Loading branch information
dianomicbot authored Jan 4, 2023
2 parents c9fb7f1 + 34807d1 commit 1edd274
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 23 deletions.
4 changes: 2 additions & 2 deletions VERSION.north.azure
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
fledge_north_azure_version=2.0.1
fledge_version>=2.0
fledge_north_azure_version=2.1.0
fledge_version>=2.1
Binary file modified docs/images/azure.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ The configuration of the *Azure* plugin requires a few simple configuration para

- **Data Source**: Which Fledge data to send to Azure; Readings or Fledge Statistics.

- **Apply Filter**: This allows a simple jq format filter rule to be applied to the connection. This should not be confused with Fledge filters and exists for backward compatibility reason only.

- **Filter Rule**: A jq filter rule to apply. Since the introduction of Fledge filters in the north task this has become deprecated and should not be used.


JSON Payload
------------

Expand Down
17 changes: 1 addition & 16 deletions python/fledge/plugins/north/azure/azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,28 +52,13 @@
"options": [ "readings", "statistics" ],
'order': '3',
'displayName': 'Source'
},
"applyFilter": {
"description": "Should filter be applied before processing data",
"type": "boolean",
"default": "false",
'order': '4',
'displayName': 'Apply Filter'
},
"filterRule": {
"description": "JQ formatted filter to apply (only applicable if applyFilter is True)",
"type": "string",
"default": ".[]",
'order': '5',
'displayName': 'Filter Rule',
"validity": "applyFilter == \"true\""
}
}

def plugin_info():
return {
'name': 'azure',
'version': '2.0.1',
'version': '2.1.0',
'type': 'north',
'interface': '1.0',
'config': _DEFAULT_CONFIG
Expand Down

0 comments on commit 1edd274

Please sign in to comment.