Search in sources :

Example 1 with DeploymentStoreNull

use of org.folio.okapi.service.impl.DeploymentStoreNull in project okapi by folio-org.

the class DeploymentManagerTest method setUp.

@Before
public void setUp(TestContext context) {
    async = context.async();
    vertx = Vertx.vertx();
    ports = new Ports(9231, 9239);
    em = new EnvManager(new EnvStoreNull());
    ds = new DeploymentStoreNull();
    em.init(vertx, res1 -> {
        dis = new DiscoveryManager(ds);
        dis.init(vertx, res2 -> {
            dm = new DeploymentManager(vertx, dis, em, "myhost.index", ports, 9230, "");
            async.complete();
        });
    });
}
Also used : EnvStoreNull(org.folio.okapi.service.impl.EnvStoreNull) DiscoveryManager(org.folio.okapi.discovery.DiscoveryManager) DeploymentStoreNull(org.folio.okapi.service.impl.DeploymentStoreNull) DeploymentManager(org.folio.okapi.deployment.DeploymentManager) Ports(org.folio.okapi.bean.Ports) EnvManager(org.folio.okapi.env.EnvManager) Before(org.junit.Before)

Aggregations

Ports (org.folio.okapi.bean.Ports)1 DeploymentManager (org.folio.okapi.deployment.DeploymentManager)1 DiscoveryManager (org.folio.okapi.discovery.DiscoveryManager)1 EnvManager (org.folio.okapi.env.EnvManager)1 DeploymentStoreNull (org.folio.okapi.service.impl.DeploymentStoreNull)1 EnvStoreNull (org.folio.okapi.service.impl.EnvStoreNull)1 Before (org.junit.Before)1