use of io.kamax.mxisd.backend.rest.RestDirectoryProvider in project mxisd by kamax-io.
the class RestDirectoryProviderTest method before.
@Before
public void before() {
MatrixConfig mxCfg = new MatrixConfig();
mxCfg.setDomain(domain);
mxCfg.build();
RestBackendConfig cfg = new RestBackendConfig();
cfg.setEnabled(true);
cfg.setHost("http://localhost:65000");
cfg.getEndpoints().setDirectory(endpoint);
cfg.build();
p = new RestDirectoryProvider(cfg, mxCfg);
}
Aggregations