Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add https and auth to controllertest #847

Closed

Conversation

lo-simon
Copy link
Contributor

No description provided.

jonathan-r-thorpe and others added 30 commits May 9, 2023 15:03
* Initial commit
* Added IS-12 spec to Config
* Updated specs for IS-12-01 test suite
Co-authored-by: jonathan-r-thorpe <[email protected]>
Co-authored-by: lo-simon <[email protected]>
Co-authored-by: Gareth Sylvester-Bradley <[email protected]>
* Initial commit
* Added IS-12 spec to Config
* Updated specs for IS-12-01 test suite
* Implement NCP endpoint and create WebSocket tests
* Updated API name
* Updated test definition.
* Improve control endpoint checking
* Use of compare_urls to test Control Protocol `href`
* Corrected formatting. Improved WebSocket handling
* Refactored control API checking
* Corrected failure case in test_02
* Use NMOSUtils.do_test_device_control
* Test WebSocket services and controls are as secure as HTTP endpoints
* Fix protocol bug, remove stripping of trailing slash
* Add is_message_received to WebsocketWorker
* Added IS12Utils
* Add Root Block tests
* Check Root Block and check Class Manager OID and Role
---------
Co-authored-by: lo-simon <[email protected]>
Co-authored-by: Gareth Sylvester-Bradley <[email protected]>
…pe definitions (AMWA-TV#819)

Auto validation of classes and datatypes
Testing of error conditions
Validation of device model against advertised classes and datatypes
Checking of Managers
Checking that roles are unique within a block
Checking that oids are unique

Co-authored-by: lo-simon <[email protected]>
Co-authored-by: Gareth Sylvester-Bradley <[email protected]>
[IS-04-01] Much smaller zeroconf monkey patch

(cherry picked from commit aa58b5e)
* Fixed error reporting
* Added Set user label test
* Validate touchpoints
* Validate NcTouchpointNmos or NcTouchpointNmosChannelMapping depending on contextNamespace
* Sequence command JSON helper functions
* Build device model object tree when validating device model
* Check FindMembersByRole
* Recursively check each block's role paths
* find members by role test
* Find members by class id test
* GetMemberDescriptors test
* removed protocolVersion
* GetSequenceLength test
* Subscribe to all objects and test changing all user labels
* Add Class Manager method tests
* Added illegal command handle test
* IndexOutOfBounds test. WebSocket kept open test
* Updated comments and links to specification
---------
Co-authored-by: Gareth Sylvester-Bradley <[email protected]>
Co-authored-by: Gareth Sylvester-Bradley <[email protected]>
* Specify explicit URL path for WebSocket endpoint

* Default to array, not dict

* Linting tweaks

* Handle leading slash on URL path parameter

* Update comment. Rename helper function

* Rollback tentative changes
(cherry picked from commit 4caeca4)
Libraries like python-zeroconf are starting to depend on more recent Python features

(cherry picked from commit b10ff71)
So that same one is used by Python tests and testssl.sh tests

Co-authored-by: Simon Lo <[email protected]>
(cherry picked from commit 3f10a8d)
(cherry picked from commit 796a115)
Co-authored-by: Simon Lo <[email protected]>
(cherry picked from commit 43a1f76)
Co-authored-by: jonathan-r-thorpe <[email protected]>
(cherry picked from commit 215f736)
AMWA-TV#839)

* Since jstasiak/zeroconf#666 (0.32.0) it needs a much much smaller monkeypatch to be able to advertise the overlong service type "_nmos-registration._tcp"

* Fix flake8/pycodestyle E721 do not compare types

* Bump Node 12.x to Node 16.x

* python-zeroconf 0.75.0 strict=False for _nmos-registration._tcp

* Python 3.6 (and 3.7!) is End-Of-Life, and so is Node.js 14.x
Libraries like python-zeroconf are starting to depend on more recent Python features

* Pass IP address of API under test to testssl.sh

So that same one is used by Python tests and testssl.sh tests

Co-authored-by: Simon Lo <[email protected]>

* Add MOCK_SERVICES_WARM_UP_DELAY

* Delay running tests until after MOCK_SERVICES_WARM_UP_DELAY

Co-authored-by: Simon Lo <[email protected]>

* Tweak message

Co-authored-by: jonathan-r-thorpe <[email protected]>

* Enhance test_35 (subscription and notification mechanism test) to allow interference notifications while running test

* Update IS1201Test.py

shorten line for flake8

---------

Co-authored-by: Gareth Sylvester-Bradley <[email protected]>
Co-authored-by: Gareth Sylvester-Bradley <[email protected]>
Co-authored-by: jonathan-r-thorpe <[email protected]>
jonathan-r-thorpe and others added 28 commits November 15, 2023 16:30
(cherry picked from commit 7c93b49)
(cherry picked from commit 738021f)
(cherry picked from commit ef33d0f)
@lo-simon
Copy link
Contributor Author

Should push to the IS-12 branch instead

@lo-simon lo-simon closed this Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants