Skip to content

Commit

Permalink
TE-623: Rename project to Process Inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
trungmaihova committed Jun 25, 2024
1 parent 3ac1ae8 commit 838e194
Show file tree
Hide file tree
Showing 123 changed files with 744 additions and 725 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Advanced Process Analyzer
# Process Inspector

[![CI Build](https://github.com/axonivy-market/process-analyzer/actions/workflows/ci.yml/badge.svg)](https://github.com/axonivy-market/process-analyzer/actions/workflows/ci.yml)
[![CI Build](https://github.com/axonivy-market/process-inspector/actions/workflows/ci.yml/badge.svg)](https://github.com/axonivy-market/process-inspector/actions/workflows/ci.yml)

- Configure needed information directly in the process model
- Default duration of a task for multiple use cases. Each task can have multiple named default durations.
- Different happy path flows. Its possible to set multiple named process paths.
- Different "happy path" flows. It`s possible to set multiple named process paths.
- Possibilities to override settings of the process model
- Override duration
- Override default path for the gateways
- Create a list of all tasks in the process.
- Get configured duration for a task.
- Get all upcoming tasks on a configured process path with expected start timestamp for each task.

Read our [documentation](process-analyzer-product/README.md).
Read our [documentation](process-inspector-product/README.md).
14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.axonivy.utils.process.analyzer</groupId>
<name>process-analyzer</name>
<artifactId>process-analyzer-modules</artifactId>
<groupId>com.axonivy.utils.process.inspector</groupId>
<name>process-inspector</name>
<artifactId>process-inspector-modules</artifactId>
<version>11.2.1-SNAPSHOT</version>
<packaging>pom</packaging>

<modules>
<module>process-analyzer</module>
<module>process-analyzer-demo</module>
<module>process-analyzer-test</module>
<module>process-analyzer-product</module>
<module>process-inspector</module>
<module>process-inspector-demo</module>
<module>process-inspector-test</module>
<module>process-inspector-product</module>
</modules>

<scm>
Expand Down
2 changes: 1 addition & 1 deletion process-analyzer-demo/.project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>process-analyzer-demo</name>
<name>process-inspector-demo</name>
<comment></comment>
<projects>
</projects>
Expand Down
44 changes: 26 additions & 18 deletions process-analyzer-demo/.settings/org.eclipse.wst.common.component
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">

<wb-module deploy-name="process-analyzer-demo">

<wb-resource deploy-path="/" source-path="/webContent" tag="defaultRootSource"/>

<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>

<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_wsproc"/>

<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_dataClasses"/>

<property name="java-output-path" value="/process-analyzer-demo/target/classes"/>
<property name="context-root" value="process-analyzer-demo"/>

</wb-module>

</project-modules>
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">


<wb-module deploy-name="process-inspector-demo">


<wb-resource deploy-path="/" source-path="/webContent" tag="defaultRootSource"/>


<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>


<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_wsproc"/>


<wb-resource deploy-path="/WEB-INF/classes" source-path="/src_dataClasses"/>


<property name="java-output-path" value="/process-inspector-demo/target/classes"/>
<property name="context-root" value="process-inspector-demo"/>


</wb-module>


</project-modules>
12 changes: 6 additions & 6 deletions process-analyzer-demo/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: workflow-estimator-demo
Bundle-SymbolicName: process-analyzer-demo
Bundle-Name: process-inspector-demo
Bundle-SymbolicName: process-inspector-demo
Bundle-Version: 1.0.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-17
Automatic-Module-Name: workflow.estimator.demo
Export-Package: com.axonivy.utils.process.analyzer.demo,
com.axonivy.utils.process.analyzer.demo.constant,
com.axonivy.utils.process.analyzer.demo.model
Automatic-Module-Name: process.inspector.demo
Export-Package: com.axonivy.utils.process.inspector.demo,
com.axonivy.utils.process.inspector.demo.constant,
com.axonivy.utils.process.inspector.demo.model
Require-Bundle: ch.ivyteam.ivy.process.rdm;bundle-version="11.2.1"

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Data #class
com.axonivy.utils.process.inspector.demo #namespace
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DemoData #class
com.axonivy.utils.process.inspector.demo #namespace
bean com.axonivy.utils.process.inspector.demo.ProcessInspectorBean #field
bean PERSISTENT #fieldModifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FlowDemoSubProcessCallData #class
com.axonivy.utils.process.inspector.demo #namespace
8 changes: 4 additions & 4 deletions process-analyzer-demo/pom.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.axonivy.utils.process.analyzer</groupId>
<artifactId>process-analyzer-demo</artifactId>
<groupId>com.axonivy.utils.process.inspector</groupId>
<artifactId>process-inspector-demo</artifactId>
<version>11.2.1-SNAPSHOT</version>
<packaging>iar</packaging>
<properties>
<build.plugin.version>11.2.0</build.plugin.version>
</properties>
<dependencies>
<dependency>
<groupId>com.axonivy.utils.process.analyzer</groupId>
<artifactId>process-analyzer</artifactId>
<groupId>com.axonivy.utils.process.inspector</groupId>
<artifactId>process-inspector</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json",
"id" : "18E180A64355D4D9",
"config" : {
"data" : "com.axonivy.utils.process.analyzer.demo.Data",
"data" : "com.axonivy.utils.process.inspector.demo.Data",
"permissions" : {
"view" : {
"allowed" : false
Expand Down Expand Up @@ -33,12 +33,12 @@
"type" : "UserTask",
"name" : "Task A",
"config" : {
"dialog" : "com.axonivy.utils.process.analyzer.demo.Dummy:start()",
"dialog" : "com.axonivy.utils.process.inspector.demo.Dummy:start()",
"task" : {
"name" : "Task A",
"code" : [
"import com.axonivy.utils.process.analyzer.demo.constant.UseCase;",
"import com.axonivy.utils.process.analyzer.APAConfig;",
"import com.axonivy.utils.process.inspector.demo.constant.UseCase;",
"import com.axonivy.utils.process.inspector.APAConfig;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(5,TimeUnit.HOURS,UseCase.BIGPROJECT);",
Expand Down Expand Up @@ -102,12 +102,12 @@
"type" : "UserTask",
"name" : "Task C",
"config" : {
"dialog" : "com.axonivy.utils.process.analyzer.demo.Dummy:start()",
"dialog" : "com.axonivy.utils.process.inspector.demo.Dummy:start()",
"task" : {
"name" : "Task C",
"code" : [
"import com.axonivy.utils.process.analyzer.demo.constant.UseCase;",
"import com.axonivy.utils.process.analyzer.APAConfig;",
"import com.axonivy.utils.process.inspector.demo.constant.UseCase;",
"import com.axonivy.utils.process.inspector.APAConfig;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(8,TimeUnit.HOURS,UseCase.BIGPROJECT);",
Expand Down Expand Up @@ -148,12 +148,12 @@
"type" : "UserTask",
"name" : "Task B",
"config" : {
"dialog" : "com.axonivy.utils.process.analyzer.demo.Dummy:start()",
"dialog" : "com.axonivy.utils.process.inspector.demo.Dummy:start()",
"task" : {
"name" : "Task B",
"code" : [
"import com.axonivy.utils.process.analyzer.demo.constant.UseCase;",
"import com.axonivy.utils.process.analyzer.APAConfig;",
"import com.axonivy.utils.process.inspector.demo.constant.UseCase;",
"import com.axonivy.utils.process.inspector.APAConfig;",
"import java.util.concurrent.TimeUnit;",
"",
"APAConfig.setEstimate(3,TimeUnit.HOURS,UseCase.BIGPROJECT);",
Expand Down Expand Up @@ -185,13 +185,13 @@
"type" : "UserTask",
"name" : "Task D",
"config" : {
"dialog" : "com.axonivy.utils.process.analyzer.demo.Dummy:start()",
"dialog" : "com.axonivy.utils.process.inspector.demo.Dummy:start()",
"task" : {
"name" : "Task D",
"code" : [
"import java.util.concurrent.TimeUnit;",
"import com.axonivy.utils.process.analyzer.demo.constant.UseCase;",
"import com.axonivy.utils.process.analyzer.APAConfig;",
"import com.axonivy.utils.process.inspector.demo.constant.UseCase;",
"import com.axonivy.utils.process.inspector.APAConfig;",
"",
"APAConfig.setEstimate(9,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
Expand All @@ -213,8 +213,8 @@
"name" : "Task1A",
"code" : [
"import java.util.concurrent.TimeUnit;",
"import com.axonivy.utils.process.analyzer.demo.constant.UseCase;",
"import com.axonivy.utils.process.analyzer.APAConfig;",
"import com.axonivy.utils.process.inspector.demo.constant.UseCase;",
"import com.axonivy.utils.process.inspector.APAConfig;",
"",
"APAConfig.setEstimate(1,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
Expand All @@ -223,8 +223,8 @@
"name" : "Task1B",
"code" : [
"import java.util.concurrent.TimeUnit;",
"import com.axonivy.utils.process.analyzer.demo.constant.UseCase;",
"import com.axonivy.utils.process.analyzer.APAConfig;",
"import com.axonivy.utils.process.inspector.demo.constant.UseCase;",
"import com.axonivy.utils.process.inspector.APAConfig;",
"",
"APAConfig.setEstimate(2,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
Expand All @@ -243,13 +243,13 @@
"type" : "UserTask",
"name" : "Task K",
"config" : {
"dialog" : "com.axonivy.utils.process.analyzer.demo.Dummy:start()",
"dialog" : "com.axonivy.utils.process.inspector.demo.Dummy:start()",
"task" : {
"name" : "Task K",
"code" : [
"import java.util.concurrent.TimeUnit;",
"import com.axonivy.utils.process.analyzer.demo.constant.UseCase;",
"import com.axonivy.utils.process.analyzer.APAConfig;",
"import com.axonivy.utils.process.inspector.demo.constant.UseCase;",
"import com.axonivy.utils.process.inspector.APAConfig;",
"",
"APAConfig.setEstimate(6,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
Expand All @@ -266,13 +266,13 @@
"type" : "UserTask",
"name" : "Task G",
"config" : {
"dialog" : "com.axonivy.utils.process.analyzer.demo.Dummy:start()",
"dialog" : "com.axonivy.utils.process.inspector.demo.Dummy:start()",
"task" : {
"name" : "Task G",
"code" : [
"import java.util.concurrent.TimeUnit;",
"import com.axonivy.utils.process.analyzer.demo.constant.UseCase;",
"import com.axonivy.utils.process.analyzer.APAConfig;",
"import com.axonivy.utils.process.inspector.demo.constant.UseCase;",
"import com.axonivy.utils.process.inspector.APAConfig;",
"",
"APAConfig.setEstimate(2,TimeUnit.HOURS,UseCase.BIGPROJECT);"
]
Expand Down Expand Up @@ -326,7 +326,7 @@
"type" : "UserTask",
"name" : "Task F",
"config" : {
"dialog" : "com.axonivy.utils.process.analyzer.demo.Dummy:start()",
"dialog" : "com.axonivy.utils.process.inspector.demo.Dummy:start()",
"task" : {
"name" : "Task F"
}
Expand All @@ -346,9 +346,9 @@
"call" : {
"map" : { },
"code" : [
"import com.axonivy.utils.process.analyzer.demo.constant.UseCase;",
"import com.axonivy.utils.process.inspector.demo.constant.UseCase;",
"import java.util.concurrent.TimeUnit;",
"import com.axonivy.utils.process.analyzer.APAConfig;",
"import com.axonivy.utils.process.inspector.APAConfig;",
"",
"APAConfig.handleAsTask();",
"APAConfig.setTaskName(\"Task sub\");",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id" : "18EEB6E309329524",
"kind" : "CALLABLE_SUB",
"config" : {
"data" : "com.axonivy.utils.estimator.demo.FlowDemoSubProcessCallData"
"data" : "com.axonivy.utils.process.inspector.demo.FlowDemoSubProcessCallData"
},
"elements" : [ {
"id" : "f0",
Expand All @@ -29,13 +29,13 @@
"type" : "UserTask",
"name" : "TaskA",
"config" : {
"dialog" : "com.axonivy.utils.process.analyzer.demo.Dummy:start()",
"dialog" : "com.axonivy.utils.process.inspector.demo.Dummy:start()",
"task" : {
"name" : "TaskA",
"code" : [
"import java.util.concurrent.TimeUnit;",
"import com.axonivy.utils.process.analyzer.demo.constant.UseCase;",
"import com.axonivy.utils.process.analyzer.APAConfig;",
"import com.axonivy.utils.process.inspector.demo.constant.UseCase;",
"import com.axonivy.utils.process.inspector.APAConfig;",
"",
"",
"APAConfig.setCustomInfo(\"Custom info A\");",
Expand Down
Loading

0 comments on commit 838e194

Please sign in to comment.