{"id":18637377,"url":"https://github.com/openshift/openshift-java-client","last_synced_at":"2026-03-10T13:04:51.414Z","repository":{"id":1773398,"uuid":"2694845","full_name":"openshift/openshift-java-client","owner":"openshift","description":"Java Client for the OpenShift REST API","archived":false,"fork":false,"pushed_at":"2016-10-21T14:19:48.000Z","size":5791,"stargazers_count":65,"open_issues_count":0,"forks_count":66,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-10-09T00:14:12.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openshift.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}},"created_at":"2011-11-02T12:43:53.000Z","updated_at":"2025-09-17T13:16:16.000Z","dependencies_parsed_at":"2022-08-25T23:30:51.136Z","dependency_job_id":null,"html_url":"https://github.com/openshift/openshift-java-client","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/openshift/openshift-java-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openshift%2Fopenshift-java-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openshift%2Fopenshift-java-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openshift%2Fopenshift-java-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openshift%2Fopenshift-java-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openshift","download_url":"https://codeload.github.com/openshift/openshift-java-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openshift%2Fopenshift-java-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30334412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T12:41:07.687Z","status":"ssl_error","status_checked_at":"2026-03-10T12:41:06.728Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-07T05:35:35.717Z","updated_at":"2026-03-10T13:04:51.397Z","avatar_url":"https://github.com/openshift.png","language":"Java","readme":"OpenShift Java Client [![Build Status](https://travis-ci.org/openshift/openshift-java-client.svg)](https://travis-ci.org/openshift/openshift-java-client)  [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.openshift/openshift-java-client/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.openshift/openshift-java-client)\n===========================\n\nJava client for the OpenShift REST API.  It pretty much offers all features that are currently available in the rhc-* command line tools \n(create/rename a domain, create/destroy applications, list applications, list available cartridges, add cartridges, etc.). \n\nOnly for Version 2\n----------------\n\nThis client is used by JBoss Tools for OpenShift 2.x.\n\nFor later OpenShift versions see https://github.com/openshift/openshift-restclient-java/.\n\nUsage\n-----\nAn exemplary usage of the client may look like the following:\n\n\t\tIOpenShiftConnection connection = \n\t\t\t\tnew OpenShiftConnectionFactory().getConnection(\"myApplicationId\", \"user\", \"password\");\n\t\tIUser user = connection.getUser();\n\t\tIDomain domain = user.createDomain(\"myDomain\");\n\t\tIApplication as7Application = domain.createApplication(\"myApplication\", LatestVersionOf.jbossAs().get(user));\n\t\tIEmbeddedCartridge mySqlCartridge = as7Application.addEmbeddableCartridge(LatestVersionOf.mySQL().get(user));\n\t\tString unstructuredCredentials = mySqlCartridge.getCreationLog();\n\t\tString mySqlConnectionUrl = mySqlCartridge.getUrl();\n\nThere are also 2 blog posts on jboss.org which discuss the API in more details:\n\n* [show-domain-info: openshift-java-client in a nutshell](http://planet.jboss.org/post/show_domain_info_openshift_java_client_in_a_nutshell)\n* [enable-openshift-ci: full example using openshift-java-client](https://community.jboss.org/wiki/Enable-openshift-ciFullExampleUsingOpenshift-java-client)\n\nMost insightful are the integration tests within the library which pretty much use the API in all details:\n\n* ApplicationResourceIntegrationTest\n* DomainResourceIntegrationTest\n* EmbeddedCartridgeResourceIntegrationTest\n* etc. \n\nDownload\n--------\nYou may either build from source using maven (mvn clean package) or get the prebuilt artifact from the maven central.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenshift%2Fopenshift-java-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenshift%2Fopenshift-java-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenshift%2Fopenshift-java-client/lists"}