product-microgateway
product-microgateway copied to clipboard
Embedding gateway in toolkit to enable continuous dev experience
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:
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
?