GithubHelp home page GithubHelp logo

Comments (17)

JMach1 avatar JMach1 commented on September 25, 2024

Hello, AFAIK Dev Portal release was rolled back because of some regressions, so it's still not there, @malincrist please correct me if I'm wrong.
There is a release of the @azure/api-management-custom-widgets-tools package in progress as well, but it's not necessary for getting the new functionality going. With old version, you'll just need to add ts-ignore because of missing type, but the data should be coming, once the Dev Portal is released.

from api-management-developer-portal.

girish-tank-avnet avatar girish-tank-avnet commented on September 25, 2024

@JMach1, thanks for instant reply !!!!.

@malincrist , do you have any idea about release of developer portal with above mentioned change?

Thanks.

from api-management-developer-portal.

malincrist avatar malincrist commented on September 25, 2024

Hi @girish-tank-avnet , unfortunately, the release was postponed. The new ETA is mid-September. Apologies for the delay.

from api-management-developer-portal.

girish-tank-avnet avatar girish-tank-avnet commented on September 25, 2024

Hi @malincrist. no problem. just 1 thing i need to know that how can i know once release will be done in the mid of September.?

is there any facility like i can receive an email or anything else?

from api-management-developer-portal.

girish-tank-avnet avatar girish-tank-avnet commented on September 25, 2024

Hello @malincrist and @JMach1
is there any update for when developer portal will be deployed with mentioned changes in this ticket? as now this is end of the September and this change is not on current deployed developer portal.

from api-management-developer-portal.

malincrist avatar malincrist commented on September 25, 2024

Hello @girish-tank-avnet , the deployment is in progress, please give it a few days to reach all the regions. Apologies for the delay.

from api-management-developer-portal.

girish-tank-avnet avatar girish-tank-avnet commented on September 25, 2024

@malincrist Thank you very much for giving update!!!!!!!!

from api-management-developer-portal.

girish-tank-avnet avatar girish-tank-avnet commented on September 25, 2024

Hello @malincrist

should i know the progress of developer portal release if you have any information for the same?

Thanks in Advance......

from api-management-developer-portal.

malincrist avatar malincrist commented on September 25, 2024

Hello @girish-tank-avnet , unfortunately, the deployment was cancelled due to found regressions. The new ETA for the release is 1 week. Apologies for the delay and the inconveniences caused by this.

from api-management-developer-portal.

girish-tank-avnet avatar girish-tank-avnet commented on September 25, 2024

Hello @JMach1 and @malincrist

first of all thanks for you all effort to keep me updated for developer portal deployment. we have received new portal changes what we need. but when i was doing code in my application i found one major issue in secret payload that we received from management portal.

there is a property added in secret payload namely "parentLocation" that was a change we want.

but now after new changes, property "managementApiURL" gives the value "/mapi" instead of full managementApiURL like "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}"

we are use this managementApiUrl for calling management Api for getting user and subscription details but now the due to not getting correct value our whole functionality has been broken and not working even on production environment too.

i just want to know that is this change i.e. getting "/mapi" value in managementApiURL property instead of full value intentionally changed or it is a defect in new release?

if it is defect in new release then is there any chances to rollback of developer portal deployment from our APIM instances?

please find the image which shows the issue.

image

Please let me know your thought as soon as possible as it impacted our application process.

Thanks,
Girish.

from api-management-developer-portal.

girish-tank-avnet avatar girish-tank-avnet commented on September 25, 2024

@JMach1 is there any option to navigate other page by assigning a URL to parent page 's address bar from custom widget?

i got the "parentLocation" property from secrets object and do process the product subscription. after done product subscription, i need to navigate to profile page to show all product subscription of logged-in user.

so i need to assign https:///profile URL to window.partent.location.href from custom widget but as custom widget is rendered in restricted iFrame, i cannot do this and got cross origin error.

image

please do needful.

Thanks,
Girish

from api-management-developer-portal.

JMach1 avatar JMach1 commented on September 25, 2024

@girish-tank-avnet regarding the first issue, on my latest portal version, I was not able to reproduce it unfortunately. Is it still happening, did you try to update the "tools" dependency package of your custom widget?

Regarding the second issue, how are you managing the redirect? For me this works just fine:
<a target="_parent" href="https://jm-apim.developer.azure-api.net/profile">profile</a>

from api-management-developer-portal.

girish-tank-avnet avatar girish-tank-avnet commented on September 25, 2024

@JMach1 Thanks for replying to my query.

for 1st issue: i have update @azure/api-management-custom-widgets-tools to latest version as you suggested but still i am getting same value in "managementApiUrl" i.e "/mapi".

before latest deployment of developer portal, I was getting full URL as i mentioned in my previous comment(https://management.azure.com/subscriptions/%7BsubscriptionId%7D/resourceGroups/%7BresourceGroupName%7D/providers/Microsoft.ApiManagement/service/%7BserviceName%7D )

i have attached image of secrets values which i have got from hook.ts file.

image

from api-management-developer-portal.

JMach1 avatar JMach1 commented on September 25, 2024

You are correct, I reproduced the issue, thank you for reporting it!
Could you try to send requests to
${secrets.parentLocation.origin}${secrets.managementApiUrl}...
(with valid api version at the end, so it will look for example something like https://-------.azure-api.net/mapi/apis?api-version=2021-08-01)
In the React example, you can modify the useRequest custom hook to ${secrets.parentLocation.origin}${secrets.managementApiUrl}${url}?api-version=${secrets.apiVersion}. It's only workaround, we'll fix it properly ASAP.

from api-management-developer-portal.

girish-tank-avnet avatar girish-tank-avnet commented on September 25, 2024

Welcome.... @JMach1... i have 1 queries over here.
as issue is found, have you guys any plan to rollback developer portal to previous version which does not have "parentLocation" property?

we don't want to rollback developer portal to previous version. please let us know if you are planning to do.

from api-management-developer-portal.

JMach1 avatar JMach1 commented on September 25, 2024

I would like to avoid rollback as well but I can promise you that, it depends what incident manager decide later.

Just to be sure, did the workaround resolved your issue?

from api-management-developer-portal.

girish-tank-avnet avatar girish-tank-avnet commented on September 25, 2024

Hello @JMach1 ,

yes, i have resolved my issue by replacing managementAPIUrl manually after getting secrets from management portal.

from api-management-developer-portal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.