diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1bc34961..87d78f0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,4 +9,4 @@ on: jobs: build: - uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v2 + uses: axonivy-market/github-workflows/.github/workflows/ci.yml@v4 diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index a27a6391..c2fee378 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -8,4 +8,4 @@ on: jobs: build: - uses: axonivy-market/github-workflows/.github/workflows/dev.yml@v2 + uses: axonivy-market/github-workflows/.github/workflows/dev.yml@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 128a183f..ab5b0d75 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,4 +4,4 @@ on: workflow_dispatch jobs: build: - uses: axonivy-market/github-workflows/.github/workflows/release.yml@v2 + uses: axonivy-market/github-workflows/.github/workflows/release.yml@v4 diff --git a/.project b/.project index 1d5e5ac9..363fdf26 100644 --- a/.project +++ b/.project @@ -1,17 +1,17 @@ - - - process-analyzer-modules - - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.m2e.core.maven2Nature - - + + + process-inspector-modules + + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.m2e.core.maven2Nature + + diff --git a/README.md b/README.md index 7cc221fc..3b4aaa90 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# 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. It’s 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 @@ -12,4 +12,4 @@ - 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). diff --git a/pom.xml b/pom.xml index 582db4e1..63b30482 100644 --- a/pom.xml +++ b/pom.xml @@ -1,16 +1,16 @@ 4.0.0 - com.axonivy.utils.process.analyzer - process-analyzer - process-analyzer-modules + com.axonivy.utils.process.inspector + process-inspector + process-inspector-modules 11.2.1-SNAPSHOT pom - process-analyzer - process-analyzer-demo - process-analyzer-test - process-analyzer-product + process-inspector + process-inspector-demo + process-inspector-test + process-inspector-product diff --git a/process-analyzer-demo/.settings/org.eclipse.m2e.core.prefs b/process-analyzer-demo/.settings/org.eclipse.m2e.core.prefs deleted file mode 100644 index 14b697b7..00000000 --- a/process-analyzer-demo/.settings/org.eclipse.m2e.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -activeProfiles= -eclipse.preferences.version=1 -resolveWorkspaceProjects=true -version=1 diff --git a/process-analyzer-demo/META-INF/MANIFEST.MF b/process-analyzer-demo/META-INF/MANIFEST.MF deleted file mode 100644 index 18b1de35..00000000 --- a/process-analyzer-demo/META-INF/MANIFEST.MF +++ /dev/null @@ -1,11 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: workflow-estimator-demo -Bundle-SymbolicName: process-analyzer-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 -Require-Bundle: ch.ivyteam.ivy.process.rdm;bundle-version="11.2.1" diff --git a/process-analyzer-demo/dataclasses/com/axonivy/utils/estimator/demo/FlowDemoSubProcessCallData.ivyClass b/process-analyzer-demo/dataclasses/com/axonivy/utils/estimator/demo/FlowDemoSubProcessCallData.ivyClass deleted file mode 100644 index 705fe4ed..00000000 --- a/process-analyzer-demo/dataclasses/com/axonivy/utils/estimator/demo/FlowDemoSubProcessCallData.ivyClass +++ /dev/null @@ -1,2 +0,0 @@ -FlowDemoSubProcessCallData #class -com.axonivy.utils.estimator.demo #namespace diff --git a/process-analyzer-demo/dataclasses/com/axonivy/utils/process/analyzer/demo/Data.ivyClass b/process-analyzer-demo/dataclasses/com/axonivy/utils/process/analyzer/demo/Data.ivyClass deleted file mode 100644 index 39153bef..00000000 --- a/process-analyzer-demo/dataclasses/com/axonivy/utils/process/analyzer/demo/Data.ivyClass +++ /dev/null @@ -1,2 +0,0 @@ -Data #class -com.axonivy.utils.process.analyzer.demo #namespace diff --git a/process-analyzer-demo/dataclasses/com/axonivy/utils/process/analyzer/demo/DemoData.ivyClass b/process-analyzer-demo/dataclasses/com/axonivy/utils/process/analyzer/demo/DemoData.ivyClass deleted file mode 100644 index f5cb0479..00000000 --- a/process-analyzer-demo/dataclasses/com/axonivy/utils/process/analyzer/demo/DemoData.ivyClass +++ /dev/null @@ -1,4 +0,0 @@ -DemoData #class -com.axonivy.utils.process.analyzer.demo #namespace -bean com.axonivy.utils.process.analyzer.demo.ProcessAnalyzerBean #field -bean PERSISTENT #fieldModifier diff --git a/process-analyzer-demo/pom.xml b/process-analyzer-demo/pom.xml deleted file mode 100644 index b62498f8..00000000 --- a/process-analyzer-demo/pom.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - 4.0.0 - com.axonivy.utils.process.analyzer - process-analyzer-demo - 11.2.1-SNAPSHOT - iar - - 11.2.0 - - - - com.axonivy.utils.process.analyzer - process-analyzer - ${project.version} - - - - - - com.axonivy.ivy.ci - project-build-plugin - ${build.plugin.version} - true - - - - diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/Dummy/DummyData.ivyClass b/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/Dummy/DummyData.ivyClass deleted file mode 100644 index deae43d8..00000000 --- a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/Dummy/DummyData.ivyClass +++ /dev/null @@ -1,2 +0,0 @@ -DummyData #class -com.axonivy.utils.process.analyzer.demo.Dummy #namespace diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/ProcessAnalyzerTable/ProcessAnalyzerTableData.ivyClass b/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/ProcessAnalyzerTable/ProcessAnalyzerTableData.ivyClass deleted file mode 100644 index bd76c0c6..00000000 --- a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/ProcessAnalyzerTable/ProcessAnalyzerTableData.ivyClass +++ /dev/null @@ -1,4 +0,0 @@ -ProcessAnalyzerTableData #class -com.axonivy.utils.process.analyzer.demo.ProcessAnalyzerTable #namespace -processAnalyzerBean com.axonivy.utils.process.analyzer.demo.ProcessAnalyzerBean #field -processAnalyzerBean PERSISTENT #fieldModifier diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerDetail/AnalyzerDetailData.ivyClass b/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerDetail/AnalyzerDetailData.ivyClass deleted file mode 100644 index bf9ab7ea..00000000 --- a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerDetail/AnalyzerDetailData.ivyClass +++ /dev/null @@ -1,6 +0,0 @@ -AnalyzerDetailData #class -com.axonivy.utils.process.analyzer.demo.component.AnalyzerDetail #namespace -processAnalyzerBean com.axonivy.utils.process.analyzer.demo.ProcessAnalyzerBean #field -processAnalyzerBean PERSISTENT #fieldModifier -analyzer com.axonivy.utils.process.analyzer.demo.model.Analyzer #field -analyzer PERSISTENT #fieldModifier diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerSelection/AnalyzerSelectionData.ivyClass b/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerSelection/AnalyzerSelectionData.ivyClass deleted file mode 100644 index 8d90c342..00000000 --- a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerSelection/AnalyzerSelectionData.ivyClass +++ /dev/null @@ -1,6 +0,0 @@ -AnalyzerSelectionData #class -com.axonivy.utils.process.analyzer.demo.component.AnalyzerSelection #namespace -processAnalyzerBean com.axonivy.utils.process.analyzer.demo.ProcessAnalyzerBean #field -processAnalyzerBean PERSISTENT #fieldModifier -event javax.faces.event.AjaxBehaviorEvent #field -event PERSISTENT #fieldModifier diff --git a/process-analyzer-test/.settings/org.eclipse.m2e.core.prefs b/process-analyzer-test/.settings/org.eclipse.m2e.core.prefs deleted file mode 100644 index 14b697b7..00000000 --- a/process-analyzer-test/.settings/org.eclipse.m2e.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -activeProfiles= -eclipse.preferences.version=1 -resolveWorkspaceProjects=true -version=1 diff --git a/process-analyzer-test/build.properties b/process-analyzer-test/build.properties deleted file mode 100644 index b378101e..00000000 --- a/process-analyzer-test/build.properties +++ /dev/null @@ -1,6 +0,0 @@ -source.. = src/,\ - src_wsproc/,\ - src_dataClasses/,\ - src_test/ -bin.includes = META-INF/,\ - . diff --git a/process-analyzer-test/dataclasses/com/axonivy/utils/estimator/test/FlowMixedSubProcessData.ivyClass b/process-analyzer-test/dataclasses/com/axonivy/utils/estimator/test/FlowMixedSubProcessData.ivyClass deleted file mode 100644 index 71e50664..00000000 --- a/process-analyzer-test/dataclasses/com/axonivy/utils/estimator/test/FlowMixedSubProcessData.ivyClass +++ /dev/null @@ -1,2 +0,0 @@ -FlowMixedSubProcessData #class -com.axonivy.utils.estimator.test #namespace diff --git a/process-analyzer-test/dataclasses/com/axonivy/utils/estimator/test/FlowSubProcessCall2Data.ivyClass b/process-analyzer-test/dataclasses/com/axonivy/utils/estimator/test/FlowSubProcessCall2Data.ivyClass deleted file mode 100644 index aeccad63..00000000 --- a/process-analyzer-test/dataclasses/com/axonivy/utils/estimator/test/FlowSubProcessCall2Data.ivyClass +++ /dev/null @@ -1,2 +0,0 @@ -FlowSubProcessCall2Data #class -com.axonivy.utils.estimator.test #namespace diff --git a/process-analyzer-test/dataclasses/com/axonivy/utils/estimator/test/FlowTriggerCallData.ivyClass b/process-analyzer-test/dataclasses/com/axonivy/utils/estimator/test/FlowTriggerCallData.ivyClass deleted file mode 100644 index 3d7735c1..00000000 --- a/process-analyzer-test/dataclasses/com/axonivy/utils/estimator/test/FlowTriggerCallData.ivyClass +++ /dev/null @@ -1,2 +0,0 @@ -FlowTriggerCallData #class -com.axonivy.utils.estimator.test #namespace diff --git a/process-analyzer-test/dataclasses/com/axonivy/utils/process/analyzer/test/Data.ivyClass b/process-analyzer-test/dataclasses/com/axonivy/utils/process/analyzer/test/Data.ivyClass deleted file mode 100644 index 0d7f3324..00000000 --- a/process-analyzer-test/dataclasses/com/axonivy/utils/process/analyzer/test/Data.ivyClass +++ /dev/null @@ -1,2 +0,0 @@ -Data #class -com.axonivy.utils.process.analyzer.test #namespace diff --git a/process-analyzer-test/src_hd/com/axonivy/utils/process/analyzer/test/Dummy/DummyData.ivyClass b/process-analyzer-test/src_hd/com/axonivy/utils/process/analyzer/test/Dummy/DummyData.ivyClass deleted file mode 100644 index 40a15478..00000000 --- a/process-analyzer-test/src_hd/com/axonivy/utils/process/analyzer/test/Dummy/DummyData.ivyClass +++ /dev/null @@ -1,2 +0,0 @@ -DummyData #class -com.axonivy.utils.process.analyzer.test.Dummy #namespace diff --git a/process-analyzer/.settings/org.eclipse.core.resources.prefs b/process-analyzer/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index 71c96495..00000000 --- a/process-analyzer/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -encoding//src/com/axonivy/utils/process/analyzer/AdvancedProcessAnalyzer.java=UTF-8 diff --git a/process-analyzer/.settings/org.eclipse.m2e.core.prefs b/process-analyzer/.settings/org.eclipse.m2e.core.prefs deleted file mode 100644 index 14b697b7..00000000 --- a/process-analyzer/.settings/org.eclipse.m2e.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -activeProfiles= -eclipse.preferences.version=1 -resolveWorkspaceProjects=true -version=1 diff --git a/process-analyzer/.settings/org.eclipse.wst.common.component b/process-analyzer/.settings/org.eclipse.wst.common.component deleted file mode 100644 index b1e7d196..00000000 --- a/process-analyzer/.settings/org.eclipse.wst.common.component +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/process-analyzer/META-INF/MANIFEST.MF b/process-analyzer/META-INF/MANIFEST.MF deleted file mode 100644 index 3d08c19c..00000000 --- a/process-analyzer/META-INF/MANIFEST.MF +++ /dev/null @@ -1,12 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: workflow-estimator -Bundle-SymbolicName: process-analyzer -Bundle-Version: 1.0.0.qualifier -Bundle-RequiredExecutionEnvironment: JavaSE-17 -Automatic-Module-Name: workflow.estimator -Export-Package: com.axonivy.utils.process.analyzer, - com.axonivy.utils.process.analyzer.helper, - com.axonivy.utils.process.analyzer.model -Require-Bundle: ch.ivyteam.ivy.process.rdm;bundle-version="11.2.1" -Import-Package: com.axonivy.utils.process.analyzer.model diff --git a/process-analyzer-demo/.classpath b/process-inspector-demo/.classpath similarity index 97% rename from process-analyzer-demo/.classpath rename to process-inspector-demo/.classpath index 3d85544f..122ece25 100644 --- a/process-analyzer-demo/.classpath +++ b/process-inspector-demo/.classpath @@ -1,29 +1,29 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/process-analyzer/.gitignore b/process-inspector-demo/.gitignore similarity index 88% rename from process-analyzer/.gitignore rename to process-inspector-demo/.gitignore index 9b0d458b..1b2547b2 100644 --- a/process-analyzer/.gitignore +++ b/process-inspector-demo/.gitignore @@ -1,19 +1,19 @@ -# general -Thumbs.db -.DS_Store -*~ -*.log - -# java -*.class -hs_err_pid* - -# maven -target/ -lib/mvn-deps/ - -# ivy -classes/ -src_dataClasses/ -src_wsproc/ -logs/ +# general +Thumbs.db +.DS_Store +*~ +*.log + +# java +*.class +hs_err_pid* + +# maven +target/ +lib/mvn-deps/ + +# ivy +classes/ +src_dataClasses/ +src_wsproc/ +logs/ diff --git a/process-analyzer/.project b/process-inspector-demo/.project similarity index 94% rename from process-analyzer/.project rename to process-inspector-demo/.project index 653e3151..898e1e86 100644 --- a/process-analyzer/.project +++ b/process-inspector-demo/.project @@ -1,60 +1,60 @@ - - - process-analyzer - - - - - - ch.ivyteam.ivy.designer.dataClasses.ui.ivyDataClassBuilder - - - - - ch.ivyteam.ivy.designer.process.ui.ivyWebServiceProcessClassBuilder - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.wst.common.project.facet.core.builder - - - - - ch.ivyteam.ivy.designer.ide.ivyModelValidationBuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - ch.ivyteam.ivy.project.IvyProjectNature - org.eclipse.wst.common.modulecore.ModuleCoreNature - org.eclipse.jem.workbench.JavaEMFNature - org.eclipse.jdt.core.javanature - org.eclipse.m2e.core.maven2Nature - org.eclipse.jem.beaninfo.BeanInfoNature - org.eclipse.wst.common.project.facet.core.nature - org.eclipse.wst.jsdt.core.jsNature - org.eclipse.pde.PluginNature - - + + + process-inspector-demo + + + + + + ch.ivyteam.ivy.designer.dataClasses.ui.ivyDataClassBuilder + + + + + ch.ivyteam.ivy.designer.process.ui.ivyWebServiceProcessClassBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + ch.ivyteam.ivy.designer.ide.ivyModelValidationBuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + ch.ivyteam.ivy.project.IvyProjectNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + org.eclipse.jem.beaninfo.BeanInfoNature + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.wst.jsdt.core.jsNature + org.eclipse.pde.PluginNature + + diff --git a/process-analyzer-test/.settings/.jsdtscope b/process-inspector-demo/.settings/.jsdtscope similarity index 97% rename from process-analyzer-test/.settings/.jsdtscope rename to process-inspector-demo/.settings/.jsdtscope index 869c01da..cf5ec79e 100644 --- a/process-analyzer-test/.settings/.jsdtscope +++ b/process-inspector-demo/.settings/.jsdtscope @@ -1,12 +1,12 @@ - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/process-analyzer/.settings/ch.ivyteam.ivy.designer.prefs b/process-inspector-demo/.settings/ch.ivyteam.ivy.designer.prefs similarity index 69% rename from process-analyzer/.settings/ch.ivyteam.ivy.designer.prefs rename to process-inspector-demo/.settings/ch.ivyteam.ivy.designer.prefs index f905c88c..60ce3e66 100644 --- a/process-analyzer/.settings/ch.ivyteam.ivy.designer.prefs +++ b/process-inspector-demo/.settings/ch.ivyteam.ivy.designer.prefs @@ -1,5 +1,5 @@ -ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=com.axonivy.utils.estimator.Data -ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.utils.estimator -ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11 -ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=112000 -eclipse.preferences.version=1 +ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_DATA_CLASS=com.axonivy.utils.process.inspector.demo.Data +ch.ivyteam.ivy.designer.preferences.DataClassPreferencePage\:DEFAULT_NAMESPACE=com.axonivy.utils.process.inspector.demo +ch.ivyteam.ivy.project.preferences\:PRIMEFACES_VERSION=11 +ch.ivyteam.ivy.project.preferences\:PROJECT_VERSION=112000 +eclipse.preferences.version=1 diff --git a/process-analyzer/.settings/org.eclipse.jdt.core.prefs b/process-inspector-demo/.settings/org.eclipse.jdt.core.prefs similarity index 98% rename from process-analyzer/.settings/org.eclipse.jdt.core.prefs rename to process-inspector-demo/.settings/org.eclipse.jdt.core.prefs index d4540a53..f78f7f77 100644 --- a/process-analyzer/.settings/org.eclipse.jdt.core.prefs +++ b/process-inspector-demo/.settings/org.eclipse.jdt.core.prefs @@ -1,10 +1,10 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 -org.eclipse.jdt.core.compiler.compliance=17 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning -org.eclipse.jdt.core.compiler.release=enabled -org.eclipse.jdt.core.compiler.source=17 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=17 diff --git a/process-analyzer-test/.settings/org.eclipse.wst.common.component b/process-inspector-demo/.settings/org.eclipse.wst.common.component similarity index 58% rename from process-analyzer-test/.settings/org.eclipse.wst.common.component rename to process-inspector-demo/.settings/org.eclipse.wst.common.component index b135755d..0e699804 100644 --- a/process-analyzer-test/.settings/org.eclipse.wst.common.component +++ b/process-inspector-demo/.settings/org.eclipse.wst.common.component @@ -1,18 +1,10 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + diff --git a/process-analyzer-demo/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml b/process-inspector-demo/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml similarity index 95% rename from process-analyzer-demo/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml rename to process-inspector-demo/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml index 9b4b9fcf..0d46547f 100644 --- a/process-analyzer-demo/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml +++ b/process-inspector-demo/.settings/org.eclipse.wst.common.project.facet.core.prefs.xml @@ -1,7 +1,7 @@ - - - - - - - + + + + + + + diff --git a/process-analyzer-demo/.settings/org.eclipse.wst.common.project.facet.core.xml b/process-inspector-demo/.settings/org.eclipse.wst.common.project.facet.core.xml similarity index 97% rename from process-analyzer-demo/.settings/org.eclipse.wst.common.project.facet.core.xml rename to process-inspector-demo/.settings/org.eclipse.wst.common.project.facet.core.xml index 156ecdbe..c2098f9c 100644 --- a/process-analyzer-demo/.settings/org.eclipse.wst.common.project.facet.core.xml +++ b/process-inspector-demo/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -1,8 +1,8 @@ - - - - - - - - + + + + + + + + diff --git a/process-analyzer/.settings/org.eclipse.wst.css.core.prefs b/process-inspector-demo/.settings/org.eclipse.wst.css.core.prefs similarity index 97% rename from process-analyzer/.settings/org.eclipse.wst.css.core.prefs rename to process-inspector-demo/.settings/org.eclipse.wst.css.core.prefs index 5ddc6bd5..96b96cde 100644 --- a/process-analyzer/.settings/org.eclipse.wst.css.core.prefs +++ b/process-inspector-demo/.settings/org.eclipse.wst.css.core.prefs @@ -1,2 +1,2 @@ -css-profile/=org.eclipse.wst.css.core.cssprofile.css3 -eclipse.preferences.version=1 +css-profile/=org.eclipse.wst.css.core.cssprofile.css3 +eclipse.preferences.version=1 diff --git a/process-analyzer-demo/.settings/org.eclipse.wst.jsdt.ui.superType.container b/process-inspector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.container similarity index 100% rename from process-analyzer-demo/.settings/org.eclipse.wst.jsdt.ui.superType.container rename to process-inspector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.container diff --git a/process-analyzer-demo/.settings/org.eclipse.wst.jsdt.ui.superType.name b/process-inspector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.name similarity index 100% rename from process-analyzer-demo/.settings/org.eclipse.wst.jsdt.ui.superType.name rename to process-inspector-demo/.settings/org.eclipse.wst.jsdt.ui.superType.name diff --git a/process-inspector-demo/META-INF/MANIFEST.MF b/process-inspector-demo/META-INF/MANIFEST.MF new file mode 100644 index 00000000..f801fc89 --- /dev/null +++ b/process-inspector-demo/META-INF/MANIFEST.MF @@ -0,0 +1,13 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: process-inspector-demo +Bundle-SymbolicName: process-inspector-demo +Bundle-Version: 1.0.0.qualifier +Bundle-RequiredExecutionEnvironment: JavaSE-17 +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.converter, + com.axonivy.utils.process.inspector.demo.helper, + com.axonivy.utils.process.inspector.demo.model +Require-Bundle: ch.ivyteam.ivy.process.rdm;bundle-version="11.2.1" diff --git a/process-analyzer-demo/build.properties b/process-inspector-demo/build.properties similarity index 95% rename from process-analyzer-demo/build.properties rename to process-inspector-demo/build.properties index 8dc25c4f..54c38485 100644 --- a/process-analyzer-demo/build.properties +++ b/process-inspector-demo/build.properties @@ -1,5 +1,5 @@ -source.. = src/,\ - src_wsproc/,\ - src_dataClasses/ -bin.includes = META-INF/,\ - . +source.. = src/,\ + src_wsproc/,\ + src_dataClasses/ +bin.includes = META-INF/,\ + . diff --git a/process-analyzer-demo/config/custom-fields.yaml b/process-inspector-demo/config/custom-fields.yaml similarity index 100% rename from process-analyzer-demo/config/custom-fields.yaml rename to process-inspector-demo/config/custom-fields.yaml diff --git a/process-analyzer-demo/config/databases.yaml b/process-inspector-demo/config/databases.yaml similarity index 100% rename from process-analyzer-demo/config/databases.yaml rename to process-inspector-demo/config/databases.yaml diff --git a/process-analyzer-demo/config/overrides.any b/process-inspector-demo/config/overrides.any similarity index 100% rename from process-analyzer-demo/config/overrides.any rename to process-inspector-demo/config/overrides.any diff --git a/process-analyzer-demo/config/persistence.xml b/process-inspector-demo/config/persistence.xml similarity index 100% rename from process-analyzer-demo/config/persistence.xml rename to process-inspector-demo/config/persistence.xml diff --git a/process-analyzer-demo/config/rest-clients.yaml b/process-inspector-demo/config/rest-clients.yaml similarity index 100% rename from process-analyzer-demo/config/rest-clients.yaml rename to process-inspector-demo/config/rest-clients.yaml diff --git a/process-analyzer-demo/config/roles.xml b/process-inspector-demo/config/roles.xml similarity index 100% rename from process-analyzer-demo/config/roles.xml rename to process-inspector-demo/config/roles.xml diff --git a/process-analyzer-demo/config/users.xml b/process-inspector-demo/config/users.xml similarity index 100% rename from process-analyzer-demo/config/users.xml rename to process-inspector-demo/config/users.xml diff --git a/process-analyzer-demo/config/variables.yaml b/process-inspector-demo/config/variables.yaml similarity index 100% rename from process-analyzer-demo/config/variables.yaml rename to process-inspector-demo/config/variables.yaml diff --git a/process-analyzer-demo/config/webservice-clients.yaml b/process-inspector-demo/config/webservice-clients.yaml similarity index 100% rename from process-analyzer-demo/config/webservice-clients.yaml rename to process-inspector-demo/config/webservice-clients.yaml diff --git a/process-inspector-demo/dataclasses/com/axonivy/utils/process/inspector/demo/Data.ivyClass b/process-inspector-demo/dataclasses/com/axonivy/utils/process/inspector/demo/Data.ivyClass new file mode 100644 index 00000000..8af1180c --- /dev/null +++ b/process-inspector-demo/dataclasses/com/axonivy/utils/process/inspector/demo/Data.ivyClass @@ -0,0 +1,2 @@ +Data #class +com.axonivy.utils.process.inspector.demo #namespace diff --git a/process-inspector-demo/dataclasses/com/axonivy/utils/process/inspector/demo/DemoData.ivyClass b/process-inspector-demo/dataclasses/com/axonivy/utils/process/inspector/demo/DemoData.ivyClass new file mode 100644 index 00000000..1bb2b02e --- /dev/null +++ b/process-inspector-demo/dataclasses/com/axonivy/utils/process/inspector/demo/DemoData.ivyClass @@ -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 diff --git a/process-inspector-demo/dataclasses/com/axonivy/utils/process/inspector/demo/FlowDemoSubProcessCallData.ivyClass b/process-inspector-demo/dataclasses/com/axonivy/utils/process/inspector/demo/FlowDemoSubProcessCallData.ivyClass new file mode 100644 index 00000000..faab2544 --- /dev/null +++ b/process-inspector-demo/dataclasses/com/axonivy/utils/process/inspector/demo/FlowDemoSubProcessCallData.ivyClass @@ -0,0 +1,2 @@ +FlowDemoSubProcessCallData #class +com.axonivy.utils.process.inspector.demo #namespace diff --git a/process-inspector-demo/pom.xml b/process-inspector-demo/pom.xml new file mode 100644 index 00000000..f9c7f6d9 --- /dev/null +++ b/process-inspector-demo/pom.xml @@ -0,0 +1,29 @@ + + + 4.0.0 + com.axonivy.utils.process.inspector + process-inspector-demo + 11.2.1-SNAPSHOT + iar + + 11.2.0 + + + + com.axonivy.utils.process.inspector + process-inspector + ${project.version} + + + + + + com.axonivy.ivy.ci + project-build-plugin + 11.2.0 + true + + + + diff --git a/process-analyzer-demo/processes/Analysis Processes/FlowDemoBasic.p.json b/process-inspector-demo/processes/Analysis Processes/FlowDemoBasic.p.json similarity index 82% rename from process-analyzer-demo/processes/Analysis Processes/FlowDemoBasic.p.json rename to process-inspector-demo/processes/Analysis Processes/FlowDemoBasic.p.json index 63b84874..71ce77e8 100644 --- a/process-analyzer-demo/processes/Analysis Processes/FlowDemoBasic.p.json +++ b/process-inspector-demo/processes/Analysis Processes/FlowDemoBasic.p.json @@ -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 @@ -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);", @@ -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);", @@ -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);", @@ -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);" ] @@ -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);" ] @@ -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);" ] @@ -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);" ] @@ -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);" ] @@ -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" } @@ -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\");", diff --git a/process-analyzer-demo/processes/Analysis Processes/FlowDemoSubProcessCall.p.json b/process-inspector-demo/processes/Analysis Processes/FlowDemoSubProcessCall.p.json similarity index 78% rename from process-analyzer-demo/processes/Analysis Processes/FlowDemoSubProcessCall.p.json rename to process-inspector-demo/processes/Analysis Processes/FlowDemoSubProcessCall.p.json index f2385237..ffde4daf 100644 --- a/process-analyzer-demo/processes/Analysis Processes/FlowDemoSubProcessCall.p.json +++ b/process-inspector-demo/processes/Analysis Processes/FlowDemoSubProcessCall.p.json @@ -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", @@ -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\");", diff --git a/process-analyzer-demo/processes/Analysis Processes/FlowParallelInOrder.p.json b/process-inspector-demo/processes/Analysis Processes/FlowParallelInOrder.p.json similarity index 77% rename from process-analyzer-demo/processes/Analysis Processes/FlowParallelInOrder.p.json rename to process-inspector-demo/processes/Analysis Processes/FlowParallelInOrder.p.json index 9f52547e..02289cf6 100644 --- a/process-analyzer-demo/processes/Analysis Processes/FlowParallelInOrder.p.json +++ b/process-inspector-demo/processes/Analysis Processes/FlowParallelInOrder.p.json @@ -2,7 +2,7 @@ "$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json", "id" : "18E3BEFFB97FCA4E", "config" : { - "data" : "com.axonivy.utils.process.analyzer.demo.Data" + "data" : "com.axonivy.utils.process.inspector.demo.Data" }, "elements" : [ { "id" : "f39", @@ -26,8 +26,8 @@ "id" : "TaskA", "name" : "Task1A", "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(1,TimeUnit.HOURS,UseCase.BIGPROJECT);", @@ -37,8 +37,8 @@ "id" : "TaskB", "name" : "Task1B", "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(1,TimeUnit.HOURS,UseCase.BIGPROJECT);", @@ -59,12 +59,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);", @@ -83,12 +83,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(5,TimeUnit.HOURS,UseCase.BIGPROJECT);", @@ -111,8 +111,8 @@ "id" : "TaskB", "name" : "Task2B", "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(1,TimeUnit.HOURS,UseCase.BIGPROJECT);", @@ -122,8 +122,8 @@ "id" : "TaskA", "name" : "Task2A", "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(1,TimeUnit.HOURS,UseCase.BIGPROJECT);", @@ -133,8 +133,8 @@ "id" : "TaskC", "name" : "Task2C", "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(1,TimeUnit.HOURS,UseCase.BIGPROJECT);", @@ -156,12 +156,12 @@ "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 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);", @@ -180,12 +180,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(5,TimeUnit.HOURS,UseCase.BIGPROJECT);", @@ -208,8 +208,8 @@ "id" : "TaskA", "name" : "Task3A", "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(1,TimeUnit.HOURS,UseCase.BIGPROJECT);", @@ -235,12 +235,12 @@ "type" : "UserTask", "name" : "Task E", "config" : { - "dialog" : "com.axonivy.utils.process.analyzer.demo.Dummy:start()", + "dialog" : "com.axonivy.utils.process.inspector.demo.Dummy:start()", "task" : { "name" : "Task E", "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);", @@ -278,12 +278,12 @@ "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", "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);", @@ -302,12 +302,12 @@ "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 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);", @@ -326,12 +326,12 @@ "type" : "UserTask", "name" : "Task I3", "config" : { - "dialog" : "com.axonivy.utils.process.analyzer.demo.Dummy:start()", + "dialog" : "com.axonivy.utils.process.inspector.demo.Dummy:start()", "task" : { "name" : "Task I", "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);", @@ -376,12 +376,12 @@ "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 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);", diff --git a/process-analyzer-demo/processes/Analysis Processes/FlowSubProcessDemo.p.json b/process-inspector-demo/processes/Analysis Processes/FlowSubProcessDemo.p.json similarity index 87% rename from process-analyzer-demo/processes/Analysis Processes/FlowSubProcessDemo.p.json rename to process-inspector-demo/processes/Analysis Processes/FlowSubProcessDemo.p.json index b8cedbd2..e7cb6aac 100644 --- a/process-analyzer-demo/processes/Analysis Processes/FlowSubProcessDemo.p.json +++ b/process-inspector-demo/processes/Analysis Processes/FlowSubProcessDemo.p.json @@ -2,7 +2,7 @@ "$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json", "id" : "18E31D6BC0E4B857", "config" : { - "data" : "com.axonivy.utils.process.analyzer.demo.Data" + "data" : "com.axonivy.utils.process.inspector.demo.Data" }, "elements" : [ { "id" : "f0", @@ -70,13 +70,13 @@ "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 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);" ] @@ -114,12 +114,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" : { "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(3,TimeUnit.HOURS,UseCase.BIGPROJECT);" ] @@ -178,12 +178,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" : { "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(4,TimeUnit.HOURS,UseCase.BIGPROJECT);" ] diff --git a/process-analyzer-demo/processes/Start Processes/Demo.p.json b/process-inspector-demo/processes/Start Processes/Demo.p.json similarity index 70% rename from process-analyzer-demo/processes/Start Processes/Demo.p.json rename to process-inspector-demo/processes/Start Processes/Demo.p.json index b47ba6a1..5c7c9d50 100644 --- a/process-analyzer-demo/processes/Start Processes/Demo.p.json +++ b/process-inspector-demo/processes/Start Processes/Demo.p.json @@ -2,7 +2,7 @@ "$schema" : "https://json-schema.axonivy.com/process/11.2.2/process.json", "id" : "18E180F943F963D5", "config" : { - "data" : "com.axonivy.utils.process.analyzer.demo.DemoData" + "data" : "com.axonivy.utils.process.inspector.demo.DemoData" }, "elements" : [ { "id" : "f0", @@ -11,7 +11,7 @@ "config" : { "signature" : "start", "request" : { - "name" : "ProcessAnalyzerDemo" + "name" : "ProcessInspectorDemo" } }, "visual" : { @@ -31,10 +31,10 @@ "type" : "DialogCall", "name" : "Table Show", "config" : { - "dialog" : "com.axonivy.utils.process.analyzer.demo.ProcessAnalyzerTable:start(com.axonivy.utils.process.analyzer.demo.ProcessAnalyzerBean)", + "dialog" : "com.axonivy.utils.process.inspector.demo.ProcessInspectorTable:start(com.axonivy.utils.process.inspector.demo.ProcessInspectorBean)", "call" : { "map" : { - "param.processAnalyzerBean" : "in.bean" + "param.processInspectorBean" : "in.bean" } } }, @@ -51,10 +51,10 @@ "config" : { "output" : { "code" : [ - "import com.axonivy.utils.process.analyzer.demo.model.Analyzer;", - "import com.axonivy.utils.process.analyzer.demo.ProcessAnalyzerBean;", + "import com.axonivy.utils.process.inspector.demo.model.Analyzer;", + "import com.axonivy.utils.process.inspector.demo.ProcessInspectorBean;", "", - "in.bean = new ProcessAnalyzerBean();", + "in.bean = new ProcessInspectorBean();", "in.bean.selectedAnalyzer = new Analyzer();" ] } diff --git a/process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/ProcessAnalyzerBean.java b/process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/ProcessInspectorBean.java similarity index 81% rename from process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/ProcessAnalyzerBean.java rename to process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/ProcessInspectorBean.java index 3bcac57b..5226f023 100644 --- a/process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/ProcessAnalyzerBean.java +++ b/process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/ProcessInspectorBean.java @@ -1,4 +1,4 @@ -package com.axonivy.utils.process.analyzer.demo; +package com.axonivy.utils.process.inspector.demo; import static java.util.Collections.emptyList; import static org.apache.commons.lang3.StringUtils.defaultIfEmpty; @@ -17,15 +17,16 @@ import org.primefaces.component.selectoneradio.SelectOneRadio; import org.primefaces.model.FilterMeta; -import com.axonivy.utils.process.analyzer.AdvancedProcessAnalyzer; -import com.axonivy.utils.process.analyzer.demo.constant.FindType; -import com.axonivy.utils.process.analyzer.demo.constant.UseCase; -import com.axonivy.utils.process.analyzer.demo.helper.DateTimeHelper; -import com.axonivy.utils.process.analyzer.demo.model.Analyzer; -import com.axonivy.utils.process.analyzer.internal.ProcessAnalyzer; -import com.axonivy.utils.process.analyzer.model.DetectedAlternative; -import com.axonivy.utils.process.analyzer.model.DetectedElement; -import com.axonivy.utils.process.analyzer.model.DetectedTask; +import com.axonivy.utils.process.inspector.APAConfig; +import com.axonivy.utils.process.inspector.ProcessInspector; +import com.axonivy.utils.process.inspector.demo.constant.FindType; +import com.axonivy.utils.process.inspector.demo.constant.UseCase; +import com.axonivy.utils.process.inspector.demo.helper.DateTimeHelper; +import com.axonivy.utils.process.inspector.demo.model.Analyzer; +import com.axonivy.utils.process.inspector.internal.AdvancedProcessInspector; +import com.axonivy.utils.process.inspector.model.DetectedAlternative; +import com.axonivy.utils.process.inspector.model.DetectedElement; +import com.axonivy.utils.process.inspector.model.DetectedTask; import ch.ivyteam.ivy.environment.Ivy; import ch.ivyteam.ivy.process.model.BaseElement; @@ -43,9 +44,7 @@ import ch.ivyteam.ivy.workflow.start.IProcessWebStartable; import ch.ivyteam.ivy.workflow.start.IWebStartable; -public class ProcessAnalyzerBean { - - private List analyzers = new ArrayList<>(); +public class ProcessInspectorBean { private List processes = emptyList(); @@ -53,20 +52,12 @@ public class ProcessAnalyzerBean { private Analyzer selectedAnalyzer = null; - AdvancedProcessAnalyzer processAnalyzer; + ProcessInspector processInspector; - public ProcessAnalyzerBean() { + public ProcessInspectorBean() { this.processes = getAllProcesses(); } - public List getAnalyzers() { - return analyzers; - } - - public void setAnalyzers(List analyzers) { - this.analyzers = analyzers; - } - public List getProcesses() { return processes; } @@ -92,7 +83,7 @@ public void init() { filterBy = new ArrayList<>(); } public List getAllTaskModifier() { - this.processAnalyzer = new ProcessAnalyzer(); + this.processInspector = new AdvancedProcessInspector(); return getElementOfProcess(this.selectedAnalyzer.getProcess()).stream() .filter(item -> item instanceof SingleTaskCreator).map(SingleTaskCreator.class::cast).toList(); } @@ -106,10 +97,10 @@ public List getAllUseCases() { } public List getALternativeWithMoreThanOneOutgoing() throws Exception { + APAConfig.handleAsTask(); + processInspector.enableDescribeAlternativeElements(); - processAnalyzer.enableDescribeAlternativeElements(); - - List alternatives = processAnalyzer.findAllTasks(selectedAnalyzer.getStartElement(), null) + List alternatives = processInspector.findAllTasks(selectedAnalyzer.getStartElement(), null) .stream().filter(item -> item instanceof DetectedAlternative).map(DetectedAlternative.class::cast) .filter(item -> item.getOptions().size() > 1).toList(); return alternatives; @@ -138,14 +129,14 @@ public List getDetectedTask() throws Exception { UseCase useCase = selectedAnalyzer.getUseCase(); String flowName = selectedAnalyzer.getFlowName(); SingleTaskCreator startElement = selectedAnalyzer.getStartElement(); - processAnalyzer = updateProcessAnalyzer(selectedAnalyzer); + processInspector = updateProcessInspector(selectedAnalyzer); long startTime = System.currentTimeMillis(); List detectedElements = null; if (FindType.ALL_TASK.equals(selectedAnalyzer.getFindType())) { - detectedElements = processAnalyzer.findAllTasks(startElement, useCase); + detectedElements = processInspector.findAllTasks(startElement, useCase); } else { - detectedElements = processAnalyzer.findTasksOnPath(startElement, useCase, flowName); + detectedElements = processInspector.findTasksOnPath(startElement, useCase, flowName); } long executionTime = System.currentTimeMillis() - startTime; @@ -158,12 +149,12 @@ public Duration getDetectedTaskCalculate() throws Exception { UseCase useCase = selectedAnalyzer.getUseCase(); String flowName = selectedAnalyzer.getFlowName(); SingleTaskCreator startElement = selectedAnalyzer.getStartElement(); - processAnalyzer = updateProcessAnalyzer(selectedAnalyzer); + processInspector = updateProcessInspector(selectedAnalyzer); Duration total = Duration.ZERO; if (FindType.ALL_TASK.equals(selectedAnalyzer.getFindType())) { - total = processAnalyzer.calculateWorstCaseDuration(startElement, useCase); + total = processInspector.calculateWorstCaseDuration(startElement, useCase); } else { - total = processAnalyzer.calculateDurationOfPath(startElement, useCase, flowName); + total = processInspector.calculateDurationOfPath(startElement, useCase, flowName); } return total; @@ -189,7 +180,7 @@ public String getProcessWebLink(SingleTaskCreator startElement) throws Exception .orElse(null); for (BaseElement startNode : listStartElement) { - List listElements = this.processAnalyzer.findAllTasks(startNode, null); + List listElements = this.processInspector.findAllTasks(startNode, null); boolean isExist = listElements.stream().anyMatch(it -> it.getElementName().equals(startElement.getName())); if (isExist) { elementName = startNode.getName(); @@ -224,11 +215,11 @@ public List getParentElementNames(){ } return emptyList(); } - private AdvancedProcessAnalyzer updateProcessAnalyzer(Analyzer analyzer) { + private ProcessInspector updateProcessInspector(Analyzer analyzer) { Map flowOverrides = getProcessFlowOverride(analyzer); - processAnalyzer.disableDescribeAlternativeElements(); - processAnalyzer.setProcessFlowOverrides(flowOverrides); - return processAnalyzer; + processInspector.disableDescribeAlternativeElements(); + processInspector.setProcessFlowOverrides(flowOverrides); + return processInspector; } private Map getProcessFlowOverride(Analyzer analyzer) { diff --git a/process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/constant/FindType.java b/process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/constant/FindType.java similarity index 81% rename from process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/constant/FindType.java rename to process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/constant/FindType.java index 955a4e69..d60deafa 100644 --- a/process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/constant/FindType.java +++ b/process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/constant/FindType.java @@ -1,4 +1,4 @@ -package com.axonivy.utils.process.analyzer.demo.constant; +package com.axonivy.utils.process.inspector.demo.constant; public enum FindType { ALL_TASK("Find All Task"), TASK_ON_PATH("Find Task On Path"); diff --git a/process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/constant/UseCase.java b/process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/constant/UseCase.java similarity index 52% rename from process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/constant/UseCase.java rename to process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/constant/UseCase.java index 8a9054fb..3bfc3ddf 100644 --- a/process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/constant/UseCase.java +++ b/process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/constant/UseCase.java @@ -1,4 +1,4 @@ -package com.axonivy.utils.process.analyzer.demo.constant; +package com.axonivy.utils.process.inspector.demo.constant; public enum UseCase { BIGPROJECT, MEDIUMPROJECT, SMALLPROJECT diff --git a/process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/converter/PojoConverter.java b/process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/converter/PojoConverter.java similarity index 97% rename from process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/converter/PojoConverter.java rename to process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/converter/PojoConverter.java index 533553e2..ff1e7d0b 100644 --- a/process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/converter/PojoConverter.java +++ b/process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/converter/PojoConverter.java @@ -1,4 +1,4 @@ -package com.axonivy.utils.process.analyzer.demo.converter; +package com.axonivy.utils.process.inspector.demo.converter; import java.util.Map; diff --git a/process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/helper/DateTimeHelper.java b/process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/helper/DateTimeHelper.java similarity index 90% rename from process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/helper/DateTimeHelper.java rename to process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/helper/DateTimeHelper.java index 6be4dd02..b0c0f4ab 100644 --- a/process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/helper/DateTimeHelper.java +++ b/process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/helper/DateTimeHelper.java @@ -1,4 +1,4 @@ -package com.axonivy.utils.process.analyzer.demo.helper; +package com.axonivy.utils.process.inspector.demo.helper; import java.time.Duration; diff --git a/process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/model/Analyzer.java b/process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/model/Analyzer.java similarity index 90% rename from process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/model/Analyzer.java rename to process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/model/Analyzer.java index cdf11a45..afef1c02 100644 --- a/process-analyzer-demo/src/com/axonivy/utils/process/analyzer/demo/model/Analyzer.java +++ b/process-inspector-demo/src/com/axonivy/utils/process/inspector/demo/model/Analyzer.java @@ -1,4 +1,4 @@ -package com.axonivy.utils.process.analyzer.demo.model; +package com.axonivy.utils.process.inspector.demo.model; import static java.util.Collections.emptyList; @@ -9,11 +9,11 @@ import java.util.UUID; import java.util.stream.Collectors; -import com.axonivy.utils.process.analyzer.demo.constant.FindType; -import com.axonivy.utils.process.analyzer.demo.constant.UseCase; -import com.axonivy.utils.process.analyzer.demo.helper.DateTimeHelper; -import com.axonivy.utils.process.analyzer.model.DetectedAlternative; -import com.axonivy.utils.process.analyzer.model.DetectedElement; +import com.axonivy.utils.process.inspector.demo.constant.FindType; +import com.axonivy.utils.process.inspector.demo.constant.UseCase; +import com.axonivy.utils.process.inspector.demo.helper.DateTimeHelper; +import com.axonivy.utils.process.inspector.model.DetectedAlternative; +import com.axonivy.utils.process.inspector.model.DetectedElement; import ch.ivyteam.ivy.process.model.Process; import ch.ivyteam.ivy.process.model.connector.SequenceFlow; diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/Dummy/Dummy.rddescriptor b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/Dummy/Dummy.rddescriptor similarity index 100% rename from process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/Dummy/Dummy.rddescriptor rename to process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/Dummy/Dummy.rddescriptor diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/Dummy/Dummy.xhtml b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/Dummy/Dummy.xhtml similarity index 100% rename from process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/Dummy/Dummy.xhtml rename to process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/Dummy/Dummy.xhtml diff --git a/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/Dummy/DummyData.ivyClass b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/Dummy/DummyData.ivyClass new file mode 100644 index 00000000..2c664e2c --- /dev/null +++ b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/Dummy/DummyData.ivyClass @@ -0,0 +1,2 @@ +DummyData #class +com.axonivy.utils.process.inspector.demo.Dummy #namespace diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/Dummy/DummyProcess.p.json b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/Dummy/DummyProcess.p.json similarity index 93% rename from process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/Dummy/DummyProcess.p.json rename to process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/Dummy/DummyProcess.p.json index 2b27d4a7..1b5ee431 100644 --- a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/Dummy/DummyProcess.p.json +++ b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/Dummy/DummyProcess.p.json @@ -3,7 +3,7 @@ "id" : "18E7EA48B28E4A37", "kind" : "HTML_DIALOG", "config" : { - "data" : "com.axonivy.utils.process.analyzer.demo.Dummy.DummyData" + "data" : "com.axonivy.utils.process.inspector.demo.Dummy.DummyData" }, "elements" : [ { "id" : "f0", diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/ProcessAnalyzerTable/ProcessAnalyzerTable.rddescriptor b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/ProcessInspectorTable/ProcessInspectorTable.rddescriptor similarity index 100% rename from process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/ProcessAnalyzerTable/ProcessAnalyzerTable.rddescriptor rename to process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/ProcessInspectorTable/ProcessInspectorTable.rddescriptor diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/ProcessAnalyzerTable/ProcessAnalyzerTable.xhtml b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/ProcessInspectorTable/ProcessInspectorTable.xhtml similarity index 58% rename from process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/ProcessAnalyzerTable/ProcessAnalyzerTable.xhtml rename to process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/ProcessInspectorTable/ProcessInspectorTable.xhtml index 7b6e9726..cf0ef8e4 100644 --- a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/ProcessAnalyzerTable/ProcessAnalyzerTable.xhtml +++ b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/ProcessInspectorTable/ProcessInspectorTable.xhtml @@ -11,25 +11,25 @@ ProcessAnalyzerDetail -

