diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index d8bff737..1e634166 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -67,7 +67,7 @@ jobs: -w /helm-docs \ jnorwood/helm-docs:latest \ --document-dependency-values=true \ - --chart-search-root=charts/incubator + --chart-search-root=charts # Check for uncommitted changes after helm-docs if ! git diff --exit-code; then diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4722b5b1..e25a687a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,7 @@ jobs: - name: Build Helm Dependencies run: | # Build dependencies for all charts - for chart in charts/incubator/*; do + for chart in charts/*; do if [ -f "$chart/Chart.yaml" ]; then echo "Updating dependencies for $chart" helm dependency update "$chart" @@ -54,7 +54,7 @@ jobs: - name: Run chart-releaser uses: helm/chart-releaser-action@v1.7.0 with: - charts_dir: charts/incubator + charts_dir: charts config: cr.yaml env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/sync-control-center-updates.yml b/.github/workflows/sync-control-center-updates.yml index f6bb4af7..7a7c212a 100644 --- a/.github/workflows/sync-control-center-updates.yml +++ b/.github/workflows/sync-control-center-updates.yml @@ -76,8 +76,8 @@ jobs: id: update_versions run: | TAG="${{ steps.generate_tag.outputs.target_tag }}" - VALUES_FILE="charts/incubator/hyperswitch-control-center/values.yaml" - CHART_FILE="charts/incubator/hyperswitch-control-center/Chart.yaml" + VALUES_FILE="charts/hyperswitch-control-center/values.yaml" + CHART_FILE="charts/hyperswitch-control-center/Chart.yaml" echo "Updating control center image tag and chart version with tag: $TAG" @@ -143,7 +143,7 @@ jobs: Source ref: $TAG Tag: $GIT_TAG" - git add charts/incubator/hyperswitch-control-center/values.yaml charts/incubator/hyperswitch-control-center/Chart.yaml + git add charts/hyperswitch-control-center/values.yaml charts/hyperswitch-control-center/Chart.yaml git commit -m "$COMMIT_MSG" else echo "No file changes to commit (changes may have come from merge)" @@ -169,8 +169,8 @@ jobs: echo "Git tag: $GIT_TAG" echo "" echo "Files updated:" - echo " - charts/incubator/hyperswitch-control-center/values.yaml → image.tag: $TAG" - echo " - charts/incubator/hyperswitch-control-center/Chart.yaml → version: $CHART_VERSION" + echo " - charts/hyperswitch-control-center/values.yaml → image.tag: $TAG" + echo " - charts/hyperswitch-control-center/Chart.yaml → version: $CHART_VERSION" - name: No changes summary if: steps.check_changes.outputs.changes == 'false' diff --git a/.github/workflows/sync-hyperswitch-updates.yml b/.github/workflows/sync-hyperswitch-updates.yml index e84cd63d..9db92730 100644 --- a/.github/workflows/sync-hyperswitch-updates.yml +++ b/.github/workflows/sync-hyperswitch-updates.yml @@ -104,26 +104,26 @@ jobs: echo "Downloading configuration files from hyperswitch ref: $SOURCE_REF" # Create target directory - mkdir -p charts/incubator/hyperswitch-app/configs + mkdir -p charts/hyperswitch-app/configs # Download specific configuration files with error handling echo "Downloading integration_test.toml..." curl -fsSL -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Accept: application/vnd.github.v3.raw" \ "${BASE_URL}/integration_test.toml" \ - -o charts/incubator/hyperswitch-app/configs/router-integ.toml + -o charts/hyperswitch-app/configs/router-integ.toml echo "Downloading sandbox.toml..." curl -fsSL -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Accept: application/vnd.github.v3.raw" \ "${BASE_URL}/sandbox.toml" \ - -o charts/incubator/hyperswitch-app/configs/router-sandbox.toml + -o charts/hyperswitch-app/configs/router-sandbox.toml echo "Downloading production.toml..." curl -fsSL -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Accept: application/vnd.github.v3.raw" \ "${BASE_URL}/production.toml" \ - -o charts/incubator/hyperswitch-app/configs/router-production.toml + -o charts/hyperswitch-app/configs/router-production.toml echo "✅ Configuration files downloaded successfully" @@ -131,8 +131,8 @@ jobs: id: update_versions run: | SOURCE_REF="${{ steps.generate_tag.outputs.target_ref }}" - VALUES_FILE="charts/incubator/hyperswitch-app/values.yaml" - CHART_FILE="charts/incubator/hyperswitch-app/Chart.yaml" + VALUES_FILE="charts/hyperswitch-app/values.yaml" + CHART_FILE="charts/hyperswitch-app/Chart.yaml" UPDATE_ALL="${{ steps.config.outputs.update_all_services }}" TAG_PREFIX="${{ steps.config.outputs.tag_prefix }}" @@ -177,7 +177,7 @@ jobs: - name: Helm dependency update run: | - CHART_DIR="charts/incubator/hyperswitch-app" + CHART_DIR="charts/hyperswitch-app" echo "Updating chart dependencies..." cd $CHART_DIR @@ -242,8 +242,8 @@ jobs: # Check if there are uncommitted changes to commit if [ -n "$(git status --porcelain)" ]; then echo "Committing file changes..." - git add charts/incubator/hyperswitch-app/configs/ charts/incubator/hyperswitch-app/values.yaml charts/incubator/hyperswitch-app/Chart.yaml - git add -f charts/incubator/hyperswitch-app/charts/ charts/incubator/hyperswitch-app/Chart.lock + git add charts/hyperswitch-app/configs/ charts/hyperswitch-app/values.yaml charts/hyperswitch-app/Chart.yaml + git add -f charts/hyperswitch-app/charts/ charts/hyperswitch-app/Chart.lock git commit -m "$COMMIT_MSG" else echo "No file changes to commit (changes may have come from merge)" @@ -271,9 +271,9 @@ jobs: echo "Tag: $TAG" echo "" echo "Configuration files updated:" - echo " - charts/incubator/hyperswitch-app/configs/router-integ.toml" - echo " - charts/incubator/hyperswitch-app/configs/router-sandbox.toml" - echo " - charts/incubator/hyperswitch-app/configs/router-production.toml" + echo " - charts/hyperswitch-app/configs/router-integ.toml" + echo " - charts/hyperswitch-app/configs/router-sandbox.toml" + echo " - charts/hyperswitch-app/configs/router-production.toml" if [ "$SYNC_TYPE" = "full" ]; then echo "All service versions updated:" @@ -284,10 +284,10 @@ jobs: fi echo "Chart updates:" - echo " - charts/incubator/hyperswitch-app/Chart.yaml" + echo " - charts/hyperswitch-app/Chart.yaml" echo "Dependencies updated for air-gapped deployments:" - echo " - charts/incubator/hyperswitch-app/charts/" - echo " - charts/incubator/hyperswitch-app/Chart.lock" + echo " - charts/hyperswitch-app/charts/" + echo " - charts/hyperswitch-app/Chart.lock" - name: No changes summary if: steps.check_changes.outputs.changes == 'false' diff --git a/.github/workflows/sync-ucs-updates.yaml b/.github/workflows/sync-ucs-updates.yaml index 7ac9a196..baeed38a 100644 --- a/.github/workflows/sync-ucs-updates.yaml +++ b/.github/workflows/sync-ucs-updates.yaml @@ -100,20 +100,20 @@ jobs: echo "Downloading UCS configs from connector-service ref: $SOURCE_REF" # Create target directory - mkdir -p charts/incubator/hyperswitch-ucs/configs + mkdir -p charts/hyperswitch-ucs/configs # Download specific configuration files with error handling echo "Downloading sandbox.toml..." curl -fsSL -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Accept: application/vnd.github.v3.raw" \ "${BASE_URL}/sandbox.toml" \ - -o charts/incubator/hyperswitch-ucs/configs/ucs-sandbox.toml + -o charts/hyperswitch-ucs/configs/ucs-sandbox.toml echo "Downloading production.toml..." curl -fsSL -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ -H "Accept: application/vnd.github.v3.raw" \ "${BASE_URL}/production.toml" \ - -o charts/incubator/hyperswitch-ucs/configs/ucs-production.toml + -o charts/hyperswitch-ucs/configs/ucs-production.toml echo "✅ Configuration files downloaded successfully" @@ -121,8 +121,8 @@ jobs: id: update_versions run: | SOURCE_REF="${{ steps.generate_tag.outputs.target_ref }}" - VALUES_FILE="charts/incubator/hyperswitch-ucs/values.yaml" - CHART_FILE="charts/incubator/hyperswitch-ucs/Chart.yaml" + VALUES_FILE="charts/hyperswitch-ucs/values.yaml" + CHART_FILE="charts/hyperswitch-ucs/Chart.yaml" TAG_PREFIX="${{ steps.config.outputs.tag_prefix }}" echo "Updating tag version and chart version with hyperswitch-ucs reference: $SOURCE_REF" @@ -153,7 +153,7 @@ jobs: - name: Helm dependency update run: | - CHART_DIR="charts/incubator/hyperswitch-ucs" + CHART_DIR="charts/hyperswitch-ucs" echo "Updating chart dependencies..." cd $CHART_DIR @@ -205,7 +205,7 @@ jobs: Tag: $TAG " - git add charts/incubator/hyperswitch-ucs/ + git add charts/hyperswitch-ucs/ git commit -m "$COMMIT_MSG" diff --git a/.gitignore b/.gitignore index 1d7cb572..12d730a8 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ *.tgz charts/*/charts/ charts/*/Chart.lock -charts/incubator/*/charts/ +charts/*/charts/ *.lock requirements.lock index.yaml diff --git a/README.md b/README.md index 005d7ea8..caf3037c 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,12 @@ The single API to access payment ecosystems across 130+ countries
- Try a Payment •
- Setup in k8s •
- API Docs
+ Try a Payment •
+ Setup in k8s •
+ API Docs
- Community and Contributions •
- Copyright and License
+ Community and Contributions •
+ Copyright and License
@@ -55,4 +55,4 @@ helm repo add hyperswitch https://juspay.github.io/hyperswitch-helm You can then run `helm search repo hyperswitch-stack` to see the charts. - Chart documentation is available in [Hyperswitch Stack directory](https://github.com/juspay/hyperswitch-helm/blob/main/charts/incubator/hyperswitch-stack/README.md). + Chart documentation is available in [Hyperswitch Stack directory](https://github.com/juspay/hyperswitch-helm/blob/main/charts/hyperswitch-stack/README.md). diff --git a/Taskfile.yaml b/Taskfile.yaml index d57e47c4..64e37a7b 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -9,19 +9,19 @@ tasks: - task --list-all silent: true - package-incubator-hyperswitch-helm: + package-hyperswitch-helm: #language=sh cmds: - > - STACK=charts/incubator/hyperswitch-stack && + STACK=charts/hyperswitch-stack && version=$(grep '^version:' $STACK/Chart.yaml | awk '{print $2}') && helm package $STACK --dependency-update && helm repo index $STACK --url https://juspay.github.io/hyperswitch-helm/v$version && mkdir -p v$version && mv hyperswitch-stack-$version.tgz $STACK/index.yaml v$version && helm repo index . --url https://juspay.github.io/hyperswitch-helm aliases: - - pihh - + - phh + update-readme: #language=sh cmds: @@ -31,7 +31,7 @@ tasks: -w /helm-docs jnorwood/helm-docs:latest --document-dependency-values=true - --chart-search-root=charts/incubator + --chart-search-root=charts aliases: - ur @@ -39,4 +39,4 @@ tasks: #language=sh cmds: - > - helm repo index repo + helm repo index repo diff --git a/charts/incubator/hyperswitch-app/.helmignore b/charts/hyperswitch-app/.helmignore similarity index 100% rename from charts/incubator/hyperswitch-app/.helmignore rename to charts/hyperswitch-app/.helmignore diff --git a/charts/incubator/hyperswitch-app/Chart.yaml b/charts/hyperswitch-app/Chart.yaml similarity index 100% rename from charts/incubator/hyperswitch-app/Chart.yaml rename to charts/hyperswitch-app/Chart.yaml diff --git a/charts/incubator/hyperswitch-app/README.md b/charts/hyperswitch-app/README.md similarity index 77% rename from charts/incubator/hyperswitch-app/README.md rename to charts/hyperswitch-app/README.md index bb7c6bf3..0d4f0b14 100644 --- a/charts/incubator/hyperswitch-app/README.md +++ b/charts/hyperswitch-app/README.md @@ -16,7 +16,7 @@ Clone the [hyperswitch-stack](https://github.com/juspay/hyperswitch-helm) repo a ``` git clone https://github.com/juspay/hyperswitch-helm.git -cd hyperswitch-helm/charts/incubator/hyperswitch-stack +cd hyperswitch-helm/charts/hyperswitch-stack ``` ### Step 2 - Install Hyperswitch @@ -62,7 +62,7 @@ By default card vault and its dependencies are installed, however you need to cr
To generate the master key and the custodian keys use the following command after cloning the repository. - + # Generate master key git clone https://github.com/juspay/hyperswitch-card-vault.git cd hyperswitch-card-vault @@ -75,7 +75,7 @@ By default card vault and its dependencies are installed, however you need to cr # Generating the public keys openssl rsa -in locker-private-key.pem -pubout -out locker-public-key.pem - openssl rsa -in tenant-private-key.pem -pubout -out tenant-public-key.pem + openssl rsa -in tenant-private-key.pem -pubout -out tenant-public-key.pem
"""jhdvfvsnbdj""default""Asia/Kolkata"true"clickhouse""error"111"redis-ext-master"11true"kafka0""PLAINTEXT""PLAINTEXT""PLAINTEXT""PLAINTEXT"1290921true"mailhog"0true{
"name": "KAFKA_HOST",
"value": "kafka0:29092"
@@ -394,9 +394,7 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
{
"destinationRule": {
- "router": {
- "trafficPolicy": {}
- }
+ "trafficPolicy": {}
},
"enabled": false,
"virtualService": {
@@ -405,16 +403,10 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
"hosts": [],
"http": [
{
- "router": {
- "rules": [
- {
- "match": [],
- "retries": {},
- "timeout": "50s",
- "weight": 100
- }
- ]
- }
+ "match": [],
+ "retries": {},
+ "timeout": "50s",
+ "weight": 100
}
]
}
@@ -430,15 +422,15 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
Description
-
+
"default"
Clickhouse database name
-
+
"http://clickhouse:8123"
Clickhouse host in http(s)://: format
-
+
{
"_secretRef": {
"key": "admin-password",
@@ -447,107 +439,107 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
}
Clickhouse password (optional)
-
+
"default"
Clickhouse username
-
+
{
"_secret": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
}
API key hashing key.
-
+
{
"_secret": "dummy_val"
}
Merchant Certificate provided by Apple Pay (https://developer.apple.com/) Certificates, Identifiers & Profiles > Apple Pay Merchant Identity Certificate
-
+
{
"_secret": "dummy_val"
}
Private key generated by RSA:2048 algorithm. Refer Hyperswitch Docs (https://docs.hyperswitch.io/hyperswitch-cloud/payment-methods-setup/wallets/apple-pay/ios-application/) to generate the private key
-
+
{
"_secret": "dummy_val"
}
Payment Processing Certificate provided by Apple Pay (https://developer.apple.com/) Certificates, Identifiers & Profiles > Apple Pay Payment Processing Certificate
-
+
{
"_secret": "dummy_val"
}
Private key generated by Elliptic-curve prime256v1 curve. You can use `openssl ecparam -out private.key -name prime256v1 -genkey` to generate the private key
-
+
{
"_secret": "dummy_val"
}
Refer to config.example.toml to learn how you can generate this value
-
+
{
"_secret": "dummy_val"
}
Merchant Certificate provided by Apple Pay (https://developer.apple.com/) Certificates, Identifiers & Profiles > Apple Pay Merchant Identity Certificate
-
+
{
"_secret": "dummy_val"
}
Private key generate by RSA:2048 algorithm. Refer Hyperswitch Docs (https://docs.hyperswitch.io/hyperswitch-cloud/payment-methods-setup/wallets/apple-pay/ios-application/) to generate the private key
-
+
"us-east-1"
AWS region used by AWS SES
-
+
"arn:aws:iam::123456789012:role/SendEmailRole"
The amazon resource name ( arn ) of the role which has permission to send emails
-
+
"SendEmailRole"
An identifier for the assumed role session, used to uniquely identify a session.
-
+
"business@example.com"
Recipient email for prod intent email
-
+
"recon@example.com"
Recipient email for recon request email
-
+
"example@example.com"
Sender email
-
+
"mailhog"
Host of the smtp server
-
+
{
"_secret": "dummy_val"
}
Api key for making request to foreign exchange Api, Follow https://github.com/juspay/hyperswitch/tree/main/crates/analytics#setting-up-forex-apis to get the forex api key
-
+
{
"_secret": "dummy_val"
}
Forex Api key for the fallback service
-
+
"-----BEGIN PUBLIC KEY-----...-----END PUBLIC KEY-----"
The public key for the locker from locker-public-key.pub, these are only test keys, please change it when deploying to production or other environments
-
+
"-----BEGIN RSA PRIVATE KEY-----...-----END RSA PRIVATE KEY-----"
The private key for the tenant from tenant-private-key.pem, these are only test keys, please change it when deploying to production or other environments
-
+
{
"ca": {
"_secret": "sample_ca"
@@ -558,57 +550,57 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
}
Encryption key used for encrypting data in user_authentication_methods table
-
+
{
"_secret": "kms_key_id"
}
KMS key id for encryption and decryption
-
+
{
"_secret": "dummy_val"
}
Encryption key for redis temp locker
-
+
{
"_secret": "dummy_val"
}
# Payment method auth key used for authorization
-
+
"PAZE_PRIVATE_KEY"
Base 64 Encoded Private Key File cakey.pem generated for Paze -> Command to create private key: openssl req -newkey rsa:2048 -x509 -keyout cakey.pem -out cacert.pem -days 365
-
+
"PAZE_PRIVATE_KEY_PASSPHRASE"
PEM Passphrase used for generating Private Key File cakey.pem
-
+
{
"_secret": "test_admin"
}
admin API key for admin authentication.
-
+
{
"_secret": "test_admin"
}
JWT secret used for user authentication.
-
+
{
"_secret": "471f22516724347bcca9c20c5fa88d9821c4604e63a6aceffd24605809c9237c"
}
Master Encryption key used to encrypt merchant wise encryption key. Should be 32-byte long.
-
+
{
"_secret": "test_admin"
}
Recon Admin API key for recon admin authentication.
-
+
{
"encryption_key": {
"_secret": "A8EF32E029BC3342E54BF2E172A4D7AA43E8EF9D2C3A624A9F04E2EF79DC698F"
@@ -677,15 +669,15 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
"v1.117.0"
Router version
-
+
"http://localhost:9050"
SDK host
-
+
"v1"
SDK subversion
-
+
"0.126.0"
SDK version
@@ -700,62 +692,141 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
-
+
{
"configs": "{{ .Release.Name }}-hyperswitch-configs",
"secrets": "{{ .Release.Name }}-hyperswitch-secrets"
}
Common references for templated resource names
-
+
"{{ .Release.Name }}-hyperswitch-configs"
Hyperswitch configs reference with release name prefix
-
+
"{{ .Release.Name }}-hyperswitch-secrets"
Hyperswitch secrets reference with release name prefix
-
+
+ [
+ {
+ "setCanaryScale": {
+ "replicas": 2
+ }
+ },
+ {
+ "setWeight": 0
+ },
+ {
+ "pause": {}
+ },
+ {
+ "setWeight": 50
+ },
+ {
+ "pause": {
+ "duration": "1m"
+ }
+ },
+ {
+ "setWeight": 75
+ },
+ {
+ "pause": {
+ "duration": "1m"
+ }
+ },
+ {
+ "setWeight": 100
+ }
+]
+ Canary deployment steps with traffic percentage and pause duration
+
+
+ false
+ Enable header-based canary routing
+
+
+ [
+ {
+ "headerName": "X-Canary-Test",
+ "headerValue": {
+ "exact": "true"
+ }
+ }
+]
+ Header matching rules
+
+
+ "header-canary-route"
+ Route name for managed header routing
+
+
+ {
+ "destinationRule": {
+ "canarySubsetName": "canary",
+ "stableSubsetName": "stable"
+ },
+ "enabled": true
+}
+ Enable Istio traffic management for canary deployments
+
+
+ {
+ "canarySubsetName": "canary",
+ "stableSubsetName": "stable"
+}
+ DestinationRule subset names
+
+
+ false
+ Enable Argo Rollouts for canary deployments (uses Rollout resource instead of Deployment) When disabled, standard Kubernetes Deployment is used
+
+
+ 3
+ Revision history limit for rollouts
+
+
true
-
- 10
+
+ 5
-
- 1
+
+ 3
-
+
80
-
+
"clickhouse"
-
+
"bitnamilegacy/clickhouse"
-
+
24.3
-
+
"none"
-
+
"bitnamilegacy/zookeeper"
-
+
false
Enable External Secrets Operator resources
-
+
[
{
"creationPolicy": "Owner",
@@ -773,11 +844,11 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
]
List of external secrets to create You can define multiple secrets here
-
+
"Owner"
Creation policy
-
+
[
{
"extract": {
@@ -787,19 +858,19 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
]
Extract configuration (use dataFrom.extract for full secret)
-
+
"1h"
Refresh interval
-
+
"hyperswitch-secrets"
Target secret name in Kubernetes
-
+
"hyperswitch-secret-store"
Name of the SecretStore
-
+
{
"aws": {
"auth": {
@@ -815,43 +886,43 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
}
Provider configuration (matches External Secrets Operator format) You can use any supported provider here see: https://external-secrets.io/latest/
-
+
{}
Annotations for the service account (e.g., IRSA role)
-
+
true
Create service account
-
+
{}
Extra labels for the service account
-
+
""
Name of the service account (default: hyperswitch-eso-sa)
-
+
true
-
+
"bitnamilegacy/postgresql:16.1.0-debian-11-r18"
-
+
"docker.io"
-
+
"bitnamilegacy/clickhouse:24.3"
-
+
"docker.io"
-
+
30
@@ -885,19 +956,11 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
{
- "router": {
- "trafficPolicy": {}
- }
-}
- DestinationRule configuration
-
-
- {
"trafficPolicy": {}
}
- Router DestinationRule configuration
+ DestinationRule configuration
-
+
{}
Traffic policy configuration for router - rendered directly as YAML
@@ -912,16 +975,10 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
"hosts": [],
"http": [
{
- "router": {
- "rules": [
- {
- "match": [],
- "retries": {},
- "timeout": "50s",
- "weight": 100
- }
- ]
- }
+ "match": [],
+ "retries": {},
+ "timeout": "50s",
+ "weight": 100
}
]
}
@@ -942,41 +999,35 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
[
{
- "router": {
- "rules": [
- {
- "match": [],
- "retries": {},
- "timeout": "50s",
- "weight": 100
- }
- ]
- }
+ "match": [],
+ "retries": {},
+ "timeout": "50s",
+ "weight": 100
}
]
HTTP routing rules (ordered list) Note: Rules are processed in the order they appear in this list. Ensure specific routes (like /api/) come before catch-all routes (like /).
-
+
"none"
-
+
"none"
-
+
"offsets.topic.replication.factor=1\ntransaction.state.log.replication.factor=1\n"
-
+
"bitnamilegacy/kafka"
-
+
"bitnamilegacy/zookeeper"
-
+
"loadBalancer-sg"
@@ -1012,23 +1063,23 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
60
-
+
{}
Annotations that are to be added the the deployments (extends global configuration)
-
+
false
-
+
"clickhouse"
The Analytics source/strategy to be used
-
+
10
Timeout for database connection in seconds
-
+
{
"_configRef": {
"key": "ROUTER__MASTER_DATABASE__DBNAME",
@@ -1037,7 +1088,7 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
}
Database name
-
+
{
"_configRef": {
"key": "ROUTER__MASTER_DATABASE__HOST",
@@ -1046,11 +1097,11 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
}
Database host
-
+
5
Number of connections to keep open
-
+
{
"_configRef": {
"key": "ROUTER__MASTER_DATABASE__PORT",
@@ -1059,11 +1110,11 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
}
Database port
-
+
"Fifo"
Add the queue strategy used by the database bb8 client
-
+
{
"_configRef": {
"key": "ROUTER__MASTER_DATABASE__USERNAME",
@@ -1072,840 +1123,840 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
}
Database username
-
+
"https://apple-pay-gateway.apple.com/paymentservices/registerMerchant"
Apple pay gateway merchant endpoint
-
+
"12345"
Default CellID for Global Cell Information
-
+
false
-
+
"http://0.0.0.0:8000"
-
+
"stripe,adyen,paypal,checkout,braintree,cybersource,square,worldpay,klarna,noon,archipel"
-
+
"merchant_ids"
-
+
"dummy_val"
-
+
"dummy_val"
-
+
true
-
+
"dummy_val"
-
+
"merchant_id_1"
-
+
"merchant_id_2"
-
+
"http://localhost:8080"
-
+
{
"base_url": "http://localhost:8080"
}
Unified Authentication Service Configuration
-
+
"http://localhost:8080"
base url to call unified authentication service
-
+
"GET,POST,PUT,DELETE"
List of methods that are allowed
-
+
30
Maximum time (in seconds) for which this CORS request may be cached.
-
+
"https://hyperswti"
-
+
true
If true, allows any origin to make requests
-
+
"hubspot_proxy"
-
+
"form_id"
-
+
"request_url"
-
+
"SMTP"
The currently active email client
-
+
1
Number of days the api calls ( with jwt token ) can be made without verifying the email
-
+
"plaintext"
connection type to be used for the smtp server
-
+
"1025"
Port of the smtp server
-
+
10
timeout for the smtp server connection
-
+
"no_encryption"
Encryption manager client to be used
-
+
"hyperswitch-api-log-events"
Kafka topic to be used for incoming api events
-
+
"hyperswitch-payment-attempt-events"
Kafka topic to be used for PaymentAttempt events
-
+
"hyperswitch-audit-events"
Kafka topic to be used for Payment Audit events
-
+
"hyperswitch-authentication-events"
Kafka topic to be used for Authentication events
-
+
"kafka0:29092"
-
+
"hyperswitch-outgoing-connector-events"
Kafka topic to be used for connector api events
-
+
"hyperswitch-consolidated-events"
Kafka topic to be used for Consolidated events
-
+
"hyperswitch-dispute-events"
Kafka topic to be used for Dispute events
-
+
"hyperswitch-fraud-check-events"
Kafka topic to be used for Fraud Check events
-
+
"hyperswitch-payment-intent-events"
Kafka topic to be used for PaymentIntent events
-
+
"hyperswitch-outgoing-webhook-events"
Kafka topic to be used for outgoing webhook events
-
+
"hyperswitch-payout-events"
Kafka topic to be used for Payouts and PayoutAttempt events
-
+
"hyperswitch-refund-events"
Kafka topic to be used for Refund events
-
+
"topic"
-
+
"topic"
-
+
"kafka"
The event sink to push events supports kafka or logs (stdout)
-
+
"bucket"
-
+
"us-east-1"
-
+
21600
-
+
100
-
+
172800
-
+
"ach,bacs,sepa"
-
+
"credit,debit"
-
+
"paypal,pix,venmo"
-
+
"900"
-
+
""
Auto-generated from services.sdk. Override with custom URL if needed.
-
+
"https://app.hyperswitch.io/HyperswitchFavicon.png"
-
+
"HyperSwitch"
-
+
"#4285F4"
-
+
"credit,debit"
-
+
"900"
-
+
""
Auto-generated from services.sdk. Override with custom URL if needed.
-
+
"https://app.hyperswitch.io/HyperswitchFavicon.png"
-
+
"HyperSwitch"
-
+
"#4285F4"
-
+
"GOOGLE_PAY_ROOT_SIGNING_KEYS"
-
+
"localhost"
Client Host
-
+
7000
Client Port
-
+
"dynamo"
Client Service Name
-
+
"http://127.0.0.1:8080"
-
+
"http://localhost:8000"
-
+
"10"
-
+
"paytm, phonepe"
-
+
"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsn4glmrihAG7Vppqd3Hm\nRXZiGmuZW0J+NQt72453oSnGc6Sw1Fk/vY0WhQIn6/Ip1Xt6dnMyorI3b9RtfQNP\nDFND3/g7n2I9uMqEr6aYxg0pKw9UW3uBlzR5JzvMVnzEjIRfdtuqSlphdpAVuZPE\nFEN9kE/VasBIeaKmbYFZxmz4AN2IBBvqWCaqIQZOrTRzfGNhVBlX/O+Sv59cy6n6\nQEoYJ/Ww3R7cUlSrueQNlSubkoa8ihBcm9VA7Bdklrps7B17yzMTAgqhZPkLMIQQ\nDBI1vFDlSKrWHNXfm4WyAXJ8MXOl+ThNJdAoDw2wNJmfOrgaPQFiMfPZYgKl/2Gu\nYQIDAQAB\n-----END PUBLIC KEY-----\n"
-
+
"dummy_val"
-
+
"us-east-1"
AWS KMS region
-
+
false
-
+
900
-
+
500
Delay between retries in milliseconds
-
+
180
Seconds before the redis lock expires
-
+
"http://hyperswitch-vault"
Locker host
-
+
null
Rust Locker host
-
+
true
Boolean to enable or disable saving cards in locker
-
+
"1"
Key_id to sign basilisk hs locker
-
+
false
Emulate a locker locally using Postgres
-
+
220752000
Time to live for storage entries in locker
-
+
true
-
+
"DEBUG"
Log level for console logs, ERROR, WARN, INFO, DEBUG
-
+
"json"
-
+
false
-
+
"DEBUG"
-
+
"json"
-
+
15
Interval for collecting the metrics in background thread
-
+
false
boolean [true or false], whether to ignore errors during traces or metrics pipeline setup
-
+
false
boolean [true or false], whether metrics are enabled
-
+
""
URL for external OpenTelemetry Collector endpoint to send metrics and traces to. The OpenTelemetry Collector must have a gRPC OTLP receiver listening at this endpoint. If left empty, the endpoint will be auto-configured as: -opentelemetry-collector..svc.cluster.local:4317 when using hyperswitch-stack with monitoring enabled. Leave empty for auto-configuration or specify custom endpoint.
-
+
5000
timeout (in milliseconds) for sending metrics and traces
-
+
"*/confirm"
-
+
0.1
-
+
false
boolean [true or false], whether traces are enabled
-
+
false
Set this to true for AWS X-ray compatible traces
-
+
10
Timeout for database connection in seconds
-
+
"20"
Number of connections to keep open
-
+
"Fifo"
Add the queue strategy used by the database bb8 client
-
+
false
-
+
false
-
+
"default"
-
+
""
-
+
"public"
-
+
"global"
-
+
"public"
-
+
"http://localhost:8080"
-
+
"default"
-
+
""
-
+
"public"
-
+
"http://localhost:9000"
-
+
"https://example.com/status"
-
+
"https://example.com/delete"
-
+
"https://example.com/fetch"
-
+
"https://example.com/generate"
-
+
"key_id"
-
+
"private_key"
-
+
"public_key"
-
+
"api_key"
-
+
"placeholder_webhook_key"
-
+
"basic"
-
+
"admin"
-
+
"eu-central-1"
-
+
"admin"
-
+
false
-
+
"https://localhost:9200"
-
+
"hyperswitch-dispute-events"
-
+
"hyperswitch-payment-attempt-events"
-
+
"hyperswitch-payment-intent-events"
-
+
"hyperswitch-refund-events"
-
+
"sessionizer-dispute-events"
-
+
"sessionizer-payment-attempt-events"
-
+
"sessionizer-payment-intent-events"
-
+
"sessionizer-refund-events"
-
+
""
Auto-generated from services.sdk. Override with custom URL if needed.
-
+
900
Redis expiry time in milliseconds
-
+
"localhost, cluster.local"
A comma-separated list of domains or IP addresses that should not use the proxy. Whitespace between entries would be ignored.
-
+
false
-
+
"http://proxy_http_url"
Outgoing proxy http URL to proxy the HTTP traffic
-
+
"https://proxy_https_url"
Outgoing proxy https URL to proxy the HTTPS traffic
-
+
false
-
+
true
Whether or not the client should automatically pipeline commands across tasks when possible.
-
+
false
boolean
-
+
[
"redis.cluster.uri-1:8080",
"redis.cluster.uri-2:4115"
]
List of redis cluster urls
-
+
30
An optional timeout to apply to all commands. In seconds
-
+
900
Default TTL for hashes entries, in seconds
-
+
300
Default TTL for entries, in seconds
-
+
false
Whether or not to disable the automatic backpressure features when pipelining is enabled.
-
+
200
The maximum number of frames that will be fed to a socket before flushing.
-
+
5000
The maximum number of in-flight commands (per connection) before backpressure will be applied.
-
+
5
Number of connections to keep open
-
+
5
Delay between reconnection attempts, in milliseconds
-
+
5
Maximum number of reconnection attempts to make before failing. Set to 0 to retry forever.
-
+
1
Default number of entries to read from stream if not provided in stream read options
-
+
10
An optional timeout for Unresponsive commands in seconds. This should be less than default_command_timeout.
-
+
false
RESP protocol for fred crate (set this to true if using RESPv2 or redis version < 6)
-
+
10
Timeout for database connection in seconds
-
+
"20"
Number of connections to keep open
-
+
"Fifo"
Add the queue strategy used by the database bb8 client
-
+
"report_download_config_authentication_function"
Config to authentication function
-
+
"report_download_config_dispute_function"
Config to download dispute report
-
+
"report_download_config_payment_function"
Config to download payment report
-
+
"report_download_config_refund_function"
Config to download refund report
-
+
"report_download_config_region"
Region of the bucket
-
+
20
-
+
20
-
+
20
-
+
20
-
+
10
-
+
35
-
+
20
-
+
20
-
+
10368000
-
+
1
-
+
3888000
-
+
"cascading"
-
+
"1685510751"
-
+
"no_encryption"
Secrets manager client to be used
-
+
"0.0.0.0"
-
+
8080
-
+
32768
HTTP Request body limit. Defaults to 32kB
-
+
30
For more details: https://actix.rs/docs/server/#graceful-shutdown
-
+
8
-
+
"#FFFFFF"
Background color of email body
-
+
"https://example.com/logo.png"
Logo URL of the entity to be used in emails
-
+
"HyperSwitch"
Name of the entity to be showed in emails
-
+
"#000000"
Foreground color of email text
-
+
"#006DF9"
Primary color of email body
-
+
"bucket"
AWS S3 bucket name for theme storage
-
+
"bucket_region"
AWS region where the S3 bucket for theme storage is located
-
+
"aws_s3"
Theme storage backend to be used
-
+
"http://localhost:9000"
-
+
false
-
+
false
-
+
"90"
-
+
"Hyperswitch Sandbox"
-
+
"300"
-
+
false
-
+
false
Enable or disable keymanager
-
+
""
KeyManager service URL
-
+
{}
Labels to be added to the deployment's (match labels) and their pods (extends global configuration)
-
+
{}
Annotations that are to be added to the pods (extends global configuration)
-
+
600
-
+
1
Number of replicas to be used for the application
-
+
{
"limits": {
"cpu": "1000m",
@@ -1918,41 +1969,41 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
}
Resource requests and limits for the router/server
-
+
"sandbox"
Processor URLs will be decided based on this config, Eg: production, sandbox or integ
-
+
{
"eks.amazonaws.com/role-arn": "my-role-arn"
}
Annotations to be added to the service account
-
+
true
Service account creation for the application
-
+
{}
Labels to be added to the service account
-
+
""
Service account name for the application ( default: -hyperswitch-router-role)
-
+
1
-
+
0
-
+
"RollingUpdate"
-
+
30
The time kubernetes will wait after sending the termination signal to the pods
diff --git a/charts/incubator/hyperswitch-app/README.md.gotmpl b/charts/hyperswitch-app/README.md.gotmpl
similarity index 94%
rename from charts/incubator/hyperswitch-app/README.md.gotmpl
rename to charts/hyperswitch-app/README.md.gotmpl
index 8956f0b7..3e422087 100644
--- a/charts/incubator/hyperswitch-app/README.md.gotmpl
+++ b/charts/hyperswitch-app/README.md.gotmpl
@@ -15,7 +15,7 @@ Clone the [hyperswitch-stack](https://github.com/juspay/hyperswitch-helm) repo a
```
git clone https://github.com/juspay/hyperswitch-helm.git
-cd hyperswitch-helm/charts/incubator/hyperswitch-stack
+cd hyperswitch-helm/charts/hyperswitch-stack
```
### Step 2 - Install Hyperswitch
@@ -53,15 +53,15 @@ Hyperswitch Control center will mimic the behavior of your checkout page. Please
### 🔐 Step 1 - Deploy card vault
-By default card vault and its dependencies are installed, however you need to create master key, custodian keys and unlock the locker to start saving cards.
+By default card vault and its dependencies are installed, however you need to create master key, custodian keys and unlock the locker to start saving cards.
-
+
Step 1: Generating the keys
-
-
+
+
To generate the master key and the custodian keys use the following command after cloning the repository.
-
+
# Generate master key
git clone https://github.com/juspay/hyperswitch-card-vault.git
cd hyperswitch-card-vault
@@ -74,14 +74,14 @@ By default card vault and its dependencies are installed, however you need to cr
# Generating the public keys
openssl rsa -in locker-private-key.pem -pubout -out locker-public-key.pem
- openssl rsa -in tenant-private-key.pem -pubout -out tenant-public-key.pem
-
-
-
+ openssl rsa -in tenant-private-key.pem -pubout -out tenant-public-key.pem
+
+
+
Step 2: Update the keys in deployment
-
-
+
+
# Update below values in hyperswitch-stack/values.yaml
# The public key for the locker from locker-public-key.pem
@@ -105,27 +105,27 @@ By default card vault and its dependencies are installed, however you need to cr
...
-----END PUBLIC KEY-----
-
-
-
- Step 3: Unlock the locker
-
+
+
+
+ Step 3: Unlock the locker
+
Once the locker is up and running, use the 2 key custodian keys generated earlier securely to unlock the locker for use.
Go to the respective locker Pod, open its shell and run below cURLs
The following cURLs are to be used to provide keys
# temporary turn of saving to history to run the following commands
- unset HISTFILE
+ unset HISTFILE
# Add key1, key2 and then decrypt
curl -X POST -H "Content-Type: application/json" -d '{"key": ""}' http://localhost:8080/custodian/key1
curl -X POST -H "Content-Type: application/json" -d '{"key": ""}' http://localhost:8080/custodian/key2
curl -X POST http://localhost:8080/custodian/decrypt
-
+
If the last cURL replies with `Decrypted Successfully`, we are ready to use the locker.
-
-
+
+
### Step 2 - Make a payment using our Control Center
@@ -189,4 +189,4 @@ Refer our [postman collection](https://www.postman.com/hyperswitch/workspace/hyp
{{ end }}
{{ end }}
-{{ template "chart.valuesSectionHtml" . }}
\ No newline at end of file
+{{ template "chart.valuesSectionHtml" . }}
diff --git a/charts/incubator/hyperswitch-app/Taskfile.yaml b/charts/hyperswitch-app/Taskfile.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/Taskfile.yaml
rename to charts/hyperswitch-app/Taskfile.yaml
diff --git a/charts/incubator/hyperswitch-app/configs/router-integ.toml b/charts/hyperswitch-app/configs/router-integ.toml
similarity index 100%
rename from charts/incubator/hyperswitch-app/configs/router-integ.toml
rename to charts/hyperswitch-app/configs/router-integ.toml
diff --git a/charts/incubator/hyperswitch-app/configs/router-production.toml b/charts/hyperswitch-app/configs/router-production.toml
similarity index 100%
rename from charts/incubator/hyperswitch-app/configs/router-production.toml
rename to charts/hyperswitch-app/configs/router-production.toml
diff --git a/charts/incubator/hyperswitch-app/configs/router-sandbox.toml b/charts/hyperswitch-app/configs/router-sandbox.toml
similarity index 100%
rename from charts/incubator/hyperswitch-app/configs/router-sandbox.toml
rename to charts/hyperswitch-app/configs/router-sandbox.toml
diff --git a/charts/incubator/hyperswitch-app/dev/README.md b/charts/hyperswitch-app/dev/README.md
similarity index 100%
rename from charts/incubator/hyperswitch-app/dev/README.md
rename to charts/hyperswitch-app/dev/README.md
diff --git a/charts/incubator/hyperswitch-app/dev/bitnami-pg.values.yaml b/charts/hyperswitch-app/dev/bitnami-pg.values.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/dev/bitnami-pg.values.yaml
rename to charts/hyperswitch-app/dev/bitnami-pg.values.yaml
diff --git a/charts/incubator/hyperswitch-app/dev/bitnami-redis-values.yaml b/charts/hyperswitch-app/dev/bitnami-redis-values.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/dev/bitnami-redis-values.yaml
rename to charts/hyperswitch-app/dev/bitnami-redis-values.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/NOTES.txt b/charts/hyperswitch-app/templates/NOTES.txt
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/NOTES.txt
rename to charts/hyperswitch-app/templates/NOTES.txt
diff --git a/charts/incubator/hyperswitch-app/templates/_envs.tpl b/charts/hyperswitch-app/templates/_envs.tpl
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/_envs.tpl
rename to charts/hyperswitch-app/templates/_envs.tpl
diff --git a/charts/incubator/hyperswitch-app/templates/_helpers.tpl b/charts/hyperswitch-app/templates/_helpers.tpl
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/_helpers.tpl
rename to charts/hyperswitch-app/templates/_helpers.tpl
diff --git a/charts/incubator/hyperswitch-app/templates/_init-container.tpl b/charts/hyperswitch-app/templates/_init-container.tpl
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/_init-container.tpl
rename to charts/hyperswitch-app/templates/_init-container.tpl
diff --git a/charts/incubator/hyperswitch-app/templates/consumer/configmap.yaml b/charts/hyperswitch-app/templates/consumer/configmap.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/consumer/configmap.yaml
rename to charts/hyperswitch-app/templates/consumer/configmap.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/consumer/deployment.yaml b/charts/hyperswitch-app/templates/consumer/deployment.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/consumer/deployment.yaml
rename to charts/hyperswitch-app/templates/consumer/deployment.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/db/hyperswitch-db-job.yaml b/charts/hyperswitch-app/templates/db/hyperswitch-db-job.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/db/hyperswitch-db-job.yaml
rename to charts/hyperswitch-app/templates/db/hyperswitch-db-job.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/drainer/configmap.yaml b/charts/hyperswitch-app/templates/drainer/configmap.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/drainer/configmap.yaml
rename to charts/hyperswitch-app/templates/drainer/configmap.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/drainer/deployment.yaml b/charts/hyperswitch-app/templates/drainer/deployment.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/drainer/deployment.yaml
rename to charts/hyperswitch-app/templates/drainer/deployment.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/drainer/secret.yaml b/charts/hyperswitch-app/templates/drainer/secret.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/drainer/secret.yaml
rename to charts/hyperswitch-app/templates/drainer/secret.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/external-postgresql/secret.yaml b/charts/hyperswitch-app/templates/external-postgresql/secret.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/external-postgresql/secret.yaml
rename to charts/hyperswitch-app/templates/external-postgresql/secret.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/external-redis/secret.yaml b/charts/hyperswitch-app/templates/external-redis/secret.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/external-redis/secret.yaml
rename to charts/hyperswitch-app/templates/external-redis/secret.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/external-secrets/external-secrets.yaml b/charts/hyperswitch-app/templates/external-secrets/external-secrets.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/external-secrets/external-secrets.yaml
rename to charts/hyperswitch-app/templates/external-secrets/external-secrets.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/external-secrets/secret-store.yaml b/charts/hyperswitch-app/templates/external-secrets/secret-store.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/external-secrets/secret-store.yaml
rename to charts/hyperswitch-app/templates/external-secrets/secret-store.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/external-secrets/serviceAccount.yaml b/charts/hyperswitch-app/templates/external-secrets/serviceAccount.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/external-secrets/serviceAccount.yaml
rename to charts/hyperswitch-app/templates/external-secrets/serviceAccount.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/istio/destinationRule.yaml b/charts/hyperswitch-app/templates/istio/destinationRule.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/istio/destinationRule.yaml
rename to charts/hyperswitch-app/templates/istio/destinationRule.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/istio/virtualService.yaml b/charts/hyperswitch-app/templates/istio/virtualService.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/istio/virtualService.yaml
rename to charts/hyperswitch-app/templates/istio/virtualService.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/misc/clickhouse.yaml b/charts/hyperswitch-app/templates/misc/clickhouse.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/misc/clickhouse.yaml
rename to charts/hyperswitch-app/templates/misc/clickhouse.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/misc/configmap.yaml b/charts/hyperswitch-app/templates/misc/configmap.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/misc/configmap.yaml
rename to charts/hyperswitch-app/templates/misc/configmap.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/misc/secrets.yaml b/charts/hyperswitch-app/templates/misc/secrets.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/misc/secrets.yaml
rename to charts/hyperswitch-app/templates/misc/secrets.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/producer/configmap.yaml b/charts/hyperswitch-app/templates/producer/configmap.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/producer/configmap.yaml
rename to charts/hyperswitch-app/templates/producer/configmap.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/producer/deployment.yaml b/charts/hyperswitch-app/templates/producer/deployment.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/producer/deployment.yaml
rename to charts/hyperswitch-app/templates/producer/deployment.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/router/configmap.yaml b/charts/hyperswitch-app/templates/router/configmap.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/router/configmap.yaml
rename to charts/hyperswitch-app/templates/router/configmap.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/router/deployment.yaml b/charts/hyperswitch-app/templates/router/deployment.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/router/deployment.yaml
rename to charts/hyperswitch-app/templates/router/deployment.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/router/hpa.yaml b/charts/hyperswitch-app/templates/router/hpa.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/router/hpa.yaml
rename to charts/hyperswitch-app/templates/router/hpa.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/router/ingress.yaml b/charts/hyperswitch-app/templates/router/ingress.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/router/ingress.yaml
rename to charts/hyperswitch-app/templates/router/ingress.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/router/sa.yaml b/charts/hyperswitch-app/templates/router/sa.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/router/sa.yaml
rename to charts/hyperswitch-app/templates/router/sa.yaml
diff --git a/charts/incubator/hyperswitch-app/templates/router/service.yaml b/charts/hyperswitch-app/templates/router/service.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/templates/router/service.yaml
rename to charts/hyperswitch-app/templates/router/service.yaml
diff --git a/charts/incubator/hyperswitch-app/values.yaml b/charts/hyperswitch-app/values.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-app/values.yaml
rename to charts/hyperswitch-app/values.yaml
diff --git a/charts/incubator/hyperswitch-card-vault/.helmignore b/charts/hyperswitch-card-vault/.helmignore
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/.helmignore
rename to charts/hyperswitch-card-vault/.helmignore
diff --git a/charts/incubator/hyperswitch-card-vault/Chart.yaml b/charts/hyperswitch-card-vault/Chart.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/Chart.yaml
rename to charts/hyperswitch-card-vault/Chart.yaml
diff --git a/charts/incubator/hyperswitch-card-vault/README.md b/charts/hyperswitch-card-vault/README.md
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/README.md
rename to charts/hyperswitch-card-vault/README.md
diff --git a/charts/incubator/hyperswitch-card-vault/README.md.gotmpl b/charts/hyperswitch-card-vault/README.md.gotmpl
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/README.md.gotmpl
rename to charts/hyperswitch-card-vault/README.md.gotmpl
diff --git a/charts/incubator/hyperswitch-card-vault/templates/NOTES.txt b/charts/hyperswitch-card-vault/templates/NOTES.txt
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/templates/NOTES.txt
rename to charts/hyperswitch-card-vault/templates/NOTES.txt
diff --git a/charts/incubator/hyperswitch-card-vault/templates/_helpers.tpl b/charts/hyperswitch-card-vault/templates/_helpers.tpl
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/templates/_helpers.tpl
rename to charts/hyperswitch-card-vault/templates/_helpers.tpl
diff --git a/charts/incubator/hyperswitch-card-vault/templates/_init.tpl b/charts/hyperswitch-card-vault/templates/_init.tpl
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/templates/_init.tpl
rename to charts/hyperswitch-card-vault/templates/_init.tpl
diff --git a/charts/incubator/hyperswitch-card-vault/templates/configmap.yaml b/charts/hyperswitch-card-vault/templates/configmap.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/templates/configmap.yaml
rename to charts/hyperswitch-card-vault/templates/configmap.yaml
diff --git a/charts/incubator/hyperswitch-card-vault/templates/deployment.yaml b/charts/hyperswitch-card-vault/templates/deployment.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/templates/deployment.yaml
rename to charts/hyperswitch-card-vault/templates/deployment.yaml
diff --git a/charts/incubator/hyperswitch-card-vault/templates/migration-db.yaml b/charts/hyperswitch-card-vault/templates/migration-db.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/templates/migration-db.yaml
rename to charts/hyperswitch-card-vault/templates/migration-db.yaml
diff --git a/charts/incubator/hyperswitch-card-vault/templates/sa.yaml b/charts/hyperswitch-card-vault/templates/sa.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/templates/sa.yaml
rename to charts/hyperswitch-card-vault/templates/sa.yaml
diff --git a/charts/incubator/hyperswitch-card-vault/templates/secrets.yaml b/charts/hyperswitch-card-vault/templates/secrets.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/templates/secrets.yaml
rename to charts/hyperswitch-card-vault/templates/secrets.yaml
diff --git a/charts/incubator/hyperswitch-card-vault/templates/service.yaml b/charts/hyperswitch-card-vault/templates/service.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/templates/service.yaml
rename to charts/hyperswitch-card-vault/templates/service.yaml
diff --git a/charts/incubator/hyperswitch-card-vault/templates/vault-keys-job-dev.yaml b/charts/hyperswitch-card-vault/templates/vault-keys-job-dev.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/templates/vault-keys-job-dev.yaml
rename to charts/hyperswitch-card-vault/templates/vault-keys-job-dev.yaml
diff --git a/charts/incubator/hyperswitch-card-vault/values.yaml b/charts/hyperswitch-card-vault/values.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-card-vault/values.yaml
rename to charts/hyperswitch-card-vault/values.yaml
diff --git a/charts/incubator/hyperswitch-control-center/.helmignore b/charts/hyperswitch-control-center/.helmignore
similarity index 100%
rename from charts/incubator/hyperswitch-control-center/.helmignore
rename to charts/hyperswitch-control-center/.helmignore
diff --git a/charts/incubator/hyperswitch-control-center/Chart.yaml b/charts/hyperswitch-control-center/Chart.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-control-center/Chart.yaml
rename to charts/hyperswitch-control-center/Chart.yaml
diff --git a/charts/incubator/hyperswitch-control-center/README.md b/charts/hyperswitch-control-center/README.md
similarity index 98%
rename from charts/incubator/hyperswitch-control-center/README.md
rename to charts/hyperswitch-control-center/README.md
index 80850a52..a7ec0084 100644
--- a/charts/incubator/hyperswitch-control-center/README.md
+++ b/charts/hyperswitch-control-center/README.md
@@ -133,7 +133,6 @@ After deployment, verify the Control Center is working:
| config.default.endpoints.logo_url | string | `""` | |
| config.default.endpoints.mixpanel_token | string | `"dd4da7f62941557e716fbc0a19f9cc7e"` | |
| config.default.endpoints.recon_iframe_url | string | `""` | |
-| config.default.features.audit_trail | string | `"false"` | |
| config.default.features.authentication_analytics | string | `"false"` | |
| config.default.features.branding | string | `"false"` | |
| config.default.features.compliance_certificate | string | `"true"` | |
@@ -197,8 +196,9 @@ After deployment, verify the Control Center is working:
| config.default.theme.sidebar_secondary | string | `"#FFFFFF"` | |
| config.default.theme.sidebar_secondary_text_color | string | `"#525866"` | |
| config.mixpanelToken | string | `"dd4da7f62941557e716fbc0a19f9cc7e"` | |
-| dependencies.clickhouse.enabled | string | `"false"` | |
+| dependencies.clickhouse.enabled | bool | `false` | |
| dependencies.router.host | string | `"http://localhost:8080"` | |
+| dependencies.sdk.fullUrlOverride | string | `""` | |
| dependencies.sdk.host | string | `"http://localhost:9050"` | |
| dependencies.sdk.subversion | string | `"v1"` | |
| dependencies.sdk.version | string | `"0.126.0"` | |
@@ -208,7 +208,7 @@ After deployment, verify the Control Center is working:
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.registry | string | `"docker.juspay.io"` | |
| image.repository | string | `"juspaydotin/hyperswitch-control-center"` | |
-| image.tag | string | `""` | |
+| image.tag | string | `"v1.37.4"` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | |
diff --git a/charts/incubator/hyperswitch-control-center/README.md.gotmpl b/charts/hyperswitch-control-center/README.md.gotmpl
similarity index 100%
rename from charts/incubator/hyperswitch-control-center/README.md.gotmpl
rename to charts/hyperswitch-control-center/README.md.gotmpl
diff --git a/charts/incubator/hyperswitch-control-center/templates/NOTES.txt b/charts/hyperswitch-control-center/templates/NOTES.txt
similarity index 100%
rename from charts/incubator/hyperswitch-control-center/templates/NOTES.txt
rename to charts/hyperswitch-control-center/templates/NOTES.txt
diff --git a/charts/incubator/hyperswitch-control-center/templates/_helpers.tpl b/charts/hyperswitch-control-center/templates/_helpers.tpl
similarity index 100%
rename from charts/incubator/hyperswitch-control-center/templates/_helpers.tpl
rename to charts/hyperswitch-control-center/templates/_helpers.tpl
diff --git a/charts/incubator/hyperswitch-control-center/templates/configmap.yaml b/charts/hyperswitch-control-center/templates/configmap.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-control-center/templates/configmap.yaml
rename to charts/hyperswitch-control-center/templates/configmap.yaml
diff --git a/charts/incubator/hyperswitch-control-center/templates/deployment.yaml b/charts/hyperswitch-control-center/templates/deployment.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-control-center/templates/deployment.yaml
rename to charts/hyperswitch-control-center/templates/deployment.yaml
diff --git a/charts/incubator/hyperswitch-control-center/templates/ingress.yaml b/charts/hyperswitch-control-center/templates/ingress.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-control-center/templates/ingress.yaml
rename to charts/hyperswitch-control-center/templates/ingress.yaml
diff --git a/charts/incubator/hyperswitch-control-center/templates/istio-destinationrule.yaml b/charts/hyperswitch-control-center/templates/istio-destinationrule.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-control-center/templates/istio-destinationrule.yaml
rename to charts/hyperswitch-control-center/templates/istio-destinationrule.yaml
diff --git a/charts/incubator/hyperswitch-control-center/templates/istio-virtualservice.yaml b/charts/hyperswitch-control-center/templates/istio-virtualservice.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-control-center/templates/istio-virtualservice.yaml
rename to charts/hyperswitch-control-center/templates/istio-virtualservice.yaml
diff --git a/charts/incubator/hyperswitch-control-center/templates/service.yaml b/charts/hyperswitch-control-center/templates/service.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-control-center/templates/service.yaml
rename to charts/hyperswitch-control-center/templates/service.yaml
diff --git a/charts/incubator/hyperswitch-control-center/templates/serviceaccount.yaml b/charts/hyperswitch-control-center/templates/serviceaccount.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-control-center/templates/serviceaccount.yaml
rename to charts/hyperswitch-control-center/templates/serviceaccount.yaml
diff --git a/charts/incubator/hyperswitch-control-center/values.yaml b/charts/hyperswitch-control-center/values.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-control-center/values.yaml
rename to charts/hyperswitch-control-center/values.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/.helmignore b/charts/hyperswitch-encryption-service/.helmignore
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/.helmignore
rename to charts/hyperswitch-encryption-service/.helmignore
diff --git a/charts/incubator/hyperswitch-encryption-service/Chart.yaml b/charts/hyperswitch-encryption-service/Chart.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/Chart.yaml
rename to charts/hyperswitch-encryption-service/Chart.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/README.md b/charts/hyperswitch-encryption-service/README.md
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/README.md
rename to charts/hyperswitch-encryption-service/README.md
diff --git a/charts/incubator/hyperswitch-encryption-service/Readme.md.gotmpl b/charts/hyperswitch-encryption-service/Readme.md.gotmpl
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/Readme.md.gotmpl
rename to charts/hyperswitch-encryption-service/Readme.md.gotmpl
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/NOTES.txt b/charts/hyperswitch-encryption-service/templates/NOTES.txt
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/NOTES.txt
rename to charts/hyperswitch-encryption-service/templates/NOTES.txt
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/_dbConfig.tpl b/charts/hyperswitch-encryption-service/templates/_dbConfig.tpl
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/_dbConfig.tpl
rename to charts/hyperswitch-encryption-service/templates/_dbConfig.tpl
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/_helpers.tpl b/charts/hyperswitch-encryption-service/templates/_helpers.tpl
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/_helpers.tpl
rename to charts/hyperswitch-encryption-service/templates/_helpers.tpl
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/_init.tpl b/charts/hyperswitch-encryption-service/templates/_init.tpl
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/_init.tpl
rename to charts/hyperswitch-encryption-service/templates/_init.tpl
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/external-secrets/external-secrets.yaml b/charts/hyperswitch-encryption-service/templates/external-secrets/external-secrets.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/external-secrets/external-secrets.yaml
rename to charts/hyperswitch-encryption-service/templates/external-secrets/external-secrets.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/external-secrets/secret-store.yaml b/charts/hyperswitch-encryption-service/templates/external-secrets/secret-store.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/external-secrets/secret-store.yaml
rename to charts/hyperswitch-encryption-service/templates/external-secrets/secret-store.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/external-secrets/serviceaccount.yaml b/charts/hyperswitch-encryption-service/templates/external-secrets/serviceaccount.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/external-secrets/serviceaccount.yaml
rename to charts/hyperswitch-encryption-service/templates/external-secrets/serviceaccount.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/istio/destinationrule.yaml b/charts/hyperswitch-encryption-service/templates/istio/destinationrule.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/istio/destinationrule.yaml
rename to charts/hyperswitch-encryption-service/templates/istio/destinationrule.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/istio/virtualservice.yaml b/charts/hyperswitch-encryption-service/templates/istio/virtualservice.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/istio/virtualservice.yaml
rename to charts/hyperswitch-encryption-service/templates/istio/virtualservice.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/keymanager/configmap.yaml b/charts/hyperswitch-encryption-service/templates/keymanager/configmap.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/keymanager/configmap.yaml
rename to charts/hyperswitch-encryption-service/templates/keymanager/configmap.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/keymanager/deployment.yaml b/charts/hyperswitch-encryption-service/templates/keymanager/deployment.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/keymanager/deployment.yaml
rename to charts/hyperswitch-encryption-service/templates/keymanager/deployment.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/keymanager/hpa.yaml b/charts/hyperswitch-encryption-service/templates/keymanager/hpa.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/keymanager/hpa.yaml
rename to charts/hyperswitch-encryption-service/templates/keymanager/hpa.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/keymanager/ingress.yaml b/charts/hyperswitch-encryption-service/templates/keymanager/ingress.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/keymanager/ingress.yaml
rename to charts/hyperswitch-encryption-service/templates/keymanager/ingress.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/keymanager/migration.yaml b/charts/hyperswitch-encryption-service/templates/keymanager/migration.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/keymanager/migration.yaml
rename to charts/hyperswitch-encryption-service/templates/keymanager/migration.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/keymanager/secrets.yaml b/charts/hyperswitch-encryption-service/templates/keymanager/secrets.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/keymanager/secrets.yaml
rename to charts/hyperswitch-encryption-service/templates/keymanager/secrets.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/keymanager/service.yaml b/charts/hyperswitch-encryption-service/templates/keymanager/service.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/keymanager/service.yaml
rename to charts/hyperswitch-encryption-service/templates/keymanager/service.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/templates/keymanager/serviceaccount.yaml b/charts/hyperswitch-encryption-service/templates/keymanager/serviceaccount.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/templates/keymanager/serviceaccount.yaml
rename to charts/hyperswitch-encryption-service/templates/keymanager/serviceaccount.yaml
diff --git a/charts/incubator/hyperswitch-encryption-service/values.yaml b/charts/hyperswitch-encryption-service/values.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-encryption-service/values.yaml
rename to charts/hyperswitch-encryption-service/values.yaml
diff --git a/charts/incubator/hyperswitch-istio/.helmignore b/charts/hyperswitch-istio/.helmignore
similarity index 100%
rename from charts/incubator/hyperswitch-istio/.helmignore
rename to charts/hyperswitch-istio/.helmignore
diff --git a/charts/incubator/hyperswitch-istio/Chart.yaml b/charts/hyperswitch-istio/Chart.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-istio/Chart.yaml
rename to charts/hyperswitch-istio/Chart.yaml
diff --git a/charts/incubator/hyperswitch-istio/README.md b/charts/hyperswitch-istio/README.md
similarity index 100%
rename from charts/incubator/hyperswitch-istio/README.md
rename to charts/hyperswitch-istio/README.md
diff --git a/charts/incubator/hyperswitch-istio/README.md.gotmpl b/charts/hyperswitch-istio/README.md.gotmpl
similarity index 100%
rename from charts/incubator/hyperswitch-istio/README.md.gotmpl
rename to charts/hyperswitch-istio/README.md.gotmpl
diff --git a/charts/incubator/hyperswitch-istio/templates/NOTES.txt b/charts/hyperswitch-istio/templates/NOTES.txt
similarity index 100%
rename from charts/incubator/hyperswitch-istio/templates/NOTES.txt
rename to charts/hyperswitch-istio/templates/NOTES.txt
diff --git a/charts/incubator/hyperswitch-istio/templates/_helpers.tpl b/charts/hyperswitch-istio/templates/_helpers.tpl
similarity index 100%
rename from charts/incubator/hyperswitch-istio/templates/_helpers.tpl
rename to charts/hyperswitch-istio/templates/_helpers.tpl
diff --git a/charts/incubator/hyperswitch-istio/templates/destinationrule-control-center.yaml b/charts/hyperswitch-istio/templates/destinationrule-control-center.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-istio/templates/destinationrule-control-center.yaml
rename to charts/hyperswitch-istio/templates/destinationrule-control-center.yaml
diff --git a/charts/incubator/hyperswitch-istio/templates/destinationrule.yaml b/charts/hyperswitch-istio/templates/destinationrule.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-istio/templates/destinationrule.yaml
rename to charts/hyperswitch-istio/templates/destinationrule.yaml
diff --git a/charts/incubator/hyperswitch-istio/templates/gateway.yaml b/charts/hyperswitch-istio/templates/gateway.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-istio/templates/gateway.yaml
rename to charts/hyperswitch-istio/templates/gateway.yaml
diff --git a/charts/incubator/hyperswitch-istio/templates/ingress.yaml b/charts/hyperswitch-istio/templates/ingress.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-istio/templates/ingress.yaml
rename to charts/hyperswitch-istio/templates/ingress.yaml
diff --git a/charts/incubator/hyperswitch-istio/templates/virtualservice.yaml b/charts/hyperswitch-istio/templates/virtualservice.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-istio/templates/virtualservice.yaml
rename to charts/hyperswitch-istio/templates/virtualservice.yaml
diff --git a/charts/incubator/hyperswitch-istio/templates/wait-for-crds-job.yaml b/charts/hyperswitch-istio/templates/wait-for-crds-job.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-istio/templates/wait-for-crds-job.yaml
rename to charts/hyperswitch-istio/templates/wait-for-crds-job.yaml
diff --git a/charts/incubator/hyperswitch-istio/values.yaml b/charts/hyperswitch-istio/values.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-istio/values.yaml
rename to charts/hyperswitch-istio/values.yaml
diff --git a/charts/incubator/hyperswitch-monitoring/.helmignore b/charts/hyperswitch-monitoring/.helmignore
similarity index 100%
rename from charts/incubator/hyperswitch-monitoring/.helmignore
rename to charts/hyperswitch-monitoring/.helmignore
diff --git a/charts/incubator/hyperswitch-monitoring/Chart.yaml b/charts/hyperswitch-monitoring/Chart.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-monitoring/Chart.yaml
rename to charts/hyperswitch-monitoring/Chart.yaml
diff --git a/charts/incubator/hyperswitch-monitoring/README.md b/charts/hyperswitch-monitoring/README.md
similarity index 100%
rename from charts/incubator/hyperswitch-monitoring/README.md
rename to charts/hyperswitch-monitoring/README.md
diff --git a/charts/incubator/hyperswitch-monitoring/README.md.gotmpl b/charts/hyperswitch-monitoring/README.md.gotmpl
similarity index 100%
rename from charts/incubator/hyperswitch-monitoring/README.md.gotmpl
rename to charts/hyperswitch-monitoring/README.md.gotmpl
diff --git a/charts/incubator/hyperswitch-monitoring/dashboards/payments-dashboard.json b/charts/hyperswitch-monitoring/dashboards/payments-dashboard.json
similarity index 100%
rename from charts/incubator/hyperswitch-monitoring/dashboards/payments-dashboard.json
rename to charts/hyperswitch-monitoring/dashboards/payments-dashboard.json
diff --git a/charts/incubator/hyperswitch-monitoring/dashboards/pod-usage-dashboard.json b/charts/hyperswitch-monitoring/dashboards/pod-usage-dashboard.json
similarity index 100%
rename from charts/incubator/hyperswitch-monitoring/dashboards/pod-usage-dashboard.json
rename to charts/hyperswitch-monitoring/dashboards/pod-usage-dashboard.json
diff --git a/charts/incubator/hyperswitch-monitoring/templates/NOTES.txt b/charts/hyperswitch-monitoring/templates/NOTES.txt
similarity index 100%
rename from charts/incubator/hyperswitch-monitoring/templates/NOTES.txt
rename to charts/hyperswitch-monitoring/templates/NOTES.txt
diff --git a/charts/incubator/hyperswitch-monitoring/templates/_helpers.tpl b/charts/hyperswitch-monitoring/templates/_helpers.tpl
similarity index 100%
rename from charts/incubator/hyperswitch-monitoring/templates/_helpers.tpl
rename to charts/hyperswitch-monitoring/templates/_helpers.tpl
diff --git a/charts/incubator/hyperswitch-monitoring/templates/grafana-dashboards/payments-dashboard.yaml b/charts/hyperswitch-monitoring/templates/grafana-dashboards/payments-dashboard.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-monitoring/templates/grafana-dashboards/payments-dashboard.yaml
rename to charts/hyperswitch-monitoring/templates/grafana-dashboards/payments-dashboard.yaml
diff --git a/charts/incubator/hyperswitch-monitoring/templates/grafana-dashboards/pod-usage-dashboard.yaml b/charts/hyperswitch-monitoring/templates/grafana-dashboards/pod-usage-dashboard.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-monitoring/templates/grafana-dashboards/pod-usage-dashboard.yaml
rename to charts/hyperswitch-monitoring/templates/grafana-dashboards/pod-usage-dashboard.yaml
diff --git a/charts/incubator/hyperswitch-monitoring/templates/grafana-datasources.yaml b/charts/hyperswitch-monitoring/templates/grafana-datasources.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-monitoring/templates/grafana-datasources.yaml
rename to charts/hyperswitch-monitoring/templates/grafana-datasources.yaml
diff --git a/charts/incubator/hyperswitch-monitoring/templates/grafana-ingress.yaml b/charts/hyperswitch-monitoring/templates/grafana-ingress.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-monitoring/templates/grafana-ingress.yaml
rename to charts/hyperswitch-monitoring/templates/grafana-ingress.yaml
diff --git a/charts/incubator/hyperswitch-monitoring/values.yaml b/charts/hyperswitch-monitoring/values.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-monitoring/values.yaml
rename to charts/hyperswitch-monitoring/values.yaml
diff --git a/charts/incubator/hyperswitch-stack/.helmignore b/charts/hyperswitch-stack/.helmignore
similarity index 100%
rename from charts/incubator/hyperswitch-stack/.helmignore
rename to charts/hyperswitch-stack/.helmignore
diff --git a/charts/incubator/hyperswitch-stack/Chart.dev.yaml b/charts/hyperswitch-stack/Chart.dev.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-stack/Chart.dev.yaml
rename to charts/hyperswitch-stack/Chart.dev.yaml
diff --git a/charts/incubator/hyperswitch-stack/Chart.yaml b/charts/hyperswitch-stack/Chart.yaml
similarity index 93%
rename from charts/incubator/hyperswitch-stack/Chart.yaml
rename to charts/hyperswitch-stack/Chart.yaml
index 13cacf66..17a80b85 100644
--- a/charts/incubator/hyperswitch-stack/Chart.yaml
+++ b/charts/hyperswitch-stack/Chart.yaml
@@ -24,7 +24,10 @@ version: 0.2.18
appVersion: "1.16.0"
dependencies:
- name: hyperswitch-app
- version: 0.2.14
+ version: 1.0.0
+ repository: "https://juspay.github.io/hyperswitch-helm"
+ - name: hyperswitch-control-center
+ version: 0.1.0
repository: "https://juspay.github.io/hyperswitch-helm"
- name: hyperswitch-web
version: 0.2.12
diff --git a/charts/incubator/hyperswitch-stack/README.md b/charts/hyperswitch-stack/README.md
similarity index 99%
rename from charts/incubator/hyperswitch-stack/README.md
rename to charts/hyperswitch-stack/README.md
index f8216698..e726e6d8 100644
--- a/charts/incubator/hyperswitch-stack/README.md
+++ b/charts/hyperswitch-stack/README.md
@@ -215,7 +215,8 @@ task ur
| Repository | Name | Version |
|------------|------|---------|
-| https://juspay.github.io/hyperswitch-helm | hyperswitch-app | 0.2.14 |
+| https://juspay.github.io/hyperswitch-helm | hyperswitch-app | 1.0.0 |
+| https://juspay.github.io/hyperswitch-helm | hyperswitch-control-center | 0.1.0 |
| https://juspay.github.io/hyperswitch-helm | hyperswitch-monitoring | 0.1.5 |
| https://juspay.github.io/hyperswitch-helm | hyperswitch-ucs | 0.1.2 |
| https://juspay.github.io/hyperswitch-helm | hyperswitch-web | 0.2.12 |
diff --git a/charts/incubator/hyperswitch-stack/README.md.gotmpl b/charts/hyperswitch-stack/README.md.gotmpl
similarity index 100%
rename from charts/incubator/hyperswitch-stack/README.md.gotmpl
rename to charts/hyperswitch-stack/README.md.gotmpl
diff --git a/charts/incubator/hyperswitch-stack/templates/NOTES.txt b/charts/hyperswitch-stack/templates/NOTES.txt
similarity index 100%
rename from charts/incubator/hyperswitch-stack/templates/NOTES.txt
rename to charts/hyperswitch-stack/templates/NOTES.txt
diff --git a/charts/incubator/hyperswitch-stack/templates/poststart-hook.yaml b/charts/hyperswitch-stack/templates/poststart-hook.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-stack/templates/poststart-hook.yaml
rename to charts/hyperswitch-stack/templates/poststart-hook.yaml
diff --git a/charts/incubator/hyperswitch-stack/templates/prestart-hook.yaml b/charts/hyperswitch-stack/templates/prestart-hook.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-stack/templates/prestart-hook.yaml
rename to charts/hyperswitch-stack/templates/prestart-hook.yaml
diff --git a/charts/hyperswitch-stack/values.yaml b/charts/hyperswitch-stack/values.yaml
new file mode 100644
index 00000000..2658b8c0
--- /dev/null
+++ b/charts/hyperswitch-stack/values.yaml
@@ -0,0 +1,144 @@
+# @ignored
+_references:
+ router:
+ host: &router_host http://localhost:8080
+ version: &router_version v1.117.0
+ sdk:
+ host: &web_sdk_host http://localhost:9050
+ version: &web_sdk_version 0.126.0
+ subversion: &web_sdk_subversion v1
+
+# Global configurations
+global:
+ # Global image registry that can override all imageRegistry fields
+ imageRegistry: &image_registry null
+ image:
+ registry: *image_registry
+ tolerations: []
+ affinity: {}
+
+# hyperswitch-app subchart configuration
+# For detailed configuration options, see: charts/hyperswitch-app/values.yaml
+hyperswitch-app:
+ services:
+ router:
+ enabled: true
+ version: *router_version
+ host: *router_host
+ consumer:
+ enabled: true
+ version: *router_version
+ producer:
+ enabled: true
+ version: *router_version
+ drainer:
+ enabled: true
+ version: *router_version
+ sdk:
+ host: *web_sdk_host
+ version: *web_sdk_version
+ subversion: *web_sdk_subversion
+ server:
+ ingress:
+ enabled: false
+ run_env: sandbox
+ keymanager:
+ enabled: false
+ url: ""
+
+ drainer:
+ replicas: 0
+
+ redis:
+ enabled: true
+
+ externalRedis:
+ enabled: false
+
+ postgresql:
+ enabled: true
+
+ externalPostgresql:
+ enabled: false
+
+ initDB:
+ enable: true
+
+ istio:
+ enabled: false
+
+ argoRollouts:
+ enabled: false
+
+ autoscaling:
+ enabled: true
+
+ hyperswitch-card-vault:
+ enabled: true
+
+ externalSecretsOperator:
+ enabled: false
+
+# hyperswitch-control-center subchart configuration
+# For detailed configuration options, see: charts/hyperswitch-control-center/values.yaml
+hyperswitch-control-center:
+ dependencies:
+ router:
+ host: *router_host
+ sdk:
+ host: *web_sdk_host
+ version: *web_sdk_version
+ subversion: *web_sdk_subversion
+ fullUrlOverride: ""
+ clickhouse:
+ enabled: false
+
+ image:
+ registry: docker.juspay.io
+ repository: juspaydotin/hyperswitch-control-center
+ tag: v1.37.4
+
+ ingress:
+ enabled: false
+
+ istio:
+ enabled: false
+
+# hyperswitch-web subchart configuration
+# For detailed configuration options, see: charts/hyperswitch-web/values.yaml
+hyperswitch-web:
+ fullnameOverride: "hyperswitch-web"
+ enabled: true
+ sdkDemo:
+ enabled: false
+ image:
+ pullPolicy: IfNotPresent
+ podAnnotations:
+ "helm.sh/hook": post-install,post-upgrade
+ "helm.sh/hook-weight": "-5"
+ "helm.sh/hook-delete-policy": hook-succeeded
+ autoBuild:
+ enable: true
+ forceBuild: true
+ gitCloneParam:
+ gitVersion: *web_sdk_version
+ nginxConfig:
+ extraPath: *web_sdk_subversion
+ buildParam:
+ envSdkUrl: *web_sdk_host
+ envBackendUrl: *router_host
+ envLogsUrl: http://localhost:3103
+ service:
+ port: 9050
+ ingress:
+ enabled: false
+
+# hyperswitch-monitoring subchart configuration
+# For detailed configuration options, see: charts/hyperswitch-monitoring/values.yaml
+hyperswitch-monitoring:
+ enabled: true
+
+# hyperswitch-ucs subchart configuration
+# For detailed configuration options, see: charts/hyperswitch-ucs/values.yaml
+hyperswitch-ucs:
+ enabled: false
diff --git a/charts/incubator/hyperswitch-ucs/.helmignore b/charts/hyperswitch-ucs/.helmignore
similarity index 100%
rename from charts/incubator/hyperswitch-ucs/.helmignore
rename to charts/hyperswitch-ucs/.helmignore
diff --git a/charts/incubator/hyperswitch-ucs/Chart.yaml b/charts/hyperswitch-ucs/Chart.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-ucs/Chart.yaml
rename to charts/hyperswitch-ucs/Chart.yaml
diff --git a/charts/incubator/hyperswitch-ucs/README.md b/charts/hyperswitch-ucs/README.md
similarity index 86%
rename from charts/incubator/hyperswitch-ucs/README.md
rename to charts/hyperswitch-ucs/README.md
index 71545bb0..b97bd387 100644
--- a/charts/incubator/hyperswitch-ucs/README.md
+++ b/charts/hyperswitch-ucs/README.md
@@ -1,6 +1,6 @@
# hyperswitch-ucs
-  
+ 
A Helm chart for Hyperswitch UCS Service
@@ -25,7 +25,7 @@ This chart deploys the Hyperswitch UCS (Unified Connector Service) on a Kubernet
To install the chart with the release name `hyperswitch-ucs`:
```bash
-helm install hyperswitch-ucs ./charts/incubator/hyperswitch-ucs -n hyperswitch --create-namespace
+helm install hyperswitch-ucs ./charts/hyperswitch-ucs -n hyperswitch --create-namespace
```
## Uninstalling the Chart
@@ -114,24 +114,13 @@ The following table lists the configurable parameters of the hyperswitch-ucs cha
| Key | Type | Default | Description |
|-----|------|---------|-------------|
-| config.connectors.adyen.base_url | string | `"https://{{merchant_endpoint_prefix}}-checkout-live.adyenpayments.com/checkout/"` | Adyen base URL |
-| config.connectors.adyen.dispute_base_url | string | `"https://{{merchant_endpoint_prefix}}-ca-live.adyen.com/"` | Adyen dispute base URL |
-| config.connectors.authorizedotnet.base_url | string | `"https://api.authorize.net/xml/v1/request.api/"` | Authorize.net base URL |
-| config.connectors.checkout.base_url | string | `"https://api.checkout.com/"` | Checkout base URL |
-| config.connectors.elavon.base_url | string | `"https://api.convergepay.com/VirtualMerchant/"` | Elavon base URL |
-| config.connectors.fiserv.base_url | string | `"https://cert.api.fiservapps.com/"` | Fiserv base URL |
-| config.connectors.razorpay.base_url | string | `"https://api.razorpay.com/"` | Razorpay base URL |
-| config.connectors.razorpayv2.base_url | string | `"https://api.razorpay.com/"` | Razorpay v2 base URL |
-| config.connectors.xendit.base_url | string | `"https://api.xendit.co/"` | Xendit base URL |
| config.log.console.enabled | bool | `true` | Enable console logging |
| config.log.console.level | string | `"DEBUG"` | Log level (DEBUG, INFO, WARN, ERROR) |
| config.log.console.log_format | string | `"json"` | Log format (json, text) |
| config.metrics.host | string | `"0.0.0.0"` | Metrics server host address |
| config.metrics.port | int | `8080` | Metrics server port |
-| config.proxy.bypass_proxy_urls | list | `["localhost","local"]` | URLs to bypass proxy |
| config.proxy.http_url | string | `"http_proxy"` | HTTP proxy URL |
| config.proxy.https_url | string | `"https_proxy"` | HTTPS proxy URL |
-| config.proxy.idle_pool_connection_timeout | int | `90` | Idle pool connection timeout |
| config.server.host | string | `"0.0.0.0"` | Server host address |
| config.server.port | int | `8000` | Server port |
| config.server.type | string | `"grpc"` | Server type |
@@ -140,7 +129,17 @@ The following table lists the configurable parameters of the hyperswitch-ucs cha
| Key | Type | Default | Description |
|-----|------|---------|-------------|
+| argoRollouts | object | `{"canary":{"steps":[],"trafficRouting":{"istio":{"destinationRule":{"canarySubsetName":"canary","stableSubsetName":"stable"},"enabled":false}}},"enabled":false,"revisionHistoryLimit":10}` | Argo Rollouts configuration |
+| argoRollouts.canary.steps | list | `[]` | Canary deployment steps (see Argo Rollouts docs) |
+| argoRollouts.canary.trafficRouting.istio.destinationRule.canarySubsetName | string | `"canary"` | Name of the canary subset in Istio DestinationRule |
+| argoRollouts.canary.trafficRouting.istio.destinationRule.stableSubsetName | string | `"stable"` | Name of the stable subset in Istio DestinationRule |
+| argoRollouts.canary.trafficRouting.istio.enabled | bool | `false` | Enable Istio traffic routing for canary |
+| argoRollouts.enabled | bool | `false` | Enable Argo Rollouts instead of standard Deployment |
+| argoRollouts.revisionHistoryLimit | int | `10` | Number of old ReplicaSets to retain for rollback |
+| config.server.run_env | string | `"sandbox"` | Runtime environment (production, sandbox) |
+| env | list | `[]` | |
| global.imageRegistry | string | `nil` | |
+| strategy | object | `{}` | |
### Example Configuration
@@ -158,7 +157,7 @@ env:
```
```bash
-helm install hyperswitch-ucs ./charts/incubator/hyperswitch-ucs -f values-local.yaml -n hyperswitch
+helm install hyperswitch-ucs ./charts/hyperswitch-ucs -f values-local.yaml -n hyperswitch
```
#### Running with custom resource limits
diff --git a/charts/incubator/hyperswitch-ucs/README.md.gotmpl b/charts/hyperswitch-ucs/README.md.gotmpl
similarity index 93%
rename from charts/incubator/hyperswitch-ucs/README.md.gotmpl
rename to charts/hyperswitch-ucs/README.md.gotmpl
index ebb842ff..2d9cd279 100644
--- a/charts/incubator/hyperswitch-ucs/README.md.gotmpl
+++ b/charts/hyperswitch-ucs/README.md.gotmpl
@@ -28,7 +28,7 @@ This chart deploys the Hyperswitch UCS (Unified Connector Service) on a Kubernet
To install the chart with the release name `hyperswitch-ucs`:
```bash
-helm install hyperswitch-ucs ./charts/incubator/hyperswitch-ucs -n hyperswitch --create-namespace
+helm install hyperswitch-ucs ./charts/hyperswitch-ucs -n hyperswitch --create-namespace
```
## Uninstalling the Chart
@@ -61,7 +61,7 @@ env:
```
```bash
-helm install hyperswitch-ucs ./charts/incubator/hyperswitch-ucs -f values-local.yaml -n hyperswitch
+helm install hyperswitch-ucs ./charts/hyperswitch-ucs -f values-local.yaml -n hyperswitch
```
#### Running with custom resource limits
diff --git a/charts/incubator/hyperswitch-ucs/configs/ucs-production.toml b/charts/hyperswitch-ucs/configs/ucs-production.toml
similarity index 100%
rename from charts/incubator/hyperswitch-ucs/configs/ucs-production.toml
rename to charts/hyperswitch-ucs/configs/ucs-production.toml
diff --git a/charts/incubator/hyperswitch-ucs/configs/ucs-sandbox.toml b/charts/hyperswitch-ucs/configs/ucs-sandbox.toml
similarity index 100%
rename from charts/incubator/hyperswitch-ucs/configs/ucs-sandbox.toml
rename to charts/hyperswitch-ucs/configs/ucs-sandbox.toml
diff --git a/charts/incubator/hyperswitch-ucs/templates/NOTES.txt b/charts/hyperswitch-ucs/templates/NOTES.txt
similarity index 100%
rename from charts/incubator/hyperswitch-ucs/templates/NOTES.txt
rename to charts/hyperswitch-ucs/templates/NOTES.txt
diff --git a/charts/incubator/hyperswitch-ucs/templates/_helpers.tpl b/charts/hyperswitch-ucs/templates/_helpers.tpl
similarity index 100%
rename from charts/incubator/hyperswitch-ucs/templates/_helpers.tpl
rename to charts/hyperswitch-ucs/templates/_helpers.tpl
diff --git a/charts/incubator/hyperswitch-ucs/templates/configmap.yaml b/charts/hyperswitch-ucs/templates/configmap.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-ucs/templates/configmap.yaml
rename to charts/hyperswitch-ucs/templates/configmap.yaml
diff --git a/charts/incubator/hyperswitch-ucs/templates/deployment.yaml b/charts/hyperswitch-ucs/templates/deployment.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-ucs/templates/deployment.yaml
rename to charts/hyperswitch-ucs/templates/deployment.yaml
diff --git a/charts/incubator/hyperswitch-ucs/templates/hpa.yaml b/charts/hyperswitch-ucs/templates/hpa.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-ucs/templates/hpa.yaml
rename to charts/hyperswitch-ucs/templates/hpa.yaml
diff --git a/charts/incubator/hyperswitch-ucs/templates/ingress.yaml b/charts/hyperswitch-ucs/templates/ingress.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-ucs/templates/ingress.yaml
rename to charts/hyperswitch-ucs/templates/ingress.yaml
diff --git a/charts/incubator/hyperswitch-ucs/templates/misc/configmap.yaml b/charts/hyperswitch-ucs/templates/misc/configmap.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-ucs/templates/misc/configmap.yaml
rename to charts/hyperswitch-ucs/templates/misc/configmap.yaml
diff --git a/charts/incubator/hyperswitch-ucs/templates/sa.yaml b/charts/hyperswitch-ucs/templates/sa.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-ucs/templates/sa.yaml
rename to charts/hyperswitch-ucs/templates/sa.yaml
diff --git a/charts/incubator/hyperswitch-ucs/templates/service.yaml b/charts/hyperswitch-ucs/templates/service.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-ucs/templates/service.yaml
rename to charts/hyperswitch-ucs/templates/service.yaml
diff --git a/charts/incubator/hyperswitch-ucs/values.yaml b/charts/hyperswitch-ucs/values.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-ucs/values.yaml
rename to charts/hyperswitch-ucs/values.yaml
diff --git a/charts/incubator/hyperswitch-web/.helmignore b/charts/hyperswitch-web/.helmignore
similarity index 100%
rename from charts/incubator/hyperswitch-web/.helmignore
rename to charts/hyperswitch-web/.helmignore
diff --git a/charts/incubator/hyperswitch-web/Chart.yaml b/charts/hyperswitch-web/Chart.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-web/Chart.yaml
rename to charts/hyperswitch-web/Chart.yaml
diff --git a/charts/incubator/hyperswitch-web/README.md b/charts/hyperswitch-web/README.md
similarity index 100%
rename from charts/incubator/hyperswitch-web/README.md
rename to charts/hyperswitch-web/README.md
diff --git a/charts/incubator/hyperswitch-web/Taskfile.yaml b/charts/hyperswitch-web/Taskfile.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-web/Taskfile.yaml
rename to charts/hyperswitch-web/Taskfile.yaml
diff --git a/charts/incubator/hyperswitch-web/sdk-builder/Dockerfile b/charts/hyperswitch-web/sdk-builder/Dockerfile
similarity index 100%
rename from charts/incubator/hyperswitch-web/sdk-builder/Dockerfile
rename to charts/hyperswitch-web/sdk-builder/Dockerfile
diff --git a/charts/incubator/hyperswitch-web/sdk-builder/Readme.md b/charts/hyperswitch-web/sdk-builder/Readme.md
similarity index 88%
rename from charts/incubator/hyperswitch-web/sdk-builder/Readme.md
rename to charts/hyperswitch-web/sdk-builder/Readme.md
index fb3d198b..d4d21789 100644
--- a/charts/incubator/hyperswitch-web/sdk-builder/Readme.md
+++ b/charts/hyperswitch-web/sdk-builder/Readme.md
@@ -4,8 +4,8 @@ Whenever we try to host Hyperloader.js for new version, we need to build asset.
```
Start local docker
-cd hyperswitch-helm/charts/incubator/hyperswitch-sdk/sdk-builder
+cd hyperswitch-helm/charts/hyperswitch-sdk/sdk-builder
docker build --build-arg sdkVersion=<0.35.4> --platform=linux/amd64 -t hyperswitch-web .
docker tag hyperswitch-web /hyperswitch-web:<0.35.4>
docker push /hyperswitch-web:<0.35.4>
-```
\ No newline at end of file
+```
diff --git a/charts/incubator/hyperswitch-web/templates/NOTES.txt b/charts/hyperswitch-web/templates/NOTES.txt
similarity index 100%
rename from charts/incubator/hyperswitch-web/templates/NOTES.txt
rename to charts/hyperswitch-web/templates/NOTES.txt
diff --git a/charts/incubator/hyperswitch-web/templates/_helpers.tpl b/charts/hyperswitch-web/templates/_helpers.tpl
similarity index 100%
rename from charts/incubator/hyperswitch-web/templates/_helpers.tpl
rename to charts/hyperswitch-web/templates/_helpers.tpl
diff --git a/charts/incubator/hyperswitch-web/templates/deployment.yaml b/charts/hyperswitch-web/templates/deployment.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-web/templates/deployment.yaml
rename to charts/hyperswitch-web/templates/deployment.yaml
diff --git a/charts/incubator/hyperswitch-web/templates/hpa.yaml b/charts/hyperswitch-web/templates/hpa.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-web/templates/hpa.yaml
rename to charts/hyperswitch-web/templates/hpa.yaml
diff --git a/charts/incubator/hyperswitch-web/templates/ingress.yaml b/charts/hyperswitch-web/templates/ingress.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-web/templates/ingress.yaml
rename to charts/hyperswitch-web/templates/ingress.yaml
diff --git a/charts/incubator/hyperswitch-web/templates/sdk-demo-app/deployment.yaml b/charts/hyperswitch-web/templates/sdk-demo-app/deployment.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-web/templates/sdk-demo-app/deployment.yaml
rename to charts/hyperswitch-web/templates/sdk-demo-app/deployment.yaml
diff --git a/charts/incubator/hyperswitch-web/templates/sdk-demo-app/ingress.yaml b/charts/hyperswitch-web/templates/sdk-demo-app/ingress.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-web/templates/sdk-demo-app/ingress.yaml
rename to charts/hyperswitch-web/templates/sdk-demo-app/ingress.yaml
diff --git a/charts/incubator/hyperswitch-web/templates/sdk-demo-app/service.yaml b/charts/hyperswitch-web/templates/sdk-demo-app/service.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-web/templates/sdk-demo-app/service.yaml
rename to charts/hyperswitch-web/templates/sdk-demo-app/service.yaml
diff --git a/charts/incubator/hyperswitch-web/templates/service.yaml b/charts/hyperswitch-web/templates/service.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-web/templates/service.yaml
rename to charts/hyperswitch-web/templates/service.yaml
diff --git a/charts/incubator/hyperswitch-web/templates/serviceaccount.yaml b/charts/hyperswitch-web/templates/serviceaccount.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-web/templates/serviceaccount.yaml
rename to charts/hyperswitch-web/templates/serviceaccount.yaml
diff --git a/charts/incubator/hyperswitch-web/templates/statefulset-nginx-configmap.yaml b/charts/hyperswitch-web/templates/statefulset-nginx-configmap.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-web/templates/statefulset-nginx-configmap.yaml
rename to charts/hyperswitch-web/templates/statefulset-nginx-configmap.yaml
diff --git a/charts/incubator/hyperswitch-web/values.yaml b/charts/hyperswitch-web/values.yaml
similarity index 100%
rename from charts/incubator/hyperswitch-web/values.yaml
rename to charts/hyperswitch-web/values.yaml
diff --git a/charts/incubator/hyperswitch-stack/ingress.yaml b/charts/incubator/hyperswitch-stack/ingress.yaml
deleted file mode 100644
index 5bdcf00c..00000000
--- a/charts/incubator/hyperswitch-stack/ingress.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
-apiVersion: networking.k8s.io/v1
-kind: Ingress
-metadata:
- name: example-ingress
- annotations:
- nginx.ingress.kubernetes.io/rewrite-target: /
-spec:
- rules:
- - host: localhost
- http:
- paths:
- - path: /
- pathType: Prefix
- backend:
- service:
- name: hello-world
- port:
- number: 8080
diff --git a/charts/incubator/hyperswitch-stack/templates/_helpers.tpl b/charts/incubator/hyperswitch-stack/templates/_helpers.tpl
deleted file mode 100644
index afd7c91d..00000000
--- a/charts/incubator/hyperswitch-stack/templates/_helpers.tpl
+++ /dev/null
@@ -1,62 +0,0 @@
-{{/*
-Expand the name of the chart.
-*/}}
-{{- define "hyperswitch-stack.name" -}}
-{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
-{{- end }}
-
-{{/*
-Create a default fully qualified app name.
-We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
-If release name contains chart name it will be used as a full name.
-*/}}
-{{- define "hyperswitch-stack.fullname" -}}
-{{- if .Values.fullnameOverride }}
-{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
-{{- else }}
-{{- $name := default .Chart.Name .Values.nameOverride }}
-{{- if contains $name .Release.Name }}
-{{- .Release.Name | trunc 63 | trimSuffix "-" }}
-{{- else }}
-{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
-{{- end }}
-{{- end }}
-{{- end }}
-
-{{/*
-Create chart name and version as used by the chart label.
-*/}}
-{{- define "hyperswitch-stack.chart" -}}
-{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
-{{- end }}
-
-{{/*
-Common labels
-*/}}
-{{- define "hyperswitch-stack.labels" -}}
-helm.sh/chart: {{ include "hyperswitch-stack.chart" . }}
-{{ include "hyperswitch-stack.selectorLabels" . }}
-{{- if .Chart.AppVersion }}
-app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
-{{- end }}
-app.kubernetes.io/managed-by: {{ .Release.Service }}
-{{- end }}
-
-{{/*
-Selector labels
-*/}}
-{{- define "hyperswitch-stack.selectorLabels" -}}
-app.kubernetes.io/name: {{ include "hyperswitch-stack.name" . }}
-app.kubernetes.io/instance: {{ .Release.Name }}
-{{- end }}
-
-{{/*
-Create the name of the service account to use
-*/}}
-{{- define "hyperswitch-stack.serviceAccountName" -}}
-{{- if .Values.serviceAccount.create }}
-{{- default (include "hyperswitch-stack.fullname" .) .Values.serviceAccount.name }}
-{{- else }}
-{{- default "default" .Values.serviceAccount.name }}
-{{- end }}
-{{- end }}
diff --git a/charts/incubator/hyperswitch-stack/templates/tests/test-connection.yaml b/charts/incubator/hyperswitch-stack/templates/tests/test-connection.yaml
deleted file mode 100644
index 7f14a30e..00000000
--- a/charts/incubator/hyperswitch-stack/templates/tests/test-connection.yaml
+++ /dev/null
@@ -1,16 +0,0 @@
-apiVersion: v1
-kind: Pod
-metadata:
- name: "{{ include "hyperswitch-stack.fullname" . }}-test-connection"
- labels:
- {{- include "hyperswitch-stack.labels" . | nindent 4 }}
- annotations:
- "helm.sh/hook": test
-spec:
- containers:
- - name: wget
- {{- $registry := .Values.global.imageRegistry | default "docker.io" }}
- image: "{{ $registry }}/busybox"
- command: ['wget']
- args: ['{{ include "hyperswitch-stack.fullname" . }}:{{ .Values.service.port }}']
- restartPolicy: Never
diff --git a/charts/incubator/hyperswitch-stack/values.yaml b/charts/incubator/hyperswitch-stack/values.yaml
deleted file mode 100644
index 29fea122..00000000
--- a/charts/incubator/hyperswitch-stack/values.yaml
+++ /dev/null
@@ -1,301 +0,0 @@
-# loadbalancer security group
-# @ignored
-loadBalancer:
- targetSecurityGroup: &lb_security_group lg-security-group
-
-# @ignored
-service:
- type: ClusterIP
- port: 80
-
-# @ignored
-services:
- router:
- host: &router_host http://localhost:8080
- sdk:
- host: &web_sdk_host http://localhost:9050
-
-global:
- # Global image registry to override all container image registries
- # If set, all container images will be pulled from this registry
- # If not set, each service will use its default registry
- # Example: "my-registry.com" or "localhost:5000"
- imageRegistry: &image_registry null
- image:
- registry: *image_registry
-
- tolerations: []
- # @ignored
- # Eg.
- # affinity:
- # nodeAffinity:
- # requiredDuringSchedulingIgnoredDuringExecution:
- # nodeSelectorTerms:
- # - matchExpressions:
- # - key: node-type
- # operator: In
- # values:
- # - generic-compute
- affinity: {}
-
-# @ignored
-hyperswitch-web:
- fullnameOverride: "hyperswitch-web"
- enabled: true
- sdkDemo:
- enabled: false
- image:
- pullPolicy: IfNotPresent
- podAnnotations:
- "helm.sh/hook": post-install,post-upgrade
- "helm.sh/hook-weight": "-5"
- "helm.sh/hook-delete-policy": hook-succeeded
- autoBuild:
- enable: true
- forceBuild: true
- gitCloneParam:
- gitVersion: 0.126.0
- nginxConfig:
- extraPath: v1
- buildParam:
- envSdkUrl: *web_sdk_host
- envBackendUrl: *router_host
- envLogsUrl: http://localhost:3103
- service:
- port: 9050
- loadBalancer:
- targetSecurityGroup: "loadbalancer-sg"
- tolerations: []
- ingress:
- enabled: true
- className: "alb"
- apiVersion: networking.k8s.io/v1
- annotations:
- alb.ingress.kubernetes.io/backend-protocol: HTTP
- alb.ingress.kubernetes.io/backend-protocol-version: HTTP1
- alb.ingress.kubernetes.io/group.name: hyperswitch-web-alb-ingress-group
- alb.ingress.kubernetes.io/ip-address-type: ipv4
- alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}]'
- alb.ingress.kubernetes.io/load-balancer-name: hyperswitch-web
- alb.ingress.kubernetes.io/scheme: internet-facing
- alb.ingress.kubernetes.io/security-groups: *lb_security_group
- alb.ingress.kubernetes.io/tags: stack=hyperswitch-lb
- alb.ingress.kubernetes.io/target-type: ip
- hosts:
- - http:
- paths:
- - path: /
- pathType: Prefix
- backend:
- service:
- name: hyperswitch-web
- port:
- number: 80
-# @ignored
-hyperswitch-app:
- initDB:
- enable: true
- loadBalancer:
- targetSecurityGroup: *lb_security_group
- services:
- router:
- version: v1.117.0
- imageRegistry: docker.juspay.io
- image: juspaydotin/hyperswitch-router:v1.117.0
- host: *router_host
- consumer:
- version: v1.117.0
- imageRegistry: docker.juspay.io
- image: juspaydotin/hyperswitch-consumer:v1.117.0
- producer:
- version: v1.117.0
- imageRegistry: docker.juspay.io
- image: juspaydotin/hyperswitch-producer:v1.117.0
- drainer:
- imageRegistry: docker.juspay.io
- image: juspaydotin/hyperswitch-drainer:v1.117.0
- version: v1.117.0
- controlCenter:
- imageRegistry: docker.juspay.io
- image: juspaydotin/hyperswitch-control-center:v1.37.4
- sdk:
- host: *web_sdk_host
- version: 0.126.0
- subversion: v1
- server:
- replicas: 1
- secrets:
- # Follow https://github.com/juspay/hyperswitch/tree/main/crates/analytics#setting-up-forex-apis to get the forex api key
- forex_api_key: forex_api_key
- forex_fallback_api_key: forex_fallback_api_key
- locker:
- locker_enabled: true
- run_env: sandbox
- email:
- active_email_client: SMTP
- controlCenter:
- env:
- default__features__email: "true"
- default__features__totp: "true"
- default__features__test_processors: "true"
- autoscaling:
- enabled: false
- minReplicas: 1
- maxReplicas: 4
- targetCPUUtilizationPercentage: 80
-
- hyperswitch-card-vault:
- enabled: true
- server:
- imageRegistry: docker.juspay.io
- image: juspaydotin/hyperswitch-card-vault:v0.6.5-dev
- tenant_secrets:
- hyperswitch:
- master_key: "8283d68fdbd89a78aef9bed8285ed1cd9310012f660eefbad865f20a3f3dd9498f06147da6a7d9b84677cafca95024990b3d2296fbafc55e10dd76df"
- public_key: ""
- schema: "public"
-
- initDB:
- enable: true
- postgresql:
- primary:
- tolerations: []
- redis:
- master:
- tolerations: []
- postgresql:
- primary:
- tolerations: []
- readReplicas:
- tolerations: []
- kafka:
- controller:
- tolerations: []
- broker:
- tolerations: []
- zookeeper:
- tolerations: []
- provisioning:
- tolerations: []
- clickhouse:
- tolerations: []
- zookeeper:
- tolerations: []
- mailhog:
- tolerations: []
- vector:
- tolerations: []
-
-hyperswitch-monitoring:
- enabled: true
- # Pass global imageRegistry to monitoring subcharts
- global:
- tolerations: []
- # Component-specific tolerations
- kube-prometheus-stack:
- prometheus:
- prometheusSpec:
- tolerations: []
- grafana:
- tolerations: []
- alertmanager:
- alertmanagerSpec:
- tolerations: []
- loki:
- singleBinary:
- tolerations: []
- promtail:
- tolerations: []
- opentelemetry-collector:
- tolerations: []
-
-# @ignored
-hyperswitch-ucs:
- enabled: false
- fullnameOverride: "hyperswitch-ucs"
- image:
- imageRegistry: ghcr.io
- repository: juspay/connector-service
- pullPolicy: IfNotPresent
- tag: "main-b1487cb"
- imagePullSecrets: []
- nameOverride: ""
-
- serviceAccount:
- create: true
- annotations: {}
- name: ""
-
- podAnnotations: {}
- podSecurityContext: {}
- securityContext: {}
-
- service:
- type: ClusterIP
- grpc:
- port: 8000
- targetPort: 8000
- metrics:
- port: 8080
- targetPort: 8080
-
- ingress:
- enabled: false
- className: ""
- annotations: {}
- hosts:
- - host: hyperswitch-ucs.local
- paths:
- - path: /
- pathType: ImplementationSpecific
- tls: []
-
- autoscaling:
- enabled: false
- minReplicas: 1
- maxReplicas: 100
- targetCPUUtilizationPercentage:
- 80
- # targetMemoryUtilizationPercentage: 80
-
- nodeSelector: {}
- tolerations: []
- affinity: {}
-
- # Configuration via ConfigMap
- config:
- log:
- console:
- enabled: true
- level: "DEBUG"
- log_format: "json"
- server:
- host: "0.0.0.0"
- port: 8000
- type: "grpc"
- metrics:
- host: "0.0.0.0"
- port: 8080
- connectors:
- adyen:
- base_url: "https://{{merchant_endpoint_prefix}}-checkout-live.adyenpayments.com/checkout/"
- dispute_base_url: "https://{{merchant_endpoint_prefix}}-ca-live.adyen.com/"
- razorpay:
- base_url: "https://api.razorpay.com/"
- fiserv:
- base_url: "https://cert.api.fiservapps.com/"
- elavon:
- base_url: "https://api.convergepay.com/VirtualMerchant/"
- xendit:
- base_url: "https://api.xendit.co/"
- razorpayv2:
- base_url: "https://api.razorpay.com/"
- checkout:
- base_url: "https://api.checkout.com/"
- authorizedotnet:
- base_url: "https://api.authorize.net/xml/v1/request.api/"
- proxy:
- https_url: ""
- http_url: ""
- idle_pool_connection_timeout: 90
- bypass_proxy_urls: ["localhost", "local"]
diff --git a/ct.yaml b/ct.yaml
index 1b6bbf62..2096c3d7 100644
--- a/ct.yaml
+++ b/ct.yaml
@@ -2,7 +2,7 @@
remote: origin
target-branch: main
chart-dirs:
- - charts/incubator
+ - charts
chart-repos:
- hyperswitch=https://juspay.github.io/hyperswitch-helm
- bitnami=https://charts.bitnami.com/bitnami
diff --git a/load_test/README.md b/load_test/README.md
deleted file mode 100644
index 692a4135..00000000
--- a/load_test/README.md
+++ /dev/null
@@ -1,68 +0,0 @@
-# Load Test with Locust
-
-This directory contains a Locust script for load testing.
-
-## Prerequisites
-
-Before you run the load test, ensure you have the following installed:
-
-
-- Python 3.6+ : You need a Python version of 3.6 or higher.
-- Locust : The load testing tool that will simulate virtual users to test your system.
-
-## Installation
-
-1. Install Locust: If locust is not installed, you can install it using pip :
- ```sh
- pip install locust
- ```
- This will install the Locust tool on your system, making it ready to run the load tests.
-
-## Running the Test
-
-1. Navigate to the directory : Go to the directory where your Locust script is stored :
- ```sh
- cd /Users/hyperswitch-helm/load_test
- ```
- Replace the path with the actual location of your script
-
-2. Provide connector API key: Pass the connector API key as an environment variable:
- ```sh
- export CONNECTOR_API_KEY="your_api_key"
- ```
- Replace "your_api_key" with the connector API key
-
-3. Run the Locust test: To start the load test, run the following command:
- ```sh
- locust -f your_locust_script.py
- ```
- Replace your_locust_script.py with the actual filename of your Locust Script.
-
-
-3. Start the web interface: After running the command, Locust will start up and provide you with a web interface like http://localhost:8089
-Open this URL in your web browser, and you'll be able to configure and monitor your load test from the interface.
-
-## Configuration
-
-In the Locust Web Interface, you can configure various aspects of the test, such as the number of virtual users (clients) and the rate at which they are spawned.
-
-### Command Line Options
-
-Locust allows you to further configure your load test through command-line options. These options give you flexibility to adjust parameters dynamically when running the test. Here's an explanation of the commonly used options:
-- `-u`, `--users`: This option sets the number of virtual users you want to simulate. More users will generate more traffic, which is useful for stress testing your application.
- - Example: ```-u 100``` will simulate 100 users.
-- `-r`, `--spawn-rate`: This controls how fast the virtual users are spawned. A higher spawn rate means that users will be added more quickly.
- - Example: ```-r 10``` means 10 users will be added every second.
-- `-t`, `--run-time`: This sets a time limit for how long the load test will run.
- - Example: ```-t 1h``` will run the test for 1 hour.
-
-Example:
-```sh
-locust -f your_locust_script.py --users 100 --spawn-rate 10 --run-time 1h
-```
-
-## Stopping the Test
-
-To stop the test:
-1. Click the Stop button in the web interface.
-2. Alternatively, you can press ```Ctrl + C``` in the terminal to stop the Locust process.
\ No newline at end of file
diff --git a/load_test/load_test.py b/load_test/load_test.py
deleted file mode 100644
index cccb1803..00000000
--- a/load_test/load_test.py
+++ /dev/null
@@ -1,340 +0,0 @@
-from email import header
-from locust import HttpUser, TaskSet, SequentialTaskSet, task, between
-from uuid import uuid4 as u4
-from random import choice
-import json
-import time
-import os
-
-'''
-curl 'http://192.168.194.86/payments/pay_juk8r4trQIMHkQoyUaIO/confirm'
--X POST -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5'
--H 'Accept-Encoding: gzip, deflate' -H 'Referer: http://hyperswitch-schema-225681119357-us-east-2.s3.amazonaws.com/' -H 'Content-Type: application/json'
--H 'sdk-version: 0.5.6' -H 'api-key: pk_snd_21976dc3aea941c59e0ce*****'
--H 'Origin: http://hyperswitch-schema-225681119357-us-east-2.s3.amazonaws.com'
--H 'Connection: keep-alive'
---data-raw '{"client_secret":"pay_SyKOVP56WtiypInweMde_secret_lox6KduPNJDpUovYTzrW","return_url":"http://hyperswitch-sdk-970350076.us-east-2.elb.amazonaws.com"
-,"payment_method":"card","payment_method_data":{"card":{"card_number":"4242424242424242","card_exp_month":"10","card_exp_year":"2025","card_holder_name":"","card_cvc":"123","card_issuer":"","card_network":"Visa"}}
-,"browser_info":{"user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0","accept_header":"text\\/html,application\\/xhtml+xml,application\\/xml;q=0.9,image\\/webp,image\\/apng,*\\/*;q=0.8"
-,"language":"en-US","color_depth":30,"screen_height":1120,"screen_width":1792,"time_zone":-330,"java_enabled":True,"java_script_enabled":True}}'
-'''
-
-def merchant_account_create(client):
- payload = json.dumps({
- "merchant_id": f"merchant_{int(time.time())}",
- "locker_id": "m0010",
- "merchant_name": "NewAge Retailer",
- "merchant_details": {
- "primary_contact_person": "John Test",
- "primary_email": "JohnTest@test.com",
- "primary_phone": "sunt laborum",
- "secondary_contact_person": "John Test2",
- "secondary_email": "JohnTest2@test.com",
- "secondary_phone": "cillum do dolor id",
- "website": "https://www.example.com",
- "about_business": "Online Retail with a wide selection of organic products for North America",
- "address": {
- "line1": "1467",
- "line2": "Harrison Street",
- "line3": "Harrison Street",
- "city": "San Fransico",
- "state": "California",
- "zip": "94122",
- "country": "US",
- "first_name":"john",
- "last_name":"Doe"
- }
- },
- "return_url": "https://google.com/success",
- "webhook_details": {
- "webhook_version": "1.0.1",
- "webhook_username": "ekart_retail",
- "webhook_password": "password_ekart@123",
- "webhook_url":"https://webhook.site",
- "payment_created_enabled": True,
- "payment_succeeded_enabled": True,
- "payment_failed_enabled": True
- },
- "sub_merchants_enabled": False,
- "parent_merchant_id":"merchant_123",
- "metadata": {
- "city": "NY",
- "unit": "245"
- },
- "primary_business_details": [
- {
- "country": "US",
- "business": "default"
- }
- ]
- })
- response = client.post('/accounts', data=payload,
- headers={
- 'Content-Type': 'application/json',
- 'Accept': 'application/json',
- 'api-key': 'test_admin'})
- merchant_id = json.loads(response.text)["merchant_id"]
- return merchant_id
-
-def api_key_create(client, m_id):
- payload = json.dumps({
- "name": "API Key 1",
- "description": None,
- "expiration": "2038-01-19T03:14:08.000Z",
- })
- merchant_id = m_id
- response = client.post('/api_keys/'+merchant_id, data=payload,
- headers = {
- 'Content-Type': 'application/json',
- 'Accept': 'application/json',
- 'api-key': 'test_admin'})
- api_key = json.loads(response.text)["api_key"]
- return api_key
-
-def get_api_key_from_env():
- return os.getenv('CONNECTOR_API_KEY')
-
-def connector_create(client):
- api_key_from_env = get_api_key_from_env()
-
- payload = json.dumps({
- "connector_type": "payment_processor",
- "connector_name": "stripe",
- "connector_account_details": {
- "auth_type": "HeaderKey",
- "api_key": api_key_from_env
- },
- "test_mode": True,
- "disabled": False,
- "payment_methods_enabled": [
- {
- "payment_method": "card",
- "payment_method_types": [
- {
- "payment_method_type": "credit",
- "card_networks": [
- "Visa",
- "Mastercard"
- ],
- "minimum_amount": 1,
- "maximum_amount": 68607706,
- "recurring_enabled": True,
- "installment_payment_enabled": True,
- "accepted_countries": {
- "type": "disable_only",
- "list": [
- "HK"
- ]
- },
- "accepted_currencies": {
- "type": "enable_only",
- "list": [
- "USD",
- "GBP",
- "INR"
- ]
- }
- },
- {
- "payment_method_type": "debit",
- "card_networks": [
- "Visa",
- "Mastercard"
- ],
- "minimum_amount": 1,
- "maximum_amount": 68607706,
- "recurring_enabled": True,
- "installment_payment_enabled": True,
- "accepted_countries": {
- "type": "disable_only",
- "list": [
- "HK"
- ]
- },
- "accepted_currencies": {
- "type": "enable_only",
- "list": [
- "USD",
- "GBP",
- "INR"
- ]
- }
- }
- ]
- },
- {
- "payment_method": "pay_later",
- "payment_method_types": [
- {
- "payment_method_type": "klarna",
- "payment_experience": "redirect_to_url",
- "minimum_amount": 1,
- "maximum_amount": 68607706,
- "recurring_enabled": True,
- "installment_payment_enabled": True
- },
- {
- "payment_method_type": "affirm",
- "payment_experience": "redirect_to_url",
- "minimum_amount": 1,
- "maximum_amount": 68607706,
- "recurring_enabled": True,
- "installment_payment_enabled": True
- },
- {
- "payment_method_type": "afterpay_clearpay",
- "payment_experience": "redirect_to_url",
- "minimum_amount": 1,
- "maximum_amount": 68607706,
- "recurring_enabled": True,
- "installment_payment_enabled": True
- }
- ]
- }
- ],
- "metadata": {
- "city": "NY",
- "unit": "245"
- },
- "connector_webhook_details": {
- "merchant_secret": "MyWebhookSecret"
- },
- "business_country": "US",
- "business_label": "default"
- })
- response = client.post('/account/'+merchant_id+'/connectors', data=payload,
- headers = {
- 'Content-Type': 'application/json',
- 'Accept': 'application/json',
- 'api-key': 'test_admin'})
-
-
-
-
-class UserBehavior(SequentialTaskSet):
- payment_id = ""
- @task(1)
- def stripe(self):
- payload = json.dumps({
- "amount": 6540,
- "currency": "USD",
- "confirm": False,
- # "business_country":"US",
- # "business_label":"default",
- "capture_method": "automatic",
- "capture_on": "2022-09-10T10:11:12Z",
- "amount_to_capture": 6540,
- "customer_id": "StripeCustomer",
- "email": "guest@example.com",
- "name": "John Doe",
- "phone": "999999999",
- "phone_country_code": "+65",
- "description": "Its my first payment request",
- "authentication_type": "no_three_ds",
- "return_url": "https://duck.com",
- "billing": {
- "address": {
- "line1": "1467",
- "line2": "Harrison Street",
- "line3": "Harrison Street",
- "city": "San Fransico",
- "state": "California",
- "zip": "94122",
- "country": "US",
- "first_name": "PiX",
- "last_name": "Pix",
- }
- },
- "shipping": {
- "address": {
- "line1": "1467",
- "line2": "Harrison Street",
- "line3": "Harrison Street",
- "city": "San Fransico",
- "state": "California",
- "zip": "94122",
- "country": "US",
- "first_name": "PiX"
- }
- },
- "statement_descriptor_name": "joseph",
- "statement_descriptor_suffix": "JS",
- "metadata": {
- "udf1": "value1",
- "new_customer": "True",
- "login_date": "2019-09-10T10:11:12Z"
- }
-})
- response = self.client.post('/payments', data=payload,
- headers={
- 'Content-Type': 'application/json',
- 'Accept': 'application/json',
- #'x-feature' : 'router-custom'
- 'api-key' : api_key #c3
- })
-
- self.payment_id = json.loads(response.text)["payment_id"]
- print(json.loads(response.text))
- print(self.payment_id)
-
-
- @task(1)
- def confimr(self):
- payload = json.dumps({"payment_method": "card",
- "payment_method_type": "credit",
- # "setup_future_usage": "on_session",
- # "connector":["stripe_test"],
- # "payment_method_data": {
- # "card": {
- # "card_number": "4200000000000000",
- # "card_exp_month": "10",
- # "card_exp_year": "25",
- # "card_holder_name": "joseph Doe",
- # "card_cvc": "123"
- # }
- # },
- "payment_method_data": {
- "card": {
- "card_number": "4242424242424242",
- "card_exp_month": "10",
- "card_exp_year": "25",
- "card_holder_name": "joseph Doe",
- "card_cvc": "123"
- }
- },
- "browser_info": {
- "user_agent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/70.0.3538.110 Safari\/537.36",
- "accept_header": "text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/webp,image\/apng,*\/*;q=0.8",
- "language": "nl-NL",
- "color_depth": 24,
- "screen_height": 723,
- "screen_width": 1536,
- "time_zone": 0,
- "java_enabled": True,
- "java_script_enabled": True,
- "ip_address": "125.0.0.1"
- }})
-
- response = self.client.post('/payments/'+self.payment_id+'/confirm', name='/payments/payment_id/confirm', data=payload,
- headers={
- 'Content-Type': 'application/json',
- 'Accept': 'application/json',
- #'x-feature' : 'router-custom'
- 'api-key' : api_key,
- 'x-hs-latency' : 'True'
- })
- print(response.headers.get('x-hs-latency'))
- print(json.loads(response.text))
-
-
-class WebsiteUser(HttpUser):
- tasks = [UserBehavior]
- def on_start(self):
- global merchant_id, api_key
- merchant_id = merchant_account_create(self.client)
- api_key = api_key_create(self.client, merchant_id)
- connector_create(self.client)
- wait_time = between(0, 2)
- #host = 'https://api.hyperswitch.io'
- # host = 'https://api.hyperswitch.io'
- # http://hyperswitch-1615156337.us-west-2.elb.amazonaws.com
\ No newline at end of file
diff --git a/misc/cypress/README.md b/misc/cypress/README.md
deleted file mode 100644
index 49afac95..00000000
--- a/misc/cypress/README.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# To Run the CYPRESS test cases
-
-Run all the services of the hyperswitch-helm repository as mentioned in the `README.md` file of the repository.
-
-## In `hyperswitch-control-center`
-
-1. Run the following command to start the hyperswitch control center test cases:
-```sh cypress_hyperswitch_control_center.sh```
-
-## In `hyperswitch-web`
-
-1. `git clone https://github.com/juspay/hyperswitch-web.git`
-
-2. `cd hyperswitch-web`
-
-3. In the `cypress-tests/cypress.env.json` file update the keys correctly
-
-4. In the `cypress-tests/cypress/support/utils.ts` update the profileId
-
-5. In the `Hyperswitch-React-Demo-App/.env` update the profileId, keys, server and client urls
-
-6. Make sure you have cypress installed in the system `npm install cypress --save-dev`
-
-7. Run the following command to start the hyperswitch web test cases:
-```sh cypress_web.sh```
-
-## In `hyperswitch`
-
-1. `git clone https://github.com/juspay/hyperswitch`
-
-2. `cd hyperswitch`
-
-3. Have the `creds.json` file in the `hyperswitch/cypress-tests` directory
-
-4. Make sure you replace the the command in cypress_router.sh with the correct domain name of the postgresql service in the hyperswitch namespace.
-``psql --host=your-hypers-v1-postgresql-0-domain --username=hyperswitch --dbname=hyperswitch --command "\copy cards_info FROM '../.github/data/cards_info.csv' DELIMITER ',' CSV HEADER;"``
-
-5. Password
-`ZGJwYXNzd29yZDEx`
-
-6. Run the following command to start the hyperswitch test cases:
-```sh cypress_router.sh```
\ No newline at end of file
diff --git a/misc/cypress/cypress_hyperswitch_control_center.sh b/misc/cypress/cypress_hyperswitch_control_center.sh
deleted file mode 100644
index 9f82cdc1..00000000
--- a/misc/cypress/cypress_hyperswitch_control_center.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-git clone https://github.com/juspay/hyperswitch-control-center
-cd hyperswitch-control-center
-
-npm install
-npx cypress run
\ No newline at end of file
diff --git a/misc/cypress/cypress_router.sh b/misc/cypress/cypress_router.sh
deleted file mode 100644
index f094e895..00000000
--- a/misc/cypress/cypress_router.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-cd cypress-tests
-
-npm ci
-psql --host=your-hypers-v1-postgresql-0-domain --username=hyperswitch --dbname=hyperswitch --command "\copy cards_info FROM '../.github/data/cards_info.csv' DELIMITER ',' CSV HEADER;"
-
-export CYPRESS_CONNECTOR="stripe"
-export CYPRESS_BASEURL="localhost:8080"
-export DEBUG=cypress:cli
-export CYPRESS_ADMINAPIKEY="test_admin"
-export CYPRESS_CONNECTOR_AUTH_FILE_PATH="creds.json"
-
-npm run cypress:ci
\ No newline at end of file
diff --git a/misc/cypress/cypress_web.sh b/misc/cypress/cypress_web.sh
deleted file mode 100644
index 63985555..00000000
--- a/misc/cypress/cypress_web.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-npm install
-
-cd Hyperswitch-React-Demo-App
-npm start &
-cd ..
-cd cypress-tests
-
-npm test
\ No newline at end of file