Skip to content

Commit

Permalink
DELIA-42480 : Restoring *Plugin.json files
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimsav committed May 22, 2020
1 parent 21dee4f commit 2ed342a
Show file tree
Hide file tree
Showing 11 changed files with 481 additions and 0 deletions.
38 changes: 38 additions & 0 deletions DeviceIdentification/DeviceIdentificationPlugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"$schema": "interface.schema.json",
"jsonrpc": "2.0",
"info": {
"title": "Device Identification API",
"class": "DeviceIdentification",
"description": "DeviceIdentification JSON-RPC interface"
},
"properties": {
"deviceidentification": {
"summary": "Device paltform specific information",
"readonly": true,
"params": {
"type": "object",
"properties": {
"firmwareversion": {
"description": "Version of the device firmware",
"example": "1.0.0",
"type": "string"
},
"chipset": {
"description": "Chipset used for this device",
"example": "BCM2711",
"type": "string"
},
"identifier": {
"description": "Device unique identifier",
"type": "string"
}
},
"required": [
"firmwareversion",
"chipset"
]
}
}
}
}
14 changes: 14 additions & 0 deletions DeviceInfo/DeviceInfoPlugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "plugin.schema.json",
"info": {
"title": "Device Info Plugin",
"callsign": "DeviceInfo",
"locator": "libWPEFrameworkDeviceInfo.so",
"status": "production",
"description": "The DeviceInfo plugin allows retrieving of various device-related information.",
"version": "1.0"
},
"interface": {
"$ref": "{interfacedir}/DeviceInfo.json#"
}
}
14 changes: 14 additions & 0 deletions DisplayInfo/DisplayInfoPlugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "plugin.schema.json",
"info": {
"title": "Display Info Plugin",
"callsign": "DisplayInfo",
"locator": "libWPEFrameworkDisplayInfo.so",
"status": "production",
"description": "The DisplayInfo plugin allows retrieving of various display-related information.",
"version": "1.0"
},
"interface": {
"$ref": "{interfacedir}/DisplayInfo.json#"
}
}
14 changes: 14 additions & 0 deletions LocationSync/LocationSyncPlugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "plugin.schema.json",
"info": {
"title": "Location Sync Plugin",
"callsign": "LocationSync",
"locator": "libWPELocationSync.so",
"status": "production",
"description": "The LocationSync plugin provides geo-location functionality.",
"version": "1.0"
},
"interface": {
"$ref": "{interfacedir}/LocationSync.json#"
}
}
17 changes: 17 additions & 0 deletions Messenger/MessengerPlugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "plugin.schema.json",
"document": {
"$ref": "docs_common.json"
},
"info": {
"title": "Messenger Plugin",
"version": "1.0",
"callsign": "Messenger",
"locator": "libWPEFrameworkMessenger.so",
"status": "alpha",
"description": "The Messenger allows exchanging text messages between users gathered in virtual rooms. The rooms are dynamically created and destroyed based on user attendance. Upon joining a room the client receives a unique token (room ID) to be used for sending and receiving the messages."
},
"interface": {
"$ref": "{interfacedir}/Messenger.json#"
}
}
14 changes: 14 additions & 0 deletions Monitor/MonitorPlugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "plugin.schema.json",
"info": {
"title": "Monitor Plugin",
"callsign": "Monitor",
"locator": "libWPEFrameworkMonitor.so",
"status": "production",
"description": "The Monitor plugin provides a watchdog-like functionality for framework processes.",
"version": "1.0"
},
"interface": {
"$ref": "{interfacedir}/Monitor.json#"
}
}
13 changes: 13 additions & 0 deletions OpenCDMi/OpenCDMiPlugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "plugin.schema.json",
"info": {
"title": "OpenCDMi Plugin",
"callsign": "OCDM",
"locator": "libWPEFrameworkOCDM.so",
"status": "production",
"version": "1.0"
},
"interface": {
"$ref": "{interfacedir}/OCDM.json#"
}
}
14 changes: 14 additions & 0 deletions SecurityAgent/SecurityAgentPlugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "plugin.schema.json",
"info": {
"title": "Security Agent Plugin",
"callsign": "SecurityAgent",
"locator": "libWPEFrameworkSecurityAgent.so",
"status": "production",
"description": "Security Agent of thunder is responsible to allow or block access to the Thunder API.",
"version": "1.0"
},
"interface": {
"$ref": "{interfacedir}/SecurityAgent.json#"
}
}
220 changes: 220 additions & 0 deletions SecurityAgent/example_acl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
{
"assign": [
{
"url": "*://localhost",
"role": "local"
},
{
"url": "*://localhost:*",
"role": "local"
},
{
"url": "*://127.0.0.1",
"role": "local"
},
{
"url": "*://127.0.0.1:*",
"role": "local"
},
{
"url": "*://[::1]",
"role": "local"
},
{
"url": "*://[::1]:*",
"role": "local"
},
{
"url": "*://[0:0:0:0:0:0:0:1]",
"role": "local"
},
{
"url": "*://[0:0:0:0:0:0:0:1]:*",
"role": "local"
},
{
"url": "file://*",
"role": "local"
},
{
"url": "*://*.comcast.com",
"role": "comcast"
},
{
"url": "*://*.comcast.com:*",
"role": "comcast"
},
{
"url": "*://*.comcast.net",
"role": "comcast"
},
{
"url": "*://*.comcast.net:*",
"role": "comcast"
},
{
"url": "*.x1.xcal.tv",
"role": "comcast"
},
{
"url": "*.x1.xcal.tv:*",
"role": "comcast"
},
{
"url": "*.x1-app.xcr.comcast.net",
"role": "comcast"
},
{
"url": "*.x1-app.xcr.comcast.net:*",
"role": "comcast"
},
{
"url": "*://www.pxscene.org",
"role": "pxscene.org"
},
{
"url": "*://www.pxscene.org:*",
"role": "pxscene.org"
},
{
"url": "*://pxscene.org",
"role": "pxscene.org"
},
{
"url": "*://pxscene.org:*",
"role": "pxscene.org"
},
{
"url": "*://www.sparkui.org",
"role": "sparkui.org"
},
{
"url": "*://www.sparkui.org:*",
"role": "sparkui.org"
},
{
"url": "*://sparkui.org",
"role": "sparkui.org"
},
{
"url": "*://sparkui.org:*",
"role": "sparkui.org"
},
{
"url": "*://xre2-apps.cvs-a.ula.comcast.net",
"role": "pxscene-samples"
},
{
"url": "*://xre2-apps.cvs-a.ula.comcast.net:*",
"role": "pxscene-samples"
},
{
"url": "*://px-apps.sys.comcast.net",
"role": "pxscene-samples"
},
{
"url": "*://px-apps.sys.comcast.net:*",
"role": "pxscene-samples"
},
{
"url": "*://*.xreapps.net",
"role": "xreapps.net"
},
{
"url": "*://tvxcts-c5-c00001-b.ch.tvx.comcast.com",
"role": "cts"
},
{
"url": "*://metrological.com",
"role": "metrological"
},
{
"url": "*",
"role": "default"
}
],
"roles": {
"default" : {
"thunder": {
"block" : [
"*"
]
}
},
"xreapps.net": {
"thunder": {
"allow": [
"*"
],
"block" : [
"DeviceInfo"
]
}
},
"local": {
"thunder": {
"allow": [
"*"
],
"block" : [
]
}
},
"comcast": {
"thunder": {
"allow": [
"DeviceInfo"
],
"block" : [
]
}
},
"metrological": {
"thunder": {
"allow": [
"*"
],
"block" : [
]
}
},
"pxscene.org": {
"thunder": {
"allow": [
"*"
],
"block" : [
]
}
},
"pxscene-samples": {
"thunder": {
"allow": [
"*"
],
"block" : [
]
}
},
"cts": {
"thunder": {
"allow": [
"*"
],
"block" : [
"DeviceInfo"
]
}
},
"sparkui.org": {
"thunder": {
"allow": [
"*"
],
"block" : [
"DeviceInfo"
]
}
}
}
}
14 changes: 14 additions & 0 deletions TraceControl/TraceControlPlugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "plugin.schema.json",
"info": {
"title": "Trace Control Plugin",
"callsign": "TraceControl",
"locator": "libWPEFrameworkTraceControl.so",
"status": "production",
"description": "The Trace Control plugin provides ability to disable/enable trace output an set its verbosity level.",
"version": "1.0"
},
"interface": {
"$ref": "{interfacedir}/TraceControl.json#"
}
}
Loading

0 comments on commit 2ed342a

Please sign in to comment.