forcedotcom / try-acb-feedback

BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

"localhost" and "web-IDE-instance URL" conundrum #29

Closed saagnikadhikary closed 1 year ago

saagnikadhikary commented 1 year ago

What is your role? --> Developer

Question: Will "localhost" and the "web-IDE-instance URL" point to the same implementation logic? If yes, how are they both referring to one and the same thing?

github-actions[bot] commented 1 year ago

Hello @saagnikadhikary , thank you for submitting an issue - we appreciate your time. Our product team will take a look and give you an update as soon as we can. We aim for a 3 day response time but please be patient if we take longer.

vchirag-mulesoft commented 1 year ago

Hello @saagnikadhikary,

Thank you for logging this case with MuleSoft Support.

In the HTTP config, you define the host as localhost, and once it deploys we have to invoke using the web-IDE-instance URL. The localhost is a hostname that refers to the instance where the application is deployed.

Thanks!

saagnikadhikary commented 1 year ago

Hi @vchirag-mulesoft , I need more information around this.

  1. So, in Anypoint Studio even after deploying I used to invoke my endpoint using localhost, as "localhost:8081/image-generation", for instance. But here in ACB, I need to use web-IDE-instance URL after deploying to call my endpoint, is it?
  2. Where is the deployment taking place in case of ACB? Is it on AWS ec2 workers or some place elsewhere?

Would really appreciate a quicker response.

simoneegeib commented 1 year ago

I assume this is not about an actual deployment (like deploy to cloud hub), but rather testing the app locally? We bundle a local runtime with ACB, and when you "run" or "debug", then that is where the app is deployed to, so it is internal to your ACB instance.

saagnikadhikary commented 1 year ago

Thanks for your response @simoneegeib . Now I get a fair amount of idea behind that enigmatic web-IDE-instance URL.