@milaboratories/pl-client v2.10.1
Pl URL
http(s)://address:port/?...parameters...Parameters:
- alternative-root - alternative root (description will be added / ask pl team / see client initialization code)
- request-timeout - default unary request timeout
- tx-timeout - default transaction timeout
- grpc-proxy - if specified, this address will be used to route grpc traffic via proxy
- http-proxy - if specified, this address will be used to route http traffic via proxy
Example:
http(s)://address:port/alternative-root=tmproot&request-timeout=10000How to pull and build proto files
Dependencies:
protocbrew install protobuf
- you don't need
protoc-gen-js, just runnpm install protodepgo install github.com/milaboratory/protodep@v0.1.7-milabcheck that you have
${HOME}/go/bininPATH
rsync
./sync-proto.shRunning tests
Unauthenticated
PL_ADDRESS="http://127.0.0.1:6345" npm run testAuthenticated
PL_ADDRESS="http://127.0.0.1:6345" PL_TEST_USER="test-user" PL_TEST_PASSWORD="test-password" npm run testAuthentication information (token) cached in git-ignored .test_auth.json file.
FAQ
mapfile
Default bash version on MacOS is 3. mapfile apprears only from 4. To fix issue with command not found: mapfile you should install and redeclare bash:
1. install bash with brew, it will install version 5
2. ln -s $(brew --prefix)/bin/bash /usr/local/bin/bash
1 year ago
1 year ago
9 months ago
1 year ago
9 months ago
1 year ago
8 months ago
11 months ago
1 year ago
8 months ago
12 months ago
11 months ago
1 year ago
7 months ago
11 months ago
1 year ago
11 months ago
11 months ago
1 year ago
10 months ago
1 year ago
7 months ago
7 months ago
1 year ago
9 months ago
1 year ago
1 year ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago