code
stringlengths
23
201k
docstring
stringlengths
17
96.2k
func_name
stringlengths
0
235
language
stringclasses
1 value
repo
stringlengths
8
72
path
stringlengths
11
317
url
stringlengths
57
377
license
stringclasses
7 values
@BeforeParam public static void runStartScript(String[] commands, boolean restAvailable, boolean webappsAvailable, boolean exampleAvailable) { container = new SpringBootManagedContainer(commands); try { container.start(); } catch (Exception e) { throw new RuntimeException("Cannot start managed...
Test cases for ensuring connectivity to REST API based on startup parameters
runStartScript
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/ComponentAvailabilityIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/ComponentAvailabilityIT.java
Apache-2.0
@AfterParam public static void stopApp() { try { if (container != null) { container.stop(); } } catch (Exception e) { throw new RuntimeException("Cannot stop managed Spring Boot application!", e); } finally { container = null; } }
Test cases for ensuring connectivity to REST API based on startup parameters
stopApp
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/ComponentAvailabilityIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/ComponentAvailabilityIT.java
Apache-2.0
@Test public void shouldFindEngineViaRestApiRequest() { Response response = when().get(container.getBaseUrl() + "/engine-rest/engine"); if (restAvailable) { response.then() .body("size()", is(1)) .body("name[0]", is("default")); } else { response.then() .statusCode(404)...
Test cases for ensuring connectivity to REST API based on startup parameters
shouldFindEngineViaRestApiRequest
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/ComponentAvailabilityIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/ComponentAvailabilityIT.java
Apache-2.0
@Test public void shouldFindWelcomeApp() { Response response = when().get(container.getBaseUrl() + "/camunda/app/welcome/default"); if (webappsAvailable) { response.then() .statusCode(200) .body("html.head.title", equalTo("Camunda Welcome")); } else { response.then() .s...
Test cases for ensuring connectivity to REST API based on startup parameters
shouldFindWelcomeApp
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/ComponentAvailabilityIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/ComponentAvailabilityIT.java
Apache-2.0
@Test public void shouldFindExample() { Response response = when().get(container.getBaseUrl() + "/engine-rest/process-definition"); if (exampleAvailable && restAvailable) { response.then() .body("size()", is(3)) .body("key[0]", is("ReviewInvoice")); } else if (restAvailable) { ...
Test cases for ensuring connectivity to REST API based on startup parameters
shouldFindExample
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/ComponentAvailabilityIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/ComponentAvailabilityIT.java
Apache-2.0
public static String getRunHome() { String runHomeDirectory = System.getProperty(RUN_HOME_VARIABLE); if (runHomeDirectory == null || runHomeDirectory.isEmpty()) { throw new RuntimeException("System property " + RUN_HOME_VARIABLE + " not set. This property must point " + "to the root directory of...
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
getRunHome
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
public void start() { if (isRunning()) { throw new RuntimeException("The Spring Boot application is already running!"); } try { // execute command final ProcessBuilder startupProcessBuilder = new ProcessBuilder(commands); startupProcessBuilder.redirectErrorStream(true); startu...
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
start
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
public void stop() { if (shutdownThread != null) { Runtime.getRuntime().removeShutdownHook(shutdownThread); shutdownThread = null; } try { if (startupProcess != null) { if (isRunning()) { killProcess(false); if (!isShutDown(RAMP_DOWN_SECONDS * 1000)) { ...
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
stop
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
public String getBaseUrl() { return baseUrl; }
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
getBaseUrl
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
protected String getScriptPath() { return baseDirectory + "/internal/run." + (isUnixLike() ? "sh" : "bat"); }
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
getScriptPath
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
protected boolean isStarted(long millisToWait) throws InterruptedException { return waitForServerStatus(millisToWait, true); }
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
isStarted
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
protected boolean isShutDown(long millisToWait) throws InterruptedException { return waitForServerStatus(millisToWait, false); }
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
isShutDown
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
protected boolean waitForServerStatus(long millisToWait, boolean shouldBeRunning) throws InterruptedException { boolean serverAvailable = !shouldBeRunning; long targetTime = System.currentTimeMillis() + millisToWait; while (System.currentTimeMillis() < targetTime && serverAvailable == !shouldBeRunning) { ...
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
waitForServerStatus
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
protected boolean isRunning() { try { //There might not be a resource at the base url, but at this point we just want to know that the server is up. processOptionsRequests(this.baseUrl); return true; } catch (Exception e) { return false; } }
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
isRunning
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
protected void processOptionsRequests(String urlToCall) throws IOException { URLConnection conn = new URL(urlToCall).openConnection(); HttpURLConnection hconn = (HttpURLConnection) conn; hconn.setAllowUserInteraction(false); hconn.setDoInput(true); hconn.setUseCaches(false); hconn.setDoOutput(fa...
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
processOptionsRequests
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
protected static void killProcess(boolean failOnException) { try { Process p = null; // must kill a hierachy of processes: the script process (which corresponds to the pid value) // and the Java process it has spawned if (isUnixLike()) { p = new ProcessBuilder("pkill", "-TERM", "-P"...
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
killProcess
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
protected static boolean isUnixLike() { return !System.getProperty("os.name").startsWith("Windows", 0); }
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
isUnixLike
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
public void replaceConfigurationYml(String filePath, InputStream source) { try { Files.deleteIfExists(Paths.get(baseDirectory, filePath)); createConfigurationYml(filePath, source); } catch (IOException e) { log.error("Could not replace " + filePath, e); } }
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
replaceConfigurationYml
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
public void createConfigurationYml(String filePath, InputStream source) { try { Path testYmlPath = Paths.get(baseDirectory, filePath); Files.copy(source, testYmlPath); configurationFiles.add(testYmlPath.toFile()); } catch (IOException e) { log.error("Could not create " + filePath, e); ...
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
createConfigurationYml
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
private void cleanup() { // cleanup test YAML for (File configFile : configurationFiles) { configFile.delete(); } // cleanup resources File resourcesDir = new File(new File(baseDirectory), RESOURCES_PATH); deleteDirectory(resourcesDir); }
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
cleanup
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
private void deleteDirectory(File directory) { File[] files = directory.listFiles(); if (files != null) { for (File f : files) { if (f.isDirectory()) { deleteDirectory(f); } else { f.delete(); } } } directory.delete(); }
@return the home directory of Camunda Platform Run based on the "camunda.run.home" system property.
deleteDirectory
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
@Override public void run() { final InputStream stream = startupProcess.getInputStream(); final BufferedReader reader = new BufferedReader(new InputStreamReader(stream)); String line = null; try { while ((line = reader.readLine()) != null) { System.out.println(line); ...
Runnable that consumes the output of the startupProcess. If nothing consumes the output the AS will hang on some platforms
run
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/util/SpringBootManagedContainer.java
Apache-2.0
@BeforeClass public static void createDriver() { String chromeDriverExecutable = "chromedriver"; if (System.getProperty( "os.name" ).toLowerCase(Locale.US).indexOf("windows") > -1) { chromeDriverExecutable += ".exe"; } File chromeDriver = new File("target/chromedriver/" + chromeDriverExecutable...
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/test/java/org/camunda/bpm/AbstractWebappUiIntegrationTest.java">platform</a>, might be removed with https://jira.camunda.com/browse/CAM-11379
createDriver
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
Apache-2.0
public static ExpectedCondition<Boolean> currentURIIs(final URI pageURI) { return new ExpectedCondition<Boolean>() { @Override public Boolean apply(WebDriver webDriver) { try { return new URI(webDriver.getCurrentUrl()).equals(pageURI); } catch (URISyntaxException e) { ...
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/test/java/org/camunda/bpm/AbstractWebappUiIntegrationTest.java">platform</a>, might be removed with https://jira.camunda.com/browse/CAM-11379
currentURIIs
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
Apache-2.0
@Override public Boolean apply(WebDriver webDriver) { try { return new URI(webDriver.getCurrentUrl()).equals(pageURI); } catch (URISyntaxException e) { return false; } }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/test/java/org/camunda/bpm/AbstractWebappUiIntegrationTest.java">platform</a>, might be removed with https://jira.camunda.com/browse/CAM-11379
apply
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
Apache-2.0
public static ExpectedCondition<Boolean> containsCurrentUrl(final String url) { return new ExpectedCondition<Boolean>() { @Override public Boolean apply(WebDriver webDriver) { return webDriver.getCurrentUrl().contains(url); } }; }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/test/java/org/camunda/bpm/AbstractWebappUiIntegrationTest.java">platform</a>, might be removed with https://jira.camunda.com/browse/CAM-11379
containsCurrentUrl
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
Apache-2.0
@Override public Boolean apply(WebDriver webDriver) { return webDriver.getCurrentUrl().contains(url); }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/test/java/org/camunda/bpm/AbstractWebappUiIntegrationTest.java">platform</a>, might be removed with https://jira.camunda.com/browse/CAM-11379
apply
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
Apache-2.0
@Before public void createClient() throws Exception { preventRaceConditions(); createClient(getWebappCtxPath()); appUrl = testProperties.getApplicationPath("/" + getWebappCtxPath()); }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/test/java/org/camunda/bpm/AbstractWebappUiIntegrationTest.java">platform</a>, might be removed with https://jira.camunda.com/browse/CAM-11379
createClient
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
Apache-2.0
@After public void after() { testUtil.destroy(); }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/test/java/org/camunda/bpm/AbstractWebappUiIntegrationTest.java">platform</a>, might be removed with https://jira.camunda.com/browse/CAM-11379
after
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
Apache-2.0
@AfterClass public static void quitDriver() { driver.quit(); }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/test/java/org/camunda/bpm/AbstractWebappUiIntegrationTest.java">platform</a>, might be removed with https://jira.camunda.com/browse/CAM-11379
quitDriver
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebappUiIT.java
Apache-2.0
@Before public void before() throws Exception { testProperties = new TestProperties(48080); testUtil = new TestUtil(testProperties); }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/test/java/org/camunda/bpm/AbstractWebIntegrationTest.java">platform</a>, might be removed with https://jira.camunda.com/browse/CAM-11379
before
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebIT.java
Apache-2.0
@After public void destroyClient() { client.destroy(); }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/test/java/org/camunda/bpm/AbstractWebIntegrationTest.java">platform</a>, might be removed with https://jira.camunda.com/browse/CAM-11379
destroyClient
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebIT.java
Apache-2.0
public void createClient(String ctxPath) throws Exception { testProperties = new TestProperties(); APP_BASE_PATH = testProperties.getApplicationPath("/" + ctxPath); LOGGER.info("Connecting to application "+APP_BASE_PATH); ClientConfig clientConfig = new DefaultApacheHttpClient4Config(); clientConf...
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/test/java/org/camunda/bpm/AbstractWebIntegrationTest.java">platform</a>, might be removed with https://jira.camunda.com/browse/CAM-11379
createClient
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebIT.java
Apache-2.0
public void preventRaceConditions() throws InterruptedException { // just wait some seconds before starting because of Wildfly / Cargo race conditions Thread.sleep(5 * 1000); }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/test/java/org/camunda/bpm/AbstractWebIntegrationTest.java">platform</a>, might be removed with https://jira.camunda.com/browse/CAM-11379
preventRaceConditions
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebIT.java
Apache-2.0
protected String getWebappCtxPath() { return testProperties.getStringProperty("http.ctx-path.webapp", null); }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/test/java/org/camunda/bpm/AbstractWebIntegrationTest.java">platform</a>, might be removed with https://jira.camunda.com/browse/CAM-11379
getWebappCtxPath
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/AbstractWebIT.java
Apache-2.0
@Parameters public static Collection<Object[]> commands() { return Arrays.asList(new Object[][] { { new String[0] }, { new String[]{"--rest", "--webapps"} }, { new String[]{"--webapps"} } }); }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/LoginIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and <code>@Parameters</code> for di...
commands
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
Apache-2.0
@BeforeParam public static void runStartScript(String[] commands) { container = new SpringBootManagedContainer(commands); try { container.start(); } catch (Exception e) { throw new RuntimeException("Cannot start managed Spring Boot application!", e); } }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/LoginIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and <code>@Parameters</code> for di...
runStartScript
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
Apache-2.0
@AfterParam public static void stopApp() { try { if (container != null) { container.stop(); } } catch (Exception e) { throw new RuntimeException("Cannot stop managed Spring Boot application!", e); } finally { container = null; } }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/LoginIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and <code>@Parameters</code> for di...
stopApp
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
Apache-2.0
public void login(String appName) { driver.manage().deleteAllCookies(); driver.get(appUrl + "app/" + appName + "/default/"); wait = new WebDriverWait(driver, Duration.ofSeconds(10)); WebElement userNameInput = wait.until(visibilityOfElementLocated(By.cssSelector("input[type=\"text\"]"))); sendKey...
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/LoginIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and <code>@Parameters</code> for di...
login
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
Apache-2.0
public void sendKeys(WebElement element, String keys) { // fix for CAM-13548 Arrays.stream(keys.split("")).forEach(c -> element.sendKeys(c)); }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/LoginIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and <code>@Parameters</code> for di...
sendKeys
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
Apache-2.0
@Test public void shouldLoginToCockpit() throws URISyntaxException { try { loginToCockpit(); } catch (WebDriverException e) { loginToCockpit(); } }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/LoginIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and <code>@Parameters</code> for di...
shouldLoginToCockpit
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
Apache-2.0
public void loginToCockpit() throws URISyntaxException { String appName = "cockpit"; login(appName); wait.until(textToBePresentInElementLocated( By.cssSelector(".deployed .processes .stats-label"), "Process Definitions")); wait.until(currentURIIs(new URI(appUrl + "app/" + appNam...
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/LoginIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and <code>@Parameters</code> for di...
loginToCockpit
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
Apache-2.0
@Test public void shouldLoginToTasklist() { try { loginToTasklist(); } catch (WebDriverException e) { loginToTasklist(); } }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/LoginIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and <code>@Parameters</code> for di...
shouldLoginToTasklist
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
Apache-2.0
public void loginToTasklist() { String appName = "tasklist"; login(appName); wait.until(textToBePresentInElementLocated( By.cssSelector(".start-process-action view a"), "Start process")); wait.until(containsCurrentUrl(appUrl + "app/" + appName + "/default/#/?searchQuery=")); }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/LoginIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and <code>@Parameters</code> for di...
loginToTasklist
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
Apache-2.0
@Test public void shouldLoginToAdmin() throws URISyntaxException { try { loginToAdmin(); } catch (WebDriverException e) { loginToAdmin(); } }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/LoginIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and <code>@Parameters</code> for di...
shouldLoginToAdmin
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
Apache-2.0
public void loginToAdmin() throws URISyntaxException { String appName = "admin"; login(appName); wait.until(textToBePresentInElementLocated( By.cssSelector("[ng-class=\"activeClass('#/authorization')\"] a"), "Authorizations")); wait.until(currentURIIs(new URI(appUrl + "app/" + a...
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/LoginIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and <code>@Parameters</code> for di...
loginToAdmin
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
Apache-2.0
@Test public void shouldLoginToWelcome() throws URISyntaxException { try { loginToWelcome(); } catch (WebDriverException e) { loginToWelcome(); } }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/LoginIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and <code>@Parameters</code> for di...
shouldLoginToWelcome
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
Apache-2.0
public void loginToWelcome() throws URISyntaxException { String appName = "welcome"; login(appName); wait.until(textToBePresentInElementLocated( By.cssSelector(".webapps .section-title"), "Applications")); wait.until(currentURIIs(new URI(appUrl + "app/" + appName + "/default/#!/...
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/LoginIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and <code>@Parameters</code> for di...
loginToWelcome
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/LoginIT.java
Apache-2.0
@Before public void createClient() throws Exception { createClient(getWebappCtxPath()); }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/PluginsRootResourceIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and changed <code>ap...
createClient
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/PluginsRootResourceIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/PluginsRootResourceIT.java
Apache-2.0
@BeforeParam public static void runStartScript(String assetName, boolean assetAllowed) { container = new SpringBootManagedContainer("--webapps"); try { container.start(); } catch (Exception e) { throw new RuntimeException("Cannot start managed Spring Boot application!", e); } }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/PluginsRootResourceIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and changed <code>ap...
runStartScript
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/PluginsRootResourceIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/PluginsRootResourceIT.java
Apache-2.0
@AfterParam public static void stopApp() { try { if (container != null) { container.stop(); } } catch (Exception e) { throw new RuntimeException("Cannot stop managed Spring Boot application!", e); } finally { container = null; } }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/PluginsRootResourceIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and changed <code>ap...
stopApp
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/PluginsRootResourceIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/PluginsRootResourceIT.java
Apache-2.0
@Parameters(name = "Test instance: {index}. Asset: {0}, Allowed: {1}") public static Collection<Object[]> getAssets() { return Arrays.asList(new Object[][]{ {"app/plugin.js", true}, {"app/plugin.css", true}, {"app/asset.js", false}, {"../..", false}, {"../../annotations-api...
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/PluginsRootResourceIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and changed <code>ap...
getAssets
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/PluginsRootResourceIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/PluginsRootResourceIT.java
Apache-2.0
@Test public void shouldGetAssetIfAllowed() { // when ClientResponse response = getAsset("api/admin/plugin/adminPlugins/static/" + assetName); // then assertResponse(assetName, response); // cleanup response.close(); }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/PluginsRootResourceIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and changed <code>ap...
shouldGetAssetIfAllowed
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/PluginsRootResourceIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/PluginsRootResourceIT.java
Apache-2.0
protected ClientResponse getAsset(String path) { return client.resource(APP_BASE_PATH + path).get(ClientResponse.class); }
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/PluginsRootResourceIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and changed <code>ap...
getAsset
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/PluginsRootResourceIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/PluginsRootResourceIT.java
Apache-2.0
protected void assertResponse(String asset, ClientResponse response) { if (assetAllowed) { assertEquals(Status.OK.getStatusCode(), response.getStatus()); } else { assertEquals(Status.FORBIDDEN.getStatusCode(), response.getStatus()); assertTrue(response.getType().toString().startsWith(MediaType...
NOTE: copied from <a href="https://github.com/camunda/camunda-bpm-platform/blob/master/qa/integration-tests-webapps/integration-tests/src/main/java/org/camunda/bpm/PluginsRootResourceIT.java">platform</a> then added <code>@BeforeParam</code> and <code>@AfterParam</code> methods for container setup and changed <code>ap...
assertResponse
java
camunda/camunda-bpm-platform
distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/PluginsRootResourceIT.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/run/qa/integration-tests/src/test/java/org/camunda/bpm/run/qa/webapps/PluginsRootResourceIT.java
Apache-2.0
public boolean isDefault() { return isDefault; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
isDefault
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public void setDefault(boolean isDefault) { this.isDefault = isDefault; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
setDefault
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public String getEngineName() { return engineName; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
getEngineName
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public void setEngineName(String engineName) { this.engineName = engineName; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
setEngineName
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public String getDatasourceJndiName() { return datasourceJndiName; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
getDatasourceJndiName
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public void setDatasourceJndiName(String datasourceJndiName) { this.datasourceJndiName = datasourceJndiName; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
setDatasourceJndiName
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public String getHistoryLevel() { return historyLevel; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
getHistoryLevel
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public void setHistoryLevel(String historyLevel) { this.historyLevel = historyLevel; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
setHistoryLevel
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public String getConfiguration() { return configuration; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
getConfiguration
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public void setConfiguration(String configuration) { this.configuration = configuration; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
setConfiguration
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public Map<String, String> getConfigurationProperties() { return configurationProperties; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
getConfigurationProperties
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public void setConfigurationProperties(Map<String, String> properties) { this.configurationProperties = properties; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
setConfigurationProperties
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public Map<String, String> getFoxLegacyProperties() { return foxLegacyProperties; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
getFoxLegacyProperties
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public void setFoxLegacyProperties(Map<String, String> foxLegacyProperties) { this.foxLegacyProperties = foxLegacyProperties; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
setFoxLegacyProperties
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public List<ProcessEnginePluginXml> getPluginConfigurations() { return pluginConfigurations; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
getPluginConfigurations
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public void setPluginConfigurations(List<ProcessEnginePluginXml> pluginConfigurations) { this.pluginConfigurations = pluginConfigurations; }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
setPluginConfigurations
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public boolean isIdentityUsed() { Object object = getFoxLegacyProperties().get(PROP_IS_IDENTITY_USED); if(object == null) { return true; } else { return Boolean.parseBoolean((String) object); } }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
isIdentityUsed
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public boolean isAutoSchemaUpdate() { Object object = getFoxLegacyProperties().get(PROP_IS_AUTO_SCHEMA_UPDATE); if(object == null) { return true; } else { return Boolean.parseBoolean((String) object); } }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
isAutoSchemaUpdate
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public boolean isActivateJobExecutor() { Object object = getFoxLegacyProperties().get(PROP_IS_ACTIVATE_JOB_EXECUTOR); if(object == null) { return true; } else { return Boolean.parseBoolean((String) object); } }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
isActivateJobExecutor
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public String getDbTablePrefix() { Object object = getFoxLegacyProperties().get(PROP_DB_TABLE_PREFIX); if(object == null) { return null; } else { return (String) object; } }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
getDbTablePrefix
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public String getJobExecutorAcquisitionName() { Object object = getFoxLegacyProperties().get(PROP_JOB_EXECUTOR_ACQUISITION_NAME); if(object == null) { return "default"; } else { return (String) object; } }
@param isDefault @param engineName @param datasourceJndiName @param historyLevel @param configuration @param properties @param pluginConfigurations
getJobExecutorAcquisitionName
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public void validate() { StringBuilder validationErrorBuilder = new StringBuilder("Process engine configuration is invalid: \n"); boolean isValid = true; if(datasourceJndiName == null || datasourceJndiName.isEmpty()) { isValid = false; validationErrorBuilder.append(" property 'datasourc...
validates the configuration and throws {@link ProcessEngineException} if the configuration is invalid.
validate
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
private Map<String, String> selectProperties(Map<String, String> allProperties, boolean selectFoxProperties) { Map<String, String> result = null; if (selectFoxProperties) { result = new HashMap<String, String>(); String isAutoSchemaUpdate = allProperties.get(PROP_IS_AUTO_SCHEMA_UPDATE); String...
validates the configuration and throws {@link ProcessEngineException} if the configuration is invalid.
selectProperties
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/config/ManagedProcessEngineMetadata.java
Apache-2.0
public static void addProcessesXml(DeploymentUnit unit, ProcessesXmlWrapper processesXmlWrapper) { unit.addToAttachmentList(PROCESSES_XML_LIST, processesXmlWrapper); }
Attach the parsed ProcessesXml file to a deployment unit.
addProcessesXml
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static List<ProcessesXmlWrapper> getProcessesXmls(DeploymentUnit deploymentUnit) { return deploymentUnit.getAttachmentList(PROCESSES_XML_LIST); }
Returns the attached {@link ProcessesXml} marker or null;
getProcessesXmls
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static void mark(DeploymentUnit unit) { unit.putAttachment(MARKER, Boolean.TRUE); }
marks a a {@link DeploymentUnit} as a process application
mark
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static void markPartOfProcessApplication(DeploymentUnit unit) { if(unit.getParent() != null && unit.getParent() != unit) { unit.getParent().putAttachment(PART_OF_MARKER, Boolean.TRUE); } }
marks a a {@link DeploymentUnit} as part of a process application
markPartOfProcessApplication
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static boolean isPartOfProcessApplication(DeploymentUnit unit) { if(isProcessApplication(unit)) { return true; } if(unit.getParent() != null && unit.getParent() != unit) { return unit.getParent().hasAttachment(PART_OF_MARKER); } return false; }
return true if the deployment unit is either itself a process application or part of a process application.
isPartOfProcessApplication
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static boolean isProcessApplication(DeploymentUnit deploymentUnit) { return deploymentUnit.hasAttachment(MARKER); }
Returns true if the {@link DeploymentUnit} itself is a process application (carries a processes.xml)
isProcessApplication
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static ComponentDescription getProcessApplicationComponent(DeploymentUnit deploymentUnit) { return deploymentUnit.getAttachment(PA_COMPONENT); }
Returns the {@link ComponentDescription} for the {@link AbstractProcessApplication} component
getProcessApplicationComponent
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static void attachProcessApplicationComponent(DeploymentUnit deploymentUnit, ComponentDescription componentDescription){ deploymentUnit.putAttachment(PA_COMPONENT, componentDescription); }
Attach the {@link ComponentDescription} for the {@link AbstractProcessApplication} component
attachProcessApplicationComponent
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static void attachPostDeployDescription(DeploymentUnit deploymentUnit, AnnotationInstance annotation){ deploymentUnit.putAttachment(POST_DEPLOY_METHOD, annotation); }
Attach the {@link AnnotationInstance}s for the PostDeploy methods
attachPostDeployDescription
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static void attachPreUndeployDescription(DeploymentUnit deploymentUnit, AnnotationInstance annotation){ deploymentUnit.putAttachment(PRE_UNDEPLOY_METHOD, annotation); }
Attach the {@link AnnotationInstance}s for the PreUndeploy methods
attachPreUndeployDescription
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static AnnotationInstance getPostDeployDescription(DeploymentUnit deploymentUnit) { return deploymentUnit.getAttachment(POST_DEPLOY_METHOD); }
@return the description of the PostDeploy method
getPostDeployDescription
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static AnnotationInstance getPreUndeployDescription(DeploymentUnit deploymentUnit) { return deploymentUnit.getAttachment(PRE_UNDEPLOY_METHOD); }
@return the description of the PreUndeploy method
getPreUndeployDescription
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
@Override public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); if (deploymentUnit.getParent() == null) { //The deployment unit has no parent so it is a simple war or an ear. Modu...
<p>This Processor creates implicit module dependencies for process applications</p> <p>Concretely speaking, this processor adds a module dependency from the process application module (deployment unit) to the process engine module (and other camunda libraries which are useful for process apps).</p> @author Daniel Mey...
deploy
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
Apache-2.0
private void addSystemDependencies(ModuleLoader moduleLoader, final ModuleSpecification moduleSpecification) { addSystemDependency(moduleLoader, moduleSpecification, MODULE_IDENTIFIER_PROCESS_ENGINE); addSystemDependency(moduleLoader, moduleSpecification, MODULE_IDENTIFIER_XML_MODEL); addSystemDependency(mo...
<p>This Processor creates implicit module dependencies for process applications</p> <p>Concretely speaking, this processor adds a module dependency from the process application module (deployment unit) to the process engine module (and other camunda libraries which are useful for process apps).</p> @author Daniel Mey...
addSystemDependencies
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
Apache-2.0
private void addSystemDependency(ModuleLoader moduleLoader, final ModuleSpecification moduleSpecification, String identifier) { addSystemDependency(moduleLoader, moduleSpecification, identifier, false); }
<p>This Processor creates implicit module dependencies for process applications</p> <p>Concretely speaking, this processor adds a module dependency from the process application module (deployment unit) to the process engine module (and other camunda libraries which are useful for process apps).</p> @author Daniel Mey...
addSystemDependency
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
Apache-2.0
private void addSystemDependency(ModuleLoader moduleLoader, final ModuleSpecification moduleSpecification, String identifier, boolean importServices) { moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, identifier, false, false, importServices, false)); }
<p>This Processor creates implicit module dependencies for process applications</p> <p>Concretely speaking, this processor adds a module dependency from the process application module (deployment unit) to the process engine module (and other camunda libraries which are useful for process apps).</p> @author Daniel Mey...
addSystemDependency
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
Apache-2.0
@Override public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); if(!ProcessApplicationAttachments.isProcessApplication(deploymentUnit)) { return; } final ComponentDescription p...
<p>This processor installs the process application into the container.</p> <p>First, we initialize the deployments for all process archives declared by the process application. It then registers a {@link ProcessApplicationDeploymentService} for each process archive to be deployed. Finally it registers the {@link MscMa...
deploy
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
Apache-2.0
protected ServiceName getProcessApplicationViewServiceName(ComponentDescription paComponent) { Set<ViewDescription> views = paComponent.getViews(); if(views == null || views.isEmpty()) { return null; } else { ViewDescription next = views.iterator().next(); return next.getServiceName(); ...
<p>This processor installs the process application into the container.</p> <p>First, we initialize the deployments for all process archives declared by the process application. It then registers a {@link ProcessApplicationDeploymentService} for each process archive to be deployed. Finally it registers the {@link MscMa...
getProcessApplicationViewServiceName
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
Apache-2.0
protected ComponentDescription getProcessApplicationComponent(DeploymentUnit deploymentUnit) { return ProcessApplicationAttachments.getProcessApplicationComponent(deploymentUnit); }
<p>This processor installs the process application into the container.</p> <p>First, we initialize the deployments for all process archives declared by the process application. It then registers a {@link ProcessApplicationDeploymentService} for each process archive to be deployed. Finally it registers the {@link MscMa...
getProcessApplicationComponent
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
Apache-2.0
protected ServiceName getProcessEngineServiceName(ProcessArchiveXml processArchive) { ServiceName serviceName = null; if(processArchive.getProcessEngineName() == null || processArchive.getProcessEngineName().isEmpty()) { serviceName = ServiceNames.forDefaultProcessEngine(); } else { serviceName ...
<p>This processor installs the process application into the container.</p> <p>First, we initialize the deployments for all process archives declared by the process application. It then registers a {@link ProcessApplicationDeploymentService} for each process archive to be deployed. Finally it registers the {@link MscMa...
getProcessEngineServiceName
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
Apache-2.0
protected Map<String, byte[]> getDeploymentResources(ProcessArchiveXml processArchive, DeploymentUnit deploymentUnit, VirtualFile processesXmlFile) { final Module module = deploymentUnit.getAttachment(MODULE); Map<String, byte[]> resources = new HashMap<>(); // first, add all resources listed in the proc...
<p>This processor installs the process application into the container.</p> <p>First, we initialize the deployments for all process archives declared by the process application. It then registers a {@link ProcessApplicationDeploymentService} for each process archive to be deployed. Finally it registers the {@link MscMa...
getDeploymentResources
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
Apache-2.0
protected URL vfsFileAsUrl(VirtualFile processesXmlFile) { try { return processesXmlFile.toURL(); } catch (MalformedURLException e) { throw new RuntimeException(e); } }
<p>This processor installs the process application into the container.</p> <p>First, we initialize the deployments for all process archives declared by the process application. It then registers a {@link ProcessApplicationDeploymentService} for each process archive to be deployed. Finally it registers the {@link MscMa...
vfsFileAsUrl
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
Apache-2.0