mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-02 21:53:30 +00:00
This commit is contained in:
parent
27e9012a56
commit
c04ec3e922
@ -73,6 +73,7 @@ class QlikSenseClient:
|
|||||||
"ca_certs": self.config.certificates.rootCertificate,
|
"ca_certs": self.config.certificates.rootCertificate,
|
||||||
"certfile": self.config.certificates.clientCertificate,
|
"certfile": self.config.certificates.clientCertificate,
|
||||||
"keyfile": self.config.certificates.clientKeyCertificate,
|
"keyfile": self.config.certificates.clientKeyCertificate,
|
||||||
|
"check_hostname": self.config.validateHostName,
|
||||||
}
|
}
|
||||||
return context
|
return context
|
||||||
|
|
||||||
|
@ -124,11 +124,12 @@ class SSLManager:
|
|||||||
return connection
|
return connection
|
||||||
|
|
||||||
@setup_ssl.register(QlikSenseConnection)
|
@setup_ssl.register(QlikSenseConnection)
|
||||||
def _(self, _):
|
def _(self, connection):
|
||||||
return {
|
return {
|
||||||
"ca_certs": self.ca_file_path,
|
"ca_certs": self.ca_file_path,
|
||||||
"certfile": self.cert_file_path,
|
"certfile": self.cert_file_path,
|
||||||
"keyfile": self.key_file_path,
|
"keyfile": self.key_file_path,
|
||||||
|
"check_hostname": connection.validateHostName,
|
||||||
}
|
}
|
||||||
|
|
||||||
@setup_ssl.register(KafkaConnection)
|
@setup_ssl.register(KafkaConnection)
|
||||||
|
@ -82,6 +82,8 @@ You will have to replace new lines with `\n` and the final private key that you
|
|||||||
|
|
||||||
**User ID**: This field specifies the user id of the user.
|
**User ID**: This field specifies the user id of the user.
|
||||||
|
|
||||||
|
**Validate Host Name**: Enable/Disable this field to validate the host name against the provided certificates.
|
||||||
|
|
||||||
{% /extraContent %}
|
{% /extraContent %}
|
||||||
|
|
||||||
{% partial file="/v1.4/connectors/test-connection.md" /%}
|
{% partial file="/v1.4/connectors/test-connection.md" /%}
|
||||||
|
@ -130,6 +130,12 @@ You will have to replace new lines with `\n` and the final private key that you
|
|||||||
|
|
||||||
{% /codeInfo %}
|
{% /codeInfo %}
|
||||||
|
|
||||||
|
{% codeInfo srNumber=7 %}
|
||||||
|
|
||||||
|
**validateHostName**: Enable/Disable this field to validate the host name against the provided certificates.
|
||||||
|
|
||||||
|
{% /codeInfo %}
|
||||||
|
|
||||||
{% partial file="/v1.4/connectors/yaml/dashboard/source-config-def.md" /%}
|
{% partial file="/v1.4/connectors/yaml/dashboard/source-config-def.md" /%}
|
||||||
|
|
||||||
{% partial file="/v1.4/connectors/yaml/ingestion-sink-def.md" /%}
|
{% partial file="/v1.4/connectors/yaml/ingestion-sink-def.md" /%}
|
||||||
@ -174,7 +180,9 @@ source:
|
|||||||
```yaml {% srNumber=6 %}
|
```yaml {% srNumber=6 %}
|
||||||
userDirectory: user_dir
|
userDirectory: user_dir
|
||||||
```
|
```
|
||||||
|
```yaml {% srNumber=6 %}
|
||||||
|
validateHostName: false
|
||||||
|
```
|
||||||
{% partial file="/v1.4/connectors/yaml/dashboard/source-config.md" /%}
|
{% partial file="/v1.4/connectors/yaml/dashboard/source-config.md" /%}
|
||||||
|
|
||||||
{% partial file="/v1.4/connectors/yaml/ingestion-sink.md" /%}
|
{% partial file="/v1.4/connectors/yaml/ingestion-sink.md" /%}
|
||||||
|
@ -86,6 +86,12 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"validateHostName": {
|
||||||
|
"title": "Validate Host Name",
|
||||||
|
"description": "Validate Host Name",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
"userDirectory": {
|
"userDirectory": {
|
||||||
"title": "User Directory",
|
"title": "User Directory",
|
||||||
"description": "User Directory.",
|
"description": "User Directory.",
|
||||||
|
@ -153,4 +153,11 @@ $$section
|
|||||||
### User ID $(id="userId")
|
### User ID $(id="userId")
|
||||||
|
|
||||||
This field specifies the user id of the user.
|
This field specifies the user id of the user.
|
||||||
|
$$
|
||||||
|
|
||||||
|
|
||||||
|
$$section
|
||||||
|
### Validate Host Name $(id="validateHostName")
|
||||||
|
|
||||||
|
Enable/Disable this field to validate the host name against the provided certificates.
|
||||||
$$
|
$$
|
Loading…
x
Reference in New Issue
Block a user