2020-11-26 15:43:56 +01:00
|
|
|
const postgres = require("./postgres")
|
2020-11-26 17:46:36 +01:00
|
|
|
const dynamodb = require("./dynamodb")
|
|
|
|
const mongodb = require("./mongodb")
|
2020-11-26 18:03:18 +01:00
|
|
|
const elasticsearch = require("./elasticsearch")
|
|
|
|
const couchdb = require("./couchdb")
|
2020-11-26 17:46:36 +01:00
|
|
|
// const redis = require("./redis")
|
2020-11-26 22:23:20 +01:00
|
|
|
const s3 = require("./s3")
|
2020-11-26 15:43:56 +01:00
|
|
|
|
|
|
|
const DEFINITIONS = {
|
|
|
|
POSTGRES: postgres.schema,
|
2020-11-26 17:46:36 +01:00
|
|
|
DYNAMODB: dynamodb.schema,
|
|
|
|
MONGODB: mongodb.schema,
|
2020-11-26 18:03:18 +01:00
|
|
|
ELASTICSEARCH: elasticsearch.schema,
|
|
|
|
COUCHDB: couchdb.schema,
|
2020-11-26 22:23:20 +01:00
|
|
|
S3: s3.schema,
|
2020-11-26 15:43:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
const INTEGRATIONS = {
|
|
|
|
POSTGRES: postgres.integration,
|
2020-11-26 17:46:36 +01:00
|
|
|
DYNAMODB: dynamodb.integration,
|
|
|
|
MONGODB: mongodb.integration,
|
2020-11-26 18:03:18 +01:00
|
|
|
ELASTICSEARCH: elasticsearch.integration,
|
|
|
|
COUCHDB: couchdb.integration,
|
2020-11-26 22:23:20 +01:00
|
|
|
S3: s3.integration,
|
2020-11-26 15:43:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
definitions: DEFINITIONS,
|
|
|
|
integrations: INTEGRATIONS,
|
|
|
|
}
|