{"id":19969110,"url":"https://github.com/pwright/genial-behavior","last_synced_at":"2026-06-09T12:31:15.091Z","repository":{"id":103346344,"uuid":"186420961","full_name":"pwright/genial-behavior","owner":"pwright","description":"Generated by Red Hat Developer Launch (https://launcher-launcher.apps.lrossett-3c59.openshiftworkshop.com)","archived":false,"fork":false,"pushed_at":"2019-05-13T13:09:28.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T17:48:36.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pwright.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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":"2019-05-13T13:03:47.000Z","updated_at":"2019-05-13T13:09:30.000Z","dependencies_parsed_at":"2023-07-07T19:01:16.439Z","dependency_job_id":null,"html_url":"https://github.com/pwright/genial-behavior","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pwright/genial-behavior","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwright%2Fgenial-behavior","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwright%2Fgenial-behavior/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwright%2Fgenial-behavior/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwright%2Fgenial-behavior/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pwright","download_url":"https://codeload.github.com/pwright/genial-behavior/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pwright%2Fgenial-behavior/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34107865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-13T02:48:43.923Z","updated_at":"2026-06-09T12:31:15.083Z","avatar_url":"https://github.com/pwright.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":":launchURL: https://developers.redhat.com/launch\n\n= Fuse Aggregation\n\n\nThe booster demonstrates how to aggregate JSON data from 2 services using Camel. \n\nUse this booster to:\n\n* Execute an HTTP GET request on the `camel/flights` endpoint to retrieve a list of flights (arrivals and departures). Arrivals and Departures are aggregated from 2 separate services. See `CamelRouter.java` for how these 2 services are aggregated.\nThese services are configured to be local service beans by default. However, you can change the camel routing to fetch data from 2 mock servers (included in this booster).\n\n* Browse the API's Swagger page.\n                \n== Deployment options\n\nYou can run this booster in the following modes:\n\n* Single-node OpenShift cluster\n* OpenShift Online at link:{launchURL}[]\n* Standalone on your machine\n\nThe most effective way to use this booster is to deploy and run the project on OpenShift.\n\nFor more details about running this booster on a single-node OpenShift cluster, CI/CD deployments, as well as the rest of the runtime, see the link:http://appdev.openshift.io/docs/spring-boot-runtime.html[Spring Boot Runtime Guide].\n\nIMPORTANT: This booster requires Java 8 JDK or later and Maven 3.3.x or later.\n\n\n== Running the booster on a single-node OpenShift cluster\n\nA single-node OpenShift cluster provides you with access to a cloud environment that is similar to a production environment.\n\nIf you have a single-node OpenShift cluster, such as Minishift or the Red Hat Container Development Kit, link:http://appdev.openshift.io/docs/minishift-installation.html[installed and running], you can deploy your booster there.\n\nTo deploy this booster to a running single-node OpenShift cluster:\n\n. Download the project and extract the archive on your local filesystem.\n\n. Log in to your OpenShift cluster:\n+\n[source,bash,options=\"nowrap\",subs=\"attributes+\"]\n----\n$ oc login -u developer -p developer\n----\n\n. Create a new OpenShift project for the booster:\n+\n[source,bash,options=\"nowrap\",subs=\"attributes+\"]\n----\n$ oc new-project MY_PROJECT_NAME\n----\n\n. Change the directory to the folder that contains the extracted booster application (for example, `my_openshift/fuse-rest-http-booster`) :\n+\n[source,bash,options=\"nowrap\",subs=\"attributes+\"]\n----\n$ cd my_openshift/fuse-rest-http-booster\n----\n\n. Build and deploy the project to the OpenShift cluster:\n+\n[source,bash,options=\"nowrap\",subs=\"attributes+\"]\n----\n$ mvn clean -DskipTests fabric8:deploy -Popenshift\n----\n\n. In your browser, navigate to the `MY_PROJECT_NAME` project in the OpenShift console.\nWait until you can see that the pod for the `fuse-rest-http-booster` application has started up.\n\n. On the project's `Overview` page, locate the URL for the `fuse-flights-aggregator` application. The URL uses this form:\n`http://fuse-flights-aggregator-MY_PROJECT_NAME.OPENSHIFT_IP_ADDR.nip.io`.\n\n. Click the URL to access the Flights Service and then follow the instructions on that page.\n\n== Running the booster on OpenShift Online\n\nTo deploy this booster directly to OpenShift Online when you create the project at link:{launchURL}[].\n\n. Go to link:{launchURL}[].\n. At the *Deployment step*, select *Use OpenShift Online*.\n. Follow the on-screen instructions to create a new *REST API Level 0* project by using the *Fuse* runtime.\n\nNOTE: As part of the process of creating this booster, link:{launchURL}[] sets up a project with a CI/CD deployment of this booster. You can see the status of this deployment in your single-node OpenShift cluster or OpenShift Online web console.\n\n== Running the booster standalone on your machine\n\nTo run this booster as a standalone project on your local machine:\n\n. Download the project and extract the archive on your local filesystem.\n\n. Build the project:\n+\n[source,bash,options=\"nowrap\",subs=\"attributes+\"]\n----\n$ cd PROJECT_DIR\n$ mvn clean package\n----\n. Run the services:\n+\n[source,bash,options=\"nowrap\",subs=\"attributes+\"]\n----\n$ mvn spring-boot:run\n----\n. Go to link:http://localhost:8080[] and then follow the instructions on that page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwright%2Fgenial-behavior","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpwright%2Fgenial-behavior","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpwright%2Fgenial-behavior/lists"}