All Downloads are FREE. Search and download functionalities are using the official Maven repository.

json.schema.entity.services.connections.database.db2Connection.json Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version
{
  "$id": "https://open-metadata.org/schema/entity/services/connections/database/db2Connection.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Db2Connection",
  "description": "Db2 Connection Config",
  "type": "object",
  "javaType": "org.openmetadata.schema.services.connections.database.Db2Connection",
  "definitions": {
    "db2Type": {
      "description": "Service type.",
      "type": "string",
      "enum": ["Db2"],
      "default": "Db2"
    },
    "db2Scheme": {
      "description": "SQLAlchemy driver scheme options.",
      "type": "string",
      "enum": ["db2+ibm_db", "ibmi"],
      "default": "db2+ibm_db"
    }
  },
  "properties": {
    "type": {
      "title": "Service Type",
      "description": "Service Type",
      "$ref": "#/definitions/db2Type",
      "default": "Db2"
    },
    "scheme": {
      "title": "Connection Scheme",
      "description": "SQLAlchemy driver scheme options.",
      "$ref": "#/definitions/db2Scheme",
      "default": "db2+ibm_db"
    },
    "username": {
      "title": "Username",
      "description": "Username to connect to DB2. This user should have privileges to read all the metadata in DB2.",
      "type": "string"
    },
    "password": {
      "title": "Password",
      "description": "Password to connect to DB2.",
      "type": "string",
      "format": "password"
    },
    "hostPort": {
      "title": "Host and Port",
      "description": "Host and port of the DB2 service.",
      "type": "string"
    },
    "database": {
      "title": "database",
      "description": "Database of the data source.",
      "type": "string"
    },
    "connectionOptions": {
      "title": "Connection Options",
      "$ref": "../connectionBasicType.json#/definitions/connectionOptions"
    },
    "connectionArguments": {
      "title": "Connection Arguments",
      "$ref": "../connectionBasicType.json#/definitions/connectionArguments"
    },
    "supportsMetadataExtraction": {
      "title": "Supports Metadata Extraction",
      "$ref": "../connectionBasicType.json#/definitions/supportsMetadataExtraction"
    },
    "supportsDBTExtraction": {
      "$ref": "../connectionBasicType.json#/definitions/supportsDBTExtraction"
    },
    "supportsProfiler": {
      "title": "Supports Profiler",
      "$ref": "../connectionBasicType.json#/definitions/supportsProfiler"
    },
    "supportsDatabase": {
      "title": "Supports Database",
      "$ref": "../connectionBasicType.json#/definitions/supportsDatabase"
    },
    "supportsQueryComment": {
      "title": "Supports Query Comment",
      "$ref": "../connectionBasicType.json#/definitions/supportsQueryComment"
    },
    "sampleDataStorageConfig": {
      "title": "Storage Config for Sample Data",
      "$ref": "../connectionBasicType.json#/definitions/sampleDataStorageConfig"
    }
  },
  "additionalProperties": false,
  "required": ["hostPort", "username", "database"]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy