Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: sequence diagram updated

...

LISA should be implemented as a Thunder plugin, and containarized containerized as depicted in in Thunder Integration into OneMW.

...

Lisa Thunder plugin configuration

Code Block
languagejsonyml
titleLISA plugin configuration schema
{
	"$schema": "plugin.schema.json",
    "jsonrpc":"2.0",
	"info": {
		"title": "Local Inventory & Storage Manager of DAC Apps (LISA) Plugin",
        "class": "Lisa",
		"callsign": "org.rdk.dac.lisa",
		"locator": "libWPEFrameworkLisa.so",
		"status": "alpha",
		"autostart": true,
		"description": "The Local Inventory & Storage Manager of DAC Apps (LISA) plugin allows authenticated downloading and management of DAC bundles from a remote server. It also manages the persistent storage of the DAC applications.",
		"version": "1.0"
	},
	"interface": {
		"$ref": "{interfacedir}/lisa.json#"
	},
	"configuration": {
		"type": "object",
		"properties": {
			"configuration": {
				"type": "object",
				"properties": {
					"network": {
						"type": "object",
						"required": [
							"timeout",
							"default_retryIn"
						],
						"properties": {
							"timeout": {
								"type": "number",
								"description": "Single resource downloading timeout in seconds"
							},
							"default_retryIn": {
								"type": "number",
								"description": "Default value of GET retry delay in seconds on HTTP/202, when no "Retry-After" header field is returned in the response."
							}
						}
					},
					"storages": {
						"type": "object",
						"required": [
							"apps",
							"apps_storage",
							"apps_tmp"
						],
						"properties": {
							"apps": {
								"type": "string",
								"description": "Path to the persistent storage for downloaded applications top dir"
							},
							"apps_storage": {
								"type": "string",
								"description": "Path to the persistent storage for downloaded applications persistent storage top dir"
							},
							"apps_tmp": {
								"type": "string",
								"description": "Path to the temporary storage for applications being downloaded"
							}
						}
					}
				},
				"required": [
					"timeout",
					"storages"
				]
			}
		}
	}
}
Code Block
languagejsonyml
titleLISA plugin configuration example
{
	"$schema": "plugin.schema.json",
	"jsonrpc":"2.0",
	"info": {
		"title": "Local Inventory & Storage Manager of DAC Apps (LISA) Plugin",
        "class": "Lisa",
		"callsign": "org.rdk.dac.lisa",
		"locator": "libWPEFrameworkLisa.so",
		"status": "alpha",
		"autostart": true,
		"description": [
			"The Local Inventory & Storage Manager of DAC Apps (LISA) plugin allows authenticated downloading and management of DAC bundles from a remote server. It also manages the persistent storage of the DAC applications."
		],
		"version": "1.0"
	},
	"interface": {
		"$ref": "{interfacedir}/lisa.json"
	},
	"configuration": {
		"storages": {
			"apps": "/mnt/apps",
			"apps_storage": "/mnt/apps_storage",
			"apps_tmp": "/mnt/apps_tmp"
		},
		"network": {
			"timeout": 1800,
			"default_retryIn": 300
		}
	}
}

...