public class JsonConfigConverter extends Object
| Constructor and Description |
|---|
JsonConfigConverter() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.jboss.dmr.ModelNode> |
convertJsonConfig(String json,
org.jboss.as.controller.PathAddress subsysAddress)
Convert keycloak-server.json to DMR operations that write to standalone.xml
or domain.xml.
|
public static List<org.jboss.dmr.ModelNode> convertJsonConfig(String json, org.jboss.as.controller.PathAddress subsysAddress) throws IOException
json - The json representation of the config.subsysAddress - The management model address of the keycloak-server subsystem.IOException - If the json can not be parsed.Copyright © 2020 JBoss by Red Hat. All rights reserved.