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
| spring.quartz.auto-startup=true | |
| spring.quartz.job-store-type=jdbc | |
| spring.quartz.jdbc.initialize-schema=never | |
| spring.quartz.startup-delay=30s | |
| spring.quartz.wait-for-jobs-to-complete-on-shutdown=true | |
| spring.threads.virtual.enabled=true | |
| logging.level.org.quartz=DEBUG | |
| spring.quartz.scheduler-name=quartzScheduler | |
| spring.quartz.properties.org.quartz.scheduler.instanceId=AUTO | |
| spring.quartz.properties.org.quartz.jobStore.useProperties=true |
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 org.w3c.dom.Document; | |
| import org.w3c.dom.Element; | |
| import org.w3c.dom.Node; | |
| import org.w3c.dom.NodeList; | |
| import javax.xml.XMLConstants; | |
| import javax.xml.crypto.AlgorithmMethod; | |
| import javax.xml.crypto.KeySelector; | |
| import javax.xml.crypto.KeySelectorException; |
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 org.w3c.dom.Document; | |
| import org.w3c.dom.Element; | |
| import org.w3c.dom.Node; | |
| import org.w3c.dom.NodeList; | |
| import javax.xml.XMLConstants; | |
| import javax.xml.crypto.AlgorithmMethod; | |
| import javax.xml.crypto.KeySelector; | |
| import javax.xml.crypto.KeySelectorException; |
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
| DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); | |
| DocumentBuilder builder = factory.newDocumentBuilder(); | |
| factory.setNamespaceAware(true); | |
| factory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true); | |
| factory.setFeature("http://xml.org/sax/features/external-general-entities", false); | |
| factory.setFeature("http://xml.org/sax/features/external-parameter-entities", false); | |
| factory.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false); | |
| factory.setFeature("http://xml.org/sax/features/namespaces", true); | |
| factory.setAttribute("http://javax.xml.XMLConstants/property/accessExternalDTD", ""); | |
| factory.setAttribute("http://javax.xml.XMLConstants/property/accessExternalSchema", ""); |
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
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>jaxb2-maven-plugin</artifactId> | |
| <version>3.1.0</version> | |
| <executions> | |
| <execution> | |
| <id>xjc</id> | |
| <goals> | |
| <goal>xjc</goal> | |
| </goals> |
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
| public class DynamicMongoClientFactory { | |
| public DynamicMongoClientFactory() {} | |
| public MongoClient createMongoClient(String uri) { | |
| StandardMongoClientSettingsBuilderCustomizer standardMongoClientSettingsBuilderCustomizer = new StandardMongoClientSettingsBuilderCustomizer(new ConnectionString(uri), UuidRepresentation.JAVA_LEGACY, new MongoProperties.Ssl(), new DefaultSslBundleRegistry()); | |
| MongoClientSettings mongoClientSettings = MongoClientSettings | |
| .builder() | |
| .applicationName("user") | |
| .applyConnectionString(new ConnectionString(uri)).build(); |
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 javax.crypto.BadPaddingException; | |
| import javax.crypto.Cipher; | |
| import javax.crypto.IllegalBlockSizeException; | |
| import javax.crypto.NoSuchPaddingException; | |
| import javax.crypto.SecretKeyFactory; | |
| import javax.crypto.spec.GCMParameterSpec; | |
| import javax.crypto.spec.PBEKeySpec; | |
| import javax.crypto.spec.SecretKeySpec; | |
| import java.security.InvalidAlgorithmParameterException; | |
| import java.security.InvalidKeyException; |
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
| // TODO: needs a better typing for Recoil | |
| type AtomEffectParams = { | |
| // eslint-disable-next-line | |
| [key: string]: any; | |
| }; | |
| export type { AtomEffectParams }; |
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 type { OptionsObject, SnackbarKey, SnackbarMessage } from 'notistack'; | |
| interface Notification { | |
| message: SnackbarMessage; | |
| options: OptionsObject; | |
| dismissed: boolean; | |
| } | |
| type Actions = { | |
| push: (notification: Partial<Notification>) => SnackbarKey; |
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 { SnackbarProvider } from 'notistack'; | |
| import { notifications } from '@/config'; | |
| import Notifier from './Notifier'; | |
| const Notification: React.FC = () => { | |
| return ( |