Package org.springframework.xd.test

Examples of org.springframework.xd.test.RandomConfigurationSupport


  @Rule
  public TestName name = new TestName();

  @BeforeClass
  public static synchronized void startUp() throws InterruptedException, IOException {
    RandomConfigurationSupport randomConfigSupport = new RandomConfigurationSupport();
    if (application == null) {
      application = new SingleNodeApplication().run("--transport", "local", "--analytics", "redis");
      integrationTestSupport = new SingleNodeIntegrationTestSupport(application);
      integrationTestSupport.addModuleRegistry(new ArchiveModuleRegistry("classpath:/spring-xd/xd/modules"));
      Bootstrap bootstrap = new Bootstrap(new String[] { "--port", randomConfigSupport.getAdminServerPort() });
      shell = bootstrap.getJLineShellComponent();
    }
    if (!shell.isRunning()) {
      shell.start();
    }
View Full Code Here


   * Start the single node container, binding random unused ports, etc. to not conflict with any other instances
   * running on this host. Configure the ModuleRegistry to include the project module.
   */
  @BeforeClass
  public static void setUp() {
    RandomConfigurationSupport randomConfigSupport = new RandomConfigurationSupport();
    application = new SingleNodeApplication().run("--transport", "local", "--analytics", "redis");
    SingleNodeIntegrationTestSupport singleNodeIntegrationTestSupport = new SingleNodeIntegrationTestSupport
        (application);
    singleNodeIntegrationTestSupport.addModuleRegistry(new SingletonModuleRegistry(ModuleType.processor,
        moduleName));
View Full Code Here

TOP

Related Classes of org.springframework.xd.test.RandomConfigurationSupport

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.