Package de.flapdoodle.embed.mongo.config

Examples of de.flapdoodle.embed.mongo.config.RuntimeConfigBuilder


                };
            } else {
                commandLinePostProcessor = new ICommandLinePostProcessor.Noop();
            }

            IRuntimeConfig runtimeConfig = new RuntimeConfigBuilder()
                    .defaults(Command.MongoD)
                    .processOutput(getOutputConfig())
                    .artifactStore(getArtifactStore())
                    .commandLinePostProcessor(commandLinePostProcessor)
                    .build();
View Full Code Here


                .version(Version.Main.PRODUCTION)
                .net(new Net(port, false))
                .build();

        Command command = Command.MongoD;
        IRuntimeConfig runtimeConfig = new RuntimeConfigBuilder()
                .defaults(command)
                .artifactStore(new ArtifactStoreBuilder()
                                       .defaults(command)
                                       .download(new DownloadConfigBuilder()
                                                         .defaultsForCommand(command))
View Full Code Here

        private static MongoClient getInstance() {
            try {
                int port = RandomPortNumberGenerator.pickAvailableRandomEphemeralPortNumber();
                IStreamProcessor output = new NullProcessor();

                IRuntimeConfig runtimeConfig = new RuntimeConfigBuilder()
                        .defaults(Command.MongoD)
                        .processOutput(new ProcessOutput(output, output, output))
                        .build();
                IMongodConfig mongodConfig = new MongodConfigBuilder()
                        .version(Version.Main.PRODUCTION)
View Full Code Here

TOP

Related Classes of de.flapdoodle.embed.mongo.config.RuntimeConfigBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.