-
Notifications
You must be signed in to change notification settings - Fork 191
QoS Manager Use
All you need to run this project is Java 7.0 (Java SDK 1.7) or later, the CUPUS library installed to your local maven repository and JBoss Enterprise Application Platform 6 or JBoss AS 7.1.
###JBoss AS 6.0 Deploy: To deploy the QoSManager on the JBos AS6.0, copy the “QoSManager.war” to the server's “deploy” directory.
Undeploy: Remove the app war (QoSManager.war) from the JBoss deploy directory while the server is running.
Deploy: To deploy the QoSManager on JBos AS 7.0, copy the “QoSManager.war” to the server's “standalone/deployments” directory.
Undeploy: To undeploy the application, you need to remove the “.deployed” marker file that is generated upon successful deployment of the QoSManager module
You can find more detailed directions on the ins and outs of deployment on JBoss AS7 here: https://docs.jboss.org/author/display/AS7/Application+deployment
In case you would like to use a third party application to invoke QoS Manager services, use SOAP web services at the URLs listed below (the inputs and outputs of the services are described in Table 4 above):
- Welcome message listing the available services:
- Set battery level thresholds :
- Set number of active sensors per area :
- Get all currently available sensors in the system :
- Subscribe on all available data types in the specific area:
- Get all sensors in specific area :
- Get all active sensors in specific area :
- Get all subscriptions in specific area :
- Get average sensor data readings in specific area :
- Get latitude and longitude points from specific MGRS area :
- Get MGRS area from latitude and longitude points :
An example of the configuration parameters required for the QoS Manager initialization that are located into the openiot.properties file are provided below:
...
#QoS Manager
qos.name=QualityOfService
qos.brokerIP=localhost
qos.brokerPort=10000
qos.gsnAddress=localhost:22001
qos.wrapperPort=30000
qos.numberOfSensors = 3
qos.highBatteryLevel = 70
qos.lowBatteryLevel = 30
qos.sensorParameters = temperature,humidity,pressure,no2,so2,co,batterys,batterymp,latitude,longitude
qos.sensorTypes = double,double,double,double,double,double,double,double,double,double
qos.lsmProperty = http://lsm.deri.ie/OpenIoT/Temperature,http://lsm.deri.ie/OpenIoT/Humidity, http://lsm.deri.ie/OpenIoT/Pressure,http://lsm.deri.ie/OpenIoT/NO2,http://lsm.deri.ie/OpenIoT/SO2,http://lsm.deri.ie/OpenIoT/CO,http://lsm.deri.ie/OpenIoT/BatterySensor,http://lsm.deri.ie/OpenIoT/BatteryMobilePhone,http://lsm.deri.ie/OpenIoT/Latitude,http://lsm.deri.ie/OpenIoT/Longitude
qos.lsmUnit = C,Percent,hPa,ug/m3,ug/m3,mg/m3,Percent,Percent,Deg,Deg
qos.testing = true
qos.logWriting = true
- Documentation
- Home
- Architecture
- Scheduler
- Service Delivery & Utility Manager
- Data Platform (LSM)
- X-GSN
- Mobile Sensors Management
- Optimizations
- Security
- User Interfaces
- OpenIoT Commons & Properties
- Standalone Platform Testing tools
- X-GSN Sensor Simulators
- Deliverables
- Glossary and Terminology
- Demos