Small servlet applications that show how to use Vibecat: JNDI data sources of the container, REST described with OpenAPI 3, CloccoJS pages. They are in the setup package below samples. They carry demo data only; protect them before real data goes in.
| Sample | WAR | What it does |
|---|---|---|
| Cockpit | cockpit.war | One tree over the other web applications; customizing with roles under /cockpit/admin. |
| Contacts | contacts.war | Company and personal contacts with profiles, REST, 2000 synthetic customers, CSV import, SMS drafts for selected contacts; DE, EN, FR, IT, ES. |
| Due dates and transfers | duedates.war | Tax due dates of Austrian companies and the transfer to the tax office as a Girocode (EPC QR code). Uses the JavaScript Libraries plug-in. |
| Flows | flows.war | Workflow automation over the REST interfaces of the samples, with a workflow editor. |
| Free / busy booking | freebusy.war | Resources, availability, bookings, pre-blocks with a hold, final blocks, free / busy calculation, slot list import. |
| Phone calls | phonecalls.war | Takes call history through REST and lists it with search and tags. |
| SMS send | smssend.war | Draft pool for SMS and WhatsApp: composed by workflows, released by a person, delivered by a gateway. |
| Time recording | timerec.war | Records working times. |
| URL codes | urlcodes.war | Short link codes (3 days by default) for SMS, synchronised to a booking page. |
/cockpit/ shows the web applications of the server in a tree (Customers, Communication, Appointments, Work, Automation); the selected one appears on the right in a frame. The applications stay separate and keep their own login and roles.
/cockpit/admin/, role admin): which pages appear, label, group, order, a node for api.html and the roles that see an entry. The default is admin, as the samples ask for it; an entry without a role is shown to every signed-in user.org.apache.catalina.authenticator.SingleSignOn under Valves (it applies to all web applications).label;dd.MM.yyyy;HH:mm). File and resource give a stable import ID, so a repeated import does not double the slots.link, the booking import and the validity of the link.contactId, importId, runId) and one SMS draft. Nothing is sent before a person releases the drafts in SMS send.
Definitions are built in the CloccoJS workflow editor from REST steps and ForEach containers. ${variable.path} takes the input or an earlier result. Only the REST interfaces of the samples on the same Vibecat can be called: no other addresses, no scripts. Runs are synchronous (at most 1000 items and 10000 steps), a failed item is recorded and the run goes on. An interrupted run is not resumed. REST: GET/PUT /flows/api/flows/{id}, POST /flows/api/flows/{id}/run, GET /flows/api/runs.
customerData: true), never name, e-mail or phone. The page then asks for the message only and stores nothing else; no confirmation mail goes to the visitor.data/config.json (languages: de, en, it, fr, es). On port 7443 the page shows Test System.
Contacts has the CloccoJS language selector (German, English, French, Italian, Spanish; also ?lang=de). Free / busy administration: English, German, Italian, Spanish. Server messages and Swagger UI stay English.
POST /api/drafts composes a draft (externalKey makes it idempotent), Release sends it (or leaves it in the pool until sendAt). A draft has the channel sms (default) or whatsapp (WhatsApp Business Platform, Cloud API):
STOP on any channel blocks the number, revokes the opt-in and cancels pending messages.whatsapp.templates)./smssend/whatsapp/webhook needs public HTTPS and checks the signature of Meta.