wmedvede commented on issue #379:
URL:
https://github.com/apache/incubator-kie-kogito-serverless-operator/issues/379#issuecomment-1919676072
more updates..., so, after pruning images locally, cleaning, and restarting
minikube, these manual steps worked fine.
1) install this platform:
```
apiVersion: sonataflow.org/v1alpha08
kind: SonataFlowPlatform
metadata:
name: sonataflow-platform
spec:
build:
template:
config:
strategyOptions:
KanikoBuildCacheEnabled: "true"
services:
dataIndex:
enabled: true
jobService:
enabled: true
```
2) install the workflow:
```
apiVersion: sonataflow.org/v1alpha08
kind: SonataFlow
metadata:
name: callbackstatetimeouts
annotations:
sonataflow.org/description: Callback State Timeouts Example k8s
sonataflow.org/version: 0.0.1
sonataflow.org/profile: prod
spec:
flow:
start: PrintStartMessage
```
3) ephemeral DI and JS are working ok, positive health checks
4) I was posible to create a WF instance, and this time, jobs are properly
registered in the DI, process definitions and events too, and I can see in the
logs
Installed features: [cache, cdi, jackson-jq,
kogito-addon-events-process-extension,
**kogito-addon-jobs-knative-eventing-extension**,
kogito-addon-knative-eventing-extension, kogito-addon-kubernetes-extension,
kogito-addon-messaging-extension,
kogito-addon-microprofile-config-service-catalog-extension,
kogito-addon-process-management-extension, kogito-addon-source-files-extension,
kogito-addons-quarkus-knative-serving, kogito-serverless-workflow, kubernetes,
kubernetes-client, qute, reactive-routes, rest-client, rest-client-jackson,
resteasy, resteasy-jackson, security, security-properties-file,
smallrye-context-propagation, smallrye-health, smallrye-openapi,
smallrye-reactive-messaging, smallrye-reactive-messaging-http, vertx]
5) WF properties looks like this, which is good, and no jdbc url is
generated, which is ok, since no WF peristence is configured.
{
"application.properties": "kogito.events.usertasks.enabled = false
kogito.service.url = http://callbackstatetimeouts.usecase1
quarkus.http.port = 8080
quarkus.http.host = 0.0.0.0
org.kie.kogito.addons.knative.eventing.health-enabled = false
quarkus.devservices.enabled = false
quarkus.kogito.devservices.enabled = false
kogito.events.processdefinitions.enabled = true
kogito.events.processinstances.enabled = true
mp.messaging.outgoing.kogito-job-service-job-request-events.connector =
quarkus-http
mp.messaging.outgoing.kogito-job-service-job-request-events.url
= http://sonataflow-platform-jobs-service.usecase1/v2/jobs/events
mp.messaging.outgoing.kogito-processdefinitions-events.url =
http://sonataflow-platform-data-index-service.usecase1/definitions
mp.messaging.outgoing.kogito-processinstances-events.url =
http://sonataflow-platform-data-index-service.usecase1/processes
"
}
It looks to be working fine.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]