diff --git a/application/clicommands/CheckCommand.php b/application/clicommands/CheckCommand.php
index bd10f1b..ff9aee0 100644
--- a/application/clicommands/CheckCommand.php
+++ b/application/clicommands/CheckCommand.php
@@ -1,9 +1,9 @@
getParam('node');
$node = $bp->getNode($nodename);
$detail = Url::fromPath(
- 'bpapp/node/simulate',
+ 'businessprocess/node/simulate',
array('node' => $nodename)
);
$form = new SimulationForm();
@@ -38,7 +38,7 @@ class Bpapp_NodeController extends Controller
->setSession($this->session())
->setNode($node)
// TODO: find a better way to handle redirects
- ->setRedirectUrl('bpapp/process/simulate#!' . $detail->getAbsoluteUrl())
+ ->setRedirectUrl('businessprocess/process/simulate#!' . $detail->getAbsoluteUrl())
->handleRequest();
$this->view->form = $form;
diff --git a/application/controllers/ProcessController.php b/application/controllers/ProcessController.php
index b14e36a..df756e4 100644
--- a/application/controllers/ProcessController.php
+++ b/application/controllers/ProcessController.php
@@ -1,9 +1,9 @@
= $this->escape($node) ?>
diff --git a/application/views/scripts/process/source.phtml b/application/views/scripts/process/source.phtml
index 58066ff..12ce7a6 100644
--- a/application/views/scripts/process/source.phtml
+++ b/application/views/scripts/process/source.phtml
@@ -1,6 +1,6 @@
-href('businessprocess/process/show', array(
'bp' => $this->bpname
)) ?>">Render
diff --git a/application/views/scripts/process/toplevel.phtml b/application/views/scripts/process/toplevel.phtml
index 864dfe6..d8903ae 100644
--- a/application/views/scripts/process/toplevel.phtml
+++ b/application/views/scripts/process/toplevel.phtml
@@ -25,7 +25,7 @@ if ($count < 20) {
bp->getChildren() as $name => $node): ?>
diff --git a/configuration.php b/configuration.php
index 845aecf..dd71700 100644
--- a/configuration.php
+++ b/configuration.php
@@ -2,5 +2,5 @@
$section = $this->menuSection($this->translate('Reporting'))
->add($this->translate('Business Processes'))
- ->setUrl('bpapp/process/show');
+ ->setUrl('businessprocess/process/show');
diff --git a/library/Bpapp/BpNode.php b/library/Businessprocess/BpNode.php
similarity index 97%
rename from library/Bpapp/BpNode.php
rename to library/Businessprocess/BpNode.php
index 4d57b85..b4832d3 100644
--- a/library/Bpapp/BpNode.php
+++ b/library/Businessprocess/BpNode.php
@@ -1,6 +1,6 @@
bp->isEditMode()) {
return parent::renderLink($view);
}
- return $view->qlink($this->name, 'bpapp/node/edit', array(
+ return $view->qlink($this->name, 'businessprocess/node/edit', array(
'node' => $this->name
));
}
diff --git a/library/Bpapp/BusinessProcess.php b/library/Businessprocess/BusinessProcess.php
similarity index 99%
rename from library/Bpapp/BusinessProcess.php
rename to library/Businessprocess/BusinessProcess.php
index 1ce868e..be89b3f 100644
--- a/library/Bpapp/BusinessProcess.php
+++ b/library/Businessprocess/BusinessProcess.php
@@ -1,6 +1,6 @@
add('show', array(
'title' => $this->translate('Show'),
- 'url' => 'bpapp/process/show',
+ 'url' => 'businessprocess/process/show',
));
if ($process = $this->params->get('process')) {
foreach ($tabs->getTabs() as $tab) {
@@ -45,7 +45,7 @@ class Controller extends ModuleActionController
protected function session()
{
- return $this->Window()->getSessionNamespace('bpapp');
+ return $this->Window()->getSessionNamespace('businessprocess');
}
protected function xxxloadBp()
diff --git a/library/Bpapp/HostNode.php b/library/Businessprocess/HostNode.php
similarity index 84%
rename from library/Bpapp/HostNode.php
rename to library/Businessprocess/HostNode.php
index 872268f..7e65b58 100644
--- a/library/Bpapp/HostNode.php
+++ b/library/Businessprocess/HostNode.php
@@ -1,6 +1,6 @@
bp->isSimulationMode()) {
- return $view->qlink($this->getHostname(), 'bpapp/host/simulate', array(
+ return $view->qlink($this->getHostname(), 'businessprocess/host/simulate', array(
'node' => $this->name
));
} else {
diff --git a/library/Bpapp/Node.php b/library/Businessprocess/Node.php
similarity index 97%
rename from library/Bpapp/Node.php
rename to library/Businessprocess/Node.php
index 7ab0738..f3cfcb3 100644
--- a/library/Bpapp/Node.php
+++ b/library/Businessprocess/Node.php
@@ -1,6 +1,6 @@
)~', implode('', $this->getIcons($view)) . '$1', $this->renderLink($view));
if ($this->hasInfoUrl()) {
$title = '
'
. $view->icon('help')
. '' . $title;
diff --git a/library/Bpapp/ServiceNode.php b/library/Businessprocess/ServiceNode.php
similarity index 88%
rename from library/Bpapp/ServiceNode.php
rename to library/Businessprocess/ServiceNode.php
index 5f04cef..12442a0 100644
--- a/library/Bpapp/ServiceNode.php
+++ b/library/Businessprocess/ServiceNode.php
@@ -1,6 +1,6 @@
bp->isSimulationMode()) {
- return $view->qlink($this->getAlias(), 'bpapp/node/simulate', array(
+ return $view->qlink($this->getAlias(), 'businessprocess/node/simulate', array(
'node' => $this->name
));
} else {
diff --git a/library/Bpapp/Storage/LegacyStorage.php b/library/Businessprocess/Storage/LegacyStorage.php
similarity index 95%
rename from library/Bpapp/Storage/LegacyStorage.php
rename to library/Businessprocess/Storage/LegacyStorage.php
index 6b758b9..70ef952 100644
--- a/library/Bpapp/Storage/LegacyStorage.php
+++ b/library/Businessprocess/Storage/LegacyStorage.php
@@ -1,12 +1,12 @@
configDir === null) {
$dir = Icinga::app()
->getModuleManager()
- ->getModule('bpapp')
+ ->getModule('businessprocess')
->getConfigDir();
if (! is_dir($dir)) {
if (! is_dir(dirname($dir))) {
diff --git a/library/Bpapp/Storage/Storage.php b/library/Businessprocess/Storage/Storage.php
similarity index 83%
rename from library/Bpapp/Storage/Storage.php
rename to library/Businessprocess/Storage/Storage.php
index fcacb85..1140818 100644
--- a/library/Bpapp/Storage/Storage.php
+++ b/library/Businessprocess/Storage/Storage.php
@@ -1,9 +1,9 @@