Dynamic rest access
AssigneeSap SE
InventorsSebastian Van Syckel, Tim Philipp Trabold
Life of this patent
Estimating the term…
Abstract
Techniques and solutions are described for providing access to data using web services, such as OData services. OData services can be dynamically added to a routing table used by a router. The router can be statically registered with an application instance, such as a server associated with the application instance. A web service can be generated from a definition of a data artefact, such as a table or view, stored in a database. A virtual data artefact corresponding to the data artefact can be generated, and used to generate the web service. A message service can cause web services to be generated when a data artefact is added or changed.
Claims20
One or more computer-readable storage media comprising:
- computer-executable instructions that, when executed, cause a computing device to receive a definition of a table, the table comprising at least one attribute;
- computer-executable instructions that, when executed, cause a computing device to store the definition of the table in a database;
- computer-executable instructions that, when executed, cause a computing device to parse the definition to create a virtual definition of the table in a virtual data model;
- computer-executable instructions that, when executed, cause a computing device to create a web service using the virtual definition of the table, wherein the web service is one of a plurality of web services, wherein each of the plurality of web services corresponds to a distinct set of one or more artefacts in the virtual data model;
- computer-executable instructions that, when executed, cause a computing device to register the web service in a routing table;
- computer-executable instructions that, when executed, cause a computing device to receive a request for the web service;
- and
- computer-executable instructions that, when executed, cause a computing device to route the request to the web service using the routing table.
A method, implemented in a computing system comprising a memory and one or more processors, comprising:
- receiving a definition of a table, the table comprising at least one attribute;
- storing the definition of the table in a database;
- parsing the definition to create a virtual definition of the table in a virtual data model;
- creating a web service using the virtual definition of the table, wherein the web service is one of a plurality of web services, wherein each of the plurality of web services corresponds to a distinct set of one or more artefacts in the virtual data model;
- registering the web service in a routing table;
- receiving a request for the web service;
- and
- routing the request to the web service using the routing table.
A computing system comprising:
- memory;
- one or more processing units coupled to the memory;
- and
- one or more computer readable storage media storing instructions that, when loaded into the memory, cause the one or more processing units to perform operations for:
- receiving a definition of a data model object, the definition comprising an identifier for the data model object and at least a first data element;
- generating the data model object in a data store corresponding to the definition of the data model object;
- automatically reading the identifier and the at least a first data element from the data model object;
- creating a first REST service, the first REST service comprising the identifier and providing access to data stored in the data store for the data model object, wherein the first REST service is one of a plurality of REST services;
- and
- registering the first REST service in a routing table.
Dependencies are inferred from the claim text.