text stringlengths 70 351k | source stringclasses 4
values |
|---|---|
<|meta_start|><|file|> hyperswitch/postman/collection-dir/hyperswitch/API Key/Update API Key/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{admin_api_key}}",
"type": "string"
},
{
"key": "key",... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/hyperswitch/API Key/Retrieve API Key/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{admin_api_key}}",
"type": "string"
},
{
"key": "key... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/hyperswitch/Hackathon/Happy Cases/Scenario14-BNPL-affirm/Payments - Confirm/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
"type": "str... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/hyperswitch/Hackathon/Happy Cases/Scenario12-BNPL-klarna/Payments - Create/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/hyperswitch/Hackathon/Happy Cases/Scenario12-BNPL-klarna/Payments - Confirm/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
"type": "str... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/hyperswitch/Hackathon/Happy Cases/Scenario3-Create payment without PMD/Payments - Create/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": ... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/hyperswitch/Hackathon/Happy Cases/Scenario19-Bank Transfer-ach Copy 2/Payments - Create/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/hyperswitch/Hackathon/Happy Cases/Scenario19-Bank Transfer-ach Copy 2/Payments - Confirm/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/hyperswitch/Hackathon/Happy Cases/Scenario11-Refund recurring payment/Recurring Payments - Create/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/hyperswitch/Hackathon/Happy Cases/Scenario13-BNPL-afterpay/Payments - Confirm/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
"type": "s... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/hyperswitch/Hackathon/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Recurring Payments - Create/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "ap... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/hyperswitch/Refunds/Refunds - Update/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/bambora/.info.json<|crate|> postman<|meta_end|>
{
"info": {
"_postman_id": "383637a0-a39c-4048-a123-25116335c713",
"name": "bambora",
"description": "## Get started\n\nJuspay Router provides a collection of APIs that enable you to process and manag... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/bambora/Flow Testcases/Happy Cases/Scenario10-Partial refund/Refunds - Create-copy/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accep... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/bambora/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/multisafepay/.info.json<|crate|> postman<|meta_end|>
{
"info": {
"_postman_id": "f2bb578b-9c64-4826-94bd-324278f3b8b9",
"name": "multisafepay",
"description": "## Get started\n\nJuspay Router provides a collection of APIs that enable you to process... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/multisafepay/Flow Testcases/Happy Cases/Scenario1-Create payment without PMD/Payments - Create/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/.info.json<|crate|> postman<|meta_end|>
{
"info": {
"_postman_id": "a553df38-fa33-4522-b029-1cd32821730e",
"name": "Stripe Postman Collection",
"description": "## Get started\n\nJuspay Router provides a collection of APIs that enable you to ... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Customers/List Customer/request.json<|crate|> postman<|meta_end|>
{
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/customers/list",
"host": [
"{{baseU... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/PaymentConnectors/List Connectors by MID/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{api_key}}",
"type": "string"
},
{
"key":... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/PaymentConnectors/Payment Connector - Retrieve/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{api_key}}",
"type": "string"
},
{
... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/PaymentMethods/PaymentMethods - Create/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario14-BNPL-affirm/Payments - Confirm/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
"type": "str... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario15-Bank Redirect-Ideal/Payments - Confirm/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
"typ... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario18-Bank Transfer-ach/Payments - Create/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept"... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario18-Bank Transfer-ach/Payments - Confirm/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
"type"... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario27-Confirm a payment with requires_customer_action status/Payments - Confirm/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": ... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario31-Ensure API Contract for Payment Method Data/Payments - Card Payment Method Invalid Expiry year/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"va... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario31-Ensure API Contract for Payment Method Data/Payments - Card Payment Method Invalid Card Number/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"va... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario31-Ensure API Contract for Payment Method Data/Payments - Card Payment Method Invalid Expiry month/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"v... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario31-Ensure API Contract for Payment Method Data/Payments - Card Payment Method Success/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "appli... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario31-Ensure API Contract for Payment Method Data/Payments - Card Payment Method Invalid Card CVC/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario31-Ensure API Contract for Payment Method Data/Payments - Reward Payment Method/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario29-Update payment with payment method billing/Payments - Create/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario29-Update payment with payment method billing/Payments - Update/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/Payments - Confirm/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
"ty... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario21- Update address and List Payment method/List Payment Methods for a Merchant-copy/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"v... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario21- Update address and List Payment method/Payments - Update/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario22- Update Amount/Payments - Update/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario17-Bank Redirect-eps/Payments - Confirm/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
"type"... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario13-BNPL-afterpay/Payments - Confirm/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
"type": "s... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario32-Check is payment checks are populated/Payments - cvv check fails/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario32-Check is payment checks are populated/Payments - postal code check fail/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario32-Check is payment checks are populated/Payments - successful payment with billing/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "applica... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario32-Check is payment checks are populated/Payments - payment check populated for successful payment without billing/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario20-Wallet-Wechatpay/Payments - Create/request.json<|crate|> postman<|meta_end|>
{
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",... | ast_fragments |
<|meta_start|><|file|> hyperswitch/postman/collection-dir/stripe/Flow Testcases/Happy Cases/Scenario20-Wallet-Wechatpay/Payments - Confirm/request.json<|crate|> postman<|meta_end|>
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
"type":... | ast_fragments |
<|meta_start|><|file|> hyperswitch/.devcontainer/devcontainer.json<|crate|> .devcontainer<|meta_end|>
{
"name": "Existing Dockerfile",
"build": {
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
// Update the 'dockerFile' property if you aren't using the stan... | ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[log.telemetry]
traces_enabled = true
metrics_enabled = true
ignore_errors = false
| ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[master_database]
username = "postgres"
password = "postgres"
host = "db"
port = 5432
dbname = "loadtest_router"
pool_size = 20
connection_timeout = 10
| ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[server]
host = "0.0.0.0"
| ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[secrets]
admin_api_key = "test_admin"
jwt_secret = "secret"
| ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[user]
password_validity_in_days = 90
two_factor_auth_expiry_in_secs = 300
totp_issuer_name = "Hyperswitch"
force_two_factor_auth = false
force_cookies = true
| ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[pm_filters.adyen]
boleto = { country = "BR", currency = "BRL" }
sofort = { country = "AT,BE,DE,ES,CH,NL", currency = "CHF,EUR" }
paypal = { country = "AU,NZ,CN,JP,HK,MY,TH,KR,PH,ID,AE,KW,BR,ES,GB,SE,NO,SK,AT,NL,DE,HU,CY,LU,CH,BE,FR,DK,FI,RO,HR,UA,M... | ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[pm_filters.shift4]
eps = { country = "AT", currency = "EUR" }
giropay = { country = "DE", currency = "EUR" }
ideal = { country = "NL", currency = "EUR" }
sofort = { country = "AT,BE,CH,DE,ES,FI,FR,GB,IT,NL,PL,SE", currency = "CHF,EUR" }
credit = { ... | ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[tokenization]
stripe = { long_lived_token = false, payment_method = "wallet", payment_method_type = { type = "disable_only", list = "google_pay" } }
checkout = { long_lived_token = false, payment_method = "wallet", apple_pay_pre_decrypt_flow = "net... | ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[connector_customer]
connector_list = "gocardless,stax,stripe"
payout_connector_list = "nomupay,wise"
| ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[cors]
max_age = 30
origins = "http://localhost:8080"
allowed_methods = "GET,POST,PUT,DELETE"
wildcard_origin = false
| ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[analytics.sqlx]
username = "db_user"
password = "db_pass"
host = "localhost"
port = 5432
dbname = "hyperswitch_db"
pool_size = 5
connection_timeout = 10
| ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[kv_config]
ttl = 300 # 5 * 60 seconds
| ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[connector_onboarding.paypal]
client_id = ""
client_secret = ""
partner_id = ""
| ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[multitenancy]
enabled = false
global_tenant = { tenant_id = "global", schema = "public", redis_key_prefix = "" }
| ast_fragments |
# file: hyperswitch/loadtest/config/development.toml | crate: loadtest
[temp_locker_enable_config]
paybox = { payment_method = "card" }
redsys = { payment_method = "card" }
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/health.js | crate: loadtest
import http from "k6/http";
import { sleep, check } from "k6";
import { Counter } from "k6/metrics";
import { readBaseline, storeResult } from "./helper/compare-result.js";
function handleSummary(data) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/rps.js | crate: loadtest
import { group } from 'k6';
import { Counter } from "k6/metrics";
import { readBaseline, storeResult } from "./helper/compare-result.js";
import { setup_merchant_apikey } from "./helper/setup.js";
import paymentCreateAndConfirmFunc from './payment... | ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function generateJUnitXML(data, options) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function generateTextSummary(data, options) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function humanizeGenericDuration(duration) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function summarizeCheck(indent, check, decorate) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function strWidth(s) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function escapeHTML(str) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function nonTrendMetricValueForSum(metric, timeUnit) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function humanizeValue(val, metric, timeUnit) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function humanizeDuration(duration, timeUnit) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function toFixedNoTrailingZerosTrunc(val, prec) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function toFixedNoTrailingZeros(val, prec) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function humanizeBytes(bytes) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function indentForMetric(name) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function displayNameForMetric(name) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function summarizeGroup(indent, group, decorate) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/k6-summary.js | crate: loadtest
function summarizeMetrics(options, data, decorate) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/misc.js | crate: loadtest
function random_string() {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/compare-result.js | crate: loadtest
import { textSummary } from "./k6-summary.js";
function storeResult(scenario, baseline, data) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/compare-result.js | crate: loadtest
import { textSummary } from "./k6-summary.js";
function readBaseline(scenario) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/compare-result.js | crate: loadtest
import { textSummary } from "./k6-summary.js";
function compareResult(baseline, data) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/compare-result.js | crate: loadtest
import { textSummary } from "./k6-summary.js";
function buildResult(baseline, data) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/compare-result.js | crate: loadtest
import { textSummary } from "./k6-summary.js";
function compute(baseline, result) {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
<|fim_prefix|>
// file: hyperswitch/loadtest/k6/helper/setup.js | crate: loadtest
import http from "k6/http";
import { check } from "k6";
function setup_merchant_apikey() {
<|fim_suffix|>
<|fim_middle|>
}
| ast_fragments |
# file: hyperswitch/.github/git-cliff-changelog.toml | crate: .github
[changelog]
# changelog header
header = """
# Changelog\n
All notable changes to HyperSwitch will be documented here.\n
"""
# template for the changelog body
# https://tera.netlify.app/docs/#introduction
body = """
{% set newline = "\n" -%}
{% set co... | ast_fragments |
# file: hyperswitch/.github/git-cliff-changelog.toml | crate: .github
[git]
# parse the commits based on https://www.conventionalcommits.org
conventional_commits = true
# filter out the commits that are not conventional
filter_unconventional = false
# process each line of a commit as an individual commit
split_commits ... | ast_fragments |
# file: hyperswitch/.github/nextest.toml | crate: .github
[profile.default]
status-level = "slow"
final-status-level = "leak"
failure-output = "final"
fail-fast = false
| ast_fragments |
# file: hyperswitch/.github/nextest.toml | crate: .github
[profile.ci]
retries = 2
status-level = "all"
failure-output = "final"
fail-fast = false
| ast_fragments |
# file: hyperswitch-card-vault/Cargo.toml | crate: Cargo.toml
[dependencies]
async-trait = "0.1.81"
aws-config = { version = "1.5.5", optional = true }
aws-sdk-kms = { version = "1.40.0", optional = true }
base64 = "0.22.1"
bytes = "1.7.1"
futures = "0.3.30"
gethostname = "0.5.0"
rustc-hash = "2.0"
once_cell = "1.19.0"... | ast_fragments |
# file: hyperswitch-card-vault/Cargo.toml | crate: Cargo.toml
[package]
name = "tartarus"
version = "0.1.3"
edition = "2021"
default-run = "locker"
rust-version = "1.78"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
| ast_fragments |
# file: hyperswitch-card-vault/Cargo.toml | crate: Cargo.toml
[features]
default = ["caching"]
release = ["kms-aws", "middleware", "key_custodian", "limit", "kms-hashicorp-vault", "caching", "external_key_manager_mtls"]
dev = ["kms-aws", "middleware", "key_custodian", "limit", "kms-hashicorp-vault", "caching"]
kms-aws ... | ast_fragments |
# file: hyperswitch-card-vault/Cargo.toml | crate: Cargo.toml
[dev-dependencies]
rand = "0.8.5"
criterion = "0.5.1"
axum-test = "15.6.0"
rsa = "0.9.2"
| ast_fragments |
# file: hyperswitch-card-vault/Cargo.toml | crate: Cargo.toml
[lints.rust]
unsafe_code = "forbid"
rust_2018_idioms = { level = "warn", priority = -1 }
deprecated = "allow"
| ast_fragments |
# file: hyperswitch-card-vault/Cargo.toml | crate: Cargo.toml
[lints.clippy]
as_conversions = "warn"
expect_used = "warn"
missing_panics_doc = "warn"
panic = "warn"
panic_in_result_fn = "warn"
panicking_unwrap = "warn"
todo = "warn"
unimplemented = "warn"
unreachable = "warn"
unwrap_in_result = "warn"
unwrap_used = "wa... | ast_fragments |
# file: hyperswitch-card-vault/config.example.toml | crate: config.example.toml
[tenant_secrets]
# configure master_key and public_key for each tenant
# master_key - used for database encryption this could be aes encrypted by key custodian
# public_key - used for signature verification and encryption of response payloa... | ast_fragments |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.