Pular para o conteúdo principal

Announcing KIe Server Manager Client 1.0-ALPHA1

I am proud to announce the release 1.0-ALPHA1 of the Kie Server Management Client.


What is the KIe Server Manager Client?


It is a tool to manage containers from a given Kie Server, manage its process and send Drools commands to it. For further information regarding Kie Server, please see this article in Master the Boss:
Running Rules on WildFly with Kie Server

The following screenshots were taking from the tool and a video was recorded:

Login



Containers list



Building commands to send to the server

Processes definitions
Processes Instances

Importing existing containers

 

How do I run it?

Currently it is a tool for more technical people, so I did not bother to create distribution packages or provide further non technical instructions. To run it you need:

  • Maven 3+
  • Java 8u60+
Instructions:

  • Download the source on this link:  https://github.com/jesuino/kie-server-clients
    • Download the zip directly and unzip in some directory
    • Clone the repository using git clone git@github.com:jesuino/kie-server-clients.git
  • Go to the project repository and then kie-server-fx-app
  • Run  maven exec:
    • $ mvn exec:java -Dexec.mainClass="org.fxapps.App"

The first run might take a while because it will download all the dependencies.

Features


Technical details

This application uses JavaFX and Java 8. The Kie Server client API is used to communicate with the server and the requests are performed asynchronously.

Manage containers

It is possible to create and dispose containers. It is also possible to export the whole set of containers to be imported later again.

Process Definition explorer

It is possible to see details about each process available in a given container.

Commands execution

The tool allows you to send Drools commands to a given container using a text editor with validation. The  response is also displayed in a text format.

Process Instance Management

Using Kie Server Manager client we can list the process instances, abort and send signal.

Export objects in multiple objects

It is possible to see objects in plain text, CSV or JSON. It allow the users to export it.

What's next?


The following features are missing in this release;

Improve Start process

It will be only implemented for jBPM 6.4 because we will have the functionality of embedding forms in our application and it will make easy to start processes and pass the correct parameters. Currently we can only start processes without passing parameters

Support domain objects

Currently it is possible to send a signal to a specific process instance or to the container and run rules. However, it is not possible to fill it with custom domain object. The future application should allow users to upload model artifacts in order make easy the payload creation

User Tasks management

Only tasks definitions are implemented in this version. In next release it should be possible to manage user tasks(start, claim, cancel, etc. The reason is that we are also waiting from the jBPM functionality mentioned previously.

Jobs

Jobs are not implements and it will be available in a future version as well.

Commands Builder

Currently it is not possible to make automatic marshall of custom objects to be used internally in commands and we must edit the command JSON directly. A feature that should be possible in future releases is the command builder, where you can set fields using the interface and avoid editing the JSON payload directly. It depends on domain objects support

Process diagram

It will also be possible to achieve when jBPM 6.4 is released. Process diagram will be included for definitions and processes instances.

Improve Query

Add a more sophisticated query screen, with more query options to query processes and other things.

Process Instances variables

Add the functionality to edit process instance variables.

Comentários

Postar um comentário

Postagens mais visitadas deste blog

Dancing lights with Arduino - The idea

I have been having fun with Arduino these days! In this article I am going to show how did I use an electret mic with Arduino to create a Dancing Lights circuit. Dancing Lights   I used to be an eletronician before starting the IT college. I had my own electronics maintenance office to fix television, radios, etc. In my free time I used to create electronic projects to sell and I made a few "reais" selling a version of Dancing lights, but it was too limited: it simply animated lamps using a relay in the output of a 4017 CMOS IC. The circuit was a decimal counter  controlled by a 555. 4017 decimal counter. Source in the image When I met Arduino a few years ago, I was skeptical because I said: I can do this with IC, why should I use a microcontroller. I thought that Arduino was for kids. But now my pride is gone and I am having a lot of fun with Arduino :-) The implementation of Dancing Lights with Arduino uses an electret mic to capture the sound and light leds...

Simplest JavaFX ComboBox autocomplete

Based on this Brazilian community post , I've created a sample Combobox auto complete. What it basically does is: When user type with the combobox selected, it will work on a temporary string to store the typed text; Each key typed leads to the combobox to be showed and updated If backspace is type, we update the filter Each key typed shows the combo box items, when the combobox is hidden, the filter is cleaned and the tooltip is hidden:   The class code and a sample application is below. I also added the source to my personal github , sent me PR to improve it and there are a lot of things to improve, like space and accents support.

Genetic algorithms with Java

One of the most fascinating topics in computer science world is Artificial Intelligence . A subset of Artificial intelligence are the algorithms that were created inspired in the nature. In this group, we have Genetic Algorithms  (GA). Genetic Algorithms  To find out more about this topic I recommend the following MIT lecture and the Nature of Code book and videos created by Daniel Shiffman. Genetic Algorithms using Java After I remembered the basics about it, I wanted to practice, so I tried my own implementation, but I would have to write a lot of code to do what certainly others already did. So I started looking for Genetic Algorithm libraries and found Jenetics , which is a modern library that uses Java 8 concepts and APIs, and there's also JGAP . I decided to use Jenetics because the User Guide was so clear and it has no other dependency, but Java 8. The only thing I missed for Jenetics are more small examples like the ones I will show i...