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. -->
<!--However, given that the order of feature installation cannot be controlled, they are recopied at the product level.-->
<!--<fileSet>-->
<!--<directory>src/publisher/config</directory>-->
<!--<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/publisher/config</outputDirectory>-->
<!--</fileSet>-->
<fileSet>
<directory>src/publisher/config</directory>
<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/jaggeryapps/publisher/config</outputDirectory>
</fileSet>
<!--========================================================================================================-->
<!-- 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",
"rate": 3,
"attributes": {
"overview_thumbnail":"/arduino/arduino_thumbnail.png",
"overview_status": "CREATED",
"overview_provider":"admin",
"overview_version":"1.0.0",
"overview_name":"Arduino",
"overview_url":"http://www.google.lk",
"setupGuide_guideImage":"undefined",
"overview_actionName":"Download",
"overview_actionUrl":"http://www.google.lk",
"ingredients_ingredients":[
"Arduino Uno",
"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_actionUrl":"http://www.google.lk",
"setupGuide_description":"sfd",
"quickStartupSteps_stepDescription":["Install the Sketch program","Install the Sketch program","Install the Sketch program"],
"quickStartupSteps_stepLabel":["1","2","3"],
"overview_version":"1.0.0",
"overview_provider":"admin"
"images_thumbnail":"/arduino/arduino_thumbnail.png",
"images_banner":"/arduino/arduino_banner.png"
}
}

@ -1,23 +1,24 @@
{
"name": "Raspberry Pi",
"name": "RaspberryPi",
"tags": "WSO2, IoT, RaspberryPi",
"rate": 3,
"attributes": {
"overview_thumbnail":"/raspberrypi/raspberryPi_thumbnail.png",
"overview_name":"Raspberry Pi",
"overview_status": "CREATED",
"overview_provider":"admin",
"overview_version":"1.0.0",
"overview_name":"RaspberryPi",
"overview_url":"http://www.google.lk",
"setupGuide_guideImage":"undefined",
"overview_actionName":"Download",
"overview_actionUrl":"http://www.google.lk",
"ingredients_ingredients":[
"Raspberry Pi",
"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_actionUrl":"http://www.google.lk",
"setupGuide_description":"sfd",
"quickStartupSteps_stepDescription":["Install the Sketch program","Install the Sketch program","Install the Sketch program"],
"quickStartupSteps_stepLabel":["1","2","3"],
"overview_version":"1.0.0",
"overview_provider":"admin"
"images_thumbnail":"/raspberrypi/raspberryPi_thumbnail.png",
"images_banner":"/raspberrypi/raspberryPi_banner.png"
}
}
Loading…
Cancel
Save