This file contains hidden or 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
| import React from 'react'; | |
| import HelpJuiceArticles from './components/HelpJuiceArticles'; | |
| const App = () => { | |
| return ( | |
| <div className="App"> | |
| <HelpJuiceArticles /> | |
| </div> | |
| ); | |
| }; |
This file contains hidden or 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
| const axios = require('axios'); | |
| const { MWAAClient, CreateCliTokenCommand } = require('@aws-sdk/client-mwaa'); | |
| const client = new MWAAClient({ region: 'AWS_REGION' }); | |
| const environmentName = 'MWAA_ENV_NAME' | |
| const dagName = 'DAG_NAME'; | |
| const payload = { | |
| } |
This file contains hidden or 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
| from pymongo import MongoClient | |
| import sys | |
| import json | |
| from datetime import datetime | |
| def get_database(env, dbName): | |
| if env == 'local' : | |
| connection_string = "mongodb://localhost:27017/?readPreference=primary&appname=MongoDB%20Compass&directConnection=true&ssl=false" | |
| client = MongoClient(connection_string) | |
| return client[dbName] |
This file contains hidden or 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
| n8n configuration files for kubernetes deployment |