-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update insta, and updates a failing test due to breaking serialization change. Issue for the serialization change: mitsuhiko/insta#290
- Loading branch information
Showing
7 changed files
with
33 additions
and
95 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 1 addition & 20 deletions
21
...apshots/flow_connector_proxy__libs__network_tunnel__test__extended_endpoint_schema-2.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,7 @@ | ||
--- | ||
source: crates/connector_proxy/src/libs/network_tunnel.rs | ||
assertion_line: 156 | ||
expression: "NetworkTunnel::extend_endpoint_schema(schema).unwrap()" | ||
--- | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Generic Database Connection Spec", | ||
"type": "object", | ||
"required": [ | ||
"credentials", | ||
"hostname" | ||
], | ||
"properties": { | ||
"credentials": { | ||
"description": "Some login credentials or something.", | ||
"type": "string", | ||
"secret": true | ||
}, | ||
"hostname": { | ||
"title": "Server Hostname", | ||
"description": "The hostname at which the server can be reached.", | ||
"type": "string" | ||
} | ||
} | ||
"$serde_json::private::RawValue": "{\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"title\": \"Generic Database Connection Spec\",\n \"type\": \"object\",\n \"required\": [\n \"credentials\",\n \"hostname\"\n ],\n \"properties\": {\n \"credentials\": {\n \"description\": \"Some login credentials or something.\",\n \"type\": \"string\",\n \"secret\": true\n },\n \"hostname\": {\n \"title\": \"Server Hostname\",\n \"description\": \"The hostname at which the server can be reached.\",\n \"type\": \"string\"\n }\n }\n}" | ||
} |
60 changes: 1 addition & 59 deletions
60
...snapshots/flow_connector_proxy__libs__network_tunnel__test__extended_endpoint_schema.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,7 @@ | ||
--- | ||
source: crates/connector_proxy/src/libs/network_tunnel.rs | ||
assertion_line: 160 | ||
expression: "NetworkTunnel::extend_endpoint_schema(schema).unwrap()" | ||
--- | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Generic Database Connection Spec", | ||
"type": "object", | ||
"required": [ | ||
"address", | ||
"credentials" | ||
], | ||
"properties": { | ||
"address": { | ||
"title": "Server Address", | ||
"description": "The host or host:port at which the database can be reached.", | ||
"type": "string" | ||
}, | ||
"credentials": { | ||
"description": "Some login credentials or something.", | ||
"type": "string", | ||
"secret": true | ||
}, | ||
"networkTunnel": { | ||
"title": "Network Tunneling", | ||
"description": "Setup a network tunnel to access systems on a private network", | ||
"oneOf": [ | ||
{ | ||
"title": "SSH Forwarding", | ||
"type": "object", | ||
"properties": { | ||
"sshForwarding": { | ||
"title": "SSH Tunnel", | ||
"description": "Connect to your system through an SSH server that acts as a bastion host for your network.", | ||
"type": "object", | ||
"required": [ | ||
"privateKey", | ||
"sshEndpoint" | ||
], | ||
"properties": { | ||
"privateKey": { | ||
"title": "SSH Private Key", | ||
"description": "Private key to connect to the remote SSH server.", | ||
"type": "string", | ||
"multiline": true, | ||
"secret": true | ||
}, | ||
"sshEndpoint": { | ||
"description": "Endpoint of the remote SSH server that supports tunneling, in the form of ssh://user@hostname[:port]", | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"title": "Disabled", | ||
"type": "null" | ||
} | ||
], | ||
"advanced": true | ||
} | ||
} | ||
"$serde_json::private::RawValue": "{\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"title\": \"Generic Database Connection Spec\",\n \"type\": \"object\",\n \"required\": [\n \"address\",\n \"credentials\"\n ],\n \"properties\": {\n \"address\": {\n \"title\": \"Server Address\",\n \"description\": \"The host or host:port at which the database can be reached.\",\n \"type\": \"string\"\n },\n \"credentials\": {\n \"description\": \"Some login credentials or something.\",\n \"type\": \"string\",\n \"secret\": true\n },\n \"networkTunnel\": {\n \"title\": \"Network Tunneling\",\n \"description\": \"Setup a network tunnel to access systems on a private network\",\n \"oneOf\": [\n {\n \"title\": \"SSH Forwarding\",\n \"type\": \"object\",\n \"properties\": {\n \"sshForwarding\": {\n \"title\": \"SSH Tunnel\",\n \"description\": \"Connect to your system through an SSH server that acts as a bastion host for your network.\",\n \"type\": \"object\",\n \"required\": [\n \"privateKey\",\n \"sshEndpoint\"\n ],\n \"properties\": {\n \"privateKey\": {\n \"title\": \"SSH Private Key\",\n \"description\": \"Private key to connect to the remote SSH server.\",\n \"type\": \"string\",\n \"multiline\": true,\n \"secret\": true\n },\n \"sshEndpoint\": {\n \"description\": \"Endpoint of the remote SSH server that supports tunneling, in the form of ssh://user@hostname[:port]\",\n \"type\": \"string\"\n }\n }\n }\n }\n },\n {\n \"title\": \"Disabled\",\n \"type\": \"null\"\n }\n ],\n \"advanced\": true\n }\n }\n}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters