org.bonitasoft.web:ui-designer-backend-webapp

Wysiwyg editor for Bonita

License

License

GroupId

GroupId

org.bonitasoft.web
ArtifactId

ArtifactId

ui-designer-backend-webapp
Last Version

Last Version

1.13.1
Release Date

Release Date

Type

Type

war
Description

Description

Wysiwyg editor for Bonita

Download ui-designer-backend-webapp

How to add to project

<!-- https://jarcasting.com/artifacts/org.bonitasoft.web/ui-designer-backend-webapp/ -->
<dependency>
    <groupId>org.bonitasoft.web</groupId>
    <artifactId>ui-designer-backend-webapp</artifactId>
    <version>1.13.1</version>
    <type>war</type>
</dependency>
// https://jarcasting.com/artifacts/org.bonitasoft.web/ui-designer-backend-webapp/
implementation 'org.bonitasoft.web:ui-designer-backend-webapp:1.13.1'
// https://jarcasting.com/artifacts/org.bonitasoft.web/ui-designer-backend-webapp/
implementation ("org.bonitasoft.web:ui-designer-backend-webapp:1.13.1")
'org.bonitasoft.web:ui-designer-backend-webapp:war:1.13.1'
<dependency org="org.bonitasoft.web" name="ui-designer-backend-webapp" rev="1.13.1">
  <artifact name="ui-designer-backend-webapp" type="war" />
</dependency>
@Grapes(
@Grab(group='org.bonitasoft.web', module='ui-designer-backend-webapp', version='1.13.1')
)
libraryDependencies += "org.bonitasoft.web" % "ui-designer-backend-webapp" % "1.13.1"
[org.bonitasoft.web/ui-designer-backend-webapp "1.13.1"]

Dependencies

compile (32)

Group / Artifact Type Version
org.bonitasoft.web : ui-designer-backend-contract jar 1.13.1
org.bonitasoft.web : ui-designer-backend-migrationReport jar 1.13.1
com.fasterxml.jackson.core : jackson-databind jar 2.11.1
com.fasterxml.jackson.datatype : jackson-datatype-joda jar 2.11.1
org.apache.commons : commons-lang3 jar 3.3.2
commons-io : commons-io jar 2.4
org.zeroturnaround : zt-zip jar 1.8
com.github.jknack : handlebars jar 4.0.6
com.github.jknack : handlebars-jackson2 jar 4.0.6
org.fedorahosted.tennera : jgettext jar 0.13
joda-time : joda-time jar 2.7
org.springframework : spring-core jar 5.2.3.RELEASE
org.springframework : spring-webmvc jar 5.2.3.RELEASE
org.springframework : spring-websocket jar 5.2.3.RELEASE
org.springframework : spring-messaging jar 5.2.3.RELEASE
org.aspectj : aspectjrt jar 1.8.5
org.aspectj : aspectjweaver jar 1.8.5
javax.inject : javax.inject jar 1
org.hibernate : hibernate-validator jar 5.4.1.Final
org.jsoup : jsoup jar 1.8.1
org.slf4j : slf4j-api jar 1.7.30
org.slf4j : jcl-over-slf4j jar 1.7.30
ch.qos.logback : logback-classic jar 1.2.3
org.codehaus.janino : janino jar 2.7.8
com.google.guava : guava jar 18.0
org.mitre.dsmiley.httpproxy : smiley-http-proxy-servlet jar 1.10
org.apache.maven : maven-artifact jar 3.3.3
commons-codec : commons-codec jar 1.10
org.eclipse.jetty : jetty-security jar 9.4.14.v20181114
org.eclipse.jetty : jetty-client jar 9.4.14.v20181114
org.eclipse.jdt : ecj jar 3.14.0
org.glassfish : javax.el jar 3.0.1-b08

provided (3)

Group / Artifact Type Version
org.bonitasoft.web : ui-designer-frontend zip 1.13.1
javax.servlet : javax.servlet-api jar 3.0.1
org.projectlombok : lombok jar 1.18.4

test (12)

Group / Artifact Type Version
org.bonitasoft.web : ui-designer-backend-contract test-jar 1.13.1
junit : junit jar 4.12
org.assertj : assertj-core jar 3.11.1
org.mockito : mockito-all jar 1.10.19
org.springframework : spring-test jar 5.2.3.RELEASE
com.jayway.jsonpath : json-path-assert jar 2.2.0
pl.pragmatists : JUnitParams jar 1.0.4
com.github.dreamhead : moco-core jar 0.10.0
org.skyscreamer : jsonassert jar 1.2.3
org.awaitility : awaitility jar 3.1.6
javax.activation : activation jar 1.1.1
javax.annotation : javax.annotation-api jar 1.3.2

Project Modules

There are no modules declared in this project.

Bonita UI designer Build

The WYSIWYG web editor by Bonita. //TODO screenshot

Create your own pages for your Bonita application or your own project.

Quick start

Pre-requisite

Build

Using Maven

  • Build it using maven mvn clean package
  • Run it using java -jar backend/target/ui-designer-1.13.0-SNAPSHOT-standalone.jar

Using Docker

  • Build docker image:

      docker build -t bonita/ui-designer
    
  • Run it :

      docker run --name uid -d -p 50000:8080 bonita/ui-designer
    

Usage

Application is now available at http://localhost:50000/bonita/

Start creating your pages, take a look at the Documentation.

To go further

How does it work

The UI-designer is composed of a Java backend application and an AngularJs frontend. It is packaged in a war file and provided by default in the Bonita Studio

It produces standalone AngularJs pages that are compatible with Bonita platform.

Contribute

Report issues

If you want to report an issue or a bug use our official bugtracker

How to contribute

Before contributing, read the guidelines

Build and Test

Build

You can build entire project using maven.

mvn clean package

This will build frontend and backend and create two artifacts : backend/target/ui-designer-1.13.0-SNAPSHOT.war backend/target/ui-designer-1.13.0-SNAPSHOT-standalone.jar

Test

while running mvn clean package only unit tests are run. If you want to run the integration tests, run the following command

mvn clean install -Pintegration-test

Also frontend e2e test could be launched via

mvn clean install -Pe2e

Run

To run build standalone jar, just launch it as a standard jar :

java -jar backend/target/ui-designer-1.13.0-SNAPSHOT-standalone.jar [-Dworkspace=/path/to/workspace] [-Drepository.widgets=/path/widgets/repository] [-Drepository.pages=/path/pages/repository][-Dbonita.data.repository.origin=datarepository.url]

Application is now available at http://localhost:8080/designer/

You can specify workspace location where pages and widgets are stored. Default value is {user.home}/.bonita

Available options can be listed by running

java -jar backend/target/ui-designer-1.13.0-SNAPSHOT-standalone.jar -h

Other available options are listed here : http://tomcat.apache.org/maven-plugin-2.0/executable-war-jar.html

Develop

Backend and frontend side could be launched in dev mode by using server.sh script. It launch gulp serve backend task, waits for jetty to be running then launches gulp serve frontend task.

$ ./server.sh

You can access the application at http://localhost:3000/index-dev.html, backend side is accessible at http://localhost:8080/

Debug mode

How to debug backend with some breakpoint ?

In community/backend run debug mode:

    mvnDebug jetty:run

Go in your IDE, edit run configuration: Select Remote. Only change port value (5000 by default) to value display in your shell. Run this configuration in debug.

In community/frontend, run:

    yarn start

Now you can debug your application with breakpoint.

Docker

You can run the ui-designer locally using Docker (of course, you need to install Docker to do so). The Dockerfile is a really simple one, using a base image with java7, adding the build standalone jar and starting it. Before building docker image, you need to build the project.

To build the image :

docker build -t bonita/ui-designer .

To run the image built with the previous command :

docker run -p 8080 bonita/ui-designer

This will start the builder on a random port on your docker host (either the local host if you're running linux, or the boot2docker VM if you're on MacOS). For boot2docker, you can find your VM IP with :

boot2docker ip

You can find the random port used with :

docker ps

For example, the application can start on http://192.168.59.103:49153/designer (192.168.59.103 being the default boot2docker IP and 49153 the random port used).

You can also run the image on a fixed port, 8000 for example, with :

docker run -p 8000:8080 bonita/ui-designer

Resources

org.bonitasoft.web

Versions

Version
1.13.1
1.13.0
1.12.41
1.12.40
1.12.39
1.12.38
1.12.37
1.12.36
1.12.35