{"id":23974642,"url":"https://github.com/hal/dmr.dart","last_synced_at":"2025-10-14T04:29:38.268Z","repository":{"id":8164015,"uuid":"9585968","full_name":"hal/dmr.dart","owner":"hal","description":"DMR in Dart","archived":false,"fork":false,"pushed_at":"2013-05-11T08:18:08.000Z","size":284,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-05T11:02:08.777Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","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}},"created_at":"2013-04-21T21:23:54.000Z","updated_at":"2014-06-01T01:53:43.000Z","dependencies_parsed_at":"2022-09-23T12:55:00.047Z","dependency_job_id":null,"html_url":"https://github.com/hal/dmr.dart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hal/dmr.dart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Fdmr.dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Fdmr.dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Fdmr.dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Fdmr.dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hal","download_url":"https://codeload.github.com/hal/dmr.dart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Fdmr.dart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017943,"owners_count":26086213,"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-14T02:00:06.444Z","response_time":60,"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":"2025-01-07T05:47:59.461Z","updated_at":"2025-10-14T04:29:38.250Z","avatar_url":"https://github.com/hal.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DMR.dart\n\nClient Dart library to execute operations on the JBoss AS7 DMR API.\nFor an introduction to DMR please refer to the [JBoss Wiki](https://docs.jboss.org/author/display/AS7/Detyped+management+and+the+jboss-dmr+library).\n\n## Usage\nFor a basic example see [`example/dmr_example.dart`](example/dmr_example.dart). To get an idea how the code looks like\nhere's a code snippet to read the version of the loacal server instance:\n\n```javascript\nvar op = new ModelNode();\nop[\"operation\"] = \"read-attribute\";\nop[\"address\"].setEmptyList();\nop[\"name\"] = \"release-version\";\n\nvar version;\nvar dmr = new Dmr(\"http://localhost:9000/management\");\ndmr.send(op)\n  .then((ModelNode node) =\u003e version = node[\"result\"].asString())\n  .catchError((exception) =\u003e print(exception));\n\n```\n\n## Requirements\nFor the example to work, you need a running JBoss AS instance which accepts CORS requests. You can build one \nby cloning the [AS8 CORS branch](https://github.com/hpehl/wildfly/tree/cors). If you have trouble with CORS,\ntake a look at this [blog post](http://hpehl.info/independent-jboss-admin-console.html).\n\n## Known Issues\n- Due to a [bug](https://code.google.com/p/dart/issues/detail?id=3247) in Dart, DMR.dart currently works only in Dartium.\n- Big integer and double values are making problems. This will be addressed once the `fixnum` package is officially available.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhal%2Fdmr.dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhal%2Fdmr.dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhal%2Fdmr.dart/lists"}