Class JsonOsgiConfigUtil
java.lang.Object
io.wcm.devops.conga.plugins.sling.util.JsonOsgiConfigUtil
Transforms a combined JSON file to provisioning model with OSGi configurations and repoinit statements.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.sling.provisioning.model.ModelreadToProvisioningModel(File file) Read JSON file content to a map.
-
Method Details
-
readToProvisioningModel
public static org.apache.sling.provisioning.model.Model readToProvisioningModel(File file) throws IOException Read JSON file content to a map.- Parameters:
file- JSON file- Returns:
- Map containing JSON content
- Throws:
IOException- I/O exception
-