diff options
Diffstat (limited to 'schemas/config/2.0.schema.json')
-rw-r--r-- | schemas/config/2.0.schema.json | 177 |
1 files changed, 72 insertions, 105 deletions
diff --git a/schemas/config/2.0.schema.json b/schemas/config/2.0.schema.json index bababf72..55c46823 100644 --- a/schemas/config/2.0.schema.json +++ b/schemas/config/2.0.schema.json @@ -9,10 +9,9 @@ "version": { "description": "configuration version", "type": "string", - "default": "3", + "default": "2.7", "enum": [ - "2.7", - "3" + "2.7" ] }, "centrifuge": { @@ -462,74 +461,6 @@ } } }, - "otel": { - "description": "OpenTelemetry configuration", - "type": "object", - "properties": { - "insecure": { - "description": "Use insecure endpoint", - "type": "boolean", - "default": false - }, - "compress": { - "description": "Use gzip compressor", - "type": "boolean", - "default": false - }, - "exporter": { - "description": "Provides functionality to emit telemetry to consumers", - "type": "string", - "items": { - "type": "string", - "enum": [ - "zipkin", - "stdout", - "stderr", - "otlp", - "jaeger", - "jaeger_agent" - ], - "pattern": "^[0-9a-zA-Z_]+$" - } - }, - "custom_url": { - "description": "Used for the http client to override the default URL", - "type": "string", - "default": "" - }, - "endpoint": { - "description": "Consumer's endpoint", - "type": "string", - "default": "127.0.0.1:4318" - }, - "client": { - "description": "Client to send the spans", - "type": "string", - "items": { - "type": "string", - "enum": [ - "http", - "grpc" - ], - "pattern": "^[0-9a-zA-Z_]+$" - } - }, - "service_name": { - "description": "User's service name", - "type": "string", - "default": "RoadRunner" - }, - "service_version": { - "description": "User's service version", - "type": "string", - "default": "1.0.0" - }, - "headers": { - "description": "User defined headers", - "$ref": "#/definitions/Hashmap" - } - } - }, "http": { "type": "object", "properties": { @@ -1115,6 +1046,73 @@ "minimum": 0 } } + }, + "otel": { + "description": "OpenTelemetry configuration", + "type": "object", + "properties": { + "insecure": { + "description": "Use insecure endpoint", + "type": "boolean", + "default": false + }, + "compress": { + "description": "Use gzip compressor", + "type": "boolean", + "default": false + }, + "exporter": { + "description": "Provides functionality to emit telemetry to consumers", + "type": "string", + "items": { + "type": "string", + "enum": [ + "zipkin", + "stdout", + "otlp", + "jaeger", + "jaeger_agent" + ], + "pattern": "^[0-9a-zA-Z_]+$" + } + }, + "custom_url": { + "description": "Used for the http client to override the default URL", + "type": "string", + "default": "" + }, + "endpoint": { + "description": "Consumer's endpoint", + "type": "string", + "default": "localhost:4318" + }, + "client": { + "description": "Client to send the spans", + "type": "string", + "items": { + "type": "string", + "enum": [ + "http", + "grpc" + ], + "pattern": "^[0-9a-zA-Z_]+$" + } + }, + "service_name": { + "description": "User's service name", + "type": "string", + "default": "RoadRunner" + }, + "service_version": { + "description": "User's service version", + "type": "string", + "default": "1.0.0" + }, + "headers": { + "description": "User defined headers", + "$ref": "#/definitions/Hashmap" + } + } } }, "required": [ @@ -1289,6 +1287,9 @@ "nats": { "$ref": "#/definitions/NATS_J" }, + "boltdb": { + "$ref": "#/definitions/BoltDB_J" + }, "kafka": { "$ref": "#/definitions/KAFKA_J" }, @@ -1420,30 +1421,6 @@ "type": "integer", "default": 100000 }, - "permissions": { - "description": "Permissions for the boltdb database file", - "type": "integer", - "default": 777 - }, - "file": { - "description": "BoldDB file to create or DB to use", - "type": "string", - "default": "rr.db" - } - } - }, - { - "properties": { - "priority": { - "description": "Pipeline priority. If the job pushed to the pipeline has priority set to 0, it will inherit the pipeline's priority", - "type": "integer", - "default": 10 - }, - "prefetch": { - "description": "Number of job to prefetch from the driver", - "type": "integer", - "default": 100000 - }, "consume_all": { "description": "Consume all payloads, even not Job structured", "type": "boolean", @@ -1459,21 +1436,11 @@ "type": "string", "default": "amqp.default" }, - "redial_timeout": { - "description": "Redial timeout (in seconds). How long to try to reconnect to the AMQP server", - "type": "integer", - "default": 60 - }, "exchange_durable": { "description": "Durable exchange (rabbitmq option: https://www.rabbitmq.com/tutorials/amqp-concepts.html#exchanges)", "type": "boolean", "default": false }, - "consumer_id": { - "description": "The consumer_id is identified by a string that is unique and scoped for all consumers on this channel", - "type": "string", - "default": "roadrunner+uuid" - }, "exchange_auto_deleted": { "description": "Auto-delete (exchange is deleted when last queue is unbound from it): https://www.rabbitmq.com/tutorials/amqp-concepts.html#exchanges", "type": "boolean", |