Skip to content

Commit

Permalink
Remove update-manager documents from the website (#274)
Browse files Browse the repository at this point in the history
[#273] Remove update-manager documents from the website

* Revert "Format tables in the update manager-how-to guide (#272)"
This reverts commit 0377534.

* Revert "Prepare concept documentation page for the Update Manager (#240)"
This reverts commit a044671.

* Revert "[#260] Added the flag to the container configuration. (#261)"
This reverts commit 51ebf3c.

* Revert "Prepare How-To Guide documentation page for performing an OTA update via the Update Manager (#264)"
This reverts commit 5c7dd67.

* Revert "[#265] Update Container Manager reference guide (#266)"
This reverts commit b956c60.

* Revert "Prepare update manager config page (#269)"
This reverts commit 4b2842d.
  • Loading branch information
k-gostev authored Sep 1, 2023
1 parent 0377534 commit 2d80576
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 591 deletions.
2 changes: 1 addition & 1 deletion quickstart/hono_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def on_message(self, event):
print('[got response]')
response = json.loads(event.message.body)
print(json.dumps(response, indent=2))
if 200 <= response["status"] <= 299:
if response["status"] == 204:
print('[ok]', command)
else:
print('[error]')
Expand Down
237 changes: 0 additions & 237 deletions quickstart/hono_commands_um.py

This file was deleted.

18 changes: 5 additions & 13 deletions quickstart/hono_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,16 @@ def on_start(self, event):
print('[connected]')

def on_message(self, event):
print('[event received]')
if event.message.body is not None:
body = json.loads(event.message.body)
if topic_filter != "" and topic_filter != body['topic']:
return
print('[event received]')
print(json.dumps(body, indent=2))
print(json.dumps(json.loads(event.message.body), indent=2))
else:
print('[empty event received]')
print('<empty>')


# Parse command line args
options, reminder = getopt.getopt(sys.argv[1:], 't:f:')
opts_dict = dict(options)
tenant_id = os.environ.get("TENANT") or opts_dict['-t']
if '-f' in opts_dict:
topic_filter = opts_dict['-f']
else:
topic_filter = ""
options, reminder = getopt.getopt(sys.argv[1:], 't:')
tenant_id = os.environ.get("TENANT") or dict(options)['-t']

uri = 'amqps://hono.eclipseprojects.io:15671'
address = 'event/{}'.format(tenant_id)
Expand Down
35 changes: 0 additions & 35 deletions web/site/content/docs/concepts/update-manager.md

This file was deleted.

3 changes: 1 addition & 2 deletions web/site/content/docs/getting-started/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ container-management.service \
software-update.service \
file-upload.service \
file-backup.service \
system-metrics.service \
kanto-update-manager.service
system-metrics.service
```

All listed services must be in an active running state.
Expand Down
Loading

0 comments on commit 2d80576

Please sign in to comment.