{"id":37029701,"url":"https://github.com/cerner/marathon-client","last_synced_at":"2026-01-14T03:35:09.334Z","repository":{"id":57728760,"uuid":"91341513","full_name":"cerner/marathon-client","owner":"cerner","description":"Java API client for Mesosphere's Marathon.","archived":true,"fork":true,"pushed_at":"2020-03-19T15:36:07.000Z","size":263,"stargazers_count":1,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-13T05:58:15.213Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mohitsoni/marathon-client","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cerner.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":"2017-05-15T13:32:37.000Z","updated_at":"2024-02-26T13:43:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cerner/marathon-client","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/cerner/marathon-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerner%2Fmarathon-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerner%2Fmarathon-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerner%2Fmarathon-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerner%2Fmarathon-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cerner","download_url":"https://codeload.github.com/cerner/marathon-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cerner%2Fmarathon-client/sbom","scorecard":{"id":271297,"data":{"date":"2025-08-11","repo":{"name":"github.com/cerner/marathon-client","commit":"6fb7eab74e06b5ad0204fdec24bc6d6f8bf072e0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"15 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-4jrv-ppp4-jm57","Warn: Project is vulnerable to: GHSA-5mg8-w23w-74h3","Warn: Project is vulnerable to: GHSA-7g45-4rm6-3mm3","Warn: Project is vulnerable to: GHSA-mvr2-9pj6-7w5j","Warn: Project is vulnerable to: GHSA-2qp9-wg27-9pcv","Warn: Project is vulnerable to: GHSA-f6vf-pq8c-69m4","Warn: Project is vulnerable to: GHSA-gvpg-vgmx-xg6w","Warn: Project is vulnerable to: GHSA-jfmq-4g4m-99rh","Warn: Project is vulnerable to: GHSA-pfv2-37f7-9m6w","Warn: Project is vulnerable to: GHSA-xwmg-2g98-w7v9","Warn: Project is vulnerable to: GHSA-78wr-2p64-hpwj","Warn: Project is vulnerable to: GHSA-gwrp-pvrq-jmwv","Warn: Project is vulnerable to: GHSA-493p-pfq6-5258","Warn: Project is vulnerable to: GHSA-fg2v-w576-w4v3","Warn: Project is vulnerable to: GHSA-v528-7hrm-frqp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T13:26:26.180Z","repository_id":57728760,"created_at":"2025-08-17T13:26:26.180Z","updated_at":"2025-08-17T13:26:26.180Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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":"2026-01-14T03:35:08.544Z","updated_at":"2026-01-14T03:35:09.325Z","avatar_url":"https://github.com/cerner.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# marathon-client\n\nThis project is a Java library for communicating with Marathon API. At this point this library supports version v2 of Marathon API, please refer to the [docs](https://mesosphere.github.io/marathon/docs/rest-api.html) for more details.\n\n## Using marathon-client in your maven project\n\nAdd marathon-client as a dependency:\n\nFor Marathon v1.x:\n\n```\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.mesosphere\u003c/groupId\u003e\n  \u003cartifactId\u003emarathon-client\u003c/artifactId\u003e\n  \u003cversion\u003e0.6.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nFor Marathon v0.x:\n\n```\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.mesosphere\u003c/groupId\u003e\n  \u003cartifactId\u003emarathon-client\u003c/artifactId\u003e\n  \u003cversion\u003e0.2.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\n\n### Initialization\n\nThe following piece of code initializes the client. ```MarathonClient.getInstance()``` method expects the endpoint for marathon:\n\n```\nString endpoint = \"\u003cMarathon's endpoint\u003e\";\nMarathon marathon = MarathonClient.getInstance(endpoint);\n```\n\n### Getting all applications\n\nThe following will return all the applications that have been created:\n\n```\nGetAppsResponse appsResponse = marathon.getApps();\n```\n\n### Create a new application\n\nThe following example demonstrates how a new application can be created:\n```\nApp app = new App();\napp.setId(\"echohisleepbye-app\");\napp.setCmd(\"echo hi; sleep 10; echo bye;\");\napp.setCpus(1.0);\napp.setMem(16.0);\napp.setInstances(1);\nmarathon.createApp(app);\n```\n\n### Get details about an existing application\n\nThe following example, demostrates how to get details about an already created application:\n\n```\nGetAppResponse appGet = marathon.getApp(\"echohisleepbye-app\");\n```\n\n### Delete an application\n\nThe following example demostrate, how one can delete an existing application:\n```\nmarathon.deleteApp(\"echohisleepbye-app\");\n```\n\n## Building\n\nThis project is built using [Apache Maven](http://maven.apache.org/).\n\nRun the following command from the root of repository, to build the client JAR:\n\n```\n$ mvn clean install\n```\n\n## Debugging / Logging\n\nFeign is used as the underlying REST library.  Sometimes it is useful to see the low level JSON and responses.   It is possible to setup debug without directed to stdout or to a log file.\nThis is simplified by set the environment variable `DEBUG_JSON_OUTPUT` to either a file name `debug.log` or to `System.out`.\n\n\n## Bugs\n\nBugs can be reported using Github issues.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcerner%2Fmarathon-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcerner%2Fmarathon-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcerner%2Fmarathon-client/lists"}