Development code execution using a service proxy
AssigneeAmazon Technologies, Inc.
InventorAndreas Resios
Life of this patent
Estimating the term…
Abstract
A technology is described for redirecting a service request to a service proxy on a software development host. An example method may include receiving a service request directed to a service hosted in a service provider environment. In receiving the service request, a determination may be made that a service proxy simulates the service on a software development host, and that the service proxy may be used to execute development code on the software development host. In response, the service request may be redirected to the service proxy on the software development host for handling of the service request.
Claims20
A system, comprising:
- at least one processor;
- a memory device including instructions that, when executed by the at least one processor, cause the system to:
- intercept, by a local agent located on a software development host, a service request directed to a service hosted in a service provider environment, wherein the local agent is configured to redirect the service request to a service proxy located on the software development host when the service proxy is identified as being located on the software development host, wherein redirecting the service request to the service proxy located on the software development host causes the service proxy located on the software development host to initiate execution of development code on the software development host, and wherein the service proxy located on the software development host is used to simulate the service hosted in the service provider environment;
- determine, by the local agent located on the software development host, that the service request is directed to the service hosted in the service provider environment;
- determine, by the local agent located on the software development host, that the service proxy used to simulate the service is located on the software development host;
- and
- redirect, by the local agent located on the software development host, the service request to the software development host for handling of the service request by the service proxy located on the software development host which initiates execution of the development code on the software development host.
A computer implemented method for testing development code in a hybrid development environment, comprising:
- receiving a service request at a local agent located on a software development host, wherein the service request is directed to a service hosted in a service provider environment, wherein the local agent is configured to redirect the service request to a first service proxy located on the software development host when the first service proxy is identified as being located on the software development host, and wherein the first service proxy located on the software development host is used to simulate the service hosted in the service provider environment;
- determining, by the local agent located on the software development host, that the first service proxy located on the software development host which simulates the service is located on the software development host, wherein the first service proxy located on the software development host is used to execute the development code on the software development host;
- and
- redirecting, by the local agent located on the software development host, the service request to the software development host for handling of the service request by the first service proxy located on the software development host which initiates execution of the development code on the software development host.
A non-transitory machine readable storage medium having instructions embodied thereon, the instructions when executed by one or more processors:
- intercept, by a service request router located in a service provider environment, an event notification originating in the service provider environment, wherein the event notification, when redirected by the service request router located in the service provider environment to a service proxy located on a software development host when the service proxy is identified as being located on the software development host, causes the service proxy located on the software development host to initiate execution of development code on a software development host, and wherein the service proxy located on the software development host simulates a service hosted in a service provider environment;
- determine, by the service request router located in the service provider environment, that the event notification is directed to the service hosted in the service provider environment;
- determine, by the service request router located in the service provider environment, that the service proxy used to simulate the service is located on the software development host;
- and
- queue, by the service request router located in the service provider environment, the event notification in a service request queue that is accessible to a local agent located on the software development host configured to retrieve the event notification from the service request queue.
Dependencies are inferred from the claim text.