Wise GWT GUI

A GWT-based GUI for JBoss Wise Core

License

License

GNU Lesser General Public License, v. 2.1
Categories

Categories

JBoss Container Application Servers GWT (Google Web Toolkit) User Interface Web Frameworks GUI
GroupId

GroupId

org.jboss.wise
ArtifactId

ArtifactId

wise-gwt-gui
Last Version

Last Version

1.0.0.Final
Release Date

Release Date

Type

Type

war
Description

Description

Wise GWT GUI
A GWT-based GUI for JBoss Wise Core

Download wise-gwt-gui

How to add to project

<!-- https://jarcasting.com/artifacts/org.jboss.wise/wise-gwt-gui/ -->
<dependency>
    <groupId>org.jboss.wise</groupId>
    <artifactId>wise-gwt-gui</artifactId>
    <version>1.0.0.Final</version>
    <type>war</type>
</dependency>
// https://jarcasting.com/artifacts/org.jboss.wise/wise-gwt-gui/
implementation 'org.jboss.wise:wise-gwt-gui:1.0.0.Final'
// https://jarcasting.com/artifacts/org.jboss.wise/wise-gwt-gui/
implementation ("org.jboss.wise:wise-gwt-gui:1.0.0.Final")
'org.jboss.wise:wise-gwt-gui:war:1.0.0.Final'
<dependency org="org.jboss.wise" name="wise-gwt-gui" rev="1.0.0.Final">
  <artifact name="wise-gwt-gui" type="war" />
</dependency>
@Grapes(
@Grab(group='org.jboss.wise', module='wise-gwt-gui', version='1.0.0.Final')
)
libraryDependencies += "org.jboss.wise" % "wise-gwt-gui" % "1.0.0.Final"
[org.jboss.wise/wise-gwt-gui "1.0.0.Final"]

Dependencies

compile (1)

Group / Artifact Type Version
org.jboss.wise : wise-core-cxf jar 2.1.0.Final

provided (29)

Group / Artifact Type Version
com.google.gwt : gwt-user jar 2.8.0.20150826
javax.validation : validation-api jar 1.0.0.GA
javax.validation : validation-api jar 1.0.0.GA
org.jboss.logging : jboss-logging jar 3.1.0.GA
org.jboss.spec.javax.ejb : jboss-ejb-api_3.1_spec jar 1.0.2.Final
com.google.guava : guava jar 19.0.20150826
commons-io : commons-io jar 2.4
org.wildfly.core : wildfly-controller-client jar 1.0.1.Final
org.jboss.xnio : xnio-nio jar 3.3.1.Final
org.jdom : jdom jar 1.1.3
org.jboss.threads : jboss-threads jar 2.2.0.Final
org.jboss.remoting : jboss-remoting jar 4.0.9.Final
org.jboss.spec.javax.el : jboss-el-api_3.0_spec jar 1.0.4.Final
org.jboss : jboss-dmr jar 1.3.0.Final
dom4j : dom4j jar 1.6.1
org.jboss.xnio : xnio-api jar 3.3.1.Final
org.jboss.spec.javax.ejb : jboss-ejb-api_3.2_spec jar 1.0.0.Final
commons-logging : commons-logging-api jar 1.0.4
commons-logging : commons-logging jar 1.1.3
com.io7m.xom : xom jar 1.2.10
org.jboss.sasl : jboss-sasl jar 1.0.5.Final
jaxen : jaxen jar 1.1.6
javax.enterprise : cdi-api jar 1.2
javax.inject : javax.inject jar 1
org.apache.httpcomponents : httpclient jar 4.3.6
commons-codec : commons-codec jar 1.9
commons-lang : commons-lang jar 2.6
org.wildfly.core : wildfly-protocol jar 1.0.1.Final
javax.transaction : jta jar 1.1

runtime (1)

Group / Artifact Type Version
com.google.gwt : gwt-servlet jar 2.8.0.20150826

test (1)

Group / Artifact Type Version
junit : junit jar 4.7

Project Modules

There are no modules declared in this project.

The wise-gwt-gui module provides a GWT based interface to the WISE project. This console was implemented using MVP design pattern.

Project Directories

gui/src/main/java/org/jboss/wise/gwt            ; GWT display components
gui/src/main/java/org/jboss/wise/gwt/shared     ; Data structs shared between the UI and backend
gui/src/main/java/org/jboss/wise/gwt/client     ; MVC, GWT module components and directory
                                            ;   structure as required by GWT
gui/src/main/java/org/jboss/wise/gui            ; Preexisting classes that interface with wise-core
gui/src/main/java/org/jboss/wise/gui/treeElement
gui/src/main/java/org/jboss/wise/shared     ; classes shared by gwt and gui classes

testsuite                                   ; Arquillian based Selenium tests.  It uses the Firefox driver.

Server Configuration Prerequisites

There are 2 application server configuration prerequisites in order to run this Web application. One, an application specific security-domain must be defined in the server's standard.xml.
Two, a set of ManagementRealm credentials.

In declaring the security-domain, there are 2 options.
1.) edit ${JBOSS-HOME}/standalone/configuration/standalone.xml and insert the following xml

            <security-domain name="wise-security-domain" cache-type="default">
                <authentication>
                    <login-module code="RealmDirect" flag="required">
                        <module-option name="realm" value="ManagementRealm"/>
                    </login-module>
                </authentication>
            </security-domain>

in this subsystem

    <subsystem xmlns="urn:jboss:domain:security:1.2">
        <security-domains>
        
           <!-- INSERT XML HERE -->
           
           <security-domain name="other" cache-type="default">
           :
           :
        </security-domains>
    </subsystem>
  
2.) Run a CLI script that inserts the above xml.
    - start the server
    - run cmd
          ${JBOSS-HOME}/bin/jboss-cli.sh -c --file=./scripts/wise-security-domain-cli.txt 

If the ManagementRealm credentials are needed use these directions to create it. https://docs.jboss.org/author/display/WFLY8/add-user+utility

Wise can be referenced by 2 means, one, its default start page URL, or two, the URL with a query parameter. The default start page URL is, http://:8080/wise The URL with query parameter i,s http://:8080/wise/?wsdl=http://:/?wsdl e.g. http://localhost:8080/wise/?wsdl=http://localhost:8080/wise-test-datatypes?wsdl

Arquillian based Selenium tests are provided in the testsuite directory. They can be run under 4 profiles, wildfly800, wildfly810, wildfly821, wildfly902, wildfly1000 and with 2 phases, test and integration-test. The test phase runs the tests with the start page URL. The integration-test phase runs tests for both the start page URL and the URL with query parameter. In addition the test phase URL test property can be overridden using the maven system property -Dsuite.url=

Prerequisites

  1. JDK 1.8

  2. Firefox 38 or higher except for versions 47.0.x [1]

  3. gui/target/wise-gwt-gui-.war

  4. Build the gui/target/wise-gwt-gui-.war From the project root directory run 'mvn clean install'

  5. cd into testsuite and run the tests with either mvn test -Pwildfly
    or mvn integration-test -Pwildfly

[1] https://github.com/seleniumhq/selenium/issues/2110

The user can download and install any specific Firefox version. Add the path to that Firefox to the beginning of his PATH variable and run the testsuite.

Checkstyle

Execution of maven-checkstyle-plugin is part of the compile phase, can be skipped by adding -Dcheckstyle.skip=true to the mvn command Fastest way to get checkstyle reports is by invoking following command mvn checkstyle:check -Dcheckstyle.failOnViolation=false

org.jboss.wise

JBoss Wise

Versions

Version
1.0.0.Final