{"id":16144314,"url":"https://github.com/ryanj/openshift-cartridge-hbase-external","last_synced_at":"2025-04-06T20:15:16.281Z","repository":{"id":20916461,"uuid":"24204339","full_name":"ryanj/openshift-cartridge-hbase-external","owner":"ryanj","description":"Show OpenShift Operators how to distribute legacy service configuration strings as a cartridge","archived":false,"fork":false,"pushed_at":"2014-09-18T20:48:24.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"hbase","last_synced_at":"2025-02-13T02:16:22.845Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/ryanj.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}},"created_at":"2014-09-18T20:41:54.000Z","updated_at":"2014-09-18T20:44:31.000Z","dependencies_parsed_at":"2022-08-29T11:00:21.652Z","dependency_job_id":null,"html_url":"https://github.com/ryanj/openshift-cartridge-hbase-external","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/ryanj%2Fopenshift-cartridge-hbase-external","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fopenshift-cartridge-hbase-external/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fopenshift-cartridge-hbase-external/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fopenshift-cartridge-hbase-external/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanj","download_url":"https://codeload.github.com/ryanj/openshift-cartridge-hbase-external/tar.gz/refs/heads/hbase","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247543598,"owners_count":20955865,"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-10T00:12:33.796Z","updated_at":"2025-04-06T20:15:16.253Z","avatar_url":"https://github.com/ryanj.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hbase - external service cartridge\n\nThis OpenShift add-on cartridge is meant to be modified and reused by OpenShift operators in order to provide configuration settings for applications that rely on hbase data services.\n\nInstalling your modified hbase cart in an [OpenShift Enterprise](https://www.openshift.com/products/enterprise) or [OpenShift Origin](https://www.openshift.com/products/origin) deployment can help developers autoconfigure their hosted applications to take advantage of your existing hbase datastores (outside of OpenShift).\n\n## Clone and Modify this cart\nFirst, make a local clone of this repo, and push another clone of the source to a private git repo (hosted inside your firewall).  If you include your hbase configuration strings in your modified cartridge source, then make sure to keep that source somewhere private.  A privately hosted git repo is ideal here, since it can be accessed by your OpenShift deployment.  You could also try modifying the `bin/setup` script in order to pull configurations strings from another location on your private network.\n\nModify the files in `env` so that they include your hbase configuration strings.  Then, update `bin/setup`, and `bin/install` to match your changes.\n\nFinally, update the Env var documentation in `metadata/manifest.yml` before adding and committing your changes.  Push your resulting modifications to your private git hosting solution (not to a public git repo, like GitHub).\n\n## Test your changes\nYou can test your modified cartridge before adding it to the list of available cartridge services.\n\nTry creating the following application using the `rhc` command line tool:\n\n    rhc app create hbasetodo python-2.7 http://yourgitserver.com/username/my-hbase-cart.git --from-code=https://github.com/ryanj/flask-hbase-todos\n\nYou can verify that your configuration strings were successfully published into the system environment by connecting to your application using `ssh`:\n\n    rhc ssh hbasetodo\n    env | grep HBASE\n\n## Cartridge Installation\nTo add your modified cart to your global OpenShift cartridge list, run the following as an OpenShift administrator:\n\n    oo-admin-ctl-cartridge -c import --url https://yourhostedgit.com/username/my-hbase-cart/master/metadata/manifest.yml --activate\n\nThis should allow users of your OpenShift deployment to see your external hbase solution as an available configuration option in the system cartridge listing:\n\n    rhc cartridge list\n\nIt should also allow them to request your hbase application configuration strings as a formal cartridge dependency:\n\n    rhc app create hbasetodo python-2.7 hbase-1.0 --from-code=https://github.com/ryanj/flask-hbase-todos\n\nOpenShift includes additional tools for helping operators remove, unpublish, or upgrade their OpenShift cartridges:\n\n    oo-admin-ctl-cartridge -c delete --ids hbase-1.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Fopenshift-cartridge-hbase-external","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanj%2Fopenshift-cartridge-hbase-external","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Fopenshift-cartridge-hbase-external/lists"}