File tree 1 file changed +18
-0
lines changed
airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change
1
+ package io .airbyte .integrations .destination .snowflake ;
2
+
3
+ import com .fasterxml .jackson .databind .JsonNode ;
4
+ import com .google .common .base .Preconditions ;
5
+ import io .airbyte .commons .io .IOs ;
6
+ import io .airbyte .commons .json .Jsons ;
7
+ import java .nio .file .Path ;
8
+
9
+ public class SnowflakeS3CopyEncryptedDestinationAcceptanceTest extends SnowflakeInsertDestinationAcceptanceTest {
10
+
11
+ @ Override
12
+ public JsonNode getStaticConfig () {
13
+ final JsonNode copyConfig = Jsons .deserialize (IOs .readFile (Path .of ("secrets/copy_s3_encrypted_config.json" )));
14
+ Preconditions .checkArgument (SnowflakeDestinationResolver .isS3Copy (copyConfig ));
15
+ Preconditions .checkArgument (!SnowflakeDestinationResolver .isGcsCopy (copyConfig ));
16
+ return copyConfig ;
17
+ }
18
+ }
You can’t perform that action at this time.
0 commit comments