product-microgateway icon indicating copy to clipboard operation
product-microgateway copied to clipboard

Embedding gateway in toolkit to enable continuous dev experience

Open ajanthan opened this issue 5 years ago • 1 comments

Describe your problem(s)

RIght now developers need to switch to gateway runtime to run the API project and test it. Giving the ability to run the project from the toolkit itself will give a smooth dev experience without any distraction of switching to another runtime/tool.

micro-gw run petstore micro-gw-internal/bin$ bash gateway /home/user/petstore/target/petstore.balx ballerina: initiating service(s) in '/home/user/petstore/target/petstore.balx' ballerina: started HTTPS/WSS endpoint localhost:9095 ballerina: started HTTP/WS endpoint localhost:9090 ballerina: started HTTPS/WSS endpoint localhost:9096

It reminds me of other tools that I am using to develop my code where I can write something and quickly run and test.

Describe your solution

How will you implement it


Optional Fields

Related Issues:

Suggested Labels:

Suggested Assignees:

ajanthan avatar Jul 02 '19 18:07 ajanthan

If you have toolkit and runtime installed properly (by adding both runtime and toolkit into $PATH) in the dev environment, Then there is no additional switch. Its just that you need to run two commands for building and running the gateway. or did you meant, you need a new run command to do both build and bash gateway?

praminda avatar Sep 16 '19 10:09 praminda