summaryrefslogtreecommitdiffstats
path: root/installation/sdnc-web/README.md
diff options
context:
space:
mode:
authorMichael DÜrre <michael.duerre@highstreet-technologies.com>2022-01-27 13:43:37 +0100
committerMichael DÜrre <michael.duerre@highstreet-technologies.com>2022-01-27 14:01:45 +0100
commit38509f1fbad27de70eef1e81eaa2c5084765ca8f (patch)
tree71ee996cae9edba8e3806c8803f202e543ab9365 /installation/sdnc-web/README.md
parentbcdddcc342180eb1aa5cf8a9f1b4b84990d5f87d (diff)
improve sdnc-web for external apps
add package manager for more flexibility Issue-ID: SDNC-1658 Signed-off-by: Michael DÜrre <michael.duerre@highstreet-technologies.com> Change-Id: I30f4aaa24cf05fce212282b06d5e08437dbcfa8b Signed-off-by: Michael DÜrre <michael.duerre@highstreet-technologies.com> Former-commit-id: f41f011ff2e18befd77dd63ab828ea14aafac2a7
Diffstat (limited to 'installation/sdnc-web/README.md')
-rw-r--r--installation/sdnc-web/README.md56
1 files changed, 56 insertions, 0 deletions
diff --git a/installation/sdnc-web/README.md b/installation/sdnc-web/README.md
new file mode 100644
index 00000000..d793b676
--- /dev/null
+++ b/installation/sdnc-web/README.md
@@ -0,0 +1,56 @@
+# sdnc web image
+
+
+## folder structure
+
+| folder | description |
+| ------ | ----------- |
+| /opt/bitnami/nginx/conf/server_blocks/http(s)_site.conf | nginx config |
+| /opt/bitnami/nginx/conf/server_blocks/location.rules | forwarding rules for nginx |
+| /app/odlux | http content files (html, js, css, ...) |
+| /app/odlux.application.list | application list file |
+| /app/opm.py | Odlux package manager for install or uninstall apps |
+| /app/init.d/ | autoinstall folder for opm |
+
+## Default app order
+
+| index | application |
+| ----- | ----------- |
+| 1 | connectApp |
+| 10 | faultApp |
+| 20 | maintenanceApp |
+| 30 | configurationApp |
+| 55 | performanceHistoryApp |
+| 70 | inventoryApp |
+| 75 | eventLogApp |
+| 90 | mediatorApp |
+| 200 | helpApp |
+
+
+## usage
+
+### auto installation
+
+To auto install additional applications for odlux they can be easily injected before startup into the ```/app/init.d/``` folder. There are two options of file format allowed.
+
+[1] The first fileformat is e.g. 55linkCalculationApp.jar but also .zip is allowed. The important thing is that a number is leading the app package to specify the order number where the menu item is ordered in the menu bar. So the linkCalculationApp would be located between performanceApp and inventoryApp.
+
+[2] The second is the default jar format, like it would be installed into the opendaylight karaf environment, including a blueprint and the sources. There the filename is not important because application name and index will be detected by the blueprint information.
+
+
+### manual method
+```
+opm install --name myApp --index 53 --file myarchive.zip
+```
+```
+opm install --url https://link-to-my-odlux-application.jar
+```
+
+```
+opm uninstall --name myApp
+```
+
+```
+opm list
+```
+