{"id":22741822,"url":"https://github.com/http-apis/hydra-cloud-scale","last_synced_at":"2026-01-08T12:04:38.684Z","repository":{"id":78271919,"uuid":"222716102","full_name":"HTTP-APIs/hydra-cloud-scale","owner":"HTTP-APIs","description":"hydus and hydra-agent as a cloud system","archived":false,"fork":false,"pushed_at":"2020-09-30T16:03:35.000Z","size":4,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-29T12:34:05.442Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/HTTP-APIs.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}},"created_at":"2019-11-19T14:33:00.000Z","updated_at":"2020-09-30T16:03:38.000Z","dependencies_parsed_at":"2023-03-08T06:30:27.146Z","dependency_job_id":null,"html_url":"https://github.com/HTTP-APIs/hydra-cloud-scale","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"449470752880fd8c39a8ef79f3439ed009b570c7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTTP-APIs%2Fhydra-cloud-scale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTTP-APIs%2Fhydra-cloud-scale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTTP-APIs%2Fhydra-cloud-scale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTTP-APIs%2Fhydra-cloud-scale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HTTP-APIs","download_url":"https://codeload.github.com/HTTP-APIs/hydra-cloud-scale/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246273552,"owners_count":20750906,"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-12-11T00:18:04.201Z","updated_at":"2026-01-08T12:04:38.611Z","avatar_url":"https://github.com/HTTP-APIs.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# hydra-cloud-scale\n\n## Blueprint\nAs APIs developers may want to deploy a Hydra-based servers/agents system on the cloud, it is provided here a tool to easily structure the content of Hydra specification documentation (`ApiDoc`) as a distributed cluster using a Docker stack.\n\nBriefly, it should be possible to create a cluster from any compliant `ApiDoc` and deploy a docker container for each `HydraClass` in the document, so to create a \"microservices-like\" environment on which to plug a compliant agent (like `hydra-python-agent`). The agent would act as the tool to query the relationships among classes at scale. One agent, many hydrus servers that represent the data model; to query this distributed model, every agent connected stores the graph and runs query on its graph store.\n\nPractically:\n* the `ApiDoc` is destructured into its `HydraClass`es and for each of them a hydrus instance is spawned\n* every authorised agent (`hydra-python-agent`) can connect to the cluster, build its own data graph and run queries and receive data updates.\n\n## Local test implementation\n\nProposed implementation is to use Apache OpenWhisk. OpenWhisk is a portable serverless framework that works on top of popular technologies like Docker (i.e. Docker-On-Docker) and Kubernetes.\n\n### Prerequisites\n* install Docker and latest stable version of GoLang\n* install [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-binary-with-curl-on-linux)\n* install `kind` (GoLang library, only used for local development) following [these instructions](https://kind.sigs.k8s.io/docs/user/quick-start/#installation)\n* install [OpenWhisk wsk CLI](https://github.com/apache/openwhisk-cli#compile-the-binary-using-your-local-go-environment)\n* install [OpenWhisk wskdeploy](https://openwhisk.apache.org/documentation.html#wskdeploy)\n\n### Create a local environment\n\n* Follow [this instructions](https://github.com/apache/openwhisk-deploy-kube/blob/master/docs/k8s-kind.md#deploying-openwhisk-on-kind) to create a local cluster\n* Deploy [local cluster with Helm](https://github.com/apache/openwhisk-deploy-kube#deploy-with-helm). Need to clone `openwhisk-deploy-kube` repository locally\n* try: `wsk -i property get` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp-apis%2Fhydra-cloud-scale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhttp-apis%2Fhydra-cloud-scale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp-apis%2Fhydra-cloud-scale/lists"}