Skip to content

Commit

Permalink
fix(rules): add QuestDB
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Nov 2, 2023
1 parent 58bb923 commit 0ceb838
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ exports[`all > should match everything 1`] = `
"qovery",
"qovery.cluster",
"qovery.database",
"questdb",
"rabbitmq",
"railway",
"railway.mongodb",
Expand Down
1 change: 1 addition & 0 deletions src/rules/db/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ import './percona.js';
import './planetscale.js';
import './postgres.js';
import './qovery.database.js';
import './questdb.js';
import './railway.mongodb.js';
import './railway.mysql.js';
import './railway.postgres.js';
Expand Down
13 changes: 13 additions & 0 deletions src/rules/db/questdb.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { register } from '../../register.js';

register({
tech: 'questdb',
name: 'QuestDB',
type: 'db',
dependencies: [
{ type: 'docker', name: 'questdb/questdb' },
{ type: 'npm', name: '@questdb/nodejs-client' },
{ type: 'golang', name: 'github.com/questdb/go-questdb-client' },
{ type: 'rust', name: 'questdb-rs' },
],
});
6 changes: 6 additions & 0 deletions src/rules/spec/docker/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ exports[`docker > should match everything 1`] = `
"postgresql",
"puppeteer",
"qovery",
"questdb",
"rabbitmq",
"redis",
"rethinkdb",
Expand Down Expand Up @@ -684,6 +685,11 @@ exports[`docker > should match everything 2`] = `
"public.ecr.aws/r3m4q3r9/qovery-cli",
"0.0.0",
],
[
"docker",
"questdb/questdb",
"0.0.0",
],
[
"docker",
"rabbitmq",
Expand Down
6 changes: 6 additions & 0 deletions src/rules/spec/golang/__snapshots__/lockfile.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ exports[`golang (lockfile) > should match everything 1`] = `
"pirschanalytics",
"posthog",
"qovery",
"questdb",
"rethinkdb",
"rollbar",
"sendgrid",
Expand Down Expand Up @@ -609,6 +610,11 @@ exports[`golang (lockfile) > should match everything 2`] = `
"github.com/qovery/qovery-client-go",
"v1.0.0",
],
[
"golang",
"github.com/questdb/go-questdb-client",
"v1.0.0",
],
[
"golang",
"github.com/rethinkdb/rethinkdb-go",
Expand Down
6 changes: 6 additions & 0 deletions src/rules/spec/nodejs/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ exports[`npm > should match everything 1`] = `
"prisma",
"puppeteer",
"qovery",
"questdb",
"rabbitmq",
"railway",
"react",
Expand Down Expand Up @@ -1214,6 +1215,11 @@ exports[`npm > should match everything 2`] = `
"@pulumi/opsgenie",
"0.0.0",
],
[
"npm",
"@questdb/nodejs-client",
"0.0.0",
],
[
"npm",
"@railway/cli",
Expand Down
6 changes: 6 additions & 0 deletions src/rules/spec/rust/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ exports[`rust (component) > should match everything 1`] = `
"paypal",
"postgresql",
"posthog",
"questdb",
"rabbitmq",
"redis",
"rust",
Expand Down Expand Up @@ -512,6 +513,11 @@ exports[`rust (component) > should match everything 2`] = `
"posthog-rs",
"1.0.0",
],
[
"rust",
"questdb-rs",
"1.0.0",
],
[
"rust",
"rabbitmq-stream-client",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ export type AllowedKeys =
| 'qovery.cluster'
| 'qovery.database'
| 'qovery'
| 'questdb'
| 'rabbitmq'
| 'railway.mongodb'
| 'railway.mysql'
Expand Down

0 comments on commit 0ceb838

Please sign in to comment.