/
D2IR Mock Server Deployment in Rancher
D2IR Mock Server Deployment in Rancher
- Mock server detailed documentation : https://www.mock-server.com/
- To deploy mock server in rancher, create a new workload (https://docs.ranchermanager.rancher.io/how-to-guides/new-user-guides/kubernetes-resources-setup/workloads-and-pods/deploy-workloads), run docker image mockserver/mockserver.
- Pass environment variables:
MOCKSERVER_WATCH_INITIALIZATION_JSON=true MOCKSERVER_INITIALIZATION_JSON_PATH=/path-to/mockserverInitialization.json MOCKSERVER_PERSIST_EXPECTATIONS=true MOCKSERVER_PERSISTED_EXPECTATIONS_PATH=/path-to/mockserverInitialization.json
mockserverInitialization.json is the config file where expected requests and their responses are defined. You need to keep this config file persisted and load the path of this config file in environment variables.
- Mock server URL : https://folio-dev-volaris-mock-server.ci.folio.org
- Mock server dashboard URL : https://folio-dev-volaris-mock-server.ci.folio.org/mockserver/dashboard
, multiple selections available,
Related content
How to test data migration performance on Rancher
How to test data migration performance on Rancher
More like this
Installing local module in rancher
Installing local module in rancher
More like this
Telepresence on Rancher
Telepresence on Rancher
More like this
2018 Q4 Folio on Rancher 2.0
2018 Q4 Folio on Rancher 2.0
More like this
SPIKE [FAT-1635] mod-inn-reach: Using Inn-Reach sandbox environment and (or) mock server in integration tests
SPIKE [FAT-1635] mod-inn-reach: Using Inn-Reach sandbox environment and (or) mock server in integration tests
More like this
D2IR Record Contribution flow
D2IR Record Contribution flow
Read with this