| Database | Default Isolation | Financial Safety |
|---|---|---|
| PostgreSQL | READ COMMITTED | ❌ Vulnerable |
| MySQL | REPEATABLE READ | |
| Oracle | READ COMMITTED | ❌ Vulnerable |
| SQL Server | READ COMMITTED | ❌ Vulnerable |
| H2/HSQLDB | READ COMMITTED | ❌ Vulnerable |
| Database | Default Isolation | Financial Safety |
|---|---|---|
| PostgreSQL | READ COMMITTED | ❌ Vulnerable |
| MySQL | REPEATABLE READ | |
| Oracle | READ COMMITTED | ❌ Vulnerable |
| SQL Server | READ COMMITTED | ❌ Vulnerable |
| H2/HSQLDB | READ COMMITTED | ❌ Vulnerable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ./out/bin/api-mock-service -h | |
| Starts mock service | |
| Usage: | |
| api-mock-service [flags] | |
| api-mock-service [command] | |
| Available Commands: | |
| chaos Executes chaos client | |
| completion Generate the autocompletion script for the specified shell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker pull plexobject/api-mock-service:latest | |
| docker run -p 8000:8080 -p 8081:8081 -e HTTP_PORT=8080 PROXY_PORT=8081 -e DATA_DIR=/tmp/mocks \ | |
| -e ASSET_DIR=/tmp/assets plexobject/api-mock-service:latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -H "Content-Type: application/yaml" --data-binary @fixtures/lines.txt \ | |
| http://localhost:8080/_fixtures/GET/lines.txt/devices | |
| curl -v -H "Content-Type: application/yaml" --data-binary @fixtures/props.yaml \ | |
| http://localhost:8080/_fixtures/GET/props.yaml/devices |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { "Devices": [ | |
| { | |
| "Udid": "fe49b338-4593-43c9-b1e9-67581d000000", | |
| "Line": { "ApplicationName": "Chase", "Version": "3.80", "ApplicationIdentifier": "com.chase.sig.android", "Type": "Public", "IsManaged": false }, | |
| "Amount": {"currency":"$","value":100}, | |
| "SerialNumber": "47c2d7c3-c930-4194-b560-f7b89b33bc2a", | |
| "MacAddress": "1e015eac-68d2-42ee-9e8f-73fb80958019", | |
| "Imei": "5f8cae1b-c5e3-4234-a238-1c38d296f73a", | |
| "AssetNumber": "9z0CZSA03ZbUNiQw2aiF", | |
| "LocationGroupId": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "Amount": {{JSONFileProperty "props.yaml" "amount"}}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "Amount": {{JSONFileProperty "props.yaml" "amount"}}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > GET /v1/customers/123/cash_balance?page=2&pageSize=55 HTTP/1.1 | |
| > Host: localhost:8080 | |
| > User-Agent: curl/7.65.2 | |
| > Accept: */* | |
| > Authorization: Bearer sk_test_0123456789 | |
| > | |
| * Mark bundle as not supporting multiuse | |
| < HTTP/1.1 500 Internal Server Error | |
| < Content-Type: application/json | |
| < X-Mock-Request-Count: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: UpdateAuthTokenPromotion-xx | |
| path: /v1/AuthTokens/Promote | |
| description: Promote the secondary Auth Token to primary. After promoting the new token, all requests to Twilio using your old primary Auth Token will result in an error. | |
| request: | |
| match_query_params: {} | |
| match_headers: {} | |
| match_content_type: "" | |
| match_contents: "" | |
| example_path_params: {} | |
| example_query_params: {} |
NewerOlder