{"id":21192189,"url":"https://github.com/mu-semtech/microservice-revision-service","last_synced_at":"2026-07-21T17:50:02.394Z","repository":{"id":137013612,"uuid":"202716110","full_name":"mu-semtech/microservice-revision-service","owner":"mu-semtech","description":"Fetches images (revisions) from docker hub for all mu.semte.ch images in the triple store.","archived":false,"fork":false,"pushed_at":"2020-05-06T16:31:53.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-14T21:13:10.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/mu-semtech.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-16T11:30:15.000Z","updated_at":"2020-05-06T16:30:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"b350d745-6e1e-45e9-9843-5150d7f889e5","html_url":"https://github.com/mu-semtech/microservice-revision-service","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mu-semtech/microservice-revision-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mu-semtech%2Fmicroservice-revision-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mu-semtech%2Fmicroservice-revision-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mu-semtech%2Fmicroservice-revision-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mu-semtech%2Fmicroservice-revision-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mu-semtech","download_url":"https://codeload.github.com/mu-semtech/microservice-revision-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mu-semtech%2Fmicroservice-revision-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006455,"owners_count":26084108,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-20T19:07:54.659Z","updated_at":"2025-10-11T06:34:03.273Z","avatar_url":"https://github.com/mu-semtech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microservice Revision Service\nFetches images (revisions) from docker hub for all mu.semte.ch images in the triple store.\n\n## Code Flow\nThis service will\n  1. get all core microservices\n     connect to the triple store and get all mu:Microservice objects\n     that have a dct:title and are ext:isCoreMicroservice.\n  2. get the first 100 revisions for every microservice\n     For this we use a library called docker-hub-api. This library sports\n     a function called tags(user, service, options). This function returns\n     all tags for a given service\n  3. store each found revision in the triple store\n\n## set the revision fetching in motion\nmake a POST call on:\n```\n/update-revisions\n```\n\n## microservice model\nThe microservices are supposed to be stored in the db according to the following resources excerpt. The is-core property is supposed to be true.\n```\n(define-resource microservice ()\n  :class (s-prefix \"mu:Microservice\")\n  :properties `((:title :string ,(s-prefix \"dct:title\"))\n                (:description :string ,(s-prefix \"dct:description\"))\n                (:is-core :boolean ,(s-prefix \"ext:isCoreMicroservice\"))\n                (:repository :url ,(s-prefix \"ext:repository\")))\n  :has-many `((revision :via ,(s-prefix \"ext:hasRevision\")\n                        :as \"revisions\"))\n  :resource-base (s-url \"http://info.mu.semte.ch/microservices/\")\n  :on-path \"microservices\")\n```\n\n## revision model\nAll revisions are stored as:\n```\n(define-resource revision ()\n  :class (s-prefix \"mu:MicroserviceRevision\")\n  :properties `((:image :string ,(s-prefix \"ext:microserviceRevision\"))\n                (:version :string ,(s-prefix \"ext:microserviceVersion\")))\n  :has-one `((microservice :via ,(s-prefix \"ext:hasRevision\")\n                           :inverse t\n                           :as \"microservice\"))\n  :resource-base (s-url \"http://info.mu.semte.ch/microservice-revisions/\")\n  :on-path \"microservice-revisions\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmu-semtech%2Fmicroservice-revision-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmu-semtech%2Fmicroservice-revision-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmu-semtech%2Fmicroservice-revision-service/lists"}