Skip to content

mojaloop/security-rbac-tests

Repository files navigation

security-rbac-tests

A collection of test cases to test Role Based Access Control (RBAC) feature in mojaloop

Run tests locally

  1. Connect to any required VPN

  2. Set the relevant kubeconfig. This is only required for the port-forward, not for the tests themselves.

export KUBECONFIG=/path/to/relevant/kube/config.yaml
  1. Port-forward the role assignment service
kubectl port-forward -n mojaloop deploy/bof-role-assignment-service 3008
  1. Change to the test directory
cd tests/rbac
  1. Install dependencies
npm ci
  1. Run tests:
npm t

Config

Configured via shell environment. See config.ts.

About

A collection of test cases to test Role Based Access Control (RBAC) feature in mojaloop business operations framework

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors