CPC G06F 16/24568 (2019.01) [G06F 16/00 (2019.01); H04L 12/28 (2013.01); H04L 12/2823 (2013.01); H04L 43/04 (2013.01); H04L 43/18 (2013.01); H04L 67/12 (2013.01); H04W 4/70 (2018.02); H04W 12/08 (2013.01); H04L 63/10 (2013.01); H04L 63/1425 (2013.01)] | 15 Claims |
1. An apparatus for a service supporting service capabilities in a Resource-Oriented Architecture (ROA) through a set of Application Programming Interfaces (APIs), the apparatus comprising a processor, a memory and communication circuitry, the apparatus further comprising computer-executable instructions stored in the memory of the apparatus which, when executed by the processor of the apparatus, cause the apparatus to perform operations comprising:
receiving, from a first client entity, a first request for creating a data stream query resource in the ROA via RESTful methods;
authorizing the first client entity based on the first request by referring to one or more access control policies;
creating the data stream query resource having a plurality of attributes, the data stream query resource comprising one or more data stream IDs and query time window;
assigning a query ID to the created data stream query resource;
sending, to the first client entity, a query response upon assigning the query ID;
receiving, from a second client entity, a second request for providing data stream analytics, wherein the second request comprises one or more query parameters comprising one or more parameters indicating a window length;
authorizing the second client entity for accessing the data stream query resource based on the second request by referring to one or more access control policies;
generating a query output from the data stream query resource based on the query parameters;
sending, to the second client entity, the query output.
|