This is an automated email from the ASF dual-hosted git repository.
yamer pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-examples.git
The following commit(s) were added to refs/heads/main by this push:
new f68ea2a4f kie-issues#1599: Remove Task Console usage from
kogito-examples (#2033)
f68ea2a4f is described below
commit f68ea2a4f14908dc3d30d7e2e7d915fbaf2ae210
Author: Luiz João Motta <[email protected]>
AuthorDate: Mon Dec 16 10:45:02 2024 -0300
kie-issues#1599: Remove Task Console usage from kogito-examples (#2033)
* Remove all Task Console references
* change to quay.io
* Update README
* Rollback to docker.io
* Minor changes
* Use localhost instead of docker host ip
* Trigger build
---------
Co-authored-by: Jozef Marko <[email protected]>
---
.../extended/docker-compose/docker-compose.yml | 17 ----
.../docker-compose/keycloak/kogito-realm.json | 7 +-
.../extended/docker-compose/startServices.sh | 2 +-
.../extended/travels/README.md | 13 ++-
.../kogito-travel-agency/extended/visas/README.md | 14 ++-
.../docs/images/visa-applications-process.png | Bin 183356 -> 40590 bytes
kogito-quarkus-examples/ocp-tryout/README.md | 4 -
.../ocp-tryout/installer.properties | 1 -
kogito-quarkus-examples/ocp-tryout/installer.sh | 3 +-
.../ocp-tryout/keycloak/keycloak.sh | 3 +-
.../ocp-tryout/keycloak/kogito-realm-orig.json | 7 +-
.../ocp-tryout/kogito-shared/README.md | 2 -
.../ocp-tryout/kogito-shared/kogito-configs.yaml | 1 -
.../kogito-task-console/deployment-patch.yaml | 42 ---------
.../kogito-task-console/kogito-task-console.sh | 37 --------
kogito-quarkus-examples/ocp-tryout/uninstaller.sh | 3 +-
.../process-instance-migration-quarkus/README.md | 2 +-
.../README.md | 94 +--------------------
.../docker-compose/README.md | 2 -
.../docker-compose/docker-compose-infinispan.yml | 17 +---
.../docker-compose/docker-compose-postgresql.yml | 19 +----
.../docker-compose/keycloak/kogito-realm.json | 7 +-
.../docs/images/HR_interview_avoided_logs.png | Bin 43674 -> 0 bytes
.../docs/images/HR_interview_completed_logs.png | Bin 43652 -> 0 bytes
.../docs/images/HR_task.png | Bin 34651 -> 0 bytes
.../docs/images/IT_task.png | Bin 42288 -> 0 bytes
.../docs/images/JobsManagement.png | Bin 41149 -> 0 bytes
.../images/MC_details_3_completed_executed_job.png | Bin 120439 -> 0 bytes
.../docs/images/MC_details_4_IT_no_job.png | Bin 119708 -> 0 bytes
.../docs/images/MC_details_5_completed_no_job.png | Bin 120380 -> 0 bytes
.../docs/images/TC_listHR.png | Bin 32712 -> 0 bytes
.../docs/images/TC_listIT.png | Bin 47423 -> 0 bytes
.../docs/images/TC_listIT_completed.png | Bin 49090 -> 0 bytes
.../docs/images/keycloak-login.png | Bin 67712 -> 0 bytes
.../docs/images/services.png | Bin 46256 -> 42138 bytes
35 files changed, 39 insertions(+), 258 deletions(-)
diff --git
a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/docker-compose.yml
b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/docker-compose.yml
index 2cbc0a415..5118e4a03 100644
---
a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/docker-compose.yml
+++
b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/docker-compose.yml
@@ -135,26 +135,9 @@ services:
depends_on:
data-index:
condition: service_started
- keycloak:
- condition: service_healthy
volumes:
- ./svg/:/home/kogito/data/svg/
environment:
KOGITO_DATAINDEX_HTTP_URL:
http://${DOCKER_GATEWAY_HOST:-host.docker.internal}:8180/graphql
KOGITO_MANAGEMENT_CONSOLE_PROPS:
-Dkogito.consoles.keycloak.config.url=http://localhost:8480/auth
-Dkogito.consoles.keycloak.config.health-check-url=http://localhost:8480/auth/realms/kogito/.well-known/openid-configuration
-Dkogito.svg.folder.path=/home/kogito/data/svg
QUARKUS_HTTP_CORS_ORIGINS: "/.*/"
-
- task-console:
- container_name: task-console
- image: quay.io/kiegroup/kogito-task-console:${KOGITO_VERSION}
- ports:
- - 8380:8080
- depends_on:
- data-index:
- condition: service_started
- keycloak:
- condition: service_healthy
- environment:
- KOGITO_DATAINDEX_HTTP_URL:
http://${DOCKER_GATEWAY_HOST:-host.docker.internal}:8180/graphql
- KOGITO_TASK_CONSOLE_PROPS:
-Dkogito.consoles.keycloak.config.url=http://localhost:8480/auth
-Dkogito.consoles.keycloak.config.health-check-url=http://localhost:8480/auth/realms/kogito/.well-known/openid-configuration
- QUARKUS_HTTP_CORS_ORIGINS: "/.*/"
\ No newline at end of file
diff --git
a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/keycloak/kogito-realm.json
b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/keycloak/kogito-realm.json
index fd3cdc094..80e06bd07 100644
---
a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/keycloak/kogito-realm.json
+++
b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/keycloak/kogito-realm.json
@@ -816,15 +816,14 @@
},
{
"clientId": "kogito-console-quarkus",
- "rootUrl": "http://localhost:8380",
- "adminUrl": "http://localhost:8380/",
- "baseUrl": "http://localhost:8380/",
+ "rootUrl": "http://localhost:8280",
+ "adminUrl": "http://localhost:8280/",
+ "baseUrl": "http://localhost:8280/",
"surrogateAuthRequired": false,
"enabled": true,
"clientAuthenticatorType": "client-secret",
"secret": "**********",
"redirectUris": [
- "http://localhost:8380/*",
"http://localhost:8280/*"
],
"webOrigins": [
diff --git
a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/startServices.sh
b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/startServices.sh
index ddd98b43a..51f19220a 100755
---
a/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/startServices.sh
+++
b/kogito-quarkus-examples/kogito-travel-agency/extended/docker-compose/startServices.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
diff --git
a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/README.md
b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/README.md
index e2f305dd5..e5f32f64c 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/extended/travels/README.md
+++ b/kogito-quarkus-examples/kogito-travel-agency/extended/travels/README.md
@@ -13,7 +13,6 @@ the response with the visa processing outcome - approved or
rejected.
* Create project using Quarkus Maven plugin with following extensions
* Kogito
* OpenApi
-* Import project into Eclipse IDE - requires BPMN modeller plugin installed
* Create data model
* Traveller
* Hotel
@@ -134,16 +133,16 @@ You should start all the services before you execute any
of the **Hiring** examp
For Linux and MacOS:
1. Open a Terminal
-2. Go to the process-usertasks-quarkus-with-console folder at kogito-examples
+2. Go to the kogito-travel-agency folder at kogito-examples
```bash
-cd <path_to_process-usertasks-quarkus-with-console>/docker-compose
+cd <path_to_kogito-travel-agency>/docker-compose
```
3. Run the ```startServices.sh``` script
```bash
-sh ./startServices.sh
+./startServices.sh
```
Once all services bootstrap, the following ports will be assigned on your
local machine:
@@ -173,6 +172,12 @@ It will install the *Kogito Realm* that comes with a
predefined set of users:
Once Keycloak is started, you should be able to access your *Keycloak Server*
at [localhost:8480/auth](http://localhost:8480/auth) with *admin* user.
+### Compile and Start the process
+
+```
+mvn clean package
+java -jar target/quarkus-app/quarkus-run.jar
+```
### Compile and Run in Local Dev Mode
diff --git
a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/README.md
b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/README.md
index 079235da9..7fe2f1ae9 100644
--- a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/README.md
+++ b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/README.md
@@ -18,7 +18,6 @@ will add additional handling to the approved or rejected visa
applications _(by
* Create project using Quarkus Maven plugin with following extensions
* Kogito
* OpenApi
-* Import project into Eclipse IDE - requires BPMN modeller plugin installed
* Create data model
* VisaApplication
* Create decision logic
@@ -78,16 +77,16 @@ You should start all the services before you execute any of
the **Hiring** examp
For Linux and MacOS:
1. Open a Terminal
-2. Go to the process-usertasks-quarkus-with-console folder at kogito-examples
+2. Go to the kogito-travel-agency folder at kogito-examples
```bash
-cd <path_to_process-usertasks-quarkus-with-console>/docker-compose
+cd <path_to_kogito-travel-agency>/docker-compose
```
3. Run the ```startServices.sh``` script
```bash
-sh ./startServices.sh
+./startServices.sh
```
Once all services bootstrap, the following ports will be assigned on your
local machine:
@@ -117,6 +116,13 @@ It will install the *Kogito Realm* that comes with a
predefined set of users:
Once Keycloak is started, you should be able to access your *Keycloak Server*
at [localhost:8480/auth](http://localhost:8480/auth) with *admin* user.
+### Compile and Start the process
+
+```
+mvn clean package
+java -jar target/quarkus-app/quarkus-run.jar
+```
+
### Compile and Run in Local Dev Mode
```
diff --git
a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/docs/images/visa-applications-process.png
b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/docs/images/visa-applications-process.png
index c690aa0b5..8b2c45491 100644
Binary files
a/kogito-quarkus-examples/kogito-travel-agency/extended/visas/docs/images/visa-applications-process.png
and
b/kogito-quarkus-examples/kogito-travel-agency/extended/visas/docs/images/visa-applications-process.png
differ
diff --git a/kogito-quarkus-examples/ocp-tryout/README.md
b/kogito-quarkus-examples/ocp-tryout/README.md
index 454aeecb5..9a40ccb36 100644
--- a/kogito-quarkus-examples/ocp-tryout/README.md
+++ b/kogito-quarkus-examples/ocp-tryout/README.md
@@ -26,7 +26,6 @@ Installation from pre-build images
- [Data
Index](https://docs.jboss.org/kogito/release/1.15.0/html_single/#con-data-index-service_kogito-configuring)
- [Management
console](https://docs.jboss.org/kogito/release/1.15.0/html_single/#con-management-console_kogito-developing-process-services)
- [Jobs
service](https://docs.jboss.org/kogito/release/latest/html_single/#con-jobs-service_kogito-configuring)
-- [Task
console](https://docs.jboss.org/kogito/release/latest/html_single/#con-task-console_kogito-developing-process-services)
## Architecture

@@ -86,8 +85,6 @@ All configuration required to make those connections as well
as initializations
- `kogito.dataindex.wsurl` - the dataindex url, protocol: ws
### Kogito Management Console Configurations
- `kogito.managementconsole.props` - command line properties for the
management console
-### Kogito Task Console Configurations
-- `kogito.taskconsole.props` - command line properties for the task console
### Kogito Job Service Configurations
- `kogito.jobsservice.props` - command line properties for the job service
@@ -103,7 +100,6 @@ if marked `-` then namespace defaults are applied
|keycloak|-|-|-|-|
|kogito-data-index-infinispan|-|-|-|500Mi|
|kogito-management-console|-|-|-|500Mi|
-|kogito-task-console|-|-|-|500Mi|
|kogito-jobs-service|-|-|-|500Mi|
|kogito-travel-agency-travels-jvm|-|-|-|500Mi|
|kogito-travel-agency-visas-jvm|-|-|-|500Mi|
diff --git a/kogito-quarkus-examples/ocp-tryout/installer.properties
b/kogito-quarkus-examples/ocp-tryout/installer.properties
index 4e95a8efe..685f1ee56 100644
--- a/kogito-quarkus-examples/ocp-tryout/installer.properties
+++ b/kogito-quarkus-examples/ocp-tryout/installer.properties
@@ -32,7 +32,6 @@ KAFKA=N
KEYCLOAK=N
KOGITO_DATA_INDEX=N
KOGITO_MANAGEMENT_CONSOLE=N
-KOGITO_TASK_CONSOLE=N
KOGITO_JOBS_SERVICE=N
TEST_APP=N
diff --git a/kogito-quarkus-examples/ocp-tryout/installer.sh
b/kogito-quarkus-examples/ocp-tryout/installer.sh
index 5a41f0a95..7e4db9676 100755
--- a/kogito-quarkus-examples/ocp-tryout/installer.sh
+++ b/kogito-quarkus-examples/ocp-tryout/installer.sh
@@ -29,7 +29,7 @@ source common-functions.sh
action=install
components=(SHARED_CONFIG INFINISPAN KAFKA KEYCLOAK \
- KOGITO_DATA_INDEX KOGITO_MANAGEMENT_CONSOLE KOGITO_TASK_CONSOLE
KOGITO_JOBS_SERVICE \
+ KOGITO_DATA_INDEX KOGITO_MANAGEMENT_CONSOLE KOGITO_JOBS_SERVICE \
TEST_APP)
# override the installer properties configuration if needed
function overrideEnvVariables(){
@@ -111,7 +111,6 @@ function install(){
componentAction "${KOGITO_DATA_INDEX}" "kogito-data-index" "${dbType}"
componentAction "${KOGITO_MANAGEMENT_CONSOLE}" "kogito-management-console"
- componentAction "${KOGITO_TASK_CONSOLE}" "kogito-task-console"
componentAction "${KOGITO_JOBS_SERVICE}" "kogito-jobs-service" "${dbType}"
componentAction "${TEST_APP}" "testapp"
diff --git a/kogito-quarkus-examples/ocp-tryout/keycloak/keycloak.sh
b/kogito-quarkus-examples/ocp-tryout/keycloak/keycloak.sh
index 2f6718105..d393eb799 100755
--- a/kogito-quarkus-examples/ocp-tryout/keycloak/keycloak.sh
+++ b/kogito-quarkus-examples/ocp-tryout/keycloak/keycloak.sh
@@ -24,8 +24,7 @@ action=$1
# NOTE: if need to update kogito_realm.json, edit content of
kogito-realm-orig.json here
function updateClientRedirectUrls(){
mngConsole=\"http://kogito-management-console-$(getProjectName).$(getClusterAppsHostname)/*\"
-
taskConsole=\"http://kogito-task-console-$(getProjectName).$(getClusterAppsHostname)/*\"
- additionalRedirectUris=["${mngConsole}","${taskConsole}"]
+ additionalRedirectUris=["${mngConsole}"]
(jq '(.clients[] | select(.clientId=="kogito-console-quarkus") |
.redirectUris) |= . + '${additionalRedirectUris} kogito-realm-orig.json) >
kogito-realm.json
}
updateClientRedirectUrls
diff --git a/kogito-quarkus-examples/ocp-tryout/keycloak/kogito-realm-orig.json
b/kogito-quarkus-examples/ocp-tryout/keycloak/kogito-realm-orig.json
index 2ab1536f8..bb8172f4d 100644
--- a/kogito-quarkus-examples/ocp-tryout/keycloak/kogito-realm-orig.json
+++ b/kogito-quarkus-examples/ocp-tryout/keycloak/kogito-realm-orig.json
@@ -816,15 +816,14 @@
},
{
"clientId": "kogito-console-quarkus",
- "rootUrl": "http://localhost:8380",
- "adminUrl": "http://localhost:8380/",
- "baseUrl": "http://localhost:8380/",
+ "rootUrl": "http://localhost:8280",
+ "adminUrl": "http://localhost:8280/",
+ "baseUrl": "http://localhost:8280/",
"surrogateAuthRequired": false,
"enabled": true,
"clientAuthenticatorType": "client-secret",
"secret": "**********",
"redirectUris": [
- "http://localhost:8380/*",
"http://localhost:8280/*"
],
"webOrigins": [
diff --git a/kogito-quarkus-examples/ocp-tryout/kogito-shared/README.md
b/kogito-quarkus-examples/ocp-tryout/kogito-shared/README.md
index 736c0c368..6c2726e31 100644
--- a/kogito-quarkus-examples/ocp-tryout/kogito-shared/README.md
+++ b/kogito-quarkus-examples/ocp-tryout/kogito-shared/README.md
@@ -23,7 +23,5 @@ There is one config map per infrastructure component.
- `kogito.dataindex.wsurl` - the dataindex url, protocol: ws
#### Kogito Management Console Config
- `kogito.managementconsole.props` - command line properties for the
management console
-#### Kogito Task Console Config
-- `kogito.taskconsole.props` - command line properties for the task console
#### Kogito Job Service Config
- `kogito.jobsservice.props` - command line properties for the job service
\ No newline at end of file
diff --git
a/kogito-quarkus-examples/ocp-tryout/kogito-shared/kogito-configs.yaml
b/kogito-quarkus-examples/ocp-tryout/kogito-shared/kogito-configs.yaml
index fef616fd8..a3841d6cc 100644
--- a/kogito-quarkus-examples/ocp-tryout/kogito-shared/kogito-configs.yaml
+++ b/kogito-quarkus-examples/ocp-tryout/kogito-shared/kogito-configs.yaml
@@ -36,5 +36,4 @@ data:
kogito.dataindex.httpurl.with.graphql:
'http://kogito-data-index-infinispan-${project_name}.${apps_cluster_host}/graphql'
kogito.dataindex.wsurl:
'ws://kogito-data-index-infinispan-${project_name}.${apps_cluster_host}'
kogito.managementconsole.props:
'-Dkogito.svg.folder.path=/home/kogito/data/svg
-Dkogito.consoles.keycloak.config.url=http://keycloak-${project_name}.${apps_cluster_host}/auth/
-Dkogito.consoles.keycloak.config.health-check-url=http://keycloak-${project_name}.${apps_cluster_host}/auth/realms/kogito/.well-known/openid-configuration'
- kogito.taskconsole.props: '-Dkogito.test.user-system.enabled=true
-Dkogito.consoles.keycloak.config.url=http://keycloak-${project_name}.${apps_cluster_host}/auth/
-Dkogito.consoles.keycloak.config.health-check-url=http://keycloak-${project_name}.${apps_cluster_host}/auth/realms/kogito/.well-known/openid-configuration'
kogito.jobsservice.props: '-Dquarkus-profile=events-support
-D%events-support.kafka.bootstrap.servers=kafka.${project_name}.svc.cluster.local:9092
-D%events-support.mp.messaging.outgoing.kogito-job-service-job-status-events.bootstrap.servers=kafka.${project_name}.svc.cluster.local:9092'
\ No newline at end of file
diff --git
a/kogito-quarkus-examples/ocp-tryout/kogito-task-console/deployment-patch.yaml
b/kogito-quarkus-examples/ocp-tryout/kogito-task-console/deployment-patch.yaml
deleted file mode 100644
index f224569cb..000000000
---
a/kogito-quarkus-examples/ocp-tryout/kogito-task-console/deployment-patch.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-spec:
- template:
- spec:
- containers:
- - name: kogito-task-console
- env:
- - name: KOGITO_DATAINDEX_HTTP_URL
- valueFrom:
- configMapKeyRef:
- name: kogito-configs
- key: kogito.dataindex.httpurl.with.graphql
- - name: KOGITO_TASK_CONSOLE_PROPS
- valueFrom:
- configMapKeyRef:
- name: kogito-configs
- key: kogito.taskconsole.props
- resources:
- limits:
- cpu: '1'
- memory: 500Mi
- requests:
- cpu: 10m
- memory: 64Mi
\ No newline at end of file
diff --git
a/kogito-quarkus-examples/ocp-tryout/kogito-task-console/kogito-task-console.sh
b/kogito-quarkus-examples/ocp-tryout/kogito-task-console/kogito-task-console.sh
deleted file mode 100755
index f6d84920b..000000000
---
a/kogito-quarkus-examples/ocp-tryout/kogito-task-console/kogito-task-console.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-
-action=$1
-
-if [ "${action}" == "uninstall" ]; then
- echo "*** uninstalling task console"
- oc delete all,configmap --selector app=kogito-task-console -n
$(getProjectName)
-
-elif [ "${action}" == "install" ]; then
- echo "*** installing task console"
- oc new-app quay.io/kiegroup/kogito-task-console:${KOGITO_VERSION} -n
$(getProjectName) $(dryRun "NewApp")
- waitForPod kogito-task-console
- oc patch deployment kogito-task-console --patch "$(cat
deployment-patch.yaml)" -n $(getProjectName) $(dryRun)
- waitForPod kogito-task-console
- oc expose service/kogito-task-console -n $(getProjectName) $(dryRun)
-else
- echo "*** no such action: $action"
-fi
\ No newline at end of file
diff --git a/kogito-quarkus-examples/ocp-tryout/uninstaller.sh
b/kogito-quarkus-examples/ocp-tryout/uninstaller.sh
index 365a0fc03..7e7b8532c 100755
--- a/kogito-quarkus-examples/ocp-tryout/uninstaller.sh
+++ b/kogito-quarkus-examples/ocp-tryout/uninstaller.sh
@@ -25,7 +25,7 @@ source common-functions.sh
action=uninstall
components=(SHARED_CONFIG INFINISPAN KAFKA KEYCLOAK \
- KOGITO_DATA_INDEX KOGITO_MANAGEMENT_CONSOLE KOGITO_TASK_CONSOLE
KOGITO_JOBS_SERVICE \
+ KOGITO_DATA_INDEX KOGITO_MANAGEMENT_CONSOLE KOGITO_JOBS_SERVICE \
TEST_APP)
# override the installer properties configuration if needed
function overrideEnvVariables(){
@@ -74,7 +74,6 @@ function uninstall(){
componentAction "${KOGITO_DATA_INDEX}" "kogito-data-index" "${dbType}"
componentAction "${KOGITO_MANAGEMENT_CONSOLE}" "kogito-management-console"
- componentAction "${KOGITO_TASK_CONSOLE}" "kogito-task-console"
componentAction "${KOGITO_JOBS_SERVICE}" "kogito-jobs-service" "${dbType}"
componentAction "${INFINISPAN}" "infinispan"
diff --git
a/kogito-quarkus-examples/process-instance-migration-quarkus/README.md
b/kogito-quarkus-examples/process-instance-migration-quarkus/README.md
index 9f12a1b6a..c42e04438 100644
--- a/kogito-quarkus-examples/process-instance-migration-quarkus/README.md
+++ b/kogito-quarkus-examples/process-instance-migration-quarkus/README.md
@@ -96,7 +96,7 @@ The Development Mode will embed all the needed Infrastructure
Services (PostgreS
require any extra step.
The `development` profile includes the **Runtime Tools Quarkus Extension**
that exposes a new section in the **Quarkus Dev-UI**
-unifying the **Management Console** & **Task Console** functionalities.
**Quarkus Dev-UI** is available at http://localhost:8080/q/dev
+with the **Management Console** functionalities. **Quarkus Dev-UI** is
available at http://localhost:8080/q/dev
> **_NOTE:_** For more information about how to work with Kogito Runtime
> Tools Quarkus Extension, please refer to the [Kogito
> Documentation](https://docs.kogito.kie.org/latest/html_single/#con-runtime-tools-dev-ui_kogito-developing-process-services)
> page.
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/README.md
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/README.md
index defb90fcf..1ebac9f34 100644
---
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/README.md
+++
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/README.md
@@ -18,7 +18,6 @@ The required *Kogito and Infrastructure Services* for this
example are:
- Kogito Data Index
- Kogito Jobs Service
- Kogito Management Console
-- Kogito Task Console
- Keycloak
## Running the Quickstart
@@ -63,13 +62,13 @@ You should start all the services before you execute any of
the **Hiring** examp
3. Run the ```startServices.sh``` script
```bash
-sh ./startServices.sh
+./startServices.sh
```
or
```bash
-sh ./startServices.sh postgresql
+./startServices.sh postgresql
```
Once all services bootstrap, the following ports will be assigned on your
local machine:
@@ -79,7 +78,6 @@ Once all services bootstrap, the following ports will be
assigned on your local
- Data Index: 8180
- Jobs Service: 8580
- Management Console: 8280
-- Task Console: 8380
- Keycloak: 8480
- PgAdmin: 8055
@@ -157,7 +155,7 @@ You should start all the services before you execute any of
the **Hiring** examp
3. Run the ```startServices.sh``` script with infinispan argument
```bash
-sh ./startServices.sh infinispan
+./startServices.sh infinispan
```
Once all services bootstrap, the following ports will be assigned on your
local machine:
@@ -167,7 +165,6 @@ Once all services bootstrap, the following ports will be
assigned on your local
- Data Index: 8180
- Jobs Service: 8580
- Management Console: 8280
-- Task Console: 8380
- Keycloak: 8480
> **_NOTE:_** This step requires the project to be compiled, please consider
> running a ```mvn clean install -Pinfinispan``` command on the project root
> before running the ```startServices.sh infinispan``` script for the first
> time or any time you modify the project.
@@ -216,7 +213,7 @@ mvn clean package -Pnative -Pinfinispan
To run the generated native executable, generated in `target/`, execute
```sh
-./target/./target/process-usertasks-timer-quarkus-with-console-runner
+./target/process-usertasks-timer-quarkus-with-console-runner
```
@@ -298,54 +295,6 @@ Job panel shows the job details related to the timer
execution:
<img width=75% src="docs/images/Job_details.png">
</p>
-### Execute IT Interview task at Kogito Task Console
-
-To access the Kogito Task Console just open your browser and navigate to
``http://localhost:8280``. You'll be redirected to the *Keycloak* log in page.
-
-<p align="center">
- <img width=75% src="docs/images/keycloak-login.png">
-</p>
-
-Once there, log in using any of the users specified in the [Using Keycloak as
Authentication Server](#using-keycloak-as-authentication-server)
-
-> **_NOTE:_** For more information about how to work with Kogito Task
Console, please refer to the [Kogito
Documentation](https://docs.jboss.org/kogito/release/latest/html_single/#con-task-console_kogito-developing-process-services)
page.
-
-Access to Task Console again and verify IT Interview is available
-<p align="center">
- <img width=75% src="docs/images/TC_listIT.png">
-</p>
-
-Access to IT Interview task, and complete.
-<p align="center">
- <img width=75% src="docs/images/IT_task.png">
-</p>
-
-After complete the task, check the list of tasks show both completed tasks
-<p align="center">
- <img width=75% src="docs/images/TC_listIT_completed.png">
-</p>
-
-Check the process instance details to verify the instance have been completed
-
-<p align="center">
- <img width=75% src="docs/images/MC_details_3_completed_executed_job.png">
-</p>
-
-Jobs can be accessed in two ways on Management console:
-
-You can navigate to the process details page which has a dedicated panel
showing a list of jobs associated with the process instance.
-
-You can also check the list of all the jobs available by navigating to the
Jobs section.
-
-<p align="center">
- <img width=75% src="docs/images/JobsManagement.png">
-</p>
-
-Let's verify the HR interview has been avoided looking at application logs.
-<p align="center">
- <img width=100% src="docs/images/HR_interview_avoided_logs.png">
-</p>
-
### Submit a new request to start new hiring
In a Terminal you can execute this command to start a **Hiring** process for
the "Jon Snow" candidate:
@@ -361,38 +310,3 @@ curl -H "Content-Type: application/json" -H "Accept:
application/json" -X POST h
}
EOF
```
-
-### Execute HR Interview task before timer expires at Kogito Task Console
-
-Access the Kogito Task Console.
-
-<p align="center">
- <img width=75% src="docs/images/TC_listHR.png">
-</p>
-
-Access to HR Interview task and complete
-
-<p align="center">
- <img width=75% src="docs/images/HR_task.png">
-</p>
-
-Check the process instance details at Kogito Management Console to see the
execution path reflects the completed task
-
-<p align="center">
- <img width=75% src="docs/images/MC_details_4_IT_no_job.png">
-</p>
-
-Verify the job associated is displayed as cancelled regarding the HR Interview
Task has been completed.
-
-Execute IT Interview task as it was described before, and access to the
process instance details and see that it has been completed.
-
-<p align="center">
- <img width=75% src="docs/images/MC_details_5_completed_no_job.png">
-</p>
-
-Finally, verify the HR interview has been completed by looking at application
logs.
-
-<p align="center">
- <img width=100% src="docs/images/HR_interview_completed_logs.png">
-</p>
-
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/README.md
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/README.md
index e27086f90..55c93d3df 100644
---
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/README.md
+++
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/README.md
@@ -7,7 +7,6 @@ To allow a quick setup of all services required to run this
demo, we provide a d
- Kogito Data Index
- Kogito Jobs
- Kogito Management Console
-- Kogito Task Console
- Keycloak
In order to use it, please ensure you have Docker Compose installed on your
machine, otherwise follow the instructions available
@@ -22,7 +21,6 @@ Once all services bootstrap, the following ports will be
assigned on your local
- Data Index: 8180
- Jobs: 8580
- Management Console: 8280
-- Task Console: 8380
- Keycloak: 8480
### Postgresql deployment:
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-infinispan.yml
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-infinispan.yml
index c57fe3f3d..f5faf3ac0 100755
---
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-infinispan.yml
+++
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-infinispan.yml
@@ -138,21 +138,6 @@ services:
volumes:
- ./svg/:/home/kogito/data/svg/
environment:
- KOGITO_DATAINDEX_HTTP_URL:
http://${DOCKER_GATEWAY_HOST:-host.docker.internal}:8180/graphql
+ KOGITO_DATAINDEX_HTTP_URL: http://127.0.0.1:8180/graphql
QUARKUS_HTTP_CORS_ORIGINS: "/.*/"
KOGITO_MANAGEMENT_CONSOLE_PROPS:
-Dkogito.consoles.keycloak.config.url=http://localhost:8480/auth
-Dkogito.consoles.keycloak.config.health-check-url=http://localhost:8480/auth/realms/kogito/.well-known/openid-configuration
-Dkogito.svg.folder.path=/home/kogito/data/svg
-
- task-console:
- container_name: task-console
- image: quay.io/kiegroup/kogito-task-console:${KOGITO_VERSION}
- ports:
- - 8380:8080
- depends_on:
- data-index:
- condition: service_started
- keycloak:
- condition: service_healthy
- environment:
- KOGITO_DATAINDEX_HTTP_URL:
http://${DOCKER_GATEWAY_HOST:-host.docker.internal}:8180/graphql
- QUARKUS_HTTP_CORS_ORIGINS: "/.*/"
- KOGITO_TASK_CONSOLE_PROPS:
-Dkogito.consoles.keycloak.config.url=http://localhost:8480/auth
-Dkogito.consoles.keycloak.config.health-check-url=http://localhost:8480/auth/realms/kogito/.well-known/openid-configuration
\ No newline at end of file
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-postgresql.yml
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-postgresql.yml
index e7055af03..743179f92 100755
---
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-postgresql.yml
+++
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/docker-compose-postgresql.yml
@@ -175,26 +175,9 @@ services:
- ../target/classes/META-INF/processSVG/:/home/kogito/data/svg/
environment:
RUNTIME_TOOLS_MANAGEMENT_CONSOLE_KOGITO_ENV_MODE: "PROD"
- RUNTIME_TOOLS_MANAGEMENT_CONSOLE_DATA_INDEX_ENDPOINT:
http://${DOCKER_GATEWAY_HOST:-host.docker.internal}:8180/graphql
+ RUNTIME_TOOLS_MANAGEMENT_CONSOLE_DATA_INDEX_ENDPOINT:
http://127.0.0.1:8180/graphql
KOGITO_CONSOLES_KEYCLOAK_HEALTH_CHECK_URL:
http://localhost:8480/auth/realms/kogito/.well-known/openid-configuration
KOGITO_CONSOLES_KEYCLOAK_URL: http://localhost:8480/auth
KOGITO_CONSOLES_KEYCLOAK_REALM: kogito
KOGITO_CONSOLES_KEYCLOAK_CLIENT_ID: kogito-console-quarkus
- task-console:
- container_name: task-console
- image: docker.io/apache/incubator-kie-kogito-task-console:${KOGITO_VERSION}
- ports:
- - "8380:8080"
- depends_on:
- data-index:
- condition: service_started
- keycloak:
- condition: service_healthy
- environment:
- RUNTIME_TOOLS_TASK_CONSOLE_KOGITO_ENV_MODE: "PROD"
- RUNTIME_TOOLS_TASK_CONSOLE_DATA_INDEX_ENDPOINT:
http://${DOCKER_GATEWAY_HOST:-host.docker.internal}:8180/graphql
- KOGITO_CONSOLES_KEYCLOAK_HEALTH_CHECK_URL:
http://localhost:8480/auth/realms/kogito/.well-known/openid-configuration
- KOGITO_CONSOLES_KEYCLOAK_URL: http://localhost:8480/auth
- KOGITO_CONSOLES_KEYCLOAK_REALM: kogito
- KOGITO_CONSOLES_KEYCLOAK_CLIENT_ID: kogito-console-quarkus
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/keycloak/kogito-realm.json
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/keycloak/kogito-realm.json
index fd3cdc094..80e06bd07 100644
---
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/keycloak/kogito-realm.json
+++
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docker-compose/keycloak/kogito-realm.json
@@ -816,15 +816,14 @@
},
{
"clientId": "kogito-console-quarkus",
- "rootUrl": "http://localhost:8380",
- "adminUrl": "http://localhost:8380/",
- "baseUrl": "http://localhost:8380/",
+ "rootUrl": "http://localhost:8280",
+ "adminUrl": "http://localhost:8280/",
+ "baseUrl": "http://localhost:8280/",
"surrogateAuthRequired": false,
"enabled": true,
"clientAuthenticatorType": "client-secret",
"secret": "**********",
"redirectUris": [
- "http://localhost:8380/*",
"http://localhost:8280/*"
],
"webOrigins": [
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/HR_interview_avoided_logs.png
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/HR_interview_avoided_logs.png
deleted file mode 100644
index 944f76845..000000000
Binary files
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/HR_interview_avoided_logs.png
and /dev/null differ
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/HR_interview_completed_logs.png
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/HR_interview_completed_logs.png
deleted file mode 100644
index adf43b6fa..000000000
Binary files
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/HR_interview_completed_logs.png
and /dev/null differ
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/HR_task.png
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/HR_task.png
deleted file mode 100644
index 12383edd0..000000000
Binary files
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/HR_task.png
and /dev/null differ
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/IT_task.png
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/IT_task.png
deleted file mode 100644
index 6ce6fc19a..000000000
Binary files
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/IT_task.png
and /dev/null differ
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/JobsManagement.png
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/JobsManagement.png
deleted file mode 100644
index c3f98b3be..000000000
Binary files
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/JobsManagement.png
and /dev/null differ
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/MC_details_3_completed_executed_job.png
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/MC_details_3_completed_executed_job.png
deleted file mode 100644
index ca3202254..000000000
Binary files
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/MC_details_3_completed_executed_job.png
and /dev/null differ
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/MC_details_4_IT_no_job.png
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/MC_details_4_IT_no_job.png
deleted file mode 100644
index c2ebdc419..000000000
Binary files
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/MC_details_4_IT_no_job.png
and /dev/null differ
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/MC_details_5_completed_no_job.png
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/MC_details_5_completed_no_job.png
deleted file mode 100644
index 2998f9772..000000000
Binary files
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/MC_details_5_completed_no_job.png
and /dev/null differ
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/TC_listHR.png
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/TC_listHR.png
deleted file mode 100644
index 21681f7a1..000000000
Binary files
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/TC_listHR.png
and /dev/null differ
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/TC_listIT.png
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/TC_listIT.png
deleted file mode 100644
index 3dfc84b0d..000000000
Binary files
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/TC_listIT.png
and /dev/null differ
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/TC_listIT_completed.png
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/TC_listIT_completed.png
deleted file mode 100644
index 254d408ca..000000000
Binary files
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/TC_listIT_completed.png
and /dev/null differ
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/keycloak-login.png
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/keycloak-login.png
deleted file mode 100644
index 58d85f1f4..000000000
Binary files
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/keycloak-login.png
and /dev/null differ
diff --git
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/services.png
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/services.png
index 1836390ce..ce0c46943 100644
Binary files
a/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/services.png
and
b/kogito-quarkus-examples/process-usertasks-timer-quarkus-with-console/docs/images/services.png
differ
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]