EMULATING CLOUD FUNCTIONING OF APPLICATIONS LOCALLY
In one aspect, an application is received to be to be executed in a local development environment. The application is configured to access at least one service from a number of services of a remote runtime platform. A software development kit (SDK) is selected as an execution environment of the application. The SDK includes a number of application programming interfaces (APIs) of the services and a number of local implementations of the services. In another aspect, the application is executed over the SDK and remote functioning of the application is emulated in the local development environment.
1 . A computer implemented method to emulate in a local development environment functioning of a computer application in a remote runtime platform, the method comprising:
receiving the application to be executed in the local development environment, wherein the application is configured to access at least one service from a plurality of services of the remote runtime platform;
selecting a software development kit (SDK) as an execution environment of the application, wherein the SDK including a plurality of application programming interfaces (APIs) of the plurality of services and a plurality of local implementations of the plurality of services;
launching execution of the application over the SDK; and
emulating the remote functioning of the application in the local development environment.
2 . The method of claim 1 , wherein emulating the functioning of the application in the local development environment further comprises:
emulating remote functioning of the at least one service in the local development environment based on a local implementation from the plurality of local implementations of the at least one service.
3 . The method of claim 2 , emulating the remote functioning of the application in the local development environment further comprises:
accessing an API from the plurality of APIs associated with the at least one service; and
consuming a local implementation of the at least one service by the application, wherein the local implementation of the at least one service emulates a remote implementation of a cloud service.
4 . The method of claim 1 , wherein selecting the SDK as an execution platform of the application further comprises further comprises:
automatically retrieving the SDK from a p2® repository at the local development environment, wherein the SDK is included in the p2® repository.
5 . The method of claim 1 , wherein selecting the SDK as an execution platform of the application further comprises:
requesting the SDK from an update site, wherein the SDK is associated with the update site;
uploading the SDK to a memory of the local host; and
setting the SDK as a target platform, wherein the application to be run on the target platform.
6 . The method of claim 1 , further comprising:
building the application in the local development environment; and
testing the application in the local development environment based on the SDK.
7 . The method of claim 1 , further comprising:
deploying the application to the remote runtime platform; and
executing the application in the remote runtime platform.
8 . A computer system to emulate in a local development environment functioning of a computer application in a remote runtime platform, the system including:
at least one processor and memory to execute program code related to:
receive the application to be executed in the local development environment, wherein the application is configured to access at least one service from a plurality of services of the remote runtime platform;
select a software development kit (SDK) as an execution environment of the application, wherein the SDK including a plurality of application programming interfaces (APIs) of the plurality of services and a plurality of local implementations of the plurality of services;
launch execution of the application over the SDK; and
emulate the remote functioning of the application in the local development environment.
9 . The system of claim 8 , wherein the program code further relates to:
emulate remote functioning of the at least one service in the local development environment based on a local implementation from the plurality of local implementations of the at least one service.
10 . The system of claim 9 , wherein the program code further relates to:
access an API from the plurality of APIs associated with the at least one service; and
consume a local implementation of the at least one service by the application, wherein the local implementation of the at least one service emulates a remote implementation of a cloud service.
11 . The system of claim 8 , wherein the program code further relates to:
retrieve automatically the SDK from a p2® repository at the local development environment, wherein the SDK is included in the p2® repository.
12 . The system of claim 8 , wherein the program code further relates to:
request the SDK from an update site, wherein the SDK is associated with the update site;
upload the SDK to a memory of the local host; and
set the SDK as a target platform, wherein the application to be run on the target platform.
13 . The system of claim 8 , wherein the program code further relates to:
build the application in the local development environment; and
test the application in the local development environment based on the SDK.
14 . A non-transitory computer readable medium storing instructions thereon, which when executed by a processor cause a computer system to:
receive an application to be executed in a local development environment, wherein the application is configured to access at least one service from a plurality of services of a remote runtime platform;
select a software development kit (SDK) as an execution environment of the application, wherein the SDK including a plurality of application programming interfaces (APIs) of the plurality of services and a plurality of local implementations of the plurality of services;
launch execution of the application over the SDK; and
emulate the remote functioning of the application in the local development environment.
15 . The computer readable medium of claim 14 , wherein emulating the functioning of the application in the local development environment further comprises:
emulating remote functioning of the at least one service in the local development environment based on a local implementation from the plurality of local implementations of the at least one service.
16 . The computer readable medium of claim 15 , emulating the remote functioning of the application in the local development environment further comprises:
accessing an API from the plurality of APIs associated with the at least one service; and
consuming a local implementation of the at least one service by the application, wherein the local implementation of the at least one service emulates a remote implementation of a cloud service.
17 . The computer readable medium of claim 14 , wherein selecting the SDK as an execution platform of the application further comprises further comprises:
automatically retrieving the SDK from a p2® repository at the local development environment, wherein the SDK is included in the p2® repository.
18 . The computer readable medium of claim 14 , wherein selecting the SDK as an execution platform of the application further comprises:
requesting the SDK from an update site, wherein the SDK is associated with the update site;
uploading the SDK to a memory of the local host; and
setting the SDK as a target platform, wherein the application to be run on the target platform.
19 . The computer readable medium of claim 1 further comprising:
building the application in the local development environment; and
testing the application in the local development environment based on the SDK.
20 . The computer readable medium of claim 14 , further comprising:
deploying the application to the remote runtime platform; and
executing the application in the remote runtime platform.