Skip to content

Commit

Permalink
feat(vault): added vault admin slack command to register user and fet…
Browse files Browse the repository at this point in the history
…ch registration status info.
  • Loading branch information
vihangpatil committed Jul 3, 2024
1 parent cd6574f commit cda57a8
Show file tree
Hide file tree
Showing 22 changed files with 472 additions and 33 deletions.
4 changes: 3 additions & 1 deletion .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ TEST_REPORT_ID="op://env/dev/test/TEST_REPORT_ID"
ALGOLIA_APP_ID="op://env/dev/algolia/ALGOLIA_APP_ID"
ALGOLIA_API_KEY="op://env/dev/algolia/ALGOLIA_API_KEY"
# slack for app
SLACK_TOKEN="op://env/dev/slack/SLACK_TOKEN"
SLACK_BOT_TOKEN="op://env/dev/slack/SLACK_BOT_TOKEN"
SLACK_SIGNING_SECRET="op://env/dev/slack/SLACK_SIGNING_SECRET"
# @vihang
SLACK_ALERTS_CHANNEL_ID="op://env/dev/slack/SLACK_CHANNEL_ID"
SLACK_GENERAL_CHANNEL_ID="op://env/dev/slack/SLACK_CHANNEL_ID"
Expand All @@ -38,6 +39,7 @@ SLACK_PRODUCT_CHANNEL_ID="op://env/dev/slack/SLACK_CHANNEL_ID"
SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID="op://env/dev/slack/SLACK_CHANNEL_ID"
SLACK_RESEARCH_CHANNEL_ID="op://env/dev/slack/SLACK_CHANNEL_ID"
SLACK_RESEARCH_EVENTS_CHANNEL_ID="op://env/dev/slack/SLACK_CHANNEL_ID"
SLACK_VAULT_ADMIN_CHANNEL_ID="op://env/dev/slack/SLACK_VAULT_ADMIN_CHANNEL_ID"
# slack unit testing
SLACK_CHANNEL_ID="op://env/dev/slack/SLACK_CHANNEL_ID"

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/canary-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID: op://env/prod/slack/SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID
SLACK_RESEARCH_CHANNEL_ID: op://env/prod/slack/SLACK_RESEARCH_CHANNEL_ID
SLACK_RESEARCH_EVENTS_CHANNEL_ID: op://env/prod/slack/SLACK_RESEARCH_EVENTS_CHANNEL_ID
SLACK_VAULT_ADMIN_CHANNEL_ID: op://env/prod/slack/SLACK_VAULT_ADMIN_CHANNEL_ID
# sendgrid
SENDGRID_TEMPLATE_ID_WELCOME_TO_K33: op://env/prod/sendgrid/SENDGRID_TEMPLATE_ID_WELCOME_TO_K33
SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH: op://env/prod/sendgrid/SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH
Expand Down Expand Up @@ -127,6 +128,7 @@ jobs:
--set-env-vars="SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID=${SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID}" \
--set-env-vars="SLACK_RESEARCH_CHANNEL_ID=${SLACK_RESEARCH_CHANNEL_ID}" \
--set-env-vars="SLACK_RESEARCH_EVENTS_CHANNEL_ID=${SLACK_RESEARCH_EVENTS_CHANNEL_ID}" \
--set-env-vars="SLACK_VAULT_ADMIN_CHANNEL_ID=${SLACK_VAULT_ADMIN_CHANNEL_ID}" \
--set-env-vars="SENDGRID_TEMPLATE_ID_WELCOME_TO_K33=${SENDGRID_TEMPLATE_ID_WELCOME_TO_K33}" \
--set-env-vars="SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH=${SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH}" \
--set-env-vars="SENDGRID_UNSUBSCRIBE_GROUP_ID_K33=${SENDGRID_UNSUBSCRIBE_GROUP_ID_K33}" \
Expand Down Expand Up @@ -162,7 +164,8 @@ jobs:
--set-secrets="CONTENTFUL_RESEARCH_SPACE_CMA_TOKEN=CONTENTFUL_RESEARCH_SPACE_CMA_TOKEN:latest" \
--set-secrets="ALGOLIA_APP_ID=ALGOLIA_APP_ID:latest" \
--set-secrets="ALGOLIA_API_KEY=ALGOLIA_API_KEY:latest" \
--set-secrets="SLACK_TOKEN=SLACK_TOKEN:latest" \
--set-secrets="SLACK_BOT_TOKEN=SLACK_BOT_TOKEN:latest" \
--set-secrets="SLACK_SIGNING_SECRET=SLACK_SIGNING_SECRET:latest" \
--set-secrets="STRIPE_API_KEY=STRIPE_API_KEY:latest" \
--set-secrets="STRIPE_WEBHOOK_ENDPOINT_SECRET=STRIPE_WEBHOOK_ENDPOINT_SECRET:latest" \
--set-secrets="GOOGLE_ANALYTICS_API_SECRET=GOOGLE_ANALYTICS_API_SECRET:latest" \
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ jobs:
ALGOLIA_APP_ID: op://env/dev/algolia/ALGOLIA_APP_ID
ALGOLIA_API_KEY: op://env/dev/algolia/ALGOLIA_API_KEY
# slack for app
SLACK_TOKEN: op://env/dev/slack/SLACK_TOKEN
SLACK_BOT_TOKEN: op://env/dev/slack/SLACK_BOT_TOKEN
SLACK_SIGNING_SECRET: op://env/dev/slack/SLACK_SIGNING_SECRET
# @vihang
SLACK_ALERTS_CHANNEL_ID: op://env/dev/slack/SLACK_CHANNEL_ID
SLACK_GENERAL_CHANNEL_ID: op://env/dev/slack/SLACK_CHANNEL_ID
Expand All @@ -72,6 +73,7 @@ jobs:
SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID: op://env/dev/slack/SLACK_CHANNEL_ID
SLACK_RESEARCH_CHANNEL_ID: op://env/dev/slack/SLACK_CHANNEL_ID
SLACK_RESEARCH_EVENTS_CHANNEL_ID: op://env/dev/slack/SLACK_CHANNEL_ID
SLACK_VAULT_ADMIN_CHANNEL_ID: op://env/dev/slack/SLACK_VAULT_ADMIN_CHANNEL_ID
# slack unit testing
SLACK_CHANNEL_ID: op://env/dev/slack/SLACK_CHANNEL_ID
# user service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ class VaultAppTest : BehaviorSpec({
url(path = "/apps/vault/admin/user") {
parameters.append("email", "test@k33.com")
parameters.append("vaultAccountId", vaultAccountId)
parameters.append("currency", "NOK")
}
}
}
Expand All @@ -209,6 +210,7 @@ class VaultAppTest : BehaviorSpec({
response.body<VaultUserStatus>() shouldBe VaultUserStatus(
platformRegistered = true,
vaultAccountId = null,
currency = null,
stripeErrors = emptyList(),
)
}
Expand All @@ -220,6 +222,7 @@ class VaultAppTest : BehaviorSpec({
response.body<VaultUserStatus>() shouldBe VaultUserStatus(
platformRegistered = true,
vaultAccountId = "76",
currency = "NOK",
stripeErrors = emptyList(),
)
}
Expand All @@ -230,6 +233,7 @@ class VaultAppTest : BehaviorSpec({
response.body<VaultUserStatus>() shouldBe VaultUserStatus(
platformRegistered = true,
vaultAccountId = "76",
currency = "NOK",
stripeErrors = emptyList(),
)
}
Expand Down Expand Up @@ -278,6 +282,7 @@ data class VaultApp(
@Serializable
data class VaultUserStatus(
val platformRegistered: Boolean,
val vaultAccountId: String? = null,
val vaultAccountId: String?,
val currency: String?,
val stripeErrors: List<String>,
)
2 changes: 2 additions & 0 deletions apps/k33-backend/src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ ktor {

com.k33.platform.app.invest.InvestEndpointKt.module,
com.k33.platform.app.vault.VaultEndpointKt.module,

com.k33.platform.utils.slack.SlackWebhookEndpointKt.module,
]
}
}
4 changes: 3 additions & 1 deletion docker-compose.no-esp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ services:
- SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID=${SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID}
- SLACK_RESEARCH_CHANNEL_ID=${SLACK_RESEARCH_CHANNEL_ID}
- SLACK_RESEARCH_EVENTS_CHANNEL_ID=${SLACK_RESEARCH_EVENTS_CHANNEL_ID}
- SLACK_TOKEN=${SLACK_TOKEN}
- SLACK_VAULT_ADMIN_CHANNEL_ID=${SLACK_VAULT_ADMIN_CHANNEL_ID}
- SLACK_BOT_TOKEN=${SLACK_BOT_TOKEN}
- SLACK_SIGNING_SECRET=${SLACK_SIGNING_SECRET}
- SENDGRID_TEMPLATE_ID_WELCOME_TO_K33=${SENDGRID_TEMPLATE_ID_WELCOME_TO_K33}
- SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH=${SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH}
- SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH_TWIC=${SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH_TWIC}
Expand Down
4 changes: 3 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ services:
- SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID=${SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID}
- SLACK_RESEARCH_CHANNEL_ID=${SLACK_RESEARCH_CHANNEL_ID}
- SLACK_RESEARCH_EVENTS_CHANNEL_ID=${SLACK_RESEARCH_EVENTS_CHANNEL_ID}
- SLACK_TOKEN=${SLACK_TOKEN}
- SLACK_VAULT_ADMIN_CHANNEL_ID=${SLACK_VAULT_ADMIN_CHANNEL_ID}
- SLACK_BOT_TOKEN=${SLACK_BOT_TOKEN}
- SLACK_SIGNING_SECRET=${SLACK_SIGNING_SECRET}
- SENDGRID_TEMPLATE_ID_WELCOME_TO_K33=${SENDGRID_TEMPLATE_ID_WELCOME_TO_K33}
- SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH=${SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH}
- SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH_TWIC=${SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH_TWIC}
Expand Down
5 changes: 4 additions & 1 deletion infra/gcp/canary-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ SLACK_PRODUCT_CHANNEL_ID=$(op read op://env/$ENV/slack/SLACK_PRODUCT_CHANNEL_ID)
SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID=$(op read op://env/$ENV/slack/SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID)
SLACK_RESEARCH_CHANNEL_ID=$(op read op://env/$ENV/slack/SLACK_RESEARCH_CHANNEL_ID)
SLACK_RESEARCH_EVENTS_CHANNEL_ID=$(op read op://env/$ENV/slack/SLACK_RESEARCH_EVENTS_CHANNEL_ID)
SLACK_VAULT_ADMIN_CHANNEL_ID=$(op read op://env/$ENV/slack/SLACK_VAULT_ADMIN_CHANNEL_ID)
# sendgrid
SENDGRID_TEMPLATE_ID_WELCOME_TO_K33=$(op read op://env/$ENV/sendgrid/SENDGRID_TEMPLATE_ID_WELCOME_TO_K33)
SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH=$(op read op://env/$ENV/sendgrid/SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH)
Expand Down Expand Up @@ -108,6 +109,7 @@ gcloud run deploy "${backendCloudRun["service"]}" \
--set-env-vars="SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID=${SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID}" \
--set-env-vars="SLACK_RESEARCH_CHANNEL_ID=${SLACK_RESEARCH_CHANNEL_ID}" \
--set-env-vars="SLACK_RESEARCH_EVENTS_CHANNEL_ID=${SLACK_RESEARCH_EVENTS_CHANNEL_ID}" \
--set-env-vars="SLACK_VAULT_ADMIN_CHANNEL_ID=${SLACK_VAULT_ADMIN_CHANNEL_ID}" \
--set-env-vars="SENDGRID_TEMPLATE_ID_WELCOME_TO_K33=${SENDGRID_TEMPLATE_ID_WELCOME_TO_K33}" \
--set-env-vars="SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH=${SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH}" \
--set-env-vars="SENDGRID_UNSUBSCRIBE_GROUP_ID_K33=${SENDGRID_UNSUBSCRIBE_GROUP_ID_K33}" \
Expand Down Expand Up @@ -143,7 +145,8 @@ gcloud run deploy "${backendCloudRun["service"]}" \
--set-secrets="CONTENTFUL_RESEARCH_SPACE_CMA_TOKEN=CONTENTFUL_RESEARCH_SPACE_CMA_TOKEN:latest" \
--set-secrets="ALGOLIA_APP_ID=ALGOLIA_APP_ID:latest" \
--set-secrets="ALGOLIA_API_KEY=ALGOLIA_API_KEY:latest" \
--set-secrets="SLACK_TOKEN=SLACK_TOKEN:latest" \
--set-secrets="SLACK_BOT_TOKEN=SLACK_BOT_TOKEN:latest" \
--set-secrets="SLACK_SIGNING_SECRET=SLACK_SIGNING_SECRET:latest" \
--set-secrets="STRIPE_API_KEY=STRIPE_API_KEY:latest" \
--set-secrets="STRIPE_WEBHOOK_ENDPOINT_SECRET=STRIPE_WEBHOOK_ENDPOINT_SECRET:latest" \
--set-secrets="GOOGLE_ANALYTICS_API_SECRET=GOOGLE_ANALYTICS_API_SECRET:latest" \
Expand Down
18 changes: 10 additions & 8 deletions infra/gcp/create-secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ CONTENTFUL_RESEARCH_SPACE_TOKEN=$(op read op://env/$ENV/contentful/CONTENTFUL_RE
CONTENTFUL_RESEARCH_SPACE_CMA_TOKEN=$(op read op://env/$ENV/contentful/CONTENTFUL_RESEARCH_SPACE_CMA_TOKEN)
ALGOLIA_APP_ID=$(op read op://env/$ENV/algolia/ALGOLIA_APP_ID)
ALGOLIA_API_KEY=$(op read op://env/$ENV/algolia/ALGOLIA_API_KEY)
SLACK_TOKEN=$(op read op://env/$ENV/slack/SLACK_TOKEN)
SLACK_BOT_TOKEN=$(op read op://env/$ENV/slack/SLACK_BOT_TOKEN)
SLACK_SIGNING_SECRET=$(op read op://env/$ENV/slack/SLACK_SIGNING_SECRET)
STRIPE_API_KEY=$(op read op://env/$ENV/stripe/STRIPE_API_KEY)
STRIPE_WEBHOOK_ENDPOINT_SECRET=$(op read op://env/$ENV/stripe/STRIPE_WEBHOOK_ENDPOINT_SECRET)
GOOGLE_ANALYTICS_API_SECRET=$(op read op://env/$ENV/analytics/GOOGLE_ANALYTICS_API_SECRET)
Expand All @@ -55,13 +56,14 @@ gcp_secrets[4]="CONTENTFUL_RESEARCH_SPACE_TOKEN"
gcp_secrets[5]="CONTENTFUL_RESEARCH_SPACE_CMA_TOKEN"
gcp_secrets[6]="ALGOLIA_APP_ID"
gcp_secrets[7]="ALGOLIA_API_KEY"
gcp_secrets[8]="SLACK_TOKEN"
gcp_secrets[9]="STRIPE_API_KEY"
gcp_secrets[10]="STRIPE_WEBHOOK_ENDPOINT_SECRET"
gcp_secrets[11]="GOOGLE_ANALYTICS_API_SECRET"
gcp_secrets[12]="FIREBLOCKS_API_KEY"
gcp_secrets[13]="FIREBLOCKS_SECRET_KEY"
gcp_secrets[14]="VAULT_STRIPE_API_KEY"
gcp_secrets[8]="SLACK_BOT_TOKEN"
gcp_secrets[9]="SLACK_SIGNING_SECRET"
gcp_secrets[10]="STRIPE_API_KEY"
gcp_secrets[11]="STRIPE_WEBHOOK_ENDPOINT_SECRET"
gcp_secrets[12]="GOOGLE_ANALYTICS_API_SECRET"
gcp_secrets[13]="FIREBLOCKS_API_KEY"
gcp_secrets[14]="FIREBLOCKS_SECRET_KEY"
gcp_secrets[15]="VAULT_STRIPE_API_KEY"

# debugging
#for index in ${!gcp_secrets[@]}; do
Expand Down
5 changes: 4 additions & 1 deletion infra/gcp/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ SLACK_PRODUCT_CHANNEL_ID=$(op read op://env/$ENV/slack/SLACK_PRODUCT_CHANNEL_ID)
SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID=$(op read op://env/$ENV/slack/SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID)
SLACK_RESEARCH_CHANNEL_ID=$(op read op://env/$ENV/slack/SLACK_RESEARCH_CHANNEL_ID)
SLACK_RESEARCH_EVENTS_CHANNEL_ID=$(op read op://env/$ENV/slack/SLACK_RESEARCH_EVENTS_CHANNEL_ID)
SLACK_VAULT_ADMIN_CHANNEL_ID=$(op read op://env/$ENV/slack/SLACK_VAULT_ADMIN_CHANNEL_ID)
# sendgrid
SENDGRID_TEMPLATE_ID_WELCOME_TO_K33=$(op read op://env/$ENV/sendgrid/SENDGRID_TEMPLATE_ID_WELCOME_TO_K33)
SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH=$(op read op://env/$ENV/sendgrid/SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH)
Expand Down Expand Up @@ -113,6 +114,7 @@ gcloud run deploy "${backendCloudRun["service"]}" \
--set-env-vars="SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID=${SLACK_PROFESSIONAL_INVESTORS_CHANNEL_ID}" \
--set-env-vars="SLACK_RESEARCH_CHANNEL_ID=${SLACK_RESEARCH_CHANNEL_ID}" \
--set-env-vars="SLACK_RESEARCH_EVENTS_CHANNEL_ID=${SLACK_RESEARCH_EVENTS_CHANNEL_ID}" \
--set-env-vars="SLACK_VAULT_ADMIN_CHANNEL_ID=${SLACK_VAULT_ADMIN_CHANNEL_ID}" \
--set-env-vars="SENDGRID_TEMPLATE_ID_WELCOME_TO_K33=${SENDGRID_TEMPLATE_ID_WELCOME_TO_K33}" \
--set-env-vars="SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH=${SENDGRID_TEMPLATE_ID_WELCOME_TO_K33_RESEARCH}" \
--set-env-vars="SENDGRID_UNSUBSCRIBE_GROUP_ID_K33=${SENDGRID_UNSUBSCRIBE_GROUP_ID_K33}" \
Expand Down Expand Up @@ -148,7 +150,8 @@ gcloud run deploy "${backendCloudRun["service"]}" \
--set-secrets="CONTENTFUL_RESEARCH_SPACE_CMA_TOKEN=CONTENTFUL_RESEARCH_SPACE_CMA_TOKEN:latest" \
--set-secrets="ALGOLIA_APP_ID=ALGOLIA_APP_ID:latest" \
--set-secrets="ALGOLIA_API_KEY=ALGOLIA_API_KEY:latest" \
--set-secrets="SLACK_TOKEN=SLACK_TOKEN:latest" \
--set-secrets="SLACK_BOT_TOKEN=SLACK_BOT_TOKEN:latest" \
--set-secrets="SLACK_SIGNING_SECRET=SLACK_SIGNING_SECRET:latest" \
--set-secrets="STRIPE_API_KEY=STRIPE_API_KEY:latest" \
--set-secrets="STRIPE_WEBHOOK_ENDPOINT_SECRET=STRIPE_WEBHOOK_ENDPOINT_SECRET:latest" \
--set-secrets="GOOGLE_ANALYTICS_API_SECRET=GOOGLE_ANALYTICS_API_SECRET:latest" \
Expand Down
18 changes: 10 additions & 8 deletions infra/gcp/update-secrets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ CONTENTFUL_RESEARCH_SPACE_TOKEN=$(op read op://env/$ENV/contentful/CONTENTFUL_RE
CONTENTFUL_RESEARCH_SPACE_CMA_TOKEN=$(op read op://env/$ENV/contentful/CONTENTFUL_RESEARCH_SPACE_CMA_TOKEN)
ALGOLIA_APP_ID=$(op read op://env/$ENV/algolia/ALGOLIA_APP_ID)
ALGOLIA_API_KEY=$(op read op://env/$ENV/algolia/ALGOLIA_API_KEY)
SLACK_TOKEN=$(op read op://env/$ENV/slack/SLACK_TOKEN)
SLACK_BOT_TOKEN=$(op read op://env/$ENV/slack/SLACK_BOT_TOKEN)
SLACK_SIGNING_SECRET=$(op read op://env/$ENV/slack/SLACK_SIGNING_SECRET)
STRIPE_API_KEY=$(op read op://env/$ENV/stripe/STRIPE_API_KEY)
STRIPE_WEBHOOK_ENDPOINT_SECRET=$(op read op://env/$ENV/stripe/STRIPE_WEBHOOK_ENDPOINT_SECRET)
GOOGLE_ANALYTICS_API_SECRET=$(op read op://env/$ENV/analytics/GOOGLE_ANALYTICS_API_SECRET)
Expand All @@ -55,13 +56,14 @@ gcp_secrets[4]="CONTENTFUL_RESEARCH_SPACE_TOKEN"
gcp_secrets[5]="CONTENTFUL_RESEARCH_SPACE_CMA_TOKEN"
gcp_secrets[6]="ALGOLIA_APP_ID"
gcp_secrets[7]="ALGOLIA_API_KEY"
gcp_secrets[8]="SLACK_TOKEN"
gcp_secrets[9]="STRIPE_API_KEY"
gcp_secrets[10]="STRIPE_WEBHOOK_ENDPOINT_SECRET"
gcp_secrets[11]="GOOGLE_ANALYTICS_API_SECRET"
gcp_secrets[12]="FIREBLOCKS_API_KEY"
gcp_secrets[13]="FIREBLOCKS_SECRET_KEY"
gcp_secrets[14]="VAULT_STRIPE_API_KEY"
gcp_secrets[8]="SLACK_BOT_TOKEN"
gcp_secrets[9]="SLACK_SIGNING_SECRET"
gcp_secrets[10]="STRIPE_API_KEY"
gcp_secrets[11]="STRIPE_WEBHOOK_ENDPOINT_SECRET"
gcp_secrets[12]="GOOGLE_ANALYTICS_API_SECRET"
gcp_secrets[13]="FIREBLOCKS_API_KEY"
gcp_secrets[14]="FIREBLOCKS_SECRET_KEY"
gcp_secrets[15]="VAULT_STRIPE_API_KEY"

# debugging
#for index in ${!gcp_secrets[@]}; do
Expand Down
1 change: 1 addition & 0 deletions libs/apps/vault/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ dependencies {

// test
testImplementation("io.kotest:kotest-runner-junit5-jvm:_")
testImplementation("io.kotest:kotest-framework-datatest:_")
}
Loading

0 comments on commit cda57a8

Please sign in to comment.