use of org.camunda.bpm.container.impl.metadata.BpmPlatformXmlParser in project camunda-bpm-platform by camunda.
the class AbstractParseBpmPlatformXmlStep method performOperationStep.
public void performOperationStep(DeploymentOperation operationContext) {
URL bpmPlatformXmlSource = getBpmPlatformXmlStream(operationContext);
ensureNotNull("Unable to find bpm-platform.xml. This file is necessary for deploying the camunda BPM platform", "bpmPlatformXmlSource", bpmPlatformXmlSource);
// parse the bpm platform xml
BpmPlatformXml bpmPlatformXml = new BpmPlatformXmlParser().createParse().sourceUrl(bpmPlatformXmlSource).execute().getBpmPlatformXml();
// attach to operation context
operationContext.addAttachment(Attachments.BPM_PLATFORM_XML, bpmPlatformXml);
}
use of org.camunda.bpm.container.impl.metadata.BpmPlatformXmlParser in project camunda-bpm-platform by camunda.
the class BpmPlatformXmlParserTest method setUp.
protected void setUp() throws Exception {
parser = new BpmPlatformXmlParser();
super.setUp();
}
Aggregations