Cannot Copy the Curl Request in the Publisher Portal Try Out Console
Description
The button/icon to copy the cURL request does not appear in the Publisher Portal Try Out console.
Steps to Reproduce
- Create an API and deploy it.
- Go to the Try Out console.
- Execute a resource and check if the copy button appears.
Version
4.5.0-beta
Environment Details (with versions)
No response
Since the developer portal tryout console has the option to copy the curl as seen in the image below, we should make it consistent on the publisher portal as well
I'm confident that I can make it work if you can assign it to me, and I would highly appreciate it if you could assign me to solve this.
I can also work on this issue @ashanhr , i am already using wso2 products (choreo and bijira)
@Sanjaya-Samudra you can start working on this issue.
@Sanjaya-Samudra you can start working on this issue.
Thank you for giving me the opportunity. I will look into this.
Hello there @chamilaadhi , @tharikaGitHub , @ashanhr , @DinithHerath , @Jithmi004 ,
May I know which project repo should I work.
Hi @Sanjaya-Samudra,
The front-end source code is available at wso2/apim-apps. Inside the portals directory, you will find separate source folders for each portal. This issue is specifically related to the Publisher portal.
For reference, the back-end logic is maintained in the wso2/carbon-apimgt repository.
If you want to build the complete product:
-
First, build both apim-apps and carbon-apimgt separately.
-
Then, add their generated snapshot versions to the pom.xml file of the relevant product-apim component that you need to build. The wso2/product-apim repository contains several components such as:
all-in-one-apimapi-control-planegatewaytraffic-manager
The versions are specified as:
<!-- APIM Portals Component Version --> <carbon.apimgt.ui.version>9.3.67</carbon.apimgt.ui.version> <!-- APIM Component Version --> <carbon.apimgt.version>9.32.96</carbon.apimgt.version> -
Finally, build the product-apim component.
Please let us know if you need any further clarifications.
Thanks, Ashan
Hi @Sanjaya-Samudra,
The front-end source code is available at [wso2/apim-apps](https://github.com/wso2/apim-apps). Inside the
portalsdirectory, you will find separate source folders for each portal. This issue is specifically related to the Publisher portal.For reference, the back-end logic is maintained in the [wso2/carbon-apimgt](https://github.com/wso2/carbon-apimgt) repository.
If you want to build the complete product:
First, build both apim-apps and carbon-apimgt separately.
Then, add their generated snapshot versions to the pom.xml file of the relevant product-apim component that you need to build. The product-apim repository contains several components such as:
all-in-one-apimapi-control-planegatewaytraffic-managerThe versions are specified as:
<carbon.apimgt.ui.version>9.3.67</carbon.apimgt.ui.version>
<carbon.apimgt.version>9.32.96</carbon.apimgt.version>
Finally, build the product-apim component.
Please let us know if you need any further clarifications.
Thanks, Ashan
I'll get into this as you said and let you know. Thank you for guiding me. I appreciate it.
Hi @Sanjaya-Samudra,
The front-end source code is available at wso2/apim-apps. Inside the
portalsdirectory, you will find separate source folders for each portal. This issue is specifically related to the Publisher portal.For reference, the back-end logic is maintained in the wso2/carbon-apimgt repository.
If you want to build the complete product:
First, build both apim-apps and carbon-apimgt separately.
Then, add their generated snapshot versions to the pom.xml file of the relevant product-apim component that you need to build. The wso2/product-apim repository contains several components such as:
all-in-one-apimapi-control-planegatewaytraffic-managerThe versions are specified as:
<carbon.apimgt.ui.version>9.3.67</carbon.apimgt.ui.version>
<carbon.apimgt.version>9.32.96</carbon.apimgt.version>
Finally, build the product-apim component.
Please let us know if you need any further clarifications.
Thanks, Ashan
Thanks for the detailed instructions and references.
I have working on this issue since you have assigned me and found the location where the issue right in apim-apps .
However, I'm currently facing an issue with the Publisher portal. When I try to access it in the browser, the page just keeps loading indefinitely without rendering the UI. I’ve checked for obvious errors but couldn’t pinpoint the root cause.
I have done everything as mentioned in apim-apps repo readme. And publisher portal build successful but launching it results keeps reloading infinitely. Tried with both java 8 and java 11. Java 8 seems to be not match with API-Manager but 11 it works. Tried the application build but it fails too for some reason, but all the dependencies installed as mentioned.
Could you please clarify if there are any additional configurations or known issues that might be related to this behavior?
Appreciate your support.
Thank you.
Hi @Sanjaya-Samudra,
Shall we try the steps mentioned in the article [1]? This is what I follow when doing UI based development.
[1] https://tharika.medium.com/how-to-apply-changes-to-wso2-api-manager-react-portals-on-the-go-d1cbb50f3819
Thanks, Tharika.
Hi @Sanjaya-Samudra, is there any update on the progress so far 👀 ?
I actually tried it according to that way, but paths there are mentioning is actually I coudn't find, I tried to find a alternative and still working in to set up the project. But already found where to modify in order to work but I coudn't check it by myself. Its better if any guidance provided.
Thank you.
Hi @Sanjaya-Samudra what are the paths you found difficult to find? Let us know the exact section you found difficult to follow. We'll help you to set it up.
Hi @Sanjaya-Samudra what are the paths you found difficult to find? Let us know the exact section you found difficult to follow. We'll help you to set it up.
Okay, I'll let you know, give me a moment.
Hi @Sanjaya-Samudra, were you able to check on this issue? How is the progress?
Hello there @tharikaGitHub, I have made a PR under this issue, pls check on it 1215.
Hi @Sanjaya-Samudra, were you able to check on this issue? How is the progress?