aio-cli icon indicating copy to clipboard operation
aio-cli copied to clipboard

Output action urls during run/dev

Open purplecabbage opened this issue 1 year ago • 3 comments

Developers report errors to us sometimes, and they are simply lacking information on what url to load to test their action code.

During run/dev we only output the frontend url, or if there is no frontend we actually do output the action urls ... we should not assume that whenever there is a frontend developers don't want to call the actions directly. We should just add this info to the output. Something like:

To view your local application:
  -> https://localhost:3000
To view your deployed application in the Experience Cloud shell:
  -> https://experience.adobe.com/?devMode=true#/custom-apps/?localDevUrl=https://localhost:3000
Web action urls:
dx-excshell-1/generic  - https://localhost:3000/api/v1/web/dx-excshell-1/generic

purplecabbage avatar May 10 '24 22:05 purplecabbage

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-2981

aiojbot avatar May 10 '24 23:05 aiojbot

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-3070

aiojbot avatar Jun 28 '24 11:06 aiojbot

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-3071

aiojbot avatar Jun 28 '24 11:06 aiojbot