{"id":20263642,"url":"https://github.com/springerpe/cf-apps-to-uptime","last_synced_at":"2026-06-07T17:32:53.975Z","repository":{"id":27480669,"uuid":"30960511","full_name":"SpringerPE/cf-apps-to-uptime","owner":"SpringerPE","description":"Puts application that have a route that matches a regex into uptime. ","archived":false,"fork":false,"pushed_at":"2022-10-07T11:10:21.000Z","size":33,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T04:44:38.128Z","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/SpringerPE.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":"2015-02-18T10:11:19.000Z","updated_at":"2018-01-30T13:20:16.000Z","dependencies_parsed_at":"2022-09-02T09:00:15.985Z","dependency_job_id":null,"html_url":"https://github.com/SpringerPE/cf-apps-to-uptime","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/SpringerPE%2Fcf-apps-to-uptime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringerPE%2Fcf-apps-to-uptime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringerPE%2Fcf-apps-to-uptime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringerPE%2Fcf-apps-to-uptime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpringerPE","download_url":"https://codeload.github.com/SpringerPE/cf-apps-to-uptime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241731744,"owners_count":20010781,"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-11-14T11:35:48.330Z","updated_at":"2026-06-07T17:32:53.938Z","avatar_url":"https://github.com/SpringerPE.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"This util updates uptime based on a regex pattern for routes of applications.\n\n1. First, it queries the cf-light-api and filter outs applications that has a route that matches a regex(specified in manifest, if nothing is specified /.*/ will be used)\n2. Secondly, if specified in the manifest it goes to the meta-path of each application to fetch metadata for the application.\n   Metadata might be a email address to alert if an event is triggered or other paths we want to monitor.\n3. It queries the uptime api to get all the checks we already have in place.\n4. It creates a datastrucure of new checks to add, checks to change and checks to delete\n5. It iterates over 4 and carries out the actions.\n\n\nThere is a assumption made that the app exposes a metadata endpoint.\n\nThe schema is currently:\n\n```\n\t{\n    \"alerting\": { (optional)\n\t\t\"emails\": [\"email@domain.com\", \"email2@domain.com\"] (optional)\n\t},\n    \"monitoring\": { (optional)\n        \"interval\": 60, (optional)\n        \"threshold\": 3, (optional)\n    }\n}\n```\n\n## Setting up your env\nEasy peasy\n\n\trvm use 2.0.0@cf-apps-to-uptime --create\n\tbundle install\n\n## Running the tests\n\n\trspec tests\n\n## Getting this into CF\n\n\tmv example-manifest.yml manifest.yml\n\temacs manifest.yml\n\tcf push\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringerpe%2Fcf-apps-to-uptime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringerpe%2Fcf-apps-to-uptime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringerpe%2Fcf-apps-to-uptime/lists"}