Skip to content

Commit

Permalink
fix(rules): add Datastax
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Sep 4, 2023
1 parent f596cd5 commit fd8a612
Show file tree
Hide file tree
Showing 5 changed files with 17 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 @@ -50,6 +50,7 @@ exports[`all > should match everything 1`] = `
"databricks",
"datadog",
"dataiku",
"datastax",
"deferrun",
"deno",
"dependabot",
Expand Down
13 changes: 13 additions & 0 deletions src/rules/db/datastax.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { register } from '../../register.js';

register({
tech: 'datastax',
name: 'Datastax',
type: 'db',
dependencies: [
{
type: 'terraform',
name: 'registry.terraform.io/datastax/astra',
},
],
});
1 change: 1 addition & 0 deletions src/rules/db/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import './aws.rds.js';
import './clickhouse.js';
import './cockroachdb.js';
import './couchbase.js';
import './datastax.js';
import './elasticsearch.js';
import './firebase.firestore.js';
import './gcp.bigquery.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ exports[`terraform (lockfile) > should match everything 1`] = `
"couchbase",
"databricks",
"datadog",
"datastax",
"digitalocean",
"elasticsearch",
"elasticstack",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export type AllowedKeys =
| 'databricks'
| 'datadog'
| 'dataiku'
| 'datastax'
| 'deferrun'
| 'deno'
| 'dependabot'
Expand Down

0 comments on commit fd8a612

Please sign in to comment.