{"id":21030697,"url":"https://github.com/cdancy/gradle-etcd-rest-plugin","last_synced_at":"2026-04-21T08:38:09.439Z","repository":{"id":144340234,"uuid":"52522898","full_name":"cdancy/gradle-etcd-rest-plugin","owner":"cdancy","description":"Gradle plugin for interacting with Etcd's REST API","archived":false,"fork":false,"pushed_at":"2016-12-07T17:29:30.000Z","size":148,"stargazers_count":2,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-29T02:17:29.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Groovy","has_issues":true,"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/cdancy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","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":"2016-02-25T12:29:40.000Z","updated_at":"2020-08-18T20:58:48.000Z","dependencies_parsed_at":"2023-07-30T05:45:37.274Z","dependency_job_id":null,"html_url":"https://github.com/cdancy/gradle-etcd-rest-plugin","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cdancy/gradle-etcd-rest-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdancy%2Fgradle-etcd-rest-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdancy%2Fgradle-etcd-rest-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdancy%2Fgradle-etcd-rest-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdancy%2Fgradle-etcd-rest-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdancy","download_url":"https://codeload.github.com/cdancy/gradle-etcd-rest-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdancy%2Fgradle-etcd-rest-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32084419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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-19T12:19:51.121Z","updated_at":"2026-04-21T08:38:09.408Z","avatar_url":"https://github.com/cdancy.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![Build Status](https://travis-ci.org/cdancy/gradle-etcd-rest-plugin.svg?branch=master)](https://travis-ci.org/cdancy/gradle-etcd-rest-plugin)\n# gradle-etcd-rest-plugin\n![alt tag](https://github.com/cdancy/etcd/blob/master/logos/etcd-horizontal-color.png)\n\nGradle plugin for interacting with Etcd's REST API.\n\n## Setup\n\n```\nbuildscript() {\n \trepositories {\n \t\tjcenter()\n \t}\n \tdependencies {\n \t\tclasspath group: 'com.cdancy', name: 'gradle-etcd-rest-plugin', version: '0.0.3', changing: true\n \t}\n }\n\n apply plugin: 'gradle-etcd-rest-plugin'\n ```\n \n## Documentation\n\ngroovydocs can be found via [github pages here](http://cdancy.github.io/gradle-etcd-rest-plugin/docs/groovydoc/)\n\n## Tasks\n\n| Name | Description |\n| --- | --- |\n| [Version](https://github.com/cdancy/gradle-etcd-rest-plugin/blob/master/src/main/groovy/com/cdancy/gradle/etcd/rest/tasks/miscellaneous/Version.groovy) | Get the version of etcd |\n| [Health](https://github.com/cdancy/gradle-etcd-rest-plugin/blob/master/src/main/groovy/com/cdancy/gradle/etcd/rest/tasks/miscellaneous/Health.groovy) | Get the health of the cluster |\n| [Metrics](https://github.com/cdancy/gradle-etcd-rest-plugin/blob/master/src/main/groovy/com/cdancy/gradle/etcd/rest/tasks/miscellaneous/Metrics.groovy) | Get the metrics of the cluster |\n| [Leader](https://github.com/cdancy/gradle-etcd-rest-plugin/blob/master/src/main/groovy/com/cdancy/gradle/etcd/rest/tasks/statistics/Leader.groovy) | Get the current leader of cluster |\n| [Self](https://github.com/cdancy/gradle-etcd-rest-plugin/blob/master/src/main/groovy/com/cdancy/gradle/etcd/rest/tasks/statistics/Self.groovy) | Get the self instance of cluster |\n| [Store](https://github.com/cdancy/gradle-etcd-rest-plugin/blob/master/src/main/groovy/com/cdancy/gradle/etcd/rest/tasks/statistics/Store.groovy) | Get the store (statistics) for cluster |\n| [List](https://github.com/cdancy/gradle-etcd-rest-plugin/blob/master/src/main/groovy/com/cdancy/gradle/etcd/rest/tasks/members/List.groovy) | List of members in cluster |\n| [SetKey](https://github.com/cdancy/gradle-etcd-rest-plugin/blob/master/src/main/groovy/com/cdancy/gradle/etcd/rest/tasks/keys/SetKey.groovy) | Set key in cluster |\n| [GetKey](https://github.com/cdancy/gradle-etcd-rest-plugin/blob/master/src/main/groovy/com/cdancy/gradle/etcd/rest/tasks/keys/GetKey.groovy) | Get key in cluster |\n| [DeleteKey](https://github.com/cdancy/gradle-etcd-rest-plugin/blob/master/src/main/groovy/com/cdancy/gradle/etcd/rest/tasks/keys/DeleteKey.groovy) | Delete key in cluster |\n\n## Extension\n\nThe `etcdRest` extension is provided to define the `url` and `credentials` for connecting to an Etcd instance.\nUsing the extension, and subsequently exposing this potentially private information, is required only if one does NOT want to use the various means of setting the aforementioned properties noted in the `Credentials` section below.\n\n```\n etcdRest {\n \turl { \"http://127.0.0.1:2379\" } // Optional and defaults to http://127.0.0.1:2379\n \tcredentials { \"admin:password\" } // Optional and defaults to null\n }\n```\n\n## On Url and Credentials\n\nBecause this plugin builds on top of [etcd-rest](https://github.com/cdancy/etcd-rest) library one can supply\nthe [url and credentials](https://github.com/cdancy/etcd-rest#credentials) in any form this library accepts. Furthermore,\n[etcd-rest](https://github.com/cdancy/etcd-rest#property-based-setup) allows the `url` and `credentials`\nto be optionally supplied through properties or environment variables. This gives great flexibility in the way the user\nwants to define and/or hide their url or credentials assuming one does not want to use the `etcdRest` extension.\n\n## Examples\n\nThe [functional](https://github.com/cdancy/gradle-etcd-rest-plugin/tree/master/src/functTest/groovy/com/cdancy/gradle/etcd/rest) tests provide many examples that you can use in your own code.\n\n## Components\n\n- etcd-rest \\- java library used to interact with etcd program\n\n## Testing\n\t\nRunning functional tests against an existing etcd program can be done like so:\n\n\t./gradlew functionalTest -PetcdUrl=http://127.0.0.1:2379\n\t\nRunning functional tests with docker can be done like so:\n\n\t./gradlew functionalTest -PbootstrapDocker=true\n\t\n## Contributing\nIf you're looking for a new feature, or are interested in contributing, we'd love to review your PR. If you don't have a new feature in mind, and are more interested in just hacking on the project, feel free to reach out for suggestions.\n\t\n## Additional Resources\n\n* [Etcd REST API](https://github.com/coreos/etcd/blob/master/Documentation/v2/api.md)\n* [etcd-rest](https://github.com/cdancy/etcd-rest)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdancy%2Fgradle-etcd-rest-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdancy%2Fgradle-etcd-rest-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdancy%2Fgradle-etcd-rest-plugin/lists"}