Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-300

Inject Kafka and Infinispan service endpoints to Kogito Runtime Services

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 0.6.0
    • 0.3.0
    • Image, Operator
    • None
    • 2019 Week 44-46 (from Okt 28), 2019 Week 47-49 (from Nov 18)

      Whenever a new runtime service is deployed with Operator, if it needs Kafka and/or Infinispan, the Operator should inject those endpoints into the environment variables o the runtime.

      Operator will read image labels for hints to deploy Infinispan and/or Kafka for the given service.

      Today we need to set those env vars manually like:

      kogito deploy-service kogito-travel-agency https://github.com/ricardozanini/kogito-travel-agency-tutorial/ --context-dir=04-kogito-travel-agency --image-runtime=openshift/kogito-quarkus-jvm-ubi8:0.4.0-rc1 --image-s2i=openshift/kogito-quarkus-ubi8-s2i:0.4.0-rc1 -p kogito-owner -e QUARKUS_INFINISPAN_CLIENT_SERVER_LIST=infinispan-server:11222 -e MP_MESSAGING_OUTGOING_VISAAPPLICATIONS_BOOTSTRAP_SERVERS=my-cluster-kafka-bootstrap:9092 -e MP_MESSAGING_OUTGOING_KOGITO_PROCESSINSTANCES_EVENTS_BOOTSTRAP_SERVERS=my-cluster-kafka-bootstrap:9092
      

              rhn-support-zanini Ricardo Zanini
              rhn-support-zanini Ricardo Zanini
              Tristan Radisson Tristan Radisson
              Tristan Radisson Tristan Radisson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: