2021-08-01 14:27:44 -07:00

10 KiB

Database Service Entity

databaseservice

https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json

Database service entity that reference services such as MySQL, BigQuery, Redshift, Postgres or Snowflake

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated Yes Unknown status No Forbidden Allowed none databaseService.json

Database service entity Type

object [Database service entity](databaseservice.md)

Database service entity Properties

Property Type Required Nullable Defined by
id string Required cannot be null Common type
name string Required cannot be null Database service entity
serviceType string Required cannot be null Database service entity
description string Optional cannot be null Database service entity
href string Required cannot be null Common type
jdbc object Required cannot be null Common type
ingestionSchedule object Optional cannot be null Common type

id

Unique id used to identify an entity

id

  • is required
  • Type: string
  • cannot be null
  • defined in: Common type

id Type

string

id Constraints

UUID: the string must be a UUID, according to RFC 4122

name

Name that identifies the this entity instance uniquely. Same as id if when name is not unique

name

name Type

string

name Constraints

maximum length: the maximum number of characters for this string is: 64

minimum length: the minimum number of characters for this string is: 1

serviceType

Type of database service such as MySQL, BigQuery, Snowflake, Redshift, Postgres...

serviceType

serviceType Type

string

serviceType Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"BIGQUERY"
"MYSQL"
"REDSHIFT"
"SNOWFLAKE"
"POSTGRES"
"MSSQL"
"HIVE"

description

Description of database service instance.

description

description Type

string

href

Link to the resource corresponding to this entity

Link to the resource

href

  • is required
  • Type: string
  • cannot be null
  • defined in: Common type

href Type

string

href Constraints

URI: the string must be a URI, according to RFC 3986

jdbc

Type for capturing JDBC connector information

jdbc

  • is required
  • Type: object [Details](../types/jdbcconnection.md#jdbcconnection-definitions-jdbcinfo)
  • cannot be null
  • defined in: Common type

jdbc Type

object [Details](../types/jdbcconnection.md#jdbcconnection-definitions-jdbcinfo)

ingestionSchedule

Schedule for running metadata ingestion jobs

ingestionSchedule

  • is optional
  • Type: object [Details](../types/common.md#common-definitions-schedule)
  • cannot be null
  • defined in: Common type

ingestionSchedule Type

object [Details](../types/common.md#common-definitions-schedule)

Database service entity Definitions

Definitions group databaseServiceType

Reference this group by using

{"$ref":"https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/definitions/databaseServiceType"}
Property Type Required Nullable Defined by

databaseservice-definitions-databaseservicetype

https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/definitions/databaseServiceType

Type of database service such as MySQL, BigQuery, Snowflake, Redshift, Postgres...

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status Unknown identifiability Forbidden Allowed none databaseService.json*

databaseServiceType Type

string

databaseServiceType Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"BIGQUERY"
"MYSQL"
"REDSHIFT"
"SNOWFLAKE"
"POSTGRES"
"MSSQL"
"HIVE"

databaseservice-definitions

https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/definitions
Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status Unknown identifiability Forbidden Allowed none databaseService.json*

definitions Type

unknown

databaseservice-properties-description

https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/properties/description

Description of database service instance.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status Unknown identifiability Forbidden Allowed none databaseService.json*

description Type

string

databaseservice-properties-name

https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/properties/name

Name that identifies the this entity instance uniquely. Same as id if when name is not unique

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status Unknown identifiability Forbidden Allowed none databaseService.json*

name Type

string

name Constraints

maximum length: the maximum number of characters for this string is: 64

minimum length: the minimum number of characters for this string is: 1

databaseservice-properties-servicetype

https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/services/databaseService.json#/properties/serviceType

Type of database service such as MySQL, BigQuery, Snowflake, Redshift, Postgres...

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status Unknown identifiability Forbidden Allowed none databaseService.json*

serviceType Type

string

serviceType Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"BIGQUERY"
"MYSQL"
"REDSHIFT"
"SNOWFLAKE"
"POSTGRES"
"MSSQL"
"HIVE"