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

Mock Device Extension #34

Closed
satlead opened this issue Mar 20, 2023 · 0 comments · Fixed by #238
Closed

Mock Device Extension #34

satlead opened this issue Mar 20, 2023 · 0 comments · Fixed by #238
Assignees
Labels
ci-cd Tasks associated with ci-cd efforts

Comments

@satlead
Copy link
Collaborator

satlead commented Mar 20, 2023

Create a mock device extension which should help in

  1. Running Ripple without a device
  2. Support E2E testing for Github Actions

Proposed Changes

  1. Create a package member in device/mockDevice with the FFI layer similar to distributor/general.
  2. Create a generic RippleContract for the Mock WebSocket Testing Server.
  3. Create a Request Enumeration that can support
    a. Request (with/without Params) to a result
    b. Subscribe - Where there would be a successful response for the call and emit an event with a delay(configurable)
    c. Clear Request/Subscribe
  4. Create a Processor for the above enumeration and add it as a RequestStreamProcessor for the Extension.
  5. Within the processor start a websocket based on the Config
  6. Add a example extn manifest with the mock device extension for reference
@satlead satlead self-assigned this Mar 20, 2023
@satlead satlead modified the milestones: OSCR, Unplanned Mar 20, 2023
@satlead satlead modified the milestones: Unplanned, ripple-0.4.0 Apr 6, 2023
@satlead satlead removed their assignment May 26, 2023
@satlead satlead added the enhancement New feature or request label Aug 2, 2023
@satlead satlead modified the milestones: Unplanned, ripple-0.9.0 Aug 4, 2023
@satlead satlead added ci-cd Tasks associated with ci-cd efforts and removed enhancement New feature or request labels Aug 4, 2023
@satlead satlead removed this from the ripple-0.9.0 milestone Aug 23, 2023
@satlead satlead linked a pull request Jan 8, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-cd Tasks associated with ci-cd efforts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants