diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..c897e37 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,133 @@ +{ + "files.associations": { + "*.sql": "jinja-sql", + "*.pkg": "oracle-sql", + "*.pkb": "oracle-sql" + }, + "[oracle-sql]": { + "editor.defaultFormatter": "Oracle.sql-developer" + }, + "java.home": "C:\\apps\\Amazon Corretto\\jdk17.0.11_9", + "oracle.developer.javaHome": "C:\\apps\\Amazon Corretto\\jdk17.0.11_9", + "java.configuration.runtimes": [ + { + "name": "JavaSE-17", + "path": "C:\\apps\\Amazon Corretto\\jdk17.0.11_9" + }, + { + "name": "Oracle-JDK", + "path": "C:\\apps\\sqldeveloper\\jdk\\jre" + } + ], + "java.import.gradle.java.home": "C:\\apps\\Amazon Corretto\\jdk17.0.11_9", + "oracle.developer.sqlcl.path": "sql", + "oracle.developer.enableSQLCL": true, + "oracle.developer.enableLanguageServer": true, + "oracle.developer.walletLocation": "c:\\_git\\OracleAI\\oracledb1\\Wallet_ggmichalski", + "oracle.developer.sqlDeveloperHome": "C:\\apps\\sqldeveloper", + "oracle.developer.enableJDBCDrivers": true, + "oracle.developer.debug.enabled": true, + "oracle.developer.logging.level": "ALL", + "oracle.developer.startup.timeout": 120000, + "oracle.developer.jvm.maxMemory": "2g", + "oracle.developer.jvm.initialMemory": "512m", + "oracle.developer.connectionTimeout": 60000, + "oracle.developer.tnsAdminLocation": "c:\\_git\\OracleAI\\oracledb1\\Wallet_ggmichalski", + "oracle.developer.oracleHome": "", + "oracle.developer.disableOracleHomeDetection": true, + "oracle.developer.queryTimeout": 300000, + "oracle.developer.useWalletOnly": true, + "oracle.developer.ignoreSystemOracleHome": true, + "oracle.developer.overrideSystemVariables": true, + "oracle.developer.forceWalletConnections": true, + "oracle.developer.bypassTnsLookup": true, + "terminal.integrated.env.windows": { + "TNS_ADMIN": "c:\\oracle\\homes\\OraDB21Home1\\network\\admin", + "ORACLE_HOME": "c:\\oracle\\WINDOWS.X64_213000_db_home", + "ORA_JAVA_HOME": "C:\\apps\\Amazon Corretto\\jdk17.0.11_9" + }, + "oracledevtools.download.otherPlatforms": true, + "oracledevtools.bookmarkFileLocation": "", + "oracle.connectionConfiguration": { + "defaultConnection": "ADMIN@ggmichalski_high", + "connections": [ + { + "name": "ADMIN@ggmichalski_high", + "username": "ADMIN", + "password": "Cloudpass#34", + "connectionString": "ggmichalski_high", + "walletLocation": "c:\\_git\\OracleAI\\oracledb1\\Wallet_ggmichalski" + }, + { + "name": "MICHALZ@ggmichalski_high", + "username": "MICHALZ", + "password": "Cloudpass#34", + "connectionString": "ggmichalski_high", + "walletLocation": "c:\\_git\\OracleAI\\oracledb1\\Wallet_ggmichalski" + }, + { + "name": "MRDS_LOADER@ggmichalski_high", + "username": "MRDS_LOADER", + "password": "Cloudpass#34", + "connectionString": "ggmichalski_high", + "walletLocation": "c:\\_git\\OracleAI\\oracledb1\\Wallet_ggmichalski" + }, + { + "name": "CT_MRDS@ggmichalski_high", + "username": "CT_MRDS", + "password": "Cloudpass#34", + "connectionString": "ggmichalski_high", + "walletLocation": "c:\\_git\\OracleAI\\oracledb1\\Wallet_ggmichalski" + }, + { + "name": "ODS@ggmichalski_high", + "username": "ODS", + "password": "Cloudpass#34", + "connectionString": "ggmichalski_high", + "walletLocation": "c:\\_git\\OracleAI\\oracledb1\\Wallet_ggmichalski" + }, + { + "name": "CT_ODS@ggmichalski_high", + "username": "CT_ODS", + "password": "Cloudpass#34", + "connectionString": "ggmichalski_high", + "walletLocation": "c:\\_git\\OracleAI\\oracledb1\\Wallet_ggmichalski" + }, + { + "name": "CT_ET_TEMPLATES@ggmichalski_high", + "username": "CT_ET_TEMPLATES", + "password": "Cloudpass#34", + "connectionString": "ggmichalski_high", + "walletLocation": "c:\\_git\\OracleAI\\oracledb1\\Wallet_ggmichalski" + }, + { + "name": "OU_TOP@ggmichalski_high", + "username": "OU_TOP", + "password": "Cloudpass#34", + "connectionString": "ggmichalski_high", + "walletLocation": "c:\\_git\\OracleAI\\oracledb1\\Wallet_ggmichalski" + }, + { + "name": "OU_LM@ggmichalski_high", + "username": "OU_LM", + "password": "Cloudpass#34", + "connectionString": "ggmichalski_high", + "walletLocation": "c:\\_git\\OracleAI\\oracledb1\\Wallet_ggmichalski" + }, + { + "name": "OU_MRR@ggmichalski_high", + "username": "OU_MRR", + "password": "Cloudpass#34", + "connectionString": "ggmichalski_high", + "walletLocation": "c:\\_git\\OracleAI\\oracledb1\\Wallet_ggmichalski" + }, + { + "name": "OU_C2D@ggmichalski_high", + "username": "OU_C2D", + "password": "Cloudpass#34", + "connectionString": "ggmichalski_high", + "walletLocation": "c:\\_git\\OracleAI\\oracledb1\\Wallet_ggmichalski" + } + ] + } +} \ No newline at end of file diff --git a/dbt/profiles.yml b/dbt/profiles.yml index 9879a6e..b17be8f 100644 --- a/dbt/profiles.yml +++ b/dbt/profiles.yml @@ -3,7 +3,7 @@ # to populate env with variables and then restart VSCode to load new variables mrds: - target: dev + target: dev2 outputs: poc: type: "{{ env_var('DBT_PROFILE_TARGET_TYPE_POC') }}" @@ -16,6 +16,16 @@ mrds: protocol: tcps schema: public threads: 4 + dev2: + type: oracle + user: MRDS_LOADER + password: "Cloudpass#34" + schema: public + database: G45C5E88148E17E_GGMICHALSKI + threads: 4 + # Use TNS name with Oracle Wallet + tns_name: "ggmichalski_high" + wallet_location: "C:\\_git\\OracleAI\\oracledb1\\Wallet_ggmichalski" dev: type: "{{ env_var('DBT_PROFILE_TARGET_TYPE_DEV') }}" host: "{{ env_var('DBT_PROFILE_TARGET_HOST_DEV') }}"