Skip to content

Commit

Permalink
fix(rules): add Apache Iceberg
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Sep 4, 2023
1 parent 949c655 commit 0887243
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 @@ -13,6 +13,7 @@ exports[`all > should match everything 1`] = `
"apache_cassandra",
"apache_couchdb",
"apache_flink",
"apache_iceberg",
"apache_kafka",
"apache_spark",
"apache_storm",
Expand Down
8 changes: 8 additions & 0 deletions src/rules/db/apache_iceberg.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { register } from '../../register.js';

register({
tech: 'apache_iceberg',
name: 'Apache Iceberg',
type: 'db',
dependencies: [{ type: 'docker', name: 'apache/spark-iceberg' }],
});
1 change: 1 addition & 0 deletions src/rules/db/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import './apache_cassandra.js';
import './apache_couchdb.js';
import './apache_iceberg.js';
import './apache_spark.js';
import './aws.dynamodb.js';
import './aws.elasticache.js';
Expand Down
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 @@ -7,6 +7,7 @@ exports[`docker > should match everything 1`] = `
"apache_cassandra",
"apache_couchdb",
"apache_flink",
"apache_iceberg",
"apache_kafka",
"apache_spark",
"apache_storm",
Expand Down Expand Up @@ -92,6 +93,11 @@ exports[`docker > should match everything 2`] = `
"apache/spark",
"0.0.0",
],
[
"docker",
"apache/spark-iceberg",
"0.0.0",
],
[
"docker",
"apache/storm",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export type AllowedKeys =
| 'apache_cassandra'
| 'apache_couchdb'
| 'apache_flink'
| 'apache_iceberg'
| 'apache_kafka'
| 'apache_spark'
| 'apache_storm'
Expand Down

0 comments on commit 0887243

Please sign in to comment.