{"id":15928254,"url":"https://github.com/mrizzi/sample-analytics-integration","last_synced_at":"2026-06-12T01:31:26.946Z","repository":{"id":105112666,"uuid":"186017353","full_name":"mrizzi/sample-analytics-integration","owner":"mrizzi","description":null,"archived":false,"fork":false,"pushed_at":"2019-05-22T17:24:00.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-04T23:40:48.838Z","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":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrizzi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-05-10T16:05:25.000Z","updated_at":"2019-05-14T16:10:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ca9eafe-9917-40a5-8dda-669c835a4a15","html_url":"https://github.com/mrizzi/sample-analytics-integration","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/mrizzi%2Fsample-analytics-integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrizzi%2Fsample-analytics-integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrizzi%2Fsample-analytics-integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrizzi%2Fsample-analytics-integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrizzi","download_url":"https://codeload.github.com/mrizzi/sample-analytics-integration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240306401,"owners_count":19780613,"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-10-06T23:22:18.001Z","updated_at":"2026-06-12T01:31:26.788Z","avatar_url":"https://github.com/mrizzi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Fuse (on Spring Boot) to create a prototype to integrate JPA (with external DB), JMA (AMQ Broker), Drools (remote invocation), Rest APIs, Swagger.\n# Installation\n\n## OKD\n1. install [OKD](https://www.okd.io/) **3.11** following [these instructions](https://github.com/openshift/origin/blob/v3.11.0/docs/cluster_up_down.md)\n1. `oc cluster up`\n1. `oc login -u system:admin`\n1. `oc project openshift`\n\n## Red Hat Registry Service Account\n1. Set up and download an Openshift registry service account following the instructions from https://access.redhat.com/RegistryAuthentication#registry-service-accounts-for-shared-environments-4\n1. `oc create -f \u003csecret\u003e.yaml` (`\u003csecret\u003e` is the name of the downloaded Openshift registry service account)\n1. `oc secrets link default \u003csecret\u003e --for=pull`\n1. `oc secrets link builder \u003csecret\u003e --for=pull`\n\n## Red Hat Decision Manager\nInstructions from https://access.redhat.com/documentation/en-us/red_hat_decision_manager/7.3/html-single/deploying_a_red_hat_decision_manager_authoring_or_managed_server_environment_on_red_hat_openshift_container_platform/index#dm-openshift-prepare-con\n1. Download from https://access.redhat.com/jbossnetwork/restricted/listSoftware.html?downloadType=distributions\u0026product=rhdm\u0026productChanged=yes and unzip\n1. `oc create -f ./Downloads/rhdm-7.3-openshift-templates/rhdm73-image-streams.yaml`\n1. `oc import-image rhdm73-decisioncentral-openshift:1.0`\n1. `oc import-image rhdm73-kieserver-openshift:1.0`\n\n## Red Hat AMQ Broker\nInstructions from https://access.redhat.com/documentation/en-us/red_hat_amq/7.3/html-single/deploying_amq_broker_on_openshift_container_platform/index#installing-broker-ocp_broker-ocp\n1. `oc replace --force  -f https://raw.githubusercontent.com/jboss-container-images/jboss-amq-7-broker-openshift-image/73-7.3.0.GA/amq-broker-7-image-streams.yaml`\n1. `oc import-image amq-broker-7/amq-broker-73-openshift --from=registry.redhat.io/amq-broker-7/amq-broker-73-openshift --confirm`\n1. `for template in amq-broker-73-basic.yaml amq-broker-73-ssl.yaml amq-broker-73-custom.yaml amq-broker-73-persistence.yaml amq-broker-73-persistence-ssl.yaml amq-broker-73-persistence-clustered.yaml amq-broker-73-persistence-clustered-ssl.yaml;  do  oc replace --force -f https://raw.githubusercontent.com/jboss-container-images/jboss-amq-7-broker-openshift-image/73-7.3.0.GA/templates/${template};  done`\n\n## Red Hat Fuse\nInstructions from https://access.redhat.com/documentation/en-us/red_hat_fuse/7.3/html-single/fuse_on_openshift_guide/index#get-started-admin-install\n1. `BASEURL=https://raw.githubusercontent.com/jboss-fuse/application-templates/application-templates-2.1.fuse-730065-redhat-00002`\n1. `oc create -n openshift -f ${BASEURL}/fis-image-streams.json`\n1. `for template in eap-camel-amq-template.json  eap-camel-cdi-template.json  eap-camel-cxf-jaxrs-template.json  eap-camel-cxf-jaxws-template.json  eap-camel-jpa-template.json  karaf-camel-amq-template.json  karaf-camel-log-template.json  karaf-camel-rest-sql-template.json  karaf-cxf-rest-template.json  spring-boot-camel-amq-template.json  spring-boot-camel-config-template.json  spring-boot-camel-drools-template.json  spring-boot-camel-infinispan-template.json  spring-boot-camel-rest-sql-template.json  spring-boot-camel-teiid-template.json  spring-boot-camel-template.json  spring-boot-camel-xa-template.json  spring-boot-camel-xml-template.json  spring-boot-cxf-jaxrs-template.json  spring-boot-cxf-jaxws-template.json ;  do  oc create -n openshift -f  https://raw.githubusercontent.com/jboss-fuse/application-templates/application-templates-2.1.fuse-730065-redhat-00002/quickstarts/${template};  done`\n\n# Deployment\n\n## OCP templates\n1. `oc login -u developer`\n1. `oc new-project migration-analytics`\n1. `oc create -f \u003csecret\u003e.yaml`\n1. `oc secrets link default \u003csecret\u003e --for=pull`\n1. `oc secrets link builder \u003csecret\u003e --for=pull`\n1. `for template in eap7-app-secret.json mysql-secret.json analytics_template.json;  do  oc process -f https://raw.githubusercontent.com/mrizzi/sample-analytics-integration/master/src/main/resources/okd/${template}| oc create -f -;  done`\n\n## Decision Manager\n1. go to Application -\u003e Routes page and click on the URL in the `Hostname` column beside the `myapp-rhdmcentr` service\n1. login with `adminUser`-`password`\n1. click on `Design` link\n1. click on `Import Project` button\n1. in the `Repository URL` field paste `https://github.com/mrizzi/sample-analytics.git`\n1. select `sample-analytics` box and click the `OK` button on the upper right side\n1. once the import has finished, click the `Build \u0026 Install` button from the upper right `Build` menu\n1. once the build has been successfully done, click on the `Deploy` button\n\n# Manage\n\n## MySql\n1. from pod's `Terminal` tab execute `mysql --user userAJL --password sampledb` (pwd: `oRk1CWV21JttTtxP`) \n1. `select * from report_data_model;`\n## AMQ Broker\nAMQ Web Console\n## Camel routes\n\n# Undeploy\n1. `oc delete all,pvc -l application=migration-analytics -n migration-analytics`\n\n# References\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrizzi%2Fsample-analytics-integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrizzi%2Fsample-analytics-integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrizzi%2Fsample-analytics-integration/lists"}