From 4306769671e4859bc9b4c8ca52c186819aae3aea Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 10 Dec 2019 12:16:19 +0300 Subject: [PATCH] adapter children --- config/description.exs | 54 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 51 insertions(+), 3 deletions(-) diff --git a/config/description.exs b/config/description.exs index eeb4a6fe9..9e8c114b5 100644 --- a/config/description.exs +++ b/config/description.exs @@ -90,7 +90,23 @@ %{ key: :adapter, type: :keyword, - description: "Adapter specific options" + description: "Adapter specific options", + children: [ + %{ + key: :ssl_options, + type: :keyword, + label: "SSL Options", + description: "SSL options for HTTP adapter", + children: [ + %{ + key: :versions, + type: {:list, :atom}, + descriptions: "List of TLS version to use", + suggestions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"] + } + ] + } + ] }, %{ key: :proxy_url, @@ -1463,7 +1479,23 @@ %{ key: :adapter, type: :keyword, - description: "Adapter specific options" + description: "Adapter specific options", + children: [ + %{ + key: :ssl_options, + type: :keyword, + label: "SSL Options", + description: "SSL options for HTTP adapter", + children: [ + %{ + key: :versions, + type: {:list, :atom}, + descriptions: "List of TLS version to use", + suggestions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"] + } + ] + } + ] }, %{ key: :proxy_url, @@ -2760,7 +2792,23 @@ key: :adapter, type: :keyword, description: "Adapter specific options", - suggestions: [] + suggestions: [], + children: [ + %{ + key: :ssl_options, + type: :keyword, + label: "SSL Options", + description: "SSL options for HTTP adapter", + children: [ + %{ + key: :versions, + type: {:list, :atom}, + descriptions: "List of TLS version to use", + suggestions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"] + } + ] + } + ] } ] },