Skip to content

Commit

Permalink
kie-issues#1198: Copy the Compact Architecture Example in kie-tools (
Browse files Browse the repository at this point in the history
…apache#2391)

Co-authored-by: Tiago Bento <[email protected]>
  • Loading branch information
pefernan and tiagobento authored Jun 3, 2024
1 parent c9fd45e commit 6a7933c
Show file tree
Hide file tree
Showing 67 changed files with 4,448 additions and 178 deletions.
20 changes: 10 additions & 10 deletions .ci/jenkins/Jenkinsfile.daily-dev-publish
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ pipeline {
DEV_DEPLOYMENT_BASE_IMAGE__registry = 'docker.io'
DEV_DEPLOYMENT_BASE_IMAGE__account = 'apache'
DEV_DEPLOYMENT_BASE_IMAGE__name = 'incubator-kie-sandbox-dev-deployment-base'
DEV_DEPLOYMENT_BASE_IMAGE__buildTags = 'daily-dev'
DEV_DEPLOYMENT_BASE_IMAGE__buildTag = 'daily-dev'

DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__registry = 'docker.io'
DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__account = 'apache'
DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__name = 'incubator-dev-deployment-kogito-quarkus-blank-app'
DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__buildTags = 'daily-dev'
DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__buildTag = 'daily-dev'

DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__registry = 'docker.io'
DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__account = 'apache'
DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__name = 'incubator-dev-deployment-dmn-form-webapp'
DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__buildTags = 'daily-dev'
DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__buildTag = 'daily-dev'

ONLINE_EDITOR__devDeploymentBaseImageRegistry = 'docker.io'
ONLINE_EDITOR__devDeploymentBaseImageAccount = 'apache'
Expand Down Expand Up @@ -119,12 +119,12 @@ pipeline {
KOGITO_TASK_CONSOLE__registry = 'docker.io'
KOGITO_TASK_CONSOLE__account = 'apache'
KOGITO_TASK_CONSOLE__name = 'incubator-kie-kogito-task-console'
KOGITO_TASK_CONSOLE__buildTags = 'daily-dev'
KOGITO_TASK_CONSOLE__buildTag = 'daily-dev'

KOGITO_MANAGEMENT_CONSOLE__registry = 'docker.io'
KOGITO_MANAGEMENT_CONSOLE__account = 'apache'
KOGITO_MANAGEMENT_CONSOLE__name = 'incubator-kie-kogito-management-console'
KOGITO_MANAGEMENT_CONSOLE__buildTags = 'daily-dev'
KOGITO_MANAGEMENT_CONSOLE__buildTag = 'daily-dev'

SONATAFLOW_BUILDER_IMAGE__registry = 'docker.io'
SONATAFLOW_BUILDER_IMAGE__account = 'apache'
Expand Down Expand Up @@ -279,7 +279,7 @@ pipeline {
dockerUtils.pushImageToRegistry(
"${env.DEV_DEPLOYMENT_BASE_IMAGE__registry}/${env.DEV_DEPLOYMENT_BASE_IMAGE__account}",
"${env.DEV_DEPLOYMENT_BASE_IMAGE__name}",
"${env.DEV_DEPLOYMENT_BASE_IMAGE__buildTags}",
"${env.DEV_DEPLOYMENT_BASE_IMAGE__buildTag}",
"${pipelineVars.dockerHubApacheKiePushCredentialsId}"
)
}
Expand All @@ -292,7 +292,7 @@ pipeline {
dockerUtils.pushImageToRegistry(
"${env.DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__registry}/${env.DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__account}",
"${env.DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__name}",
"${env.DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__buildTags}",
"${env.DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__buildTag}",
"${pipelineVars.dockerHubApacheKiePushCredentialsId}"
)
}
Expand All @@ -305,7 +305,7 @@ pipeline {
dockerUtils.pushImageToRegistry(
"${env.DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__registry}/${env.DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__account}",
"${env.DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__name}",
"${env.DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__buildTags}",
"${env.DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__buildTag}",
"${pipelineVars.dockerHubApacheKiePushCredentialsId}"
)
}
Expand Down Expand Up @@ -471,7 +471,7 @@ pipeline {
dockerUtils.pushImageToRegistry(
"${env.KOGITO_TASK_CONSOLE__registry}/${env.KOGITO_TASK_CONSOLE__account}",
"${env.KOGITO_TASK_CONSOLE__name}",
"${env.KOGITO_TASK_CONSOLE__buildTags}",
"${env.KOGITO_TASK_CONSOLE__buildTag}",
"${pipelineVars.dockerHubApacheKiePushCredentialsId}"
)
}
Expand All @@ -484,7 +484,7 @@ pipeline {
dockerUtils.pushImageToRegistry(
"${env.KOGITO_MANAGEMENT_CONSOLE__registry}/${env.KOGITO_MANAGEMENT_CONSOLE__account}",
"${env.KOGITO_MANAGEMENT_CONSOLE__name}",
"${env.KOGITO_MANAGEMENT_CONSOLE__buildTags}",
"${env.KOGITO_MANAGEMENT_CONSOLE__buildTag}",
"${pipelineVars.dockerHubApacheKiePushCredentialsId}"
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pipeline {
DEV_DEPLOYMENT_BASE_IMAGE__registry = 'docker.io'
DEV_DEPLOYMENT_BASE_IMAGE__account = 'apache'
DEV_DEPLOYMENT_BASE_IMAGE__name = 'incubator-kie-sandbox-dev-deployment-base'
DEV_DEPLOYMENT_BASE_IMAGE__buildTags = "latest ${params.RELEASE_VERSION}"
DEV_DEPLOYMENT_BASE_IMAGE__buildTag = "latest ${params.RELEASE_VERSION}"

RELEASE_ARTIFACTS_DIR = "${WORKSPACE}/release-artifacts"

Expand Down Expand Up @@ -142,7 +142,7 @@ pipeline {
dockerUtils.pushImageToRegistry(
"${env.DEV_DEPLOYMENT_BASE_IMAGE__registry}/${env.DEV_DEPLOYMENT_BASE_IMAGE__account}",
"${env.DEV_DEPLOYMENT_BASE_IMAGE__name}",
"${env.DEV_DEPLOYMENT_BASE_IMAGE__buildTags}",
"${env.DEV_DEPLOYMENT_BASE_IMAGE__buildTag}",
"${pipelineVars.dockerHubApacheKiePushCredentialsId}"
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pipeline {
DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__registry = 'docker.io'
DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__account = 'apache'
DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__name = 'incubator-dev-deployment-dmn-form-webapp'
DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__buildTags = "latest ${params.RELEASE_VERSION}"
DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__buildTag = "latest ${params.RELEASE_VERSION}"

RELEASE_ARTIFACTS_DIR = "${WORKSPACE}/release-artifacts"

Expand Down Expand Up @@ -142,7 +142,7 @@ pipeline {
dockerUtils.pushImageToRegistry(
"${env.DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__registry}/${env.DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__account}",
"${env.DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__name}",
"${env.DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__buildTags}",
"${env.DEV_DEPLOYMENT_DMN_FORM_WEBAPP_IMAGE__buildTag}",
"${pipelineVars.dockerHubApacheKiePushCredentialsId}"
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pipeline {
DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__registry = 'docker.io'
DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__account = 'apache'
DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__name = 'incubator-dev-deployment-kogito-quarkus-blank-app'
DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__buildTags = "latest ${params.RELEASE_VERSION}"
DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__buildTag = "latest ${params.RELEASE_VERSION}"

RELEASE_ARTIFACTS_DIR = "${WORKSPACE}/release-artifacts"

Expand Down Expand Up @@ -142,7 +142,7 @@ pipeline {
dockerUtils.pushImageToRegistry(
"${env.DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__registry}/${env.DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__account}",
"${env.DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__name}",
"${env.DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__buildTags}",
"${env.DEV_DEPLOYMENT_KOGITO_QUARKUS_BLANK_APP_IMAGE__buildTag}",
"${pipelineVars.dockerHubApacheKiePushCredentialsId}"
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pipeline {
KOGITO_MANAGEMENT_CONSOLE__registry = 'docker.io'
KOGITO_MANAGEMENT_CONSOLE__account = 'apache'
KOGITO_MANAGEMENT_CONSOLE__name = 'incubator-kie-kogito-management-console'
KOGITO_MANAGEMENT_CONSOLE__buildTags = "latest ${params.RELEASE_VERSION}"
KOGITO_MANAGEMENT_CONSOLE__buildTag = "latest ${params.RELEASE_VERSION}"

RELEASE_ARTIFACTS_DIR = "${WORKSPACE}/release-artifacts"

Expand Down Expand Up @@ -142,7 +142,7 @@ pipeline {
dockerUtils.pushImageToRegistry(
"${env.KOGITO_MANAGEMENT_CONSOLE__registry}/${env.KOGITO_MANAGEMENT_CONSOLE__account}",
"${env.KOGITO_MANAGEMENT_CONSOLE__name}",
"${env.KOGITO_MANAGEMENT_CONSOLE__buildTags}",
"${env.KOGITO_MANAGEMENT_CONSOLE__buildTag}",
"${pipelineVars.dockerHubApacheKiePushCredentialsId}"
)
}
Expand Down
4 changes: 2 additions & 2 deletions .ci/jenkins/release-jobs/Jenkinsfile.kogito-task-console
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pipeline {
KOGITO_TASK_CONSOLE__registry = 'docker.io'
KOGITO_TASK_CONSOLE__account = 'apache'
KOGITO_TASK_CONSOLE__name = 'incubator-kie-kogito-task-console'
KOGITO_TASK_CONSOLE__buildTags = "latest ${params.RELEASE_VERSION}"
KOGITO_TASK_CONSOLE__buildTag = "latest ${params.RELEASE_VERSION}"

RELEASE_ARTIFACTS_DIR = "${WORKSPACE}/release-artifacts"

Expand Down Expand Up @@ -142,7 +142,7 @@ pipeline {
dockerUtils.pushImageToRegistry(
"${env.KOGITO_TASK_CONSOLE__registry}/${env.KOGITO_TASK_CONSOLE__account}",
"${env.KOGITO_TASK_CONSOLE__name}",
"${env.KOGITO_TASK_CONSOLE__buildTags}",
"${env.KOGITO_TASK_CONSOLE__buildTag}",
"${pipelineVars.dockerHubApacheKiePushCredentialsId}"
)
}
Expand Down
14 changes: 13 additions & 1 deletion examples/drools-process-usertasks-quarkus-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@
<artifactId>drools-process-usertasks-quarkus-example</artifactId>
<name>Kie-Tools Example :: Process with Usertasks Quarkus</name>
<description>Kogito user tasks orchestration - Quarkus</description>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-quarkus-devui-bom</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
Expand All @@ -48,7 +61,6 @@
<dependency>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-quarkus-devui</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
Loading

0 comments on commit 6a7933c

Please sign in to comment.