Skip to content
VibecatDocumentation

Vibemosphere ECM Web Application Deployment

Deploys the web applications of an ECM system (ELO: ix, web, wf, as, AdminConsole, Flows: registry, flows, worker), builds their configuration and environment.

Id ecm-webapps
Role deployment - needed for the page and the REST API (administrators always may)
Page Plugins > Open (overlay with an X at the top right) or /plugins/ecm-webapps/
REST /api/plugins/ecm-webapps/… and, for callers with the role, /plugins/ecm-webapps/…

Open the configuration

In the administration open Plugins, select the row of this plug-in and press Open. The page opens in an overlay dialog: close it with the X at the top right, with Esc or by clicking outside; Open in a new tab next to the title shows it full size.

Vibemosphere ECM Web Application Deployment: the plug-in page in its overlay dialog

The page in detail

Vibemosphere ECM Web Application Deployment: the whole page (playground instance)

The page has these sections: Profile, 1. Source and components, 2. System, repositories and database, 3. Targets, 4. Environment, 5. Deploy.

Dialog: Add

Vibemosphere ECM Web Application Deployment: the dialog of "Add"

Fields and columns

Label Meaning
Server name (instances ELO-<name>-IX / -AS / -OCR)
Base URL of the web applications
Base folder (temp, data, logs)
Locale
Repositories (one per line: name[;database[;archive guid]] ; each gets ix-, web-, wf- and as-contexts)
Database
Server
Port
Oracle service name
Database user
Database password (not saved)
Access manager database
Service user
Service user password (not saved)
Configuration folder (built here: config\<context>\<instance>)
Plug-in folder of the IndexServer (empty = prog\webapps\ix-plugins next to the configuration folder)
Flows worker folder (Karaf)
Salt of Flows / registry / worker (empty = keep or generate)
Image
Variable
Value
For component
Component Column of a table
Provided by Column of a table
Found Column of a table
Web application Column of a table
webappconfigdir Column of a table
Global Column of a table

Actions

  • Load
  • Save
  • Delete
  • Read the source
  • Take from the database deployment of this profile
  • Add
  • Deploy

Notes from the page

  • One profile keeps the settings of all deployment plug-ins (database and web applications) under a name: choose one to load it, change it and save it again under the same or a new name.
  • Target the serversetup2\repository folder (the newest version of every component is taken) or webapps .
  • Variables of the ELO Docker images (from the ELO Images administration guide). A variable is set as a variable of the web applications of the component, or global as a system property of Vibecat (page Environment).

Reference

Creates the web applications of an ECM system (ELO) in Vibecat, builds their configuration and environment, and deploys the Flows worker as a separate Karaf service. Access needs the role deployment (or admin).

Source

Target the repository folder of the ELO serversetup2 (ix-*.zip, web-*.zip, wf-*.zip, ELOas-*.zip, AdminConsole-*.zip, release-bundle-*.zip with flows, registry, the worker assembly, the Flows components and plug-ins) - the newest version of each is used and its WAR is extracted to the data folder of the plug-in - or the prog\webapps folder (ix.war, web.war, wf.war, as.war, AdminConsole.war, flows.war, registry.war, ix-plugins).

Components

Choose them one by one: ix, web, wf, as, AdminConsole, and the Flows compound (registry, flows, worker); the IndexServer plug-ins are copied to the folder you name (empty: prog\webapps\ix-plugins next to the configuration folder, for example C:\ELOenterprise\bauer\prog\webapps\ix-plugins for the configuration folder C:\ELOenterprise\bauer\config).

Repositories and contexts

One line per repository (name[;database[;archive guid]]). Each gets the contexts ix-<name>, web-<name>, wf-<name> and as-<name>; AdminConsole, registry and flows exist once. Every context is a Vibecat web application /<context>.

The configuration is built

Below the configuration folder the plug-in builds <context>\<instance>\ (instances ELO-<server>-IX, -AS, -OCR) with config.xml and logback.xml - for ix also flows-config.xml, direct-services-config.xml, ud-config.xml and the proxy plug-in properties; for the access manager am-eloam and for every repository dm-<name>; for flows application.cfg.xml, for the registry registry.cfg.xml, for the worker config\flows-worker\ELO-Flows-Worker-1. Passwords are ELO encrypted. The folder of an instance is set as the variable webappconfigdir of its web application. The salt shared by Flows, registry and worker is generated once (flows-salt.txt in the configuration folder) and reused. The database settings can be taken from the database deployment of the same profile.

Environment

The variables of the ELO Docker images (ELO Images administration guide) can be chosen from a list with their description, default and example (image, variable, value). A variable is set as a variable of the web applications of a component (or of all), or global as a system property of Vibecat (administration page Environment, System.setProperty). The list is docker-env.json in the plug-in; a file of the same name in the data folder of the plug-in replaces it.

Flows worker

The worker is an Apache Karaf of its own: the assembly of the release bundle is unpacked to the worker folder, the Flows components go to deploy, etc\org.apache.felix.fileinstall-<name>.cfg points it to its configuration. For Windows a WinSW description is written and installed on request; for Linux a systemd unit.

Profiles

One profile file keeps the settings of the database deployment and of this plug-in under one name (passwords are never stored).

REST

Call Purpose
POST /plugins/ecm-webapps/plan Reads the source; returns components, the web applications and their configuration folders, warnings
POST /plugins/ecm-webapps/deploy Builds the configuration and deploys; returns the job (GET /plugins/ecm-webapps/jobs/{id}?since=n)
GET /plugins/ecm-webapps/docker-env The variables of the ELO Docker images
GET|PUT|DELETE /plugins/ecm-webapps/profiles/{name} The profile (section of this plug-in)
curl -u deployer:secret -X POST http://host:9090/plugins/ecm-webapps/deploy -H "Content-Type: application/json" -d '{
  "source": "C:\\ELOenterprise\\prog\\serversetup2\\repository", "configDir": "C:\\ELOenterprise\\config",
  "serverName": "berger", "baseUrl": "https://berger:9093", "repositories": "HR",
  "provider": "sqlserver", "dbHost": "localhost", "dbUser": "elodb", "dbPassword": "...", "servicePassword": "...",
  "workerTarget": "C:\\ELOenterprise\\servers\\ELO-Flows-Worker-1"}'

All plug-ins

WIKI · PRIVACY

Your cookie preferences

DokuWiki uses necessary cookies for sessions, sign-in and your preferences. Your choice is stored for one year in a site cookie. Optional external content is loaded only when you allow it. No analytics service is added by this plugin.

Only applies to content explicitly deferred by this plugin. Third-party providers may receive your IP address and set cookies when that content loads.

vibecat/plugins/ecm-webapps.txt · Last modified: by *.*.*.*