Advanced Process Analyzer

+

Process Inspector

- + - + processInspectorBean="#{data.processInspectorBean}" /> - - + +
diff --git a/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/ProcessInspectorTable/ProcessInspectorTableData.ivyClass b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/ProcessInspectorTable/ProcessInspectorTableData.ivyClass new file mode 100644 index 00000000..bbcc1f2e --- /dev/null +++ b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/ProcessInspectorTable/ProcessInspectorTableData.ivyClass @@ -0,0 +1,4 @@ +ProcessInspectorTableData #class +com.axonivy.utils.process.inspector.demo.ProcessInspectorTable #namespace +processInspectorBean com.axonivy.utils.process.inspector.demo.ProcessInspectorBean #field +processInspectorBean PERSISTENT #fieldModifier diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/ProcessAnalyzerTable/ProcessAnalyzerTableProcess.p.json b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/ProcessInspectorTable/ProcessInspectorTableProcess.p.json similarity index 75% rename from process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/ProcessAnalyzerTable/ProcessAnalyzerTableProcess.p.json rename to process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/ProcessInspectorTable/ProcessInspectorTableProcess.p.json index b1cf67c9..a9caa416 100644 --- a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/ProcessAnalyzerTable/ProcessAnalyzerTableProcess.p.json +++ b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/ProcessInspectorTable/ProcessInspectorTableProcess.p.json @@ -3,20 +3,20 @@ "id" : "18E18129A25A9EEC", "kind" : "HTML_DIALOG", "config" : { - "data" : "com.axonivy.utils.process.analyzer.demo.ProcessAnalyzerTable.ProcessAnalyzerTableData" + "data" : "com.axonivy.utils.process.inspector.demo.ProcessInspectorTable.ProcessInspectorTableData" }, "elements" : [ { "id" : "f0", "type" : "HtmlDialogStart", - "name" : "start(ProcessAnalyzerBean)", + "name" : "start(ProcessInspectorBean)", "config" : { "signature" : "start", "input" : { "params" : [ - { "name" : "processAnalyzerBean", "type" : "com.axonivy.utils.process.analyzer.demo.ProcessAnalyzerBean", "desc" : "" } + { "name" : "processInspectorBean", "type" : "com.axonivy.utils.process.inspector.demo.ProcessInspectorBean", "desc" : "" } ], "map" : { - "out.processAnalyzerBean" : "param.processAnalyzerBean" + "out.processInspectorBean" : "param.processInspectorBean" } }, "guid" : "18E18129A262E35E" diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerDetail/AnalyzerDetail.rddescriptor b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorDetail/InspectorDetail.rddescriptor similarity index 100% rename from process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerDetail/AnalyzerDetail.rddescriptor rename to process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorDetail/InspectorDetail.rddescriptor diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerDetail/AnalyzerDetail.xhtml b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorDetail/InspectorDetail.xhtml similarity index 70% rename from process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerDetail/AnalyzerDetail.xhtml rename to process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorDetail/InspectorDetail.xhtml index 5120aa45..fb9d13bc 100644 --- a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerDetail/AnalyzerDetail.xhtml +++ b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorDetail/InspectorDetail.xhtml @@ -8,44 +8,44 @@ xmlns:p="http://primefaces.org/ui" xmlns:pe="http://primefaces.org/ui/extensions"> - + - - + + - + - + - + - + - + - + - + - + - @@ -53,7 +53,7 @@ @@ -72,7 +72,7 @@ + value="#{data.processInspectorBean.getDisplayDuration(task.estimatedDuration)}" /> - + @@ -95,12 +95,12 @@ + value="#{data.processInspectorBean.getDisplayDuration(task.timeUntilStart)}" /> + value="#{data.processInspectorBean.getDisplayDuration(task.timeUntilEnd)}" /> diff --git a/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorDetail/InspectorDetailData.ivyClass b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorDetail/InspectorDetailData.ivyClass new file mode 100644 index 00000000..94980e2d --- /dev/null +++ b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorDetail/InspectorDetailData.ivyClass @@ -0,0 +1,6 @@ +InspectorDetailData #class +com.axonivy.utils.process.inspector.demo.component.InspectorDetail #namespace +processInspectorBean com.axonivy.utils.process.inspector.demo.ProcessInspectorBean #field +processInspectorBean PERSISTENT #fieldModifier +analyzer com.axonivy.utils.process.inspector.demo.model.Analyzer #field +analyzer PERSISTENT #fieldModifier diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerDetail/AnalyzerDetailProcess.p.json b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorDetail/InspectorDetailProcess.p.json similarity index 75% rename from process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerDetail/AnalyzerDetailProcess.p.json rename to process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorDetail/InspectorDetailProcess.p.json index 6f385db4..3d51141a 100644 --- a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerDetail/AnalyzerDetailProcess.p.json +++ b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorDetail/InspectorDetailProcess.p.json @@ -3,20 +3,20 @@ "id" : "18E3C233B54C77EA", "kind" : "HTML_DIALOG", "config" : { - "data" : "com.axonivy.utils.process.analyzer.demo.component.AnalyzerDetail.AnalyzerDetailData" + "data" : "com.axonivy.utils.process.inspector.demo.component.InspectorDetail.InspectorDetailData" }, "elements" : [ { "id" : "f0", "type" : "HtmlDialogStart", - "name" : "start(ProcessAnalyzerBean)", + "name" : "start(ProcessInspectorBean)", "config" : { "signature" : "start", "input" : { "params" : [ - { "name" : "processAnalyzerBean", "type" : "com.axonivy.utils.process.analyzer.demo.ProcessAnalyzerBean", "desc" : "" } + { "name" : "processInspectorBean", "type" : "com.axonivy.utils.process.inspector.demo.ProcessInspectorBean", "desc" : "" } ], "map" : { - "out.processAnalyzerBean" : "param.processAnalyzerBean" + "out.processInspectorBean" : "param.processInspectorBean" } }, "guid" : "18E3C233B55F65EA" diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerDetail/resources/analyzer-detail.css b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorDetail/resources/inspector-detail.css similarity index 100% rename from process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerDetail/resources/analyzer-detail.css rename to process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorDetail/resources/inspector-detail.css diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerSelection/AnalyzerSelection.rddescriptor b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorSelection/InspectorSelection.rddescriptor similarity index 100% rename from process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerSelection/AnalyzerSelection.rddescriptor rename to process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorSelection/InspectorSelection.rddescriptor diff --git a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerSelection/AnalyzerSelection.xhtml b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorSelection/InspectorSelection.xhtml similarity index 75% rename from process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerSelection/AnalyzerSelection.xhtml rename to process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorSelection/InspectorSelection.xhtml index 8c6bc561..864dad4c 100644 --- a/process-analyzer-demo/src_hd/com/axonivy/utils/process/analyzer/demo/component/AnalyzerSelection/AnalyzerSelection.xhtml +++ b/process-inspector-demo/src_hd/com/axonivy/utils/process/inspector/demo/component/InspectorSelection/InspectorSelection.xhtml @@ -13,75 +13,75 @@ - - + + - - - + value="#{data.processInspectorBean.selectedAnalyzer.flowName}" /> + value="#{data.processInspectorBean.selectedAnalyzer.alternatives}"> @@ -92,9 +92,9 @@ + collapsed="#{data.processInspectorBean.selectedAnalyzer.processPath eq null ? 'true' : 'false'}">