Re: [Architecture] [Dev] [VOTE] Release of WSO2 IoT Server 3.1.0 RC version 4

2017-08-12 Thread ayyoob hamza
Hi, I have tested following functionalities - Create Device Type with HTTP transport - Create Device Type with MQTT transport - Create device instances for above device types - Publish device events - Device operation flow. - Sample installation and virtual firealarm flow. -

Re: [Architecture] [IoT] Registering Device Types through APIs

2017-06-05 Thread Ayyoob Hamza
> > > > I think we can recommend using the provided JAX-RS API and provide SDKs > for different platforms to program against this API. SDK can support basic > operations such as get operations, publishing data, etc. > +1, Since we have a clear contract for the devices that uses http and mqtt transp

Re: [Architecture] [IoT] Registering Device Types through APIs

2017-06-05 Thread Ayyoob Hamza
> > >> >> *How to register a device type?* >> 1) Create A Device Type: >> >> curl -X POST http://localhost:8280/api/device-mgt/v1.0/admin/device-types >> -H 'authorization: Bearer 77d11b5e-2363-3c99-afb3-c0381600b977' -H >> 'content-type: application/json' -d '{"name": >> "firealarm","deviceTypeMe

Re: [Architecture] [IoT] Improvements to device grouping to allow shared users (non admin ) to control the devices

2017-05-31 Thread Ayyoob Hamza
> > > 1). Provide a way to map feature-permissions for the device types that are > being created using the API. > we can allow this capability to be used for the pluggable device type but I think we cannot allow to create new permissions during runtime, since this permission hierarchy is visible to

Re: [Architecture] [APIM][C5] Subesource access permissions in store

2017-05-08 Thread Ayyoob Hamza
This won't tackle the problem Musthaq suggested which requires validation in the backend. *Ayyoob Hamza* *Senior Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495> On Tue, May 9, 2017 at 10:01 AM, Ayyoob Hamza wrote: &

Re: [Architecture] [APIM][C5] Subesource access permissions in store

2017-05-08 Thread Ayyoob Hamza
Hi, We had a similar requirement to have a fine grained access for users in IoTS and we went with the approach of assigning permission for scope rather than roles. *Ayyoob Hamza* *Senior Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2

Re: [Architecture] Device Connectivity Graph for IoT Server & related concerns

2017-05-08 Thread Ayyoob Hamza
formation, instead of > making the device make another call to DAS to provide location information, > we can derive the location information at the server side from the device > information payload and push it to DAS. > I think this is how its been implemented for the EMM Usecases, correct me i

Re: [Architecture] [IoT] Improvements to device grouping to allow shared users (non admin ) to control the devices

2017-05-05 Thread Ayyoob Hamza
@Sumedha, Yes, it does in the context of the API. we can use the same permissions in the feature. The issue is that the permission in the API does not get propagated to the device context. @Chathura > What does it mean if a role R1 has access to device group G1, but doesn't > have permission to a

[Architecture] [IoT] Improvements to device grouping to allow shared users (non admin ) to control the devices

2017-05-04 Thread Ayyoob Hamza
[1] https://github.com/wso2/carbon-device-mgt/blob/master/ components/device-mgt/org.wso2.carbon.device.mgt.common/ src/main/java/org/wso2/carbon/device/mgt/common/authorization/ DeviceAccessAuthorizationService.java Thanks *Ayyoob Hamza* *Senior Software Engineer* WSO2 Inc.; http://wso2.com email: ayy..

Re: [Architecture] [IoT] App Management of IoT Server

2017-04-18 Thread Ayyoob Hamza
Hi Chathura, >>> I have a doubt looking at the above diagram on why we have webapps as part of the app management. Since we are focusing on app managment capabilies to the device types, shouldnt it only be device types. 3. App types are plugable to the app management core. >>> >> Are we making t

Re: [Architecture] tenant specific MQTT receivers in DAS , not listening to topics once tenant get unloaded

2017-03-20 Thread Ayyoob Hamza
have to think of a generic solution on how to deploy the artifacts for the tenants. In addition to recievers, we are using publishers and tenant-specific summarisation scripts, does these gets undeployed when the tenant is unloaded ?. Thanks, *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso

Re: [Architecture] [Dev] [VOTE] Release WSO2 IoT Server 3.0.0 RC2

2017-01-20 Thread Ayyoob Hamza
Hi All, I have tested following: - Tested below flows using the reference device types implementation(Virtual firealarm, Connected cup, Raspberry pi). - Operation flow - Policy - Batch Analytics - Real time analytics - Tested Android Device Management APIs - Teste

Re: [Architecture] Security Model for Product APIs in C5

2017-01-15 Thread Ayyoob Hamza
. *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495> ___ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Re: [Architecture] [IoT] Simplifying IoT device type plugin with a descriptor

