saas-rs-sdk-0.4.9 has been yanked.
Visit the last successful build:
saas-rs-sdk-0.1.4
saas-rs-sdk
The SaaS RS SDK provides support libraries for gRPC back-ends managed by the SaaS RS CLI code generator. This includes:
- Authentication Adapters with support for a dozen identity providers
- Storage Adapters for Document, Relational, and Key Value storage systems based on BSON storage models that map to gRPC Protobuf view models
- Payment Providers for Service Broker synchronization of Services, Plans, and Service Instances with a payment provider
See the docs.saas-rs.com website for a full introduction.
Installing
$ cargo add saas-rs-sdk
Unit Testing
$ make check
Integration Testing
With MongoDB + Redis
$ export TEST_CONFIG_STORE_URL=mongodb://localhost:27017/saas-rs-sdk
$ export TEST_OBJECT_STORE_URL=mongodb://localhost:27017/saas-rs-sdk-objects
$ export TEST_SESSION_STORE_URL=redis://localhost:6379/15
$ make check
With Postgres + Redis
Run the schema generation script, then:
$ export TEST_CONFIG_STORE_URL=postgres://localhost:5432/saas_rs_sdk
$ export TEST_OBJECT_STORE_URL=file:///tmp/saas-rs-sdk-objects
$ export TEST_SESSION_STORE_URL=redis://localhost:6379/15
$ make check