Skip to content

Commit

Permalink
replace autobahn&crossbar by gRPC
Browse files Browse the repository at this point in the history
See README.grpc for more information.

Co-developed-by: Rouven Czerwinski <[email protected]>
Co-developed-by: Bastian Krause <[email protected]>
Signed-off-by: Jan Luebbe <[email protected]>
  • Loading branch information
jluebbe committed Jun 20, 2024
1 parent e5ace1a commit b17efd9
Show file tree
Hide file tree
Showing 21 changed files with 3,347 additions and 877 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/reusable-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,13 @@ jobs:
- name: Install labgrid
run: |
pip install -e ".[dev]"
- name: Install crossbar in virtualenv
run: |
virtualenv -p python3 crossbar-venv
crossbar-venv/bin/pip install -r crossbar-requirements.txt
- name: Lint with pylint
run: |
pylint --list-msgs-enabled
pylint labgrid
- name: Test with pytest
run: |
TERM=xterm pytest --cov-config .coveragerc --cov=labgrid --local-sshmanager --ssh-username runner --crossbar-venv crossbar-venv -k "not test_docker_with_daemon"
TERM=xterm pytest --cov-config .coveragerc --cov=labgrid --local-sshmanager --ssh-username runner -k "not test_docker_with_daemon"
- name: Build documentation
run: |
make -C doc clean
Expand Down
26 changes: 26 additions & 0 deletions README.grpc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Working
-------

- communication from exporter via coordinator to clients
- labgrid-client create/delete, lock/unlock, aliases, comments, tags
- labgrid-client monitor
- RemotePlace
- coordinator state persistance (places.yaml, resources.yaml)
- resource cleanup on exporter disconnect

Known Issues
------------

- reservations do not work

Next Steps
----------

[ ] add more tests
[ ] update documentation
[ ] document migration steps
[ ] update containers
[ ] implement reservation handling
[x] fix exporter shutdown on CTRL-C
[x] fix exporter restart handling
[x] fix client shutdown on CTRL-C
2 changes: 0 additions & 2 deletions crossbar-requirements.txt

This file was deleted.

11 changes: 0 additions & 11 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,17 +182,6 @@
'special-members': True,
}
autodoc_mock_imports = ['onewire',
'txaio',
'autobahn',
'autobahn.asyncio',
'autobahn.asyncio.wamp',
'autobahn.asyncio.websocket',
'autobahn.wamp',
'autobahn.wamp.types',
'autobahn.twisted',
'autobahn.twisted.wamp',
'autobahn.wamp.exception',
'twisted.internet.defer',
'gi',
'gi.repository',]

Expand Down
Loading

0 comments on commit b17efd9

Please sign in to comment.