{"id":22688576,"url":"https://github.com/javanile/ipqueue","last_synced_at":"2025-03-29T16:14:31.451Z","repository":{"id":89152541,"uuid":"158704688","full_name":"javanile/ipqueue","owner":"javanile","description":"Service discovery over HTTP API","archived":false,"fork":false,"pushed_at":"2021-04-01T16:23:22.000Z","size":177,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T16:50:37.048Z","etag":null,"topics":["curl","http-api","scripting","service-discovery","service-discovery-patterns"],"latest_commit_sha":null,"homepage":"https://www.ipqueue.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/javanile.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-22T13:38:44.000Z","updated_at":"2019-02-08T15:14:29.000Z","dependencies_parsed_at":"2023-06-14T04:27:31.338Z","dependency_job_id":null,"html_url":"https://github.com/javanile/ipqueue","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/javanile%2Fipqueue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fipqueue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fipqueue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javanile%2Fipqueue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javanile","download_url":"https://codeload.github.com/javanile/ipqueue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246207509,"owners_count":20740723,"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":["curl","http-api","scripting","service-discovery","service-discovery-patterns"],"created_at":"2024-12-10T00:15:00.798Z","updated_at":"2025-03-29T16:14:31.422Z","avatar_url":"https://github.com/javanile.png","language":"PHP","readme":"# ipqueue\n\n[![StyleCI](https://github.styleci.io/repos/158704688/shield?branch=master)](https://github.styleci.io/repos/158704688)\n[![Build Status](https://travis-ci.org/javanile/ipqueue.svg?branch=master)](https://travis-ci.org/javanile/ipqueue)\n[![codecov](https://codecov.io/gh/javanile/ipqueue/branch/master/graph/badge.svg)](https://codecov.io/gh/javanile/ipqueue)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/00bc294fe3ae4bca8c74d6d6530f3d54)](https://app.codacy.com/app/francescobianco/ipqueue?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=javanile/ipqueue\u0026utm_campaign=Badge_Grade_Dashboard)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nEnable your project to use a service discovery. With IpQueue you can create scripts for service registration and service information retrieval in a smart way without pain. IpQueue uses a simple HTTP API layer easily integrable on every environment, you can use a cURL syntax to interact with Docker, Kubernates, Jenkins, Travis CI, etc...\n\n## Get started\n\n**Register your service** *(call from service machine or container)*\n```bash\n$ curl -LXPOST \u003cservice\u003e.ipqueue.com\n```\n\n**Retrieve information of service** *(call from dependants system)*\n```bash\n$ curl -sL \u003cservice\u003e.ipqueue.com\n```\n\n`\u003cservices\u003e` examples: \n  - *acme-crm-mysql*, \n  - *com-mycorp-nginx*, \n  - *org-care-apache*, \n  - etc...\n\n\nUpdate Documentation\n\ndocker-compose up docs\n\n## HTTP Methods\n\n| Method    | Function                             |\n| --------- | ------------------------------------ |\n| `GET`     | Retrieve information about a service |\n| `HEAD`    | _Not used_                           |\n| `POST`    | Register service instance            |\n| `PUT`     | Store service variables and protect  |\n| `DELETE`  | Delete service of remove protection  |\n| `CONNECT` | _Not used_                           |\n| `OPTIONS` | _Not used_                           |\n| `TRACE`   | _Not used_                           |\n\n## HTTP Headers\n\n| Header    | Function                 |\n| --------- | ------------------------ |\n| `ENV`     | Set specific environment |\n| `PKG`     | Set specific package     |\n| `JWT`     | Set authorization token  |\n\n\n\n##\n\ngenerate secret private key ()\n```bash\n$ openssl genrsa -out service-secret.pem 2048\n```\n\ngenerate public key to send it on ipqueue ()\n```bash\n$ openssl rsa -in service-secret.pem -pubout -out service-public.pem\n```\n\nsend public key to ipqueue (now service is protectect)\n```bash\n$ curl -LXPUT -d@service-public.pem service.ipqueue.com \n```\n\n\n\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavanile%2Fipqueue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavanile%2Fipqueue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavanile%2Fipqueue/lists"}