RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
After boot-up you need to manually configure ASMS and the version+platform of your host:
Code Block | ||
---|---|---|
| ||
{
"app-catalog-cloud": {
"url": "http://rdkm-asms-external-1156877020.eu-central-1.elb.amazonaws.com:8080/apps",
"firmwareVersions": [
{
"platform": "rpi4",
"ver": "1.0.0-e71889dc02521bfdc2f9f38f750b34224184c375-dbg"
}
]
}
} |
For RPI3 you need a different platform and ver:
Code Block | ||
---|---|---|
| ||
{
"app-catalog-cloud": {
"url": "http://rdkm-asms-external-1156877020.eu-central-1.elb.amazonaws.com:8080/apps",
"firmwareVersions": [
{
"platform": "rpi3",
"ver": "1.0.0-f4b0603d7d93dfa10ed932ddb0f324d334bc40f9-dbg"
}
]
}
} |
The "ver" value can change sometimes when new features are added to DAC or when big platform changes happen. You can find the latest values in the dactest.py tool, also for other platforms.
If you don't want to test or publish your own DAC app then you can skip this step and trie the already published demo apps in the next section. There are two ways to publish an app in ASMS:
If you don't want to test or publish your own DAC app then you can skip this step and try the already published demo apps in the next section. There are two ways to publish an app in ASMS:
But before publishing the app into But before publishing the app into ASMS you first need to publish your DAC app's OCI image into a container registry that supports OCI compliant format.
...
You have to remember the OCI image URL, which in this example is docker://public.ecr.aws/a0v6o9z7/cobalt:latest. You will need it when publishing the DAC app to ASMS.
Among other things, dactest.py can be used list ASMS apps, add entries and remove entries.
To add an entry to ASMS, i.e. to publish a DAC app you can follow these steps:
This is the more difficult and manual way to add DAC apps. You can access the swagger UI here: http://rdkm-asms-external-1156877020.eu-central-1.elb.amazonaws.com:8080/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config
You can use the POST /maintainers/{maintainerCode/apps RPC call to add an ASMS dac app. dactest.py uses "rdk" as maintainerCode. You will need to provide a POST body with the required contents.
Example POST body. Additionally you can check how dactest.py is doing it.
.
You can access the swagger UI here: http://rdkm-asms-external-1156877020.eu-central-1.elb.amazonaws.com:8080/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config
You can use the POST /maintainers/{maintainerCode/apps RPC call to add an ASMS dac app. dactest.py uses "rdk" as maintainerCode. You will need to provide a POST body with the required contents.
Example POST body. Additionally you can check how dactest.py is doing it.
Code Block | ||
---|---|---|
| ||
{
"header": {
"icon": "https://280222515084-default-apps-resources.s3.eu-central-1.amazonaws.com/images/apps/com.rdk.app.chocolate-doom.png",
"name": "Chocolate Doom",
"description": "Chocolate Doom aims to accurately reproduce the original DOS version of Doom and other games based on the Doom engine in a form that can be run on modern computers.",
"type": "application/dac.native",
"size": 10000000,
"category": "application",
"localization": [
{
"languageCode": "nld",
| ||
Code Block | ||
| ||
{ "header": { "icon": "https://280222515084-default-apps-resources.s3.eu-central-1.amazonaws.com/images/apps/com.rdk.app.chocolate-doom.png", "name": "ChocolateGeweldige Doomapplicatie", "description": "ChocolateDit Doomis aimseen to accurately reproduce the original DOS version of Doom and other games based on the Doom engine in a form that can be run on modern computers.geweldige applicatie" } ], "id": "com.rdk.app.chocolate-doom", "version": "1.0.0", "typevisible": true, "application/dac.native"encryption": false, "sizepreferred": 10000000false, "categoryociImageUrl": "application",docker://public.ecr.aws/a0v6o9z7/chocolate-doom:latest" }, "localizationrequirements": [{ {"dependencies": [ "languageCode": "nld",{ "nameid": "Geweldige applicatiecom.libertyglobal.service.voice", "descriptionversion": "Dit is een geweldige applicatie1.0.0" } ], "platform": { "idarchitecture": "com.rdk.app.chocolate-doomarm", "versionvariant": "1.0.0v7", "visibleos": true,"linux" "encryption": false}, "preferredhardware": false,{ "ociImageUrlram": "docker://public.ecr.aws/a0v6o9z7/chocolate-doom:latest" }, "requirements": { 512M", "dependenciesdmips": ["2000", { "persistent": "60M", "idcache": "com.libertyglobal.service.voice",200M" }, "versionfeatures": "1.0.0"[ }{ ], "platformname": { "rdk.api.awc", "architectureversion": "arm2", "variantrequired": "v7",false } "os": "linux" ] }, "hardwaremaintainer": { "code": "rdk", "ramname": "512MRDK", "dmipsaddress": "2000RDK Management, LLC", "persistenthomepage": "60Mhttps://rdkcentral.com", "cacheemail": "200Msupport@rdkcentral.com" }, "featuresversions": [ { "nameversion": "rdk1.api0.awc0", "versionvisible": "2"true, "requiredpreferred": false } , ] }, "maintainerencryption": {false "code": "rdk", "name": "RDK", "address": "RDK Management, LLC", "homepage": "https://rdkcentral.com", "email": "support@rdkcentral.com" }, "versions": [ { "version": "1.0.0", "visible": true, "preferred": false, "encryption": false } ] } } ] } |
Among other things, dactest.py can be used list ASMS apps, add entries and remove entries.
To add an entry to ASMS, i.e. to publish a DAC app you can follow these steps:
...