Creating endpoints
US-10182009-B1 · Jan 15, 2019 · US
US10693780B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10693780-B2 |
| Application number | US-201916246630-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jan 14, 2019 |
| Priority date | Jul 24, 2018 |
| Publication date | Jun 23, 2020 |
| Grant date | Jun 23, 2020 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A device receives a configuration file that includes an object concerning a Hypertext Transfer Protocol (HTTP) route. The object includes a parameter, related to the HTTP route, that includes one or more elements related to the HTTP route, and includes an attribute related to an HTTP action. The device parses the configuration file to recognize the object, and parses the object to recognize the parameter. The device creates the HTTP route based on the parameter. The HTTP route includes information concerning the one or more elements related to the HTTP route and the attribute related to the HTTP action, and sends the HTTP route to a server, causing the server to perform an operation based on the HTTP route.
Opening claim text (preview).
What is claimed is: 1. A method, comprising: receiving, by a processor, a configuration file, wherein the configuration file includes: data concerning a Hypertext Transfer Protocol (HTTP) route, wherein the data includes: a parameter related to the HTTP route, and an attribute related to an HTTP action; creating, by the processor, the HTTP route based on the parameter, wherein the HTTP route includes information concerning the parameter and the attribute related to the HTTP action; and sending, by the processor, the HTTP route to a server, wherein sending the HTTP route to the server causes the server to perform an operation based on the HTTP route. 2. The method of claim 1 , wherein the operation includes creating an HTTP endpoint, the HTTP endpoint providing functionality for an application programming interface (API). 3. The method of claim 1 , further comprising: parsing the configuration file, based on a file format of the configuration file, to obtain the parameter and the attribute. 4. The method of claim 1 , further comprising: sending, by the processor, instructions to the server, the instructions, when executed by the server, cause the server to create at least one of: an HTTP endpoint, or an application programming interface (API) endpoint. 5. The method of claim 1 , wherein creating the HTTP route comprises: generating code that conforms to a domain specific language (DSL), the DSL corresponding to a server DSL supported by the server. 6. The method of claim 1 , wherein the parameter includes one or more elements related to the HTTP route. 7. The method of claim 6 , wherein creating the HTTP route based on the parameter comprises: identifying the one or more elements related to the HTTP route and the attribute related to the HTTP action; and creating the HTTP route based on the one or more elements related to the HTTP route and the attribute related to the HTTP action. 8. A device, comprising: one or more memories; and one or more processors, communicatively coupled to the one or more memories, to: receive a configuration file, wherein the configuration file includes: data concerning a Hypertext Transfer Protocol (HTTP) route, wherein the data includes: a parameter related to the HTTP route, and an attribute related to an HTTP action; create the HTTP route based on the parameter, wherein the HTTP route includes information concerning the parameter and the attribute related to the HTTP action; initialize a server; and send the HTTP route to the server, the HTTP route including data that causes the server to perform an operation based on the HTTP route. 9. The device of claim 8 , wherein the one or more processors, when creating the HTTP route based on the parameter, are to: parse the parameter to identify one or more elements related to the HTTP route and the attribute related to the HTTP action; and create the HTTP route based on the one or more elements related to the HTTP route and the attribute related to the HTTP action. 10. The device of claim 9 , wherein the one or more processors, when creating the HTTP route based on the one or more elements related to the HTTP route and the attribute related to the HTTP action, are to: process the one or more elements related to the HTTP route to create an HTTP path; process the attribute related to the HTTP action to create an HTTP verb declaration; and create the HTTP route by joining the HTTP path and the HTTP verb declaration. 11. The device of claim 8 , wherein the one or more processors are further to: add an identifier to the HTTP route. 12. The device of claim 8 , wherein the one or more processors are further to: add an exception handler to the HTTP route. 13. The device of claim 8 , wherein the operation includes exposing an HTTP endpoint, wherein the HTTP endpoint provides functionality for an application programming interface (API). 14. The device of claim 8 , wherein the server provides Representational State Transfer (REST) compliant web services. 15. A non-transitory computer-readable medium storing instructions, the instructions comprising: one or more instructions that, when executed by one or more processors, cause the one or more processors to: receive a configuration file, wherein the configuration file includes: data concerning a Hypertext Transfer Protocol (HTTP) route, parse the data concerning the HTTP route to identify: a parameter related to the HTTP route, and an attribute related to an HTTP action; create the HTTP route based on the parameter, wherein the HTTP route includes information concerning the parameter and the attribute related to the HTTP action; and send the HTTP route to a server, the HTTP route including data that causes the server to perform an operation based on the HTTP route. 16. The non-transitory computer-readable medium of claim 15 , wherein the one or more instructions, that cause the one or more processors to create the HTTP route based on the parameter, cause the one or more processors to: determine one or more elements related to the HTTP route and the attribute related to the HTTP action, and build the HTTP route based on the one or more elements related to the HTTP route and the attribute related to the HTTP action. 17. The non-transitory computer-readable medium of claim 16 , wherein the one or more instructions, that cause the one or more processors to build the HTTP route based on the one or more elements related to the HTTP route and the attribute related to the HTTP action, cause the one or more processors to: process the one or more elements related to the HTTP route to create an HTTP path using tail recursion; process the attribute related to the HTTP action to create an HTTP verb declaration; and create the HTTP route based on the HTTP verb declaration and the HTTP path. 18. The non-transitory computer-readable medium of claim 15 , wherein the one or more instructions further cause the one or more processors to: create a second HTTP route based on the configuration file, the second HTTP route including information concerning a second parameter and a second attribute related to a second HTTP action. 19. The non-transitory computer-readable medium of claim 18 , wherein the one or more instructions further cause the one or more processors to: send the second HTTP route to a second server, the second HTTP route including data that causes the second server to perform a second operation based on the second HTTP route. 20. The non-transitory computer-readable medium of claim 19 , wherein: the operation includes exposing a first HTTP endpoint, wherein the first HTTP endpoint provides functionality for a first application programming interface (API); and the second operation includes exposing a second HTTP endpoint, wherein the second HTTP endpoint provides functionality for a second application programming interface (API).
based on web technology, e.g. hypertext transfer protocol [HTTP] · CPC title
Configuring for program initiating, e.g. using registry, configuration files · CPC title
involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416) · CPC title
in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46) · CPC title
Routing based on the source address · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.