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

Igor/2554/payment dev env #2572

Open
wants to merge 7 commits into
base: nitro-payments-dev
Choose a base branch
from

Conversation

ibukanov
Copy link
Collaborator

Summary

The present PR is not for merge but for reviewing the proposed dev testing environment.

Type of Change

  • Product feature
  • Bug fix
  • Performance improvement
  • Refactor
  • Other

Tested Environments

  • Development
  • Staging
  • Production

Before Requesting Review

  • Does your code build cleanly without any errors or warnings?
  • Have you used auto closing keywords?
  • Have you added tests for new functionality?
  • Have validated query efficiency for new database queries?
  • Have documented new functionality in README or in comments?
  • Have you squashed all intermediate commits?
  • Is there a clear title that explains what the PR does?
  • Have you used intuitive function, variable and other naming?
  • Have you requested security and/or privacy review if needed
  • Have you performed a self review of this PR?

Manual Test Plan

@ibukanov ibukanov changed the base branch from master to nitro-payments-dev June 17, 2024 07:46
@ibukanov ibukanov requested review from a team as code owners June 17, 2024 07:46
@ibukanov ibukanov requested review from Sneagan and removed request for a team June 17, 2024 07:47
Document the current way of testing during the development and the
proposed system.

This document will be eventually replaced by the the instructions how
to use the new system.

Issue #2554
Sync all modules accoross bat-go to use the same package version. This
was done using a temporary go.work file (not included into the commit)
containing all the modules.
@ibukanov ibukanov force-pushed the igor/2554/payment-dev-env branch 2 times, most recently from 6ad71e9 to e67499b Compare June 28, 2024 11:07
@ibukanov ibukanov requested a review from evq as a code owner July 10, 2024 10:21
Updating to the latest AWS SDK to resolve QLDB connectivity issues
outside EC2.

Synchronizing all modules to use the consistent package version
Move data related to vault unsealing to separated Unsealing struct and
decouple the relevant code from Service for simpler testing.

This also fixes races when one field is updates when another goroutine
reads its value.
Query for the table existence rather than relying on error codes from
CREATE TABLE. Those are not stable and change between QLDB client versions.
@ibukanov ibukanov force-pushed the igor/2554/payment-dev-env branch 3 times, most recently from 095cd74 to 1a97000 Compare July 24, 2024 15:40
Remove redundant httpsihgnature.NitroVerifier.
Instead consistently use nitro.NewVerifier.

Fix LookupVerifier signature. The method should return the verifier
interface, not a pointer to it.

Remove unused or constant arguments from various helper methods for
signing and verification.

For payment commands read operator key file and PCR2 from environment
variables for convenience.
chore: mocking test secretes

Pass test secretes using bin-mounted unencrypted file.

chore: working worker and own Dockerfile

Fix worker not to request TLS when connecting to redis under local
testing.

Provide own Dockerfile for local development that can also be used to
run ipython shell.

chore: ipython shell in a Docker container

Initial support for running ipython shell as a docker compose service
that connects to other services running locally.
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.

1 participant