{"id":16068040,"url":"https://github.com/ged/arborist-webservice","last_synced_at":"2025-04-05T10:14:07.417Z","repository":{"id":65987984,"uuid":"115745081","full_name":"ged/arborist-webservice","owner":"ged","description":"Git mirror of mercurial repo","archived":false,"fork":false,"pushed_at":"2018-09-04T21:01:50.000Z","size":82,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T20:56:51.280Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/ged.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"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":"2017-12-29T18:28:56.000Z","updated_at":"2021-11-28T23:39:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"60a8fafd-941f-4d3a-909b-204401d7316c","html_url":"https://github.com/ged/arborist-webservice","commit_stats":{"total_commits":24,"total_committers":3,"mean_commits":8.0,"dds":"0.33333333333333337","last_synced_commit":"14f84f5665f21e7c70f82783ff15358119cd2d22"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ged%2Farborist-webservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ged%2Farborist-webservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ged%2Farborist-webservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ged%2Farborist-webservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ged","download_url":"https://codeload.github.com/ged/arborist-webservice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318746,"owners_count":20919483,"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-09T06:08:08.951Z","updated_at":"2025-04-05T10:14:07.395Z","avatar_url":"https://github.com/ged.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arborist-Webservices\n\nhome\n: http://bitbucket.org/ged/Arborist-Webservice\n\ngithub\n: https://github.com/ged/arborist-webservice\n\ndocs\n: http://deveiate.org/code/arborist-webservice\n\n\n## Description\n\nThis is a collection of webservice monitoring tools for the Arborist monitoring toolkit (http://arbori.st/).\n\nIt can be used to describe and monitor HTTP services in more detail than a simple port check.\n\n\n### Examples\n\nWebservice nodes, like `service` nodes, are specified under a `host` node, which should be a single\ninstance of physical hardware that is hosting the service.\n\nThe simplest example is an unauthenticated REST service running on port 80:\n\n    Arborist::Host 'example-webserver' do\n        address 'ws01-01.example.com'\n        webservice 'api-v1', 'http://api.example.com/v1/heartbeat'\n    end\n\nThis adds a `webservice` child node to the containing host with an identifier of\n`example-webserver-api-vi`.\n\nThe simplest monitor setup to monitor that service might look something like:\n\n    # -*- ruby -*-\n    #encoding: utf-8\n    \n    require 'arborist/monitor/webservice'\n    Arborist::Monitor::Webservice::HTTP.default\n\nThis would check that an HEAD HTTP request to `http://api.example.com/v1/heartbeat` responds with a 2xx status code.\n\n\n## Prerequisites\n\n* Ruby\n\n\n## Installation\n\n    $ gem install arborist-webservice\n\n\n## Contributing\n\nYou can check out the current development source with Mercurial via its\n{project page}[http://bitbucket.org/ged/arborist-webservice]. Or if you prefer Git, via \n{its Github mirror}[https://github.com/ged/arborist-webservice].\n\nAfter checking out the source, run:\n\n    $ rake newb\n\nThis task will install any missing dependencies, run the tests/specs,\nand generate the API documentation.\n\n\n## License\n\nCopyright (c) 2016-2018, Michael Granger\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice,\n  this list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the author/s, nor the names of the project's\n  contributors may be used to endorse or promote products derived from this\n  software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fged%2Farborist-webservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fged%2Farborist-webservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fged%2Farborist-webservice/lists"}