Skip to content

Commit

Permalink
Merge pull request #119 from aiven/mte-update-user-configs
Browse files Browse the repository at this point in the history
schemas: update user config schemas to match latest API

#119
  • Loading branch information
ivan-savciuc authored Dec 23, 2019
2 parents c8a1237 + 6f67c43 commit 790bb1a
Showing 1 changed file with 122 additions and 0 deletions.
122 changes: 122 additions & 0 deletions aiven/templates/service_user_config_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@
"elasticsearch": {
"additional_properties": false,
"properties": {
"action_auto_create_index_enabled": {
"description": "Explicitly allow or block automatic creation of indices. Defaults to true",
"example": false,
"title": "action.auto_create_index",
"type": "boolean"
},
"action_destructive_requires_name": {
"example": true,
"title": "Require explicit index names when deleting",
Expand Down Expand Up @@ -461,6 +467,16 @@
"title": "Require users to belong to one of given groups",
"type": "array"
},
"api_url": {
"example": "https://gitlab.com/api/v4",
"title": "API URL. This only needs to be set when using self hosted GitLab",
"type": "string"
},
"auth_url": {
"example": "https://gitlab.com/oauth/authorize",
"title": "Authorization URL. This only needs to be set when using self hosted GitLab",
"type": "string"
},
"client_id": {
"example": "b1ba0bf54a4c2c0a1c29",
"pattern": "^[a-zA-Z0-9-/=\\.]+$",
Expand All @@ -472,6 +488,11 @@
"pattern": "^[a-zA-Z0-9-/=]+$",
"title": "Client secret from provider",
"type": "string"
},
"token_url": {
"example": "https://gitlab.com/oauth/token",
"title": "Token URL. This only needs to be set when using self hosted GitLab",
"type": "string"
}
},
"required": [
Expand Down Expand Up @@ -842,6 +863,13 @@
],
"type": "string"
},
"connections_max_idle_ms": {
"title": "Idle connections timeout: the server socket processor threads close the connections that idle for longer than this.",
"example": 540000,
"maximum": 3600000,
"minimum": 1000,
"type": "integer"
},
"default_replication_factor": {
"title": "Replication factor for autocreated topics",
"maximum": 10,
Expand Down Expand Up @@ -1006,6 +1034,13 @@
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
"offset_flush_interval_ms": {
"title": "The interval at which to try committing offsets for tasks (defaults to 60000).",
"example": 60000,
"maximum": 100000000,
"minimum": 1,
"type": "integer"
}
},
"title": "Kafka Connect configuration values",
Expand Down Expand Up @@ -1108,10 +1143,25 @@
"title": "Allow clients to connect to kafka from the public internet for service nodes that are in a project VPC or another type of private network",
"type": "boolean"
},
"kafka_connect": {
"example": true,
"title": "Allow clients to connect to kafka_connect from the public internet for service nodes that are in a project VPC or another type of private network",
"type": "boolean"
},
"kafka_rest": {
"example": true,
"title": "Allow clients to connect to kafka_rest from the public internet for service nodes that are in a project VPC or another type of private network",
"type": "boolean"
},
"prometheus": {
"example": true,
"title": "Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network",
"type": "boolean"
},
"schema_registry": {
"example": true,
"title": "Allow clients to connect to schema_registry from the public internet for service nodes that are in a project VPC or another type of private network",
"type": "boolean"
}
},
"title": "Allow access to selected service ports from the public Internet",
Expand Down Expand Up @@ -1157,6 +1207,13 @@
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
"offset_flush_interval_ms": {
"title": "The interval at which to try committing offsets for tasks (defaults to 60000).",
"example": 60000,
"maximum": 100000000,
"minimum": 1,
"type": "integer"
}
},
"title": "Kafka Connect configuration values",
Expand Down Expand Up @@ -1279,6 +1336,15 @@
"minimum": 0,
"type": "integer"
},
"innodb_ft_server_stopword_table": {
"title": "This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.",
"example": "db_name/table_name",
"pattern": "^.+/.+$",
"type": [
"null",
"string"
]
},
"sql_mode": {
"title": "Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.",
"example": "ANSI,TRADITIONAL",
Expand Down Expand Up @@ -1720,6 +1786,20 @@
"null"
]
},
"timescaledb": {
"additionalProperties": false,
"properties": {
"max_background_workers": {
"title": "The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time.",
"example": 8,
"maximum": 4096,
"minimum": 1,
"type": "integer"
}
},
"title": "TimescaleDB extension configuration values",
"type": "object"
},
"variant": {
"createOnly": true,
"default": "aiven",
Expand Down Expand Up @@ -1752,6 +1832,48 @@
},
"type": "array"
},
"migration": {
"additionalProperties": false,
"default": null,
"properties": {
"host": {
"example": "my.server.com",
"title": "Hostname or IP address of the server where to migrate data from",
"type": "string"
},
"password": {
"example": "jjKk45Nnd",
"title": "Password for authentication with the server where to migrate data from",
"type": "string"
},
"port": {
"example": 1234,
"maximum": 65535,
"minimum": 1,
"title": "Port number of the server where to migrate data from",
"type": "integer"
},
"ssl": {
"default": true,
"title": "The server where to migrate data from is secured with SSL",
"type": "boolean"
},
"username": {
"example": "myname",
"title": "User name for authentication with the server where to migrate data from",
"type": "string"
}
},
"required": [
"host",
"port"
],
"title": "Migrate data from existing server",
"type": [
"object",
"null"
]
},
"private_access": {
"additionalProperties": false,
"properties": {
Expand Down

0 comments on commit 790bb1a

Please sign in to comment.