{"id":20173248,"url":"https://github.com/teedjay/quarkus-kogito","last_synced_at":"2026-04-13T02:48:41.991Z","repository":{"id":73156919,"uuid":"262104415","full_name":"teedjay/quarkus-kogito","owner":"teedjay","description":"Testing the Kogito BPMN extension","archived":false,"fork":false,"pushed_at":"2020-05-08T19:11:19.000Z","size":208,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-13T15:53:15.189Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teedjay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-07T16:37:37.000Z","updated_at":"2020-05-08T19:11:22.000Z","dependencies_parsed_at":"2023-09-19T06:01:32.450Z","dependency_job_id":null,"html_url":"https://github.com/teedjay/quarkus-kogito","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teedjay%2Fquarkus-kogito","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teedjay%2Fquarkus-kogito/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teedjay%2Fquarkus-kogito/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teedjay%2Fquarkus-kogito/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teedjay","download_url":"https://codeload.github.com/teedjay/quarkus-kogito/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241610978,"owners_count":19990505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T01:34:30.250Z","updated_at":"2026-04-13T02:48:36.967Z","avatar_url":"https://github.com/teedjay.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quarkus-kogito\nTesting a simple process flow using Kogito and Quarkus.\n\nThe input is a Person object (just name and age).  This input is processed by a service task that just does `Logging` to console before a decision is made.\n\nIf `age \u003c 10` a `Kid` flow is used otherwise the default is `Adult` flow, see diagram below.\n\n![Flow Diagram](doc/flow.png)\n\n`Adult` flow uses a script task to log `\"This is an adult\"` to the console.\n\nThe `Kid` flow will first call a `Kid` script task to write `\"This is a kid\"` to the console.\nThen a service task `GrowUp` will automatically add one year to to the current age before it\ngoes to a manual task for `Manual Approval`.\n\nThe approval task needs a reason (just a text) before the flow will continue with\nthe `Finished` script task that just logs `\"Approved, kid has grown up.\"` to the console.\n\n## Running the application in dev mode\nYou can run your application in dev mode that enables live coding using:\n```\n./mvnw quarkus:dev\n```\n\n## Deploy directly to OpenShift\n```\noc login --token=\u003cyourtoken\u003e --server=\u003copenshiftserver\u003e\nmvn clean package -Dquarkus.kubernetes.deploy=true\n```\n\n## Test the application\nTrigger a new flow using [swagger-ui](http://localhost:8080/swagger-ui/) or this curl\n```\ncurl -X POST \"http://localhost:8080/onboarding\" \\\n-H \"accept: application/json\" \\\n-H \"Content-Type: application/json\" \\\n-d \"{\\\"person\\\":{\\\"age\\\":7,\\\"name\\\":\\\"Kid Kidson\\\"}}\"\n```\n\nThen do any manual approvals in the included [approval web ui](http://localhost:8080) (or manually using swagger-ui).\n```\nhttp://localhost:8080/\n```\n\n## Starting VSCode to support the Kogito Editor (if it doesn't work out of the box)\nIf you have installed the Kogito Editor plugin in VSCode, it might not initialize correctly when opening BPMN files.\n\nA trick is start VSCode with the following options.\n```\ncode --args --enable-proposed-api kiegroup.vscode-extension-pack-kogito-kie-editors\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteedjay%2Fquarkus-kogito","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteedjay%2Fquarkus-kogito","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteedjay%2Fquarkus-kogito/lists"}