{"id":23974646,"url":"https://github.com/hal/dmr.cmd","last_synced_at":"2025-02-24T16:37:47.682Z","repository":{"id":69084732,"uuid":"44746138","full_name":"hal/dmr.cmd","owner":"hal","description":"Small DMR related command line tool","archived":false,"fork":false,"pushed_at":"2023-04-23T12:04:48.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-07T05:48:43.887Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hal.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":"2015-10-22T13:17:02.000Z","updated_at":"2023-04-23T12:04:20.000Z","dependencies_parsed_at":"2025-01-07T05:48:10.568Z","dependency_job_id":"1893dd11-bac4-4c69-86d6-ab6a5450b065","html_url":"https://github.com/hal/dmr.cmd","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/hal%2Fdmr.cmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Fdmr.cmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Fdmr.cmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Fdmr.cmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hal","download_url":"https://codeload.github.com/hal/dmr.cmd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240515584,"owners_count":19813875,"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":"2025-01-07T05:48:00.590Z","updated_at":"2025-02-24T16:37:47.674Z","avatar_url":"https://github.com/hal.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DMR Command Line Tool\n\nSmall DMR related tool which reads a DMR encoded file from stdin and prints the base64 encoded version to stdout. Used by HAL to consume arbitrary resource descriptions. Since the DMR parsing is not available in HAL (due to GWT restrictions) only base64 encoded resource descriptions can be used.\n \nSay you have a file `endpoint.dmr`\n\n```\n{\n    \"description\" =\u003e \"A definition of a management endpoint.\",\n    \"attributes\" =\u003e {\n        \"name\" =\u003e {\n            \"type\" =\u003e STRING,\n            \"description\" =\u003e \"The name of the management endpoint\",\n            \"nillable\" =\u003e false\n        },\n        \"scheme\" =\u003e {\n            \"type\" =\u003e STRING,\n            \"description\" =\u003e \"The scheme of management endpoint. Allowed values are \\\"http\\\" and \\\"https\\\".\",\n            \"nillable\" =\u003e false,\n            \"allowed\" =\u003e [\n                \"http\",\n                \"https\"\n            ]\n        },\n        \"host-name\" =\u003e {\n            \"type\" =\u003e STRING,\n            \"description\" =\u003e \"The hostname of the management endpoint\",\n            \"nillable\" =\u003e false\n        },\n        \"port\" =\u003e {\n            \"type\" =\u003e INT,\n            \"description\" =\u003e \"The port of the management endpoint. Leave empty for the default ports.\",\n            \"nillable\" =\u003e true,\n            \"min\" =\u003e 1L,\n            \"max\" =\u003e 65535L\n        }\n    }\n}\n```\n\nyou can save the base64 encoded version by running\n\n```bash\njava -jar target/dmr-cmd-0.0.1.jar \u003c endpoint.dmr \u003e endpoint.base64 \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhal%2Fdmr.cmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhal%2Fdmr.cmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhal%2Fdmr.cmd/lists"}