Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/systemaccounting/mxfactorial/services/trans-query-account-faas

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/systemaccounting/mxfactorial/services/trans-query-account-faas

  • v0.0.0-20210506204838-b0ed7c495fb7
  • Source
  • Go
  • Socket score

Version published
Created
Source

systemaccounting

app name

trans-query-account-faas

description

  1. receives lambda invoke from graphql resolver
  2. queries transactions in postgres by account
  3. responds with transactions to graphql resolver

development

  1. save creds in ~/.aws/credentials to access lambda and postgres
  2. set desired values for TEST_ACCOUNT, TEST_TRANSACTION_ID, TEST_EVENT and TEST_SENDER_ACCOUNT variables in ./makefile
  3. make test-local to get postgres creds from secrets manager, then run code locally

testing

  1. make test-unit for unit tests
  2. make test-cover to measure unit test coverage
  3. complete steps 1 & 2 in development section above to prep for integration tests
  4. make deploy ENV=dev to manually deploy to dev env
  5. make test-integration ENV=dev to set up data in postgres, test lambda, then tear down data in dev env

deploy

push commit OR make deploy ENV=dev to manually deploy to dev env

config

see infrastructure/terraform/aws/modules/environment/trans-query-account-faas.tf lambda environment variables

FAQs

Package last updated on 06 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc