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

feat: dummypay connector #43

Merged
merged 12 commits into from
Sep 27, 2022
Merged

feat: dummypay connector #43

merged 12 commits into from
Sep 27, 2022

Conversation

darkmatterpool
Copy link
Contributor

This introduces a dummypay that can be used for testing the system end-to-end. It periodically generates the -in and -out payments that simulate a real connector's load or 'conditions'.

Signed-off-by: Lawrence Zawila <113581282+darkmatterpool@users.noreply.github.com>
Signed-off-by: Lawrence Zawila <113581282+darkmatterpool@users.noreply.github.com>
Signed-off-by: Lawrence Zawila <113581282+darkmatterpool@users.noreply.github.com>
@darkmatterpool darkmatterpool self-assigned this Sep 25, 2022
@darkmatterpool darkmatterpool marked this pull request as draft September 25, 2022 14:33
@codecov
Copy link

codecov bot commented Sep 25, 2022

Codecov Report

❗ No coverage uploaded for pull request base (main@1963c75). Click here to learn what that means.
The diff coverage is 66.54%.

@@           Coverage Diff           @@
##             main      #43   +/-   ##
=======================================
  Coverage        ?   32.23%           
=======================================
  Files           ?       49           
  Lines           ?     2733           
  Branches        ?        0           
=======================================
  Hits            ?      881           
  Misses          ?     1767           
  Partials        ?       85           
Impacted Files Coverage Δ
cmd/server.go 0.00% <ø> (ø)
pkg/bridge/integration/loader.go 79.41% <0.00%> (ø)
pkg/bridge/connectors/dummypay/task_read_files.go 41.66% <41.66%> (ø)
pkg/bridge/connectors/dummypay/remove_files.go 42.85% <42.85%> (ø)
pkg/bridge/connectors/dummypay/task_ingest.go 48.78% <48.78%> (ø)
pkg/bridge/connectors/dummypay/connector.go 67.85% <67.85%> (ø)
pkg/bridge/connectors/dummypay/task_descriptor.go 72.72% <72.72%> (ø)
...g/bridge/connectors/dummypay/task_generate_file.go 74.00% <74.00%> (ø)
pkg/bridge/connectors/dummypay/config.go 100.00% <100.00%> (ø)
pkg/bridge/connectors/dummypay/fs.go 100.00% <100.00%> (ø)
... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Signed-off-by: Lawrence Zawila <113581282+darkmatterpool@users.noreply.github.com>
Signed-off-by: Lawrence Zawila <113581282+darkmatterpool@users.noreply.github.com>
@darkmatterpool darkmatterpool marked this pull request as ready for review September 25, 2022 17:05
@flemzord flemzord requested review from gfyrag, flemzord and a team September 25, 2022 20:14
gfyrag
gfyrag previously approved these changes Sep 26, 2022
Signed-off-by: Lawrence Zawila <113581282+darkmatterpool@users.noreply.github.com>
Signed-off-by: Lawrence Zawila <113581282+darkmatterpool@users.noreply.github.com>
gfyrag
gfyrag previously approved these changes Sep 26, 2022
flemzord
flemzord previously approved these changes Sep 26, 2022
antoinegelloz
antoinegelloz previously approved these changes Sep 26, 2022
Copy link
Contributor

@antoinegelloz antoinegelloz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm :)

pkg/bridge/connectors/dummypay/connector_test.go Outdated Show resolved Hide resolved
jdupas22
jdupas22 previously approved these changes Sep 26, 2022
Signed-off-by: Lawrence Zawila <113581282+darkmatterpool@users.noreply.github.com>
antoinegelloz
antoinegelloz previously approved these changes Sep 26, 2022
flemzord
flemzord previously approved these changes Sep 26, 2022
jdupas22
jdupas22 previously approved these changes Sep 26, 2022
Signed-off-by: Lawrence Zawila <113581282+darkmatterpool@users.noreply.github.com>
@darkmatterpool darkmatterpool merged commit 63be834 into main Sep 27, 2022
@darkmatterpool darkmatterpool deleted the feat/connector-dummypay branch September 27, 2022 10:35
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.

5 participants