Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement cargo collection (#16)
* Install dependencies * Use Node 12 in functional tests * Transpile TS in Docker container instead of host So we can use Node 12 * Fix syntax error in Circle CI config * Fix typo * Fix permissions after transpiling TS in functional tests * Fix args passed to `chown` * Implement stub for server * Implement server * Remove stub client used for testing * Refactor * Rename NATS subject for parcels received via PDC * Implement deliverCargo() method * Rename "relayer", "user gateway" and "relaying gateway" AwalaApp/specs#39 * Fix conding convention violation * Complete service implementation integration * Upgrade NATS streaming server * Implement function to publish messages with NATS streaming * Support streaming arrays * Prevent NATS publisher from being reused * Move NATS publisher to new class * Make NATS Streaming connection async to simplify code * Introduce method to send single NATS message * Refactor tests ahead of implementation * Migrate PoHTTP interface to NATS Streaming * Upgrade Jest and related deps * Convert stream-based implementation to iterable-based * Fix processing of invalid cargoes * Make NATS streaming publisher yield ids of published msgs * Integrate NATS Streaming in deliverCargo method * Remove plain NATS integration * Integrate NATS Streaming in gRPC service factory
- Loading branch information