github.com/instill-ai/component@v0.16.0-beta/pkg/connector/redis/v0/config/definition.json (about)

     1  {
     2    "available_tasks": [
     3      "TASK_RETRIEVE_CHAT_HISTORY",
     4      "TASK_WRITE_CHAT_MESSAGE",
     5      "TASK_WRITE_MULTI_MODAL_CHAT_MESSAGE"
     6    ],
     7    "custom": false,
     8    "documentation_url": "https://www.instill.tech/docs/latest/vdp/data-connectors/redis",
     9    "icon": "assets/redis.svg",
    10    "icon_url": "",
    11    "id": "redis",
    12    "public": true,
    13    "spec": {
    14      "connection_specification": {
    15        "$schema": "http://json-schema.org/draft-07/schema#",
    16        "additionalProperties": true,
    17        "properties": {
    18          "host": {
    19            "default": "localhost",
    20            "description": "Redis host to connect to",
    21            "examples": [
    22              "localhost,127.0.0.1"
    23            ],
    24            "instillUpstreamTypes": [
    25              "value"
    26            ],
    27            "instillAcceptFormats": [
    28              "string"
    29            ],
    30            "instillCredentialField": false,
    31            "instillUIOrder": 0,
    32            "title": "Host",
    33            "type": "string"
    34          },
    35          "password": {
    36            "description": "Password associated with Redis",
    37            "instillUpstreamTypes": [
    38              "reference"
    39            ],
    40            "instillAcceptFormats": [
    41              "string"
    42            ],
    43            "instillCredentialField": true,
    44            "instillUIOrder": 3,
    45            "title": "Password",
    46            "type": "string"
    47          },
    48          "port": {
    49            "default": 6379,
    50            "description": "Port of Redis",
    51            "instillUpstreamTypes": [
    52              "value"
    53            ],
    54            "instillAcceptFormats": [
    55              "integer"
    56            ],
    57            "instillUIOrder": 1,
    58            "maximum": 65536,
    59            "minimum": 0,
    60            "title": "Port",
    61            "type": "integer"
    62          },
    63          "ssl": {
    64            "default": false,
    65            "description": "Indicates whether SSL encryption protocol will be used to connect to Redis. It is recommended to use SSL connection if possible.",
    66            "instillUpstreamTypes": [
    67              "value"
    68            ],
    69            "instillAcceptFormats": [
    70              "boolean"
    71            ],
    72            "instillUIOrder": 4,
    73            "title": "SSL Connection",
    74            "type": "boolean"
    75          },
    76          "ssl_mode": {
    77            "description": "SSL connection modes. \n  <b>verify-full</b> - This is the most secure mode. Always require encryption and verifies the identity of the source database server",
    78            "instillUIOrder": 5,
    79            "oneOf": [
    80              {
    81                "additionalProperties": false,
    82                "description": "Disable SSL mode.",
    83                "properties": {
    84                  "mode": {
    85                    "const": "disable",
    86                    "default": "disable",
    87                    "description": "Disable SSL mode",
    88                    "enum": [
    89                      "disable"
    90                    ],
    91                    "instillUIOrder": 0,
    92                    "order": 0,
    93                    "title": "Disable SSL",
    94                    "type": "string"
    95                  }
    96                },
    97                "required": [
    98                  "mode"
    99                ],
   100                "title": "Disable SSL Mode"
   101              },
   102              {
   103                "additionalProperties": false,
   104                "description": "Verify-full SSL mode. Always require encryption and verifies the identity of the server.",
   105                "properties": {
   106                  "ca_cert": {
   107                    "description": "CA certificate to use for SSL connection",
   108                    "instillUpstreamTypes": [
   109                      "reference"
   110                    ],
   111                    "instillAcceptFormats": [
   112                      "string"
   113                    ],
   114                    "instillCredentialField": true,
   115                    "instillUIOrder": 1,
   116                    "multiline": true,
   117                    "order": 1,
   118                    "title": "CA Certificate",
   119                    "type": "string"
   120                  },
   121                  "client_cert": {
   122                    "description": "Client certificate to use for SSL connection",
   123                    "instillUpstreamTypes": [
   124                      "reference"
   125                    ],
   126                    "instillAcceptFormats": [
   127                      "string"
   128                    ],
   129                    "instillCredentialField": true,
   130                    "instillUIOrder": 2,
   131                    "multiline": true,
   132                    "order": 2,
   133                    "title": "Client Certificate",
   134                    "type": "string"
   135                  },
   136                  "client_key": {
   137                    "description": "Client key to use for SSL connection",
   138                    "instillUpstreamTypes": [
   139                      "reference"
   140                    ],
   141                    "instillAcceptFormats": [
   142                      "string"
   143                    ],
   144                    "instillCredentialField": true,
   145                    "instillUIOrder": 3,
   146                    "multiline": true,
   147                    "order": 3,
   148                    "title": "Client Key",
   149                    "type": "string"
   150                  },
   151                  "mode": {
   152                    "const": "verify-full",
   153                    "default": "verify-full",
   154                    "description": "Verify-full SSL mode. Always require encryption and verifies the identity of the server.",
   155                    "enum": [
   156                      "verify-full"
   157                    ],
   158                    "instillUIOrder": 0,
   159                    "order": 0,
   160                    "title": "Enable",
   161                    "type": "string"
   162                  }
   163                },
   164                "required": [
   165                  "mode",
   166                  "ca_cert",
   167                  "client_cert",
   168                  "client_key"
   169                ],
   170                "title": "Verify Full SSL Mode"
   171              }
   172            ],
   173            "required": [
   174              "mode"
   175            ],
   176            "title": "SSL Configuration",
   177            "type": "object"
   178          },
   179          "username": {
   180            "description": "Username associated with Redis",
   181            "instillUpstreamTypes": [
   182              "value"
   183            ],
   184            "instillAcceptFormats": [
   185              "string"
   186            ],
   187            "instillUIOrder": 2,
   188            "title": "Username",
   189            "type": "string"
   190          }
   191        },
   192        "required": [
   193          "host",
   194          "port"
   195        ],
   196        "title": "Redis Connection",
   197        "type": "object"
   198      }
   199    },
   200    "title": "Redis",
   201    "description": "Manage data in NoSQL Redis databases",
   202    "type": "CONNECTOR_TYPE_DATA",
   203    "uid": "fd0ad325-f2f7-41f3-b247-6c71d571b1b8",
   204    "vendor": "Redis Labs",
   205    "vendor_attributes": {},
   206    "version": "0.1.0",
   207    "source_url": "https://github.com/instill-ai/component/blob/main/pkg/connector/redis/v0",
   208    "release_stage": "RELEASE_STAGE_ALPHA"
   209  }