{"id":26483525,"url":"https://github.com/faucetsdn/udmi_site_model","last_synced_at":"2025-10-09T10:33:48.971Z","repository":{"id":39111901,"uuid":"288329462","full_name":"faucetsdn/udmi_site_model","owner":"faucetsdn","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-28T16:20:06.000Z","size":56,"stargazers_count":8,"open_issues_count":0,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-28T18:26:53.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/faucetsdn.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,"zenodo":null}},"created_at":"2020-08-18T01:57:21.000Z","updated_at":"2025-07-28T16:19:46.000Z","dependencies_parsed_at":"2023-02-18T18:05:15.706Z","dependency_job_id":"46f1ace9-3e05-444f-becc-a2ed6cad6d5a","html_url":"https://github.com/faucetsdn/udmi_site_model","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/faucetsdn/udmi_site_model","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faucetsdn%2Fudmi_site_model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faucetsdn%2Fudmi_site_model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faucetsdn%2Fudmi_site_model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faucetsdn%2Fudmi_site_model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faucetsdn","download_url":"https://codeload.github.com/faucetsdn/udmi_site_model/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faucetsdn%2Fudmi_site_model/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001267,"owners_count":26083040,"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-09T02:00:07.460Z","response_time":59,"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-03-20T04:55:49.232Z","updated_at":"2025-10-09T10:33:48.955Z","avatar_url":"https://github.com/faucetsdn.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# UDMI Site Model\n\nThis repo provides a sample/template\n[UDMI site model](https://github.com/faucetsdn/udmi/blob/master/docs/specs/site_model.md).\nIt is used by the UDMI CI suite, and can also be used a base template for creating\na new site model.\n\nTop level structure:\n\n* `cloud_iot_config.json`:\n* `devices/`: Devices for this site, or devices under test\n* `expected/`: Expected sequencer outputs for CI automation runs\n* `README.md`: This file\n* `reflector/`: Configuration used for reflector (MQTT) access to a hosted UDMIS install\n* `site_metadata.json`: Default metadata applied to _all_ devices\n* `.gitignore`: Standard git housekeeping\n* `.github/workflows/testing.yml`: GitHub Actions CI automation workflow\n\n## CI Automation\n\n_Note that a variable is considered **empty** if it is not defined at all in GitHub Actions, while a variable\ndefined as a space is considered **blank**. This is important for enabling some of the\noptional steps below. GitHub Actions will not allow you to define an empty varaible. The term 'not-empty' used\nbelow means that it is defined in GitHub Actions, but may be defined as blank whitespace._\n\nGitHub Actiona Variables _or Secret as indicated_: (listed in order of use, optional unless indicated otherwise)\n* `UDMI_REPO` (required): Git repo to clone for UDMI tooling, typically `https://github.com/grafnu/udmi.git`\n* `UDMI_VERSION` (required): Version to use from indicated repo, either tagged (`1.4.1`) or a branch (`master`)\n* `PROJECT_ID` (required): Project hosting UDMIS install to use, with provider prefix, e.g. `//clearblade/udmi-external`\n* `SITE_MODEL` (required): Location of the UDMI site model (where the `cloud_iot_config.json` file is) relative to the git root,\n   e.g. `.` for the root directory (like the `udmi_site_model` example), or maybe `udmi` if it's in a subdirectory\n* `REFLECTOR_PKCS8_B64` (secret): Base-64 encoded private key for the UDMI-Reflect registry. Encoded with something like\n  `$ base64 reflector/rsa_private.pkcs8`. If not-empty, the key will need to be present in the repo itself (not as secure).\n* `UPDATE_OPTS`: If not-empty, this will trigger an automatic update of the UDMIS install in the target project.\n  Currently the contents of this variable are not used.\n* `KEYGEN_DEVICE`: If not-empty, the system will dynamically generate a new key for the indicated device. If\n  site registration is enabled, this key will be used instead of whatever might be in the repo. This isn't necessarily the\n  same as `DEVICE_NAME` since the key might be associated with a gateway rather than the device-under-test itself.\n* `SITE_OPTS`: If not-empty, the system will run the `registrar` tool on the site, registering all the devices\n  in the site model. The `SITE_OPTS` value itself is passed direct to the registrar tool, so can be used for any specific\n  customizations (or it can be blank with no effect). If site-opts is empty, then ie system will register just the device\n  indicated by `DEVICE_NAME`.\n* `DEVICE_NAME`: Specific individual device to use for single-device registration, sequence testing, and optional pubber\n  invocation.\n* `PUBBER_OPTS`: If not-empty, will trigger pubber for virual testing (or leave empty for no pubber invocation). If not-empty,\n  it will be passed as an argument to the pubber tool to specify any requistie options.\n* `DEVICE_SERIAL`: The serial number to use for the device-under-test (argument to pubber and sequencer tool).\n* `PUBBER_PKCS8_B64` (secret): Base-64 encoded private key for pubber to use, in case it needs to match a private key for an\n  actual device. Alternatively, the `KEYGEN_DEVICE` field above can be used to dynamically generate a key.\n* `VALIDATOR_OPTS`: If not-empty, will trigger a udmi validator run on the model. The value will be passed as command line\n  arguments to the validator tool.\n* `VALIDATOR_TIMEOUT`: The time dureation for running the validator tool (e.g. `20m`). This will default to `10m` if not not-empty.\n* `SEQUENCER_OPTS`: If not-empty, will trigger a sequencer run test on the `DEVICE_NAME` device. The value itself will be passed\n  as a command-line argument to the sequencer tool.\n* `SEQUENCER_TESTS`: A list of specific tests to run for sequencer, passed as a command-line argument to the tool.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaucetsdn%2Fudmi_site_model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaucetsdn%2Fudmi_site_model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaucetsdn%2Fudmi_site_model/lists"}