changes to enable default samples with the new deviceType txt

merge-requests/1/head
Shabir Mohamed 9 years ago
parent 83d8acffe8
commit 4ccc8b58c5

@ -460,10 +460,10 @@
<!--These files are already provided in the CDMF-Store feature too. --> <!--These files are already provided in the CDMF-Store feature too. -->
<!--However, given that the order of feature installation cannot be controlled, they are recopied at the product level.--> <!--However, given that the order of feature installation cannot be controlled, they are recopied at the product level.-->
<!--<fileSet>--> <fileSet>
<!--<directory>src/publisher/config</directory>--> <directory>src/publisher/config</directory>
<!--<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/publisher/config</outputDirectory>--> <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/publisher/config</outputDirectory>
<!--</fileSet>--> </fileSet>
<!--========================================================================================================--> <!--========================================================================================================-->
<!-- End of Enterprise Store Features --> <!-- End of Enterprise Store Features -->

@ -0,0 +1,68 @@
{
"roles": {
"Internal/publisher": {
"/permission/admin/login": ["ui.execute"]
},
"Internal/reviewer": {
"/permission/admin/login": ["ui.execute"]
}
},
"user": {
"username": "admin",
"password": "admin"
},
"application": {
"landingPage": "/assets/gadget/list"
},
"features": {
"assetTypesHotDelploy": {
"enabled": false
}
},
"assets":["gadget","site", "deviceType"],
"disabledAssets":[],
"userRoles": ["Internal/publisher"],
"permissions": {
"login": {
"/permission/admin/login": ["ui.execute"]
}
},
"userSpace": "/_system/governance/users",
"accessible": [{
"context": "/_system/governance",
"collections": ["gadgets", "sites", "ebooks", "deviceTypes"],
"actions": ["http://www.wso2.org/projects/registry/actions/get", "http://www.wso2.org/projects/registry/actions/add", "http://www.wso2.org/projects/registry/actions/delete", "authorize"]
}],
"app": {
"RXT_MANAGER": "rxt_manager",
"ROUTE_MANAGER": "route_manager",
"MODEL_MANAGER": "model_manager"
},
"paths": {
"ASSET_EXT_PATH": "/assets",
"ASSET_DEFAULT_PATH": "/assets/default",
"ASSETS_EXT_PATH": "/assets",
"ASSETS_DEFAULT_PATH": "/assets/default",
"RXT_EXTENSION_PATH": "/config/ext/"
},
"urls": {
"ASSET": "/asset",
"ASSETS": "/assets"
},
"defaultAssets": {
"root": "/samples/assets",
"assetData": [{
"type": "gadgets",
"ignore": ["agricultural-land", "intro-gadget-1", "intro-gadget-2", "gadget-template-explorer", "gadget-explorer", "co2-emission", "electric-power", "energy-use", "greenhouse-gas"]
}, {
"type": "ebooks"
}, {
"type": "sites"
}, {
"type": "deviceTypes"
}]
},
"router": {
"RENDERER": "/modules/router.caramel-renderer.js"
}
}

@ -3,21 +3,22 @@
"tags": "WSO2, IoT, Arduino, ArduinoUno", "tags": "WSO2, IoT, Arduino, ArduinoUno",
"rate": 3, "rate": 3,
"attributes": { "attributes": {
"overview_thumbnail":"/arduino/arduino_thumbnail.png", "overview_status": "CREATED",
"overview_provider":"admin",
"overview_version":"1.0.0",
"overview_name":"Arduino", "overview_name":"Arduino",
"overview_url":"http://www.google.lk",
"setupGuide_guideImage":"undefined", "setupGuide_guideImage":"undefined",
"overview_actionName":"Download", "overview_actionName":"Download",
"overview_actionUrl":"http://www.google.lk",
"ingredients_ingredients":[ "ingredients_ingredients":[
"Arduino Uno", "Arduino Uno",
"Arduino Ethernet / WiFi Shield" "Arduino Ethernet / WiFi Shield"
], ],
"overview_description":"Connect your Arduino Uno device to the WSO2 IoT Server.This is a bare-board Arduino Device-Type. The board used here is Arduino Uno.", "overview_description":"Connect your Arduino Uno device to the WSO2 IoT Server.This is a bare-board Arduino Device-Type. The board used here is Arduino Uno.",
"overview_actionUrl":"http://www.google.lk",
"setupGuide_description":"sfd", "setupGuide_description":"sfd",
"quickStartupSteps_stepDescription":["Install the Sketch program","Install the Sketch program","Install the Sketch program"], "quickStartupSteps_stepDescription":["Install the Sketch program","Install the Sketch program","Install the Sketch program"],
"quickStartupSteps_stepLabel":["1","2","3"], "quickStartupSteps_stepLabel":["1","2","3"],
"overview_version":"1.0.0", "images_thumbnail":"/arduino/arduino_thumbnail.png",
"overview_provider":"admin" "images_banner":"/arduino/arduino_banner.png"
} }
} }

@ -1,23 +1,24 @@
{ {
"name": "Raspberry Pi", "name": "RaspberryPi",
"tags": "WSO2, IoT, RaspberryPi", "tags": "WSO2, IoT, RaspberryPi",
"rate": 3, "rate": 3,
"attributes": { "attributes": {
"overview_thumbnail":"/raspberrypi/raspberryPi_thumbnail.png", "overview_status": "CREATED",
"overview_name":"Raspberry Pi", "overview_provider":"admin",
"overview_version":"1.0.0",
"overview_name":"RaspberryPi",
"overview_url":"http://www.google.lk",
"setupGuide_guideImage":"undefined", "setupGuide_guideImage":"undefined",
"overview_actionName":"Download", "overview_actionName":"Download",
"overview_actionUrl":"http://www.google.lk",
"ingredients_ingredients":[ "ingredients_ingredients":[
"Raspberry Pi", "Raspberry Pi",
"WiFi Adapter / Ethernet" "WiFi Adapter / Ethernet"
], ],
"overview_description":"Connect your Raspberry Pi device to the WSO2 IoT Server.This is a bare-board Raspberry Pi Device-Type. The board used here is RPi B+.", "overview_description":"Connect your Raspberry Pi device to the WSO2 IoT Server.This is a bare-board Raspberry Pi Device-Type. The board used here is RPi B+.",
"overview_actionUrl":"http://www.google.lk",
"setupGuide_description":"sfd", "setupGuide_description":"sfd",
"quickStartupSteps_stepDescription":["Install the Sketch program","Install the Sketch program","Install the Sketch program"], "quickStartupSteps_stepDescription":["Install the Sketch program","Install the Sketch program","Install the Sketch program"],
"quickStartupSteps_stepLabel":["1","2","3"], "quickStartupSteps_stepLabel":["1","2","3"],
"overview_version":"1.0.0", "images_thumbnail":"/raspberrypi/raspberryPi_thumbnail.png",
"overview_provider":"admin" "images_banner":"/raspberrypi/raspberryPi_banner.png"
} }
} }
Loading…
Cancel
Save