Skip to content

Commit

Permalink
Made HostnameVerification opetional and added a default value
Browse files Browse the repository at this point in the history
Signed-off-by: Guian Gumpac <[email protected]>
  • Loading branch information
Guian Gumpac committed Mar 8, 2022
1 parent ef5597e commit be226a7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bi-connectors/PowerBIConnector/OpenSearchProject.pq
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ OpenSearchProjectType = type function (
Documentation.FieldDescription = "Use SSL",
Documentation.AllowedValues = { true, false }
]),
HostnameVerification as (type logical meta [
optional HostnameVerification as (type logical meta [
Documentation.FieldCaption = "Certificate validation",
Documentation.FieldDescription = "Certificate validation",
Documentation.AllowedValues = { true, false }
Expand Down Expand Up @@ -82,7 +82,11 @@ OpenSearchProjectImpl = (Server as text, Port as number, UseSSL as logical, Host
ConnectionString = [
Driver = "OpenSearch SQL ODBC Driver",
Host = FinalServerString,
HostnameVerification = if HostnameVerification then 1 else 0
HostnameVerification =
if HostnameVerification = null or HostnameVerification then
1
else
0
],

SQLGetInfo = Diagnostics.LogValue("SQLGetInfo_Options", [
Expand Down
24 changes: 24 additions & 0 deletions tnameVerification =
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS

Commands marked with * may be preceded by a number, _N.
Notes in parentheses indicate the behavior if _N is given.
A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K.

h H Display this help.
q :q Q :Q ZZ Exit.
---------------------------------------------------------------------------

MMOOVVIINNGG

e ^E j ^N CR * Forward one line (or _N lines).
y ^Y k ^K ^P * Backward one line (or _N lines).
f ^F ^V SPACE * Forward one window (or _N lines).
b ^B ESC-v * Backward one window (or _N lines).
z * Forward one window (and set window to _N).
w * Backward one window (and set window to _N).
ESC-SPACE * Forward one window, but don't stop at end-of-file.
d ^D * Forward one half-window (and set half-window to _N).
u ^U * Backward one half-window (and set half-window to _N).
ESC-) RightArrow * Right one half screen width (or _N positions).
ESC-( LeftArrow * Left one half screen width (or _N positions).

1 comment on commit be226a7

@MaxKsyunz
Copy link

@MaxKsyunz MaxKsyunz commented on be226a7 Mar 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guiangumpac, tnameVerification = file does not need to be here, does it?

Please sign in to comment.