2016-11-22 Thread Ayyoob Hamza
Hi Dilan, > Does this mean we can basically have a ready-to-use device plug-in > implementation, just by configuring a descriptor file ? > Yes thats the idea, In here the plugin means the osgiService which contains the definition of the device type. we found from the existing device type that it

Re: [Architecture] Making IOT - APIM communication via REST api's

2016-11-03 Thread Ayyoob Hamza
Please find my comments inline. > Hi All >>> >>> Currently IOT communicates with APIM components via Java/OSGI api's and >>> services. Therefore $subject is needed to properly decouple and make IOT >>> cloud ready. >>> Consider the following points where IOT uses APIM. Sub-points are huw >>> i'm

Re: [Architecture] Feature Management of IoT Server

2016-11-02 Thread Ayyoob Hamza
> > That was the my concern as well. However we can consider the device-model > instead of the device instance because ultimately all the supported > features of a device will be dictated by the device model & vendor. By that > way we can avoid lots of duplicate data. We can get this information fr

Re: [Architecture] Feature Management of IoT Server

2016-11-02 Thread Ayyoob Hamza
can be programmed to push data for a given interval or set a policy and trigger with a conditional push. Therefore IMHO I think we need a separation. Please correct me if I am wrong. Thanks, Ayyoob *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681

Re: [Architecture] Feature Management of IoT Server

2016-11-02 Thread Ayyoob Hamza
2%2Fcarbon-device-mgt-plugins%2Fpull%2F394&sa=D&sntz=1&usg=AFQjCNFHWDeJJW5WCMCeENFnDo6271makQ> *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495> On Wed, Nov 2, 2016 at 9:54 AM, Harshan Liyanage wrote

Re: [Architecture] Feature Management of IoT Server

2016-11-01 Thread Ayyoob Hamza
@Harshan, agree its a concern. Location/DeviceInfo/ApplicationList operation triggers even if the device doesn't support it. we need to make this device type specific. *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%2

Re: [Architecture] Feature Management of IoT Server

2016-11-01 Thread Ayyoob Hamza
Agree with what you have stated. Features is a word that is familiar in the context of mobile, We actually map this into actuators(things that we can operate) in a device context. so we can map features into operation however in the current context feature definition does not give any meaning abou

[Architecture] [IoT] Simplifying IoT device type plugin with a descriptor

2016-10-25 Thread Ayyoob Hamza
.device.mg t.extensions.device.type.deployer Thanks, *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495> ___ Architecture mailing list Architecture@wso2.org https://mail.wso2.org/cgi-bin/

Re: [Architecture] Publishing APIs into APIM from Tomcat based AS 6.0

2016-09-21 Thread Ayyoob Hamza
/compon ents/webapp-authenticator-framework/org.wso2.carbon. webapp.authenticator.framework. *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495> ___ Architecture mailin

Re: [Architecture] Publishing APIs into APIM from Tomcat based AS 6.0

2016-09-14 Thread Ayyoob Hamza
some other features that we can support as a future requirement is to support swagger annotation. Which is to read and publish along with the api. This way we could create the documentation in store. Thanks, Ayyoob *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com

Re: [Architecture] [CDMF] Authorizing users to add device operations

2016-08-02 Thread Ayyoob Hamza
Milan, Please find my comments inline. *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495> On Wed, Aug 3, 2016 at 8:47 AM, Milan Perera wrote: > Hi all, > > In CDMF, we are currently heading towards OAu

[Architecture] WSO2 IoT Server 1.0.0-alpha Released

2016-05-20 Thread Ayyoob Hamza
*WSO2 IoT Server 1.0.0 Alpha Released* We are pleased to announce WSO2 IoT Server 1.0.0 alpha release. It can be downloaded from https://github.com/wso2/product-iots/releases/tag/v1.0.0-alpha WSO2 IoT Server is an extensible, open-source, multi tenant, Internet of Things Platform for implementing

Re: [Architecture] [CDM-F] "Descriptor"-driven plug-ins for CDM-F

2016-05-01 Thread Ayyoob Hamza
Hi Prabath, +1, thought the same that we should map our existing model to a developer easy model. > > My proposal is that, you can quite easily turn this model into a > "descriptor-driven" implementation, which will greatly enhance the > usability of the device management framework, as below. >

Re: [Architecture] [IoT/EMM] Retrieving Device Details and Searching.

2016-04-02 Thread Ayyoob Hamza
Hi Geeth, Looks cool and as my understanding I see that there are two capabilities that has been described here. 1) Trigger operations through tasks. 2) Searching devices based on its attributes. I assume, in the dynamic case what we do is to keep the last snapshot of the data. which in the server

Re: [Architecture] Data Isolation level for Data from APIM and IoT? Tenant vs. User

2016-03-28 Thread Ayyoob Hamza
if we can find a solution for both of this then we can allow writing queries. Thanks Ayyoob *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495> On Mon, Mar 28, 2016 at 4:26 PM, Nuwan Dias wrote: > Having to pub

Re: [Architecture] Data Isolation level for Data from APIM and IoT? Tenant vs. User

2016-03-25 Thread Ayyoob Hamza
whether this needs to be handled in DAS level? rather I see that it needs to be handled in the high level API that we provide to expose the data. Thanks *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495> On Sa

[Architecture] [IoTS] Profiling for IoTS

2016-03-24 Thread Ayyoob Hamza
e features as default and have others in another profile. Please provide us your suggestion regarding this. Thanks, *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495> ___ Ar

[Architecture] Multitenancy for device type in CDMF

2016-03-02 Thread Ayyoob Hamza
mode the above information will be grabbed in the authorization framework in the valve and will allow the request only for the allowed tenant users. WDYT about the above flow and if there are anything that we have missed then please let us know? Thanks, *Ayyoob Hamza* *Software Engineer* WSO

Re: [Architecture] [MB] Authorization for MQTT in Message Broker

2016-02-09 Thread Ayyoob Hamza
> > On Mon, Feb 8, 2016 at 11:06 PM, Ayyoob Hamza wrote: > >> Hi Prabath, >> Please find the comments inline. >> >>> >>> I assume this is a server level configuration. How do we handle >>> multitenancy in this scenario...? >>> &

Re: [Architecture] [MB] OAuth authentication for MQTT in MB

2016-02-08 Thread Ayyoob Hamza
> Please make sure that when bearer tokens are used for authentication, MQTT > runs over TLS.. > Just having a doubt on whether isn't this supposed to be enforced by the client or does it needs to be enforced by the server since it supports both the communication. Thanks __

Re: [Architecture] [MB] Authorization for MQTT in Message Broker

2016-02-08 Thread Ayyoob Hamza
Hi Prabath, Please find the comments inline. > > I assume this is a server level configuration. How do we handle > multitenancy in this scenario...? > After authentication is successful it returns an object which consist of username and tenantId of the authenticated client[1]. This object is then

Re: [Architecture] [EMM] Android agent auto enrollment

2016-01-28 Thread Ayyoob Hamza
Hi Harshan > > In the step 11, you have mentioned that the device sends authentication > request, generate access and refresh tokens and send it to device. However > you need client credentials (client key, secret) in-order to generate > access tokens. How are you planing to get these client crede

[Architecture] [MB] Authorization for MQTT in Message Broker

2016-01-28 Thread Ayyoob Hamza
or this implementation is available in [2][3]. [1] http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html [2] https://github.com/wso2/andes/pull/517 [3] https://github.com/wso2/carbon-business-messaging/pull/256 *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@w

Re: [Architecture] [MB] OAuth authentication for MQTT in MB

2016-01-21 Thread Ayyoob Hamza
+1 and made the changes to have a specific username and as default it would be "Bearer"[1]. [1] https://github.com/ayyoob/extensions/tree/master/messagebroker-extensions *Ayyoob Hamza* ___ Architecture mailing list Architecture@wso2

[Architecture] [MB] OAuth authentication for MQTT in MB

2016-01-20 Thread Ayyoob Hamza
ny other. [1] http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/mqtt-v3.1.1.html [2] http://eprints.port.ac.uk/15538/1/oauth_mqtt3.pdf [3] http://www.hivemq.com/blog/mqtt-security-fundamentals-oauth-2-0-mqtt [4] https://github.com/ayyoob/extensions/tree/master/messagebroker-extensions *Ayyoob Hamza* *Sof

Re: [Architecture] Adding/Managing Sensor information on CDMF

2015-09-16 Thread Ayyoob Hamza
@Dulitha and @ Sachith I see both your comments ends with the same question whether we need to have event stream definition for each sensor type or do we need to maintain a separate event stream for each sensor type on a device type ?. eg: stream definition: Use Case 1 : org.wso2.devices.temperat

[Architecture] Adding/Managing Sensor information on CDMF

2015-09-15 Thread Ayyoob Hamza
is is just a thought as to how we can extend CDMF to cater sensor management. Please give us your comments and suggestions on $subject Thanks, *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%2

Re: [Architecture] Internal deployment architecture of the IoT Platform

2015-08-06 Thread Ayyoob Hamza
[Reattaching ​the image] ​ *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495> On Thu, Aug 6, 2015 at 3:21 PM, Ayyoob Hamza wrote: > Hi All, > This is the current $subject. This is currently deployed in

[Architecture] Internal deployment architecture of the IoT Platform

2015-08-06 Thread Ayyoob Hamza
:9763/firealarm-webapp/ Sample application to control a firealarm Regards, *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495> ___ Architecture mailing list Architectu