Search in sources :

Example 6 with ExecConfig

use of io.kamax.mxisd.config.ExecConfig in project mxisd by kamax-io.

the class ExecProfileStoreTest method getStore.

private ExecProfileStore getStore(String command) {
    ExecConfig cfg = getCfg();
    cfg.getProfile().getDisplayName().setCommand(command);
    cfg.getProfile().getThreePid().setCommand(command);
    cfg.getProfile().getRole().setCommand(command);
    return getStore(cfg);
}
Also used : ExecConfig(io.kamax.mxisd.config.ExecConfig)

Example 7 with ExecConfig

use of io.kamax.mxisd.config.ExecConfig in project mxisd by kamax-io.

the class ExecProfileStoreTest method getCfg.

private ExecConfig getCfg() {
    ExecConfig cfg = new ExecConfig().build();
    assertFalse(cfg.isEnabled());
    cfg.setEnabled(true);
    assertTrue(cfg.isEnabled());
    cfg.getProfile().getDisplayName().getOutput().setType(ExecStore.JsonType);
    cfg.getProfile().getThreePid().getOutput().setType(ExecStore.JsonType);
    cfg.getProfile().getRole().getOutput().setType(ExecStore.JsonType);
    return cfg;
}
Also used : ExecConfig(io.kamax.mxisd.config.ExecConfig)

Aggregations

ExecConfig (io.kamax.mxisd.config.ExecConfig)7 ExecDirectoryStore (io.kamax.mxisd.backend.exec.ExecDirectoryStore)1 UserDirectorySearchResult (io.kamax.mxisd.http.io.UserDirectorySearchResult)1 Test (org.junit.Test)1