Skip to content

Commit

Permalink
fix(rules): add MilvusDB
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 31, 2023
1 parent 2303636 commit 8d74b59
Show file tree
Hide file tree
Showing 7 changed files with 51 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 @@ -266,6 +266,7 @@ exports[`all > should match everything 1`] = `
"meilisearchcloud",
"memcached",
"meteorjs",
"milvusdb",
"mithriljs",
"mixpanel",
"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 @@ -43,6 +43,7 @@ import './mariadb.js';
import './meilisearch.js';
import './meilisearchcloud.js';
import './memcached.js';
import './milvusdb.js';
import './mongodb.js';
import './mysql.js';
import './neo4j.js';
Expand Down
15 changes: 15 additions & 0 deletions src/rules/db/milvusdb.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { register } from '../../register.js';

register({
tech: 'milvusdb',
name: 'MilvusDB',
type: 'db',
dependencies: [
{ type: 'docker', name: 'milvusdb/milvus' },
{ type: 'docker', name: 'milvusdb/milvus-dev' },
{ type: 'docker', name: 'bitnami/milvus' },
{ type: 'docker', name: 'bitnamicharts/milvus' },
{ type: 'npm', name: '@zilliz/milvus2-sdk-node' },
{ type: 'golang', name: 'github.com/milvus-io/milvus-sdk-go/v2' },
],
});
21 changes: 21 additions & 0 deletions src/rules/spec/docker/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ exports[`docker > should match everything 1`] = `
"matomo",
"meilisearch",
"memcached",
"milvusdb",
"mongodb",
"mongoexpress",
"mysql",
Expand Down Expand Up @@ -235,6 +236,11 @@ exports[`docker > should match everything 2`] = `
"bitnami/matomo",
"0.0.0",
],
[
"docker",
"bitnami/milvus",
"0.0.0",
],
[
"docker",
"bitnami/mongodb",
Expand Down Expand Up @@ -280,6 +286,11 @@ exports[`docker > should match everything 2`] = `
"bitnamicharts/kafka",
"0.0.0",
],
[
"docker",
"bitnamicharts/milvus",
"0.0.0",
],
[
"docker",
"bitnamicharts/postgresql",
Expand Down Expand Up @@ -545,6 +556,16 @@ exports[`docker > should match everything 2`] = `
"memcached",
"0.0.0",
],
[
"docker",
"milvusdb/milvus",
"0.0.0",
],
[
"docker",
"milvusdb/milvus-dev",
"0.0.0",
],
[
"docker",
"mongo",
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 @@ -86,6 +86,7 @@ exports[`golang (lockfile) > should match everything 1`] = `
"logstash",
"mailgun",
"meilisearch",
"milvusdb",
"nats",
"optimizely",
"papertrail",
Expand Down Expand Up @@ -567,6 +568,11 @@ exports[`golang (lockfile) > should match everything 2`] = `
"github.com/meilisearch/meilisearch-go",
"v1.0.0",
],
[
"golang",
"github.com/milvus-io/milvus-sdk-go/v2",
"v1.0.0",
],
[
"golang",
"github.com/nats-io/nats.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 @@ -162,6 +162,7 @@ exports[`npm > should match everything 1`] = `
"meilisearch",
"memcached",
"meteorjs",
"milvusdb",
"mithriljs",
"mongodb",
"mysql",
Expand Down Expand Up @@ -1510,6 +1511,11 @@ exports[`npm > should match everything 2`] = `
"@vitalets/google-translate-api",
"0.0.0",
],
[
"npm",
"@zilliz/milvus2-sdk-node",
"0.0.0",
],
[
"npm",
"airtable",
Expand Down
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ export type AllowedKeys =
| 'meilisearchcloud'
| 'memcached'
| 'meteorjs'
| 'milvusdb'
| 'mithriljs'
| 'mixpanel'
| 'mongodb'
Expand Down

0 comments on commit 8d74b59

Please sign in to comment.