|
|
filename: $SDROOT/products.json
|
|
|
|
|
|
## Minimum Reccomended JSON:
|
|
|
```json
|
|
|
[
|
|
|
{
|
|
|
"config": "SiteHub",
|
|
|
"contentOp": "skip",
|
|
|
"corePackage": "com.buzztime.core.CoreApp",
|
|
|
"corePackageMd5": "af2162e3244f4cc7ac53692d8aa7260a",
|
|
|
"corePackageUrl": "file:///sdcard/SiteHub/software/CoreApp-1.10.0-SNAPSHOT.apk",
|
|
|
"deviceConfiguration": {
|
|
|
"Certificates": [],
|
|
|
"Confidentials": [
|
|
|
{
|
|
|
"method": "md5",
|
|
|
"alias": "SiteHub.SiteManifest.token",
|
|
|
"digest": "bc5a014a36d69b68c7881f64098a6347",
|
|
|
"screet": "==cHM5QnJUR0I1NUdKcVo5cUl2aXFaeXl2S3lNR3pyV3NsZjRsakRhUg=="
|
|
|
},
|
|
|
{
|
|
|
"method": "md5",
|
|
|
"alias": "SiteHub.platform.secret",
|
|
|
"digest": "e55c313b5b988049a59aac89ed98dc53",
|
|
|
"screet": "==ezM0MEE5OEY1LUY3MUUtNDYyNS04MUJDLTBBMzgzNzEyMTNBN30="
|
|
|
},
|
|
|
{
|
|
|
"method": "md5",
|
|
|
"alias": "SiteHub.shared.secret",
|
|
|
"digest": "704571a993a2b36a69490672024feadd",
|
|
|
"screet": "==ezJFODM5MTM4LTkyREMtNEZFOC1CRDQ5LUIxM0RFNDFGMkY3Mn0="
|
|
|
},
|
|
|
//optional
|
|
|
{
|
|
|
"method": "md5",
|
|
|
"alias": "SiteHub.wifiap.secret",
|
|
|
"digest": "9dba36993fa2c26cb2aa335b44856030",
|
|
|
"screet": "==c3AtYWRtaW4="
|
|
|
},
|
|
|
],
|
|
|
"Prefix": "SiteHub.",
|
|
|
"Settings": [
|
|
|
{
|
|
|
"key": "SiteHub.Settings.handshake_url",
|
|
|
"value": "https://ntnservices..buzztime.com/manifest/site/handshake"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.handshake_url.auth",
|
|
|
"value": "auth:jwt; claims:cheerios; token:@SiteHub.SiteManifest.token"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.content_url",
|
|
|
"value": "https://ntnservices..buzztime.com/manifest/site/content"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.content_url.auth",
|
|
|
"value": "auth:jwt; claims:cheerios; token:@SiteHub.SiteManifest.token"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.confidentials_url",
|
|
|
"value": "https://ntnservices..buzztime.com/manifest/confidentials"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.confidentials_url.auth",
|
|
|
"value": "auth:jwt; claims:cheerios; token:@SiteHub.SiteManifest.token"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.certificates_url",
|
|
|
"value": "https://ntnservices..buzztime.com/manifest/certificates"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.certificates_url.auth",
|
|
|
"value": "auth:jwt; claims:cheerios; token:@SiteHub.SiteManifest.token"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.status_url",
|
|
|
"value": "https://ntnservices..buzztime.com/manifest/site/sitehub"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.status_url.auth",
|
|
|
"value": "auth:jwt; claims:cheerios; token:@SiteHub.SiteManifest.token"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.sw_manifest_url",
|
|
|
"value": "https://ntnservices..buzztime.com/manifest/site/software"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.sw_manifest_url.auth",
|
|
|
"value": "auth:jwt; claims:cheerios; token:@SiteHub.SiteManifest.token"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.launch_presenter",
|
|
|
"value": "com.buzztime.sched.Supervisor/com.buzztime.supervisor.SupervisorActivity"
|
|
|
},
|
|
|
{
|
|
|
"key": "corePackage",
|
|
|
"value": "com.buzztime.core.CoreApp"
|
|
|
},
|
|
|
{
|
|
|
"key": "coreLauncher",
|
|
|
"value": "com.buzztime.core.HomeActivity"
|
|
|
},
|
|
|
{
|
|
|
"key": "env",
|
|
|
"value": "dev"
|
|
|
},
|
|
|
//optional values
|
|
|
{
|
|
|
"key": "SiteHub.Settings.map_environ_to_uri",
|
|
|
"value": "true"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.handshake_enabled",
|
|
|
"value": "true"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.network_enabled",
|
|
|
"value": "true"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.allow_core_updates",
|
|
|
"value": "true"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.launch_mode",
|
|
|
"value": "all"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.NightlyRebootDisabled",
|
|
|
"value": "false"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.wap_enabled",
|
|
|
"value": "false"
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
"handshakeOp": "skip",
|
|
|
"manifestOp": "json",
|
|
|
"ntn_content_authority": "ntn-fil-004.ntn.com",
|
|
|
"qrdata": "ql5gk64dpGjw76rp aaydFiwgXhA+V80g YAE+sgsXWTTEZkbe KJXjBS64grv+xso9 \nJZE3m3EU1OLN+9+ pZqVdY/zTMwWm9Vo 203K56xOyZKcdQss fSAIiSKadknvfA8G G\nYOCqJRkudcmIWm uR0HSKz7I4H+fJCm SXUc2vRh7mrcad9q K+S++nb/hElBOD5B Io\nagPEAmmBWFxf7 oPjVCO/8w==\n",
|
|
|
"qrdesc": "Env: DEV; Site: any; SSID: BuzztimeSSID's\nExpires: September 27",
|
|
|
"scheme": "file",
|
|
|
"software": "/sitehub/",
|
|
|
"softwareOp": "skip",
|
|
|
"src": "/sitehub/",
|
|
|
"env": "dev",
|
|
|
"product": "bzt232hub01",
|
|
|
"status": "enable",
|
|
|
"version": "SiteHub",
|
|
|
"wifiOp": "skip",
|
|
|
"sdcardOp": "skip",
|
|
|
//optional, defaults are as seen
|
|
|
"sdcardPrivate":false,
|
|
|
"sdcardMigrate":false
|
|
|
}
|
|
|
]
|
|
|
```
|
|
|
|
|
|
Additional Files:
|
|
|
* $SDROOT/SiteHub/software/[core version]^[1]
|
|
|
|
|
|
^[1] Please ensure you copy this name and the file's MD5 to the corepackageurl and corepackagemd5 fields respectively.
|
|
|
|
|
|
Software files can be obtained from Jenkins, local build, nexus, or fileserver.
|
|
|
|
|
|
|
|
|
## Situational Json Values
|
|
|
|
|
|
These values are situational values.
|
|
|
|
|
|
```json
|
|
|
[
|
|
|
{
|
|
|
"content": "",
|
|
|
"coreManifestPackage": {
|
|
|
"versionCode": 0
|
|
|
},
|
|
|
"deviceConfiguration": {
|
|
|
"Confidentials": [
|
|
|
{
|
|
|
"method": "md5",
|
|
|
"alias": "nexus.librarian",
|
|
|
"digest": "105edd69f8e4f406e453d3229f85aa6f",
|
|
|
"screet": "==Z1R3MDR0MylWNzdU"
|
|
|
},
|
|
|
{
|
|
|
"method": "md5",
|
|
|
"alias": "nexus.repoman",
|
|
|
"digest": "a1c8218e4b2da7ab7ca417de4f23687d",
|
|
|
"screet": "==dGhpcmRwYXJ0eQ=="
|
|
|
},
|
|
|
{
|
|
|
"method": "md5",
|
|
|
"alias": "wifi.psk",
|
|
|
"digest": "eb0dc9a5f894ffaece688bcfe8bbcbbc",
|
|
|
"screet": "==Qnp0d2lmaUAxODAw"
|
|
|
}
|
|
|
],
|
|
|
"Settings": [
|
|
|
{
|
|
|
"key": "SiteHub.Settings.connection_allowed",
|
|
|
"value": "ethernet:yes; wifi:yes"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.sw_manifest_enabled",
|
|
|
"value": "true"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.nexus_enabled",
|
|
|
"value": "false"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.nexus_url",
|
|
|
"value": "https://nexus.buzztime.com/"
|
|
|
},
|
|
|
{
|
|
|
"key": "SiteHub.Settings.nexus_url.auth",
|
|
|
"value": "auth:basic; name:librarian; password:@nexus.librarian"
|
|
|
},
|
|
|
{
|
|
|
"key": "<prefix>.Settings.wifi_ssid",
|
|
|
"value": "type:wpa_psk; ssid:BUZZGUEST24G; psk:@wifi.psk;"
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
"host": "10.20.3.28",
|
|
|
"nexusCoordinates": [
|
|
|
"com.buzztime.core:CoreApp:1.+"
|
|
|
],
|
|
|
"password": "git",
|
|
|
"port": 59144,
|
|
|
"rkimage": "",
|
|
|
"serialno": "170500799301869",
|
|
|
"topShelfPackages": [],
|
|
|
"user": "git",
|
|
|
"branch": "",
|
|
|
}
|
|
|
]
|
|
|
``` |
|
|
\ No newline at end of file |