Search in sources :

Example 1 with JsonbConfig

use of jakarta.json.bind.JsonbConfig in project zilla by aklivity.

the class WsConditionConfigAdapterTest method initJson.

@Before
public void initJson() {
    JsonbConfig config = new JsonbConfig().withAdapters(new WsConditionConfigAdapter());
    jsonb = JsonbBuilder.create(config);
}
Also used : JsonbConfig(jakarta.json.bind.JsonbConfig) Before(org.junit.Before)

Example 2 with JsonbConfig

use of jakarta.json.bind.JsonbConfig in project zilla by aklivity.

the class TlsConditionConfigAdapterTest method initJson.

@Before
public void initJson() {
    JsonbConfig config = new JsonbConfig().withAdapters(new TlsConditionConfigAdapter());
    jsonb = JsonbBuilder.create(config);
}
Also used : JsonbConfig(jakarta.json.bind.JsonbConfig) Before(org.junit.Before)

Example 3 with JsonbConfig

use of jakarta.json.bind.JsonbConfig in project zilla by aklivity.

the class TlsOptionsConfigAdapterTest method initJson.

@Before
public void initJson() {
    JsonbConfig config = new JsonbConfig().withAdapters(new TlsOptionsConfigAdapter());
    jsonb = JsonbBuilder.create(config);
}
Also used : JsonbConfig(jakarta.json.bind.JsonbConfig) Before(org.junit.Before)

Example 4 with JsonbConfig

use of jakarta.json.bind.JsonbConfig in project zilla by aklivity.

the class HttpConditionConfigAdapterTest method initJson.

@Before
public void initJson() {
    JsonbConfig config = new JsonbConfig().withAdapters(new HttpConditionConfigAdapter());
    jsonb = JsonbBuilder.create(config);
}
Also used : JsonbConfig(jakarta.json.bind.JsonbConfig) Before(org.junit.Before)

Example 5 with JsonbConfig

use of jakarta.json.bind.JsonbConfig in project zilla by aklivity.

the class HttpOptionsConfigAdapterTest method initJson.

@Before
public void initJson() {
    JsonbConfig config = new JsonbConfig().withAdapters(new HttpOptionsConfigAdapter());
    jsonb = JsonbBuilder.create(config);
}
Also used : JsonbConfig(jakarta.json.bind.JsonbConfig) Before(org.junit.Before)

Aggregations

JsonbConfig (jakarta.json.bind.JsonbConfig)45 Before (org.junit.Before)28 Jsonb (jakarta.json.bind.Jsonb)12 Test (org.junit.jupiter.api.Test)5 InputStream (java.io.InputStream)4 Files.newInputStream (java.nio.file.Files.newInputStream)3 Path (java.nio.file.Path)3 ZpmSecurity (io.aklivity.zilla.manager.internal.settings.ZpmSecurity)2 Annot8ComponentDescriptor (io.annot8.api.components.Annot8ComponentDescriptor)2 Descriptor (io.annot8.common.serialization.TestNested.Descriptor)2 OutputStream (java.io.OutputStream)2 Files.newOutputStream (java.nio.file.Files.newOutputStream)2 ZpmCredentials (io.aklivity.zilla.manager.internal.settings.ZpmCredentials)1 ZpmSettings (io.aklivity.zilla.manager.internal.settings.ZpmSettings)1 Engine (io.aklivity.zilla.runtime.engine.Engine)1 EngineConfiguration (io.aklivity.zilla.runtime.engine.EngineConfiguration)1 BindingConfig (io.aklivity.zilla.runtime.engine.config.BindingConfig)1 NamespaceConfig (io.aklivity.zilla.runtime.engine.config.NamespaceConfig)1 RouteConfig (io.aklivity.zilla.runtime.engine.config.RouteConfig)1 VaultConfig (io.aklivity.zilla.runtime.engine.config.VaultConfig